/* ===== GENERAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --primary-red: #AD0505;
    --secondary-dark: #4d4d4d;
    --secondary-light: #e6e6e6;
    --white: #ffffff;
    --dark-grey: #333333;
    --light-grey: #f5f5f5;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
    --header-height: 70px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-grey);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--header-height);
}

/* ===== PAGE LOADER ===== */
.page-loader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #ffffff 0%, #f4f4f4 55%, #ececec 100%);
    z-index: 2000;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.page-loader-spinner {
    width: 36px;
    height: 36px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 5px;
}

.loader-square {
    width: 100%;
    height: 100%;
    background-color: var(--primary-red);
    border-radius: 4px;
    animation: loaderPulse 1s ease-in-out infinite;
}

.loader-square:nth-child(2) { animation-delay: 0.15s; }
.loader-square:nth-child(3) { animation-delay: 0.3s; }
.loader-square:nth-child(4) { animation-delay: 0.45s; }

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.35; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1); }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark-grey);
}

h1 { font-size: 3rem; line-height: 1.2; }
h2 { font-size: 2.4rem; line-height: 1.3; margin-bottom: 1.5rem; }
h3 { font-size: 1.6rem; margin-bottom: 1rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.8rem; }

p {
    font-size: 1rem;
    color: var(--dark-grey);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

a:hover { color: #8a0404; }

/* ===== HEADER/NAVBAR ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-header::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,
        rgba(173,5,5,0) 0%,
        rgba(173,5,5,0.4) 15%,
        rgba(173,5,5,0.8) 50%,
        rgba(173,5,5,0.4) 85%,
        rgba(173,5,5,0) 100%
    );
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.site-header.scroll { box-shadow: 0 3px 8px rgba(0,0,0,0.08); }
.site-header.is-hidden { transform: translateY(-100%); }

.navbar { background-color: var(--white); }

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    padding-right: 1.5rem;
}

.navbar-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-grey);
    text-decoration: none;
}

.logo-brand {
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-red);
    letter-spacing: 0.02em;
    line-height: 1;
}

.logo-brand sup {
    font-size: 0.55em;
    vertical-align: super;
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-grey);
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: block;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-link:hover,
.nav-link.active { color: var(--primary-red); }

.nav-link.active { font-weight: 600; }

/* Industries dropdown */
.nav-item.has-dropdown .nav-link i {
    font-size: 0.7rem;
    margin-left: 0.35rem;
    transition: transform 0.25s ease;
}

.nav-item.has-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    list-style: none;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 1200;
}

.nav-item.has-dropdown:hover .nav-dropdown-menu,
.nav-item.has-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-sublink {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.2rem;
    color: var(--dark-grey);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.15s ease;
    position: relative;
}

.nav-sublink::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: var(--primary-red);
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transform: scaleY(0.6);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-sublink:hover,
.nav-sublink.active {
    background: #fff5f5;
    color: var(--primary-red);
    padding-left: 1.5rem;
}

.nav-sublink:hover::before,
.nav-sublink.active::before {
    opacity: 1;
    transform: scaleY(1);
}

/* CTA nav button */
.nav-cta-btn {
    background-color: var(--primary-red);
    color: var(--white) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.nav-cta-btn:hover {
    background-color: #8a0404;
    color: var(--white) !important;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.nav-cta-btn::after { display: none !important; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.35rem;
    padding: 0.5rem;
    margin-right: -0.5rem;
    min-width: 48px;
    min-height: 48px;
    justify-content: center;
    background: none;
    border: none;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background-color: var(--dark-grey);
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.hamburger.active .line1 { transform: rotate(-45deg) translate(-8px, 8px); }
.hamburger.active .line2 { opacity: 0; }
.hamburger.active .line3 { transform: rotate(45deg) translate(-7px, -7px); }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: none;
    background-color: var(--primary-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1100;
    cursor: pointer;
}

.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background-color: #8a0404; }

/* ===== BUTTONS ===== */
.btn {
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 48px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #8a0404;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-outline:hover {
    background-color: var(--primary-red);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== SECTION BASELINE + UTILITIES ===== */
section {
    padding: 5rem 0;
}

/* default h2 bottom margin inside containers */
.container > h2 {
    margin-bottom: 2.5rem;
}

.narrow {
    max-width: 750px;
}

.eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--primary-red);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.cta-inline {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

/* ===== HERO ===== */
.hero {
    background-color: var(--white);
    padding: 4rem 0;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content { animation: fadeInLeft 0.8s ease; }

.hero-content .eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--primary-red);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.hero-content h1 {
    color: var(--dark-grey);
    margin-bottom: 1.5rem;
}

.hero-content .lead {
    font-size: 1.15rem;
    color: var(--secondary-dark);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero-trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 1.4rem;
    max-width: 620px;
}

.hero-trust-badge {
    background: #fff6f6;
    border: 1px solid #f2d8d8;
    border-radius: 10px;
    padding: 0.65rem 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
}

.hero-trust-badge strong {
    color: var(--primary-red);
    font-size: 1rem;
    line-height: 1.1;
}

.hero-trust-badge span {
    font-size: 0.78rem;
    color: var(--secondary-dark);
}

.hero-visual-stack {
    display: grid;
    grid-template-rows: auto auto;
    gap: 1rem;
    animation: fadeInRight 0.8s ease;
}

.hero-card {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--white) 100%);
    border-radius: 14px;
    border: 2px solid var(--secondary-light);
    border-top: 4px solid var(--primary-red);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.hero-card h3 {
    color: var(--dark-grey);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.hero-card ul {
    list-style: none;
    padding: 0;
}

.hero-card li {
    padding: 0.6rem 0 0.6rem 1.8rem;
    position: relative;
    color: var(--secondary-dark);
    font-size: 0.97rem;
}

.hero-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.hero-logo-shuffle-wrap {
    background: linear-gradient(140deg, #ffffff 0%, #f8f1f1 100%);
    border: 1px solid #ecdede;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 1rem;
}

.hero-logo-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.65rem;
}

.hero-logo-shuffle-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}

.hero-logo-chip {
    min-height: 56px;
    background: var(--white);
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 0.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-logo-chip img {
    width: 100%;
    max-height: 64px;
    object-fit: contain;
    filter: grayscale(80%);
    opacity: 0.92;
}

.hero-logo-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.08);
}

.hero-logo-chip:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.hero-center-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    text-align: center;
    padding: 2rem 2.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    box-shadow: 0 18px 40px rgba(58, 14, 14, 0.12);
}

.hero-center-content .eyebrow {
    margin-bottom: 0.6rem;
}

.hero-center-content h1 {
    margin-bottom: 0.9rem;
}

.hero-center-content .lead {
    max-width: 760px;
    margin: 0 auto 1.4rem;
    color: var(--secondary-dark);
}

.hero-center-content .hero-actions {
    justify-content: center;
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-red), #8a0404);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    animation: fadeIn 0.8s ease;
}

.page-hero .eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.page-hero h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.page-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* ===== FLASH MESSAGES ===== */
.flash-wrap {
    position: fixed;
    top: calc(var(--header-height) + 1rem);
    right: 1.25rem;
    width: min(440px, calc(100% - 2rem));
    z-index: 1200;
}

.flash {
    padding: 0.9rem 1.2rem;
    margin-bottom: 0.6rem;
    border-radius: 8px;
    border-left: 4px solid;
    font-size: 0.97rem;
    box-shadow: var(--shadow-md);
}

.flash.success { border-left-color: #10b981; background: #ecfdf5; color: #065f46; }
.flash.warning { border-left-color: #f59e0b; background: #fffbeb; color: #92400e; }
.flash.error { border-left-color: #ef4444; background: #fef2f2; color: #991b1b; }

/* ===== STATS SECTION ===== */
.stats {
    background: linear-gradient(160deg, #0d0d0d 0%, #1a0f0f 40%, #1a0a0a 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(173,5,5,0.3), rgba(173,5,5,0.5), rgba(173,5,5,0.3), transparent);
}

.stats-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.stats-header .eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--primary-red);
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    padding: 0.4rem 1.2rem;
    border: 1px solid rgba(173,5,5,0.35);
    border-radius: 50px;
    background: rgba(173,5,5,0.06);
    position: relative;
}

.stats-header .eyebrow sup {
    font-size: 0.65em;
    top: -0.3em;
    position: relative;
}

.stats-header .eyebrow::before,
.stats-header .eyebrow::after {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-red);
    opacity: 0.6;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.stats-header .eyebrow::before {
    left: 10px;
}

.stats-header .eyebrow::after {
    right: 10px;
}

.stats-header h2 {
    font-size: 2.4rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.stats-header h2 span {
    color: var(--primary-red);
}

.stats-header sup {
    font-size: 0.5em;
    vertical-align: super;
}

.stats-accent-line {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.stat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 2.2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1.2);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-red);
    border-radius: 0 0 3px 3px;
    transition: width 0.4s ease;
}

.stat-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(173,5,5,0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(173,5,5,0.15);
}

.stat-card:hover::before {
    width: 60%;
}

.stat-card h3 {
    font-size: 2.4rem;
    color: var(--primary-red);
    margin-bottom: 0.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: transform 0.3s ease;
}

.stat-card:hover h3 {
    transform: scale(1.05);
}

.stat-card p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.stat-card-icon {
    font-size: 1.3rem;
    color: var(--primary-red);
    opacity: 0.35;
    margin-bottom: 0.8rem;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-card-icon {
    opacity: 0.9;
    transform: scale(1.15);
}

.about {
    background-color: var(--secondary-light);
    padding: 5rem 0;
}

.about-container { max-width: 1400px; margin: 0 auto; }
.about h2 { text-align: center; margin-bottom: 3rem; }

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border-top: 4px solid var(--primary-red);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.stat-card p { font-size: 1.05rem; color: var(--secondary-dark); margin: 0; }

.section-cta-center { text-align: center; margin-top: 2rem; }

/* ===== SERVICES/SOLUTIONS ===== */
.services {
    background-color: var(--white);
    padding: 5rem 0;
}

.services-container { max-width: 1400px; margin: 0 auto; }
.services h2 { text-align: center; margin-bottom: 3rem; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background-color: var(--primary-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: scale(1.05); box-shadow: var(--shadow-lg); }

.service-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.service-card h3 { margin-bottom: 1rem; }
.service-card p { color: var(--secondary-dark); margin: 0; }

/* ===== INDUSTRIES ===== */
.industries {
    background-color: var(--secondary-light);
    padding: 5rem 0;
}

.industries-container { max-width: 1400px; margin: 0 auto; }
.industries h2 { text-align: center; margin-bottom: 1rem; }

.industries-summary-text {
    text-align: center;
    color: var(--secondary-dark);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.industry-card {
    position: relative;
    height: 240px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--white) 100%);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.industry-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.industry-card-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
}

.industry-card h3 {
    font-size: 1.4rem;
    color: var(--dark-grey);
    margin-bottom: 1.2rem;
}

.btn-small {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 0.6rem 1.4rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(16px);
    text-decoration: none;
    display: inline-block;
}

.industry-card:hover .btn-small { opacity: 1; transform: translateY(0); }

/* ===== PILL TAGS ===== */
.pill-wrap { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.pill {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1.5px solid var(--primary-red);
    background: transparent;
    color: var(--primary-red);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pill:hover {
    background: var(--primary-red);
    color: var(--white);
}

/* ===== LOGO / CLIENT SECTION ===== */
.logo-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.logo-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo-section .section-header p {
    color: var(--secondary-dark);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0.5rem auto 0;
}

.logo-carousel, .logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
}

.logo-item {
    background-color: var(--secondary-light);
    border-radius: 10px;
    padding: 1.2rem;
    font-size: 0.9rem;
    text-align: center;
    color: var(--secondary-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.logo-item:hover {
    border-color: var(--primary-red);
    background: var(--white);
    color: var(--primary-red);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}


.logo-mosaic-section {
    background: linear-gradient(180deg, #fff 0%, #faf7f7 100%);
}

.logo-mosaic-section p {
    max-width: 760px;
    color: var(--secondary-dark);
}

.logo-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 86px;
    grid-auto-flow: dense;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.logo-mosaic-card {
    background: var(--white);
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(20, 20, 20, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.logo-mosaic-card.tile-wide {
    grid-column: span 2;
}

.logo-mosaic-card.tile-tall {
    grid-row: span 2;
}

.logo-mosaic-card.tile-large {
    grid-column: span 2;
    grid-row: span 2;
}

.logo-mosaic-card:hover {
    transform: translateY(-3px);
    border-color: rgba(173, 5, 5, 0.28);
    box-shadow: 0 11px 22px rgba(20, 20, 20, 0.11);
}

.logo-mosaic-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* ===== RESULT STRIP ===== */
.result-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    margin-top: 2rem;
}

.result-strip div {
    background: linear-gradient(135deg, var(--primary-red), #8a0404);
    color: var(--white);
    border-radius: 10px;
    padding: 1.2rem;
    font-size: 0.97rem;
    font-weight: 600;
    text-align: center;
}

/* ===== INFO / GENERIC CARDS ===== */
.info-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-red);
}

.info-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.info-card h3 { color: var(--dark-grey); margin-bottom: 0.8rem; }
.info-card p { color: var(--secondary-dark); margin: 0; }

/* card grids */
.card-grid { display: grid; gap: 2rem; }
.card-grid.four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card-grid.five { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.card-grid.three { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.card-grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* ===== CASE STUDIES ===== */
.case-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 2rem;
    border-left: 5px solid var(--primary-red);
    transition: all 0.3s ease;
}

.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.case-card h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.case-card p { color: var(--secondary-dark); font-size: 0.97rem; margin-bottom: 0.6rem; }
.case-card p strong { color: var(--dark-grey); }

/* ===== PRICING ===== */
.pricing-section {
    background-color: var(--secondary-light);
    padding: 5rem 0;
}

.pricing-section h2 { text-align: center; margin-bottom: 1rem; }
.pricing-section .section-intro {
    text-align: center;
    color: var(--secondary-dark);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--secondary-light);
    position: relative;
}

.pricing-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.pricing-card.featured {
    border-top-color: var(--primary-red);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured::before {
    content: "POPULAR";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-red);
    color: var(--white);
    padding: 0.25rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 0.1em;
}

.pricing-card h3 { color: var(--dark-grey); margin-bottom: 0.8rem; }
.pricing-card p { color: var(--secondary-dark); margin-bottom: 0; }
.pricing-card .price { color: var(--primary-red); font-size: 1.3rem; font-weight: 700; margin-top: 1.2rem; }

/* ===== TIMELINE ===== */
.timeline-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.timeline-section h2 { text-align: center; margin-bottom: 3rem; }

.timeline {
    position: relative;
    padding: 2rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--primary-red);
    z-index: 1;
}

.timeline-item {
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-color: var(--primary-red);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow);
    z-index: 2;
}

.timeline-item:nth-child(odd) { direction: rtl; }
.timeline-item:nth-child(odd) > * { direction: ltr; }

.timeline-date {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
    font-family: 'Montserrat', sans-serif;
    background: var(--white);
    display: inline-block;
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    position: relative;
    z-index: 4;
}

.timeline-content {
    background-color: var(--secondary-light);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.timeline-content h4 { color: var(--dark-grey); margin-bottom: 0.5rem; }
.timeline-content p { color: var(--secondary-dark); margin: 0; }

/* ===== TESTIMONIALS ===== */
.testimonials {
    background-color: var(--secondary-light);
    padding: 5rem 0;
}

.testimonials-container { max-width: 900px; margin: 0 auto; }
.testimonials h2 { text-align: center; margin-bottom: 3rem; }

.testimonial-carousel { min-height: 160px; }

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial-slide.active { display: block; }

.testimonial-slide p { font-size: 1.05rem; color: var(--secondary-dark); line-height: 1.8; }
.testimonial-slide .testimonial-author { font-weight: 700; color: var(--dark-grey); margin-top: 1.2rem; margin-bottom: 0.2rem; }
.testimonial-slide .testimonial-company { color: var(--primary-red); font-size: 0.9rem; margin: 0; }

.carousel-controls { text-align: center; margin-top: 1.5rem; display: flex; gap: 0.5rem; justify-content: center; }

.carousel-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: var(--secondary-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn.active { background-color: var(--primary-red); transform: scale(1.3); }

/* ===== CTA SECTION ===== */
.cta {
    background: linear-gradient(135deg, var(--primary-red), #8a0404);
    padding: 5rem 0;
    text-align: center;
}

.cta h2, .cta-wrap h2 { color: var(--white); margin-bottom: 1.5rem; }

.cta-wrap { max-width: 800px; margin: 0 auto; }

.cta .btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta .btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-red);
}

.cta .btn-primary:hover {
    background-color: var(--white);
    color: var(--primary-red);
}

.services-cta, .cta-section {
    background: linear-gradient(135deg, var(--primary-red), #8a0404);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.services-cta h2, .cta-section h2 { color: var(--white); margin-bottom: 1rem; }

.services-cta p, .cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.services-cta .btn-outline,
.cta-section .btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.services-cta .btn-outline:hover,
.cta-section .btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-red);
}

.services-cta .btn-primary:hover,
.cta-section .btn-primary:hover {
    background-color: var(--white);
    color: var(--primary-red);
}

/* ===== MISSION / VISION CARDS ===== */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.mv-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.mv-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.mv-icon { font-size: 3rem; color: var(--primary-red); margin-bottom: 1rem; }
.mv-card h3 { color: var(--dark-grey); margin-bottom: 1rem; }
.mv-card p { color: var(--secondary-dark); margin: 0; }

/* ===== CONTACT FORM ===== */
/* ===== CONTACT FORM ===== */
/* Legacy alias (kept for any remaining references) */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Unified contact/demo layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

/* Form card */
.contact-form-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-red);
    padding: 2.8rem 2.5rem;
}

.contact-form-card h3 {
    color: var(--dark-grey);
    margin-bottom: 0.5rem;
}

.contact-form-sub {
    color: var(--secondary-dark);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* Individual form fields */
.form-field {
    margin-bottom: 1.3rem;
}

.form-field label {
    display: block;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--dark-grey);
    margin-bottom: 0.4rem;
}

.form-field .req { color: var(--primary-red); }

/* Shared input/select/textarea styles */
.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    border: 1.5px solid #d8d8d8;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font: inherit;
    font-size: 0.97rem;
    background: var(--white);
    color: var(--dark-grey);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.lead-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(173,5,5,0.1);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder { color: #aaa; }

/* Phone row: code select + number input */
.phone-row {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 0.6rem;
}

.country-code-select {
    width: 100%;
}

.phone-row input[type="tel"] {
    min-width: 0;
}

/* Captcha row */
.captcha-field .captcha-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.captcha-field.has-error .captcha-question {
    border: 1px solid #dc2626;
    color: #dc2626;
    background: #fef2f2;
}

.field-error {
    display: block;
    color: #dc2626;
    font-size: 0.82rem;
    font-weight: 500;
    margin-top: 0.4rem;
}

.captcha-question {
    font-weight: 600;
    color: var(--dark-grey);
    background: var(--secondary-light);
    padding: 0.55rem 1rem;
    border-radius: 6px;
    font-size: 1rem;
    white-space: nowrap;
}

/* Full-width submit button */
.btn-full { width: 100%; justify-content: center; margin-top: 0.5rem; }

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Aside info column */
.contact-aside-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-aside-block {
    background: var(--secondary-light);
    border-radius: 10px;
    padding: 1.4rem 1.6rem;
}

.contact-aside-block h4 {
    color: var(--dark-grey);
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.contact-aside-block p {
    color: var(--secondary-dark);
    font-size: 0.9rem;
    margin: 0;
}

.contact-aside-block p a { color: var(--primary-red); }
.contact-aside-block p a:hover { text-decoration: underline; }

.aside-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--primary-red);
    color: #fff;
    border-radius: 50%;
    font-size: 1rem;
    margin-bottom: 0.7rem;
}

/* Check list (used in aside and elsewhere) */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0.6rem 0 0;
}

.check-list li {
    padding: 0.5rem 0 0.5rem 1.6rem;
    position: relative;
    color: var(--secondary-dark);
    font-size: 0.9rem;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    color: #ccc;
    padding: 4rem 2rem 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 0.8fr;
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-section h3 {
    color: var(--white);
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.footer-section h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-section p { color: #aaa; font-size: 0.92rem; }

.footer-brand {
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--primary-red) !important;
    display: block;
    margin-bottom: 0;
}

.footer-tagline {
    color: #aaa;
    font-size: 0.88rem;
    margin-top: 0;
    margin-bottom: 0.2rem;
}

.footer-powered {
    color: #aaa;
    font-size: 0.85rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section ul a {
    color: #aaa;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.footer-section ul a:hover { color: var(--primary-red); }

.social-icons { display: flex; gap: 1rem; margin-top: 0.5rem; }

.social-icons a {
    color: #aaa;
    font-size: 1.3rem;
    transition: color 0.2s ease;
}

.social-icons a:hover { color: var(--primary-red); }

.contact-info p { color: #aaa; font-size: 0.9rem; margin-bottom: 0.8rem; }
.contact-info a { color: #aaa; }
.contact-info a:hover { color: var(--primary-red); }

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-bottom p { color: #888; font-size: 0.88rem; margin: 0; }

/* ===== SECTION HELPERS ===== */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p { color: var(--secondary-dark); font-size: 1.1rem; max-width: 700px; margin: 0 auto; }

.section-intro {
    text-align: center;
    color: var(--secondary-dark);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.bg-light { background-color: var(--secondary-light) !important; }
.bg-white { background-color: var(--white) !important; }

/* ===== ANIMATIONS ===== */
.section-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.section-reveal.visible {
    opacity: 1;
    transform: none;
}

/* ===== CLIENTS PAGE ===== */
.clients-hero {
    background: linear-gradient(135deg, #ad0505 0%, #7b0303 55%, #4e0202 100%);
}

.clients-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.clients-map-wrap {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--secondary-light);
    box-shadow: var(--shadow);
    padding: 0.9rem;
}

#clients-map {
    width: 100%;
    height: 650px;
    border-radius: 12px;
}

.clients-map-note {
    margin: 0.8rem 0 0;
    font-size: 0.88rem;
    color: var(--secondary-dark);
}

.clients-summary {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--secondary-light);
    box-shadow: var(--shadow);
    padding: 1.2rem 1rem;
    position: sticky;
    top: calc(var(--header-height) + 1rem);
}

.clients-summary h3,
.clients-summary h4 {
    margin-bottom: 0.6rem;
}

.clients-total {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.clients-count-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
    max-height: 420px;
    overflow: auto;
}

.clients-count-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
    background: var(--light-grey);
    font-size: 0.93rem;
}

.clients-count-list strong {
    color: var(--primary-red);
}

.client-logo-grid-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.9rem;
}

.client-logo-grid-card {
    background: var(--white);
    border: 1px solid #ececec;
    border-radius: 10px;
    min-height: 92px;
    padding: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(20, 20, 20, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.client-logo-grid-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(20, 20, 20, 0.09);
}

.client-logo-grid-card img {
    width: 100%;
    max-height: 64px;
    object-fit: contain;
}

.map-popup h4 {
    margin-bottom: 0.25rem;
    color: var(--primary-red);
}

.map-popup p {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
}

.map-popup ul {
    margin: 0;
    padding-left: 1rem;
    max-height: 180px;
    overflow: auto;
}

.map-popup li {
    font-size: 0.86rem;
    margin-bottom: 0.2rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .clients-layout {
        grid-template-columns: 1fr;
    }

    .clients-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    body { padding-top: var(--header-height); }
    section { padding: 3.5rem 0; }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .hamburger { display: flex; }

    .nav-menu {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 0.5rem;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--secondary-light);
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }

    .nav-menu.active { display: flex; }

    .nav-item.has-dropdown .nav-link i {
        float: right;
        margin-top: 0.35rem;
        transition: transform 0.25s ease;
    }

    .nav-item.has-dropdown.open .nav-link i {
        transform: rotate(180deg);
    }

    .nav-item.has-dropdown:hover .nav-link i {
        transform: none;
    }

    .nav-dropdown-menu {
        position: static;
        left: auto;
        top: auto;
        min-width: 100%;
        box-shadow: none;
        border: none;
        border-radius: 8px;
        margin-top: 0.35rem;
        padding: 0.3rem 0;
        background: var(--light-grey);
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .nav-item.has-dropdown:hover .nav-dropdown-menu,
    .nav-item.has-dropdown:focus-within .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-item.has-dropdown.open .nav-dropdown-menu { display: block; }

    .nav-sublink {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.65rem 1.2rem;
        font-size: 0.9rem;
    }

    .nav-sublink::before { display: none; }

    .nav-sublink:hover,
    .nav-sublink.active {
        background: #fff5f5;
        color: var(--primary-red);
        padding-left: 1.2rem;
    }

    .nav-link::after { display: none; }

    .nav-cta-btn {
        display: inline-flex;
        margin-top: 0.5rem;
        align-self: flex-start;
    }

    .hero {
        padding: 2.5rem 0;
        min-height: auto;
    }

    .hero-center-content {
        margin: 0 0.8rem;
        padding: 1.5rem 1.1rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-visual-stack {
        gap: 0.8rem;
    }

    .hero-card {
        display: block;
        padding: 1.4rem;
    }

    .hero-logo-shuffle-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-logo-chip {
        min-height: 52px;
    }

    .hero-trust-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .phone-row { grid-template-columns: 1fr; }

    .timeline::before { left: 20px; }
    .timeline-item { grid-template-columns: 1fr; padding-left: 50px; }
    .timeline-item::after { left: 20px; top: 1.5rem; transform: translateX(-50%); }
    .timeline-item:nth-child(odd) { direction: ltr; }
    .timeline-date { text-align: left; font-size: 1.3rem; }

    .footer-content { grid-template-columns: 1fr 1fr; }

    #clients-map {
        height: 480px;
    }

    .logo-mosaic-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-rows: 80px;
    }
}

@media (max-width: 480px) {
    section { padding: 3rem 0; }
    .hero { padding: 2rem 0; }

    .hero-center-content {
        padding: 1.2rem 0.9rem;
    }

    .services-cta, .cta-section { padding: 3rem 0; }
    .logo-carousel, .logo-grid { grid-template-columns: repeat(2, 1fr); }
    .result-strip { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .hero-actions { flex-direction: column; }

    .hero-logo-shuffle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-logo-chip img {
        max-height: 36px;
    }

    .hero-trust-row {
        grid-template-columns: 1fr;
    }

    #clients-map {
        height: 360px;
    }

    .client-logo-grid-wall {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .client-logo-grid-card {
        min-height: 78px;
        padding: 0.45rem;
    }

    .client-logo-grid-card img {
        max-height: 54px;
    }

    .logo-mosaic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 76px;
        gap: 0.6rem;
    }

    .logo-mosaic-card.tile-wide,
    .logo-mosaic-card.tile-tall,
    .logo-mosaic-card.tile-large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ===== SECTION INTRO ===== */
.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--secondary-dark);
    font-size: 1.05rem;
}

.poloxy-highlight {
    color: var(--primary-red);
    font-weight: 700;
}

.poloxy-highlight sup {
    font-size: 0.55em;
    vertical-align: super;
}

/* ===== CORE MODULES GRID ===== */
.core-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.core-module-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-red);
    transition: all 0.3s ease;
}

.core-module-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.core-module-icon {
    font-size: 2.2rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.core-module-desc {
    color: var(--secondary-dark);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.core-module-features {
    list-style: none;
    padding: 0;
}

.core-module-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: var(--secondary-dark);
}

.core-module-features li i {
    color: var(--primary-red);
    font-size: 0.85rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* ===== INDUSTRY MODULES GRID ===== */
.industry-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.industry-module-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.4s ease;
}

.industry-module-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.module-card-image {
    background: linear-gradient(135deg, #fafafa, #f0f0f0);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    border-bottom: 1px solid #eee;
}

.module-card-image img {
    width: auto;
    height: auto;
    max-width: 85%;
    max-height: 120px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.industry-module-card:hover .module-card-image img {
    transform: scale(1.08);
}

.module-card-body {
    padding: 1.5rem;
}

.module-abbr {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.6rem;
    letter-spacing: 0.05em;
}

.module-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.module-card-body > p {
    color: var(--secondary-dark);
    font-size: 0.93rem;
    margin-bottom: 0.8rem;
}

.module-features {
    list-style: none;
    padding: 0;
}

.module-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.3rem 0;
    font-size: 0.88rem;
    color: var(--secondary-dark);
}

.module-features li i {
    color: var(--primary-red);
    font-size: 0.8rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* ===== INDUSTRY CARDS GRID ===== */
.industry-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.industry-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.4s ease;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.industry-card-image {
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #fafafa, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.industry-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.industry-card:hover .industry-card-image img {
    transform: scale(1.06);
}

.industry-card-body {
    padding: 1.5rem;
}

.industry-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark-grey);
}

.industry-card-body > p {
    color: var(--secondary-dark);
    font-size: 0.93rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.industry-card-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.industry-card-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.25rem 0;
    font-size: 0.88rem;
    color: var(--secondary-dark);
}

.industry-card-highlights li i {
    color: var(--primary-red);
    font-size: 0.8rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.industry-card-body .btn {
    display: inline-block;
    margin-top: 0.5rem;
}

/* ===== INDUSTRY DETAIL GRID ===== */
.industry-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.industry-detail-text h2 {
    margin-bottom: 1rem;
}

.industry-detail-text p {
    color: var(--secondary-dark);
    font-size: 1.05rem;
    line-height: 1.7;
}

.industry-detail-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #f8f8f8, #eeeeee);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== BENEFIT CARD ===== */
.benefit-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 1.6rem;
    color: var(--primary-red);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.benefit-card h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--secondary-dark);
    margin: 0;
}

/* ===== CAPABILITY CARD ===== */
.capability-card {
    text-align: left;
    padding: 1.8rem;
}

.capability-card::before {
    display: none;
}

.capability-card .capability-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-red);
    opacity: 0.3;
    margin-bottom: 0.5rem;
}

.capability-card h3 {
    font-size: 1rem;
    color: var(--dark-grey);
}

/* ===== HERO STATS ROW ===== */
.hero-stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 2.5rem;
    background: rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stat {
    text-align: center;
    padding: 0 1.2rem;
}

.hero-stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    white-space: nowrap;
}

.hero-stat-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    white-space: nowrap;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

/* ===== LEAD TEXT ===== */
.lead-text {
    font-size: 1.08rem;
    color: var(--secondary-dark);
    line-height: 1.75;
    max-width: 850px;
    margin: 0 auto;
}

/* ===== PILL LG ===== */
.pill-lg {
    padding: 0.55rem 1.2rem;
    font-size: 0.92rem;
}

/* ===== INDUSTRY CARD ENHANCED ===== */
.industry-card-enhanced {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.industry-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.industry-card-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #fafafa, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
}

.industry-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
}

.industry-card-enhanced:hover .industry-card-img-wrap img {
    transform: scale(1.08);
}

.industry-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(173,5,5,0.75) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.industry-card-enhanced:hover .industry-card-overlay {
    opacity: 1;
}

.btn-white {
    background: var(--white);
    color: var(--primary-red);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.industry-card-content {
    padding: 1.5rem;
}

.industry-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark-grey);
}

.industry-card-content > p {
    font-size: 0.93rem;
    color: var(--secondary-dark);
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.industry-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.industry-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--primary-red);
    background: #fff5f5;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-weight: 500;
}

.industry-card-tag i {
    font-size: 0.65rem;
}

.industry-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--primary-red);
    transition: gap 0.3s ease;
}

.industry-card-link:hover {
    gap: 0.7rem;
    color: #8a0404;
}

/* ===== TRUST BAR ===== */
.trust-bar {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    padding: 3rem 0;
    color: var(--white);
}

.trust-bar-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.trust-bar-content > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-align: center;
    padding: 0 1rem;
}

.trust-bar-content i {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 0.3rem;
}

.trust-bar-content strong {
    font-size: 0.95rem;
    font-weight: 600;
}

.trust-bar-content span {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
}

.trust-bar-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.12);
}

/* ===== INDUSTRY DETAIL HERO ===== */
.industry-detail-hero {
    padding-bottom: 3rem;
}

/* ===== DETAIL STAT ROW ===== */
.detail-stat-row {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.8rem;
    flex-wrap: wrap;
}

.detail-stat {
    background: var(--white);
    border: 1px solid var(--secondary-light);
    border-radius: 10px;
    padding: 1rem 1.4rem;
    text-align: center;
    min-width: 110px;
    flex: 1;
}

.detail-stat-num {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1.2;
}

.detail-stat-lbl {
    font-size: 0.78rem;
    color: var(--secondary-dark);
    font-weight: 500;
}

/* ===== INDUSTRY DETAIL IMAGE WRAP ===== */
.industry-detail-image-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #fafafa, #f0f0f0);
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.industry-detail-image-wrap img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.image-accent-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--primary-red);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: var(--shadow-md);
}

.image-accent-badge i {
    font-size: 0.75rem;
}

/* ===== BENEFITS GRID ENHANCED ===== */
.benefits-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.benefit-card-enhanced {
    background: var(--white);
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-red);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.benefit-card-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.benefit-card-icon {
    font-size: 1.4rem;
    color: var(--primary-red);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.benefit-card-text h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--dark-grey);
}

.benefit-card-text p {
    font-size: 0.88rem;
    color: var(--secondary-dark);
    margin: 0;
    line-height: 1.5;
}

/* ===== CAPABILITIES GRID ===== */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.capability-card-enhanced {
    background: var(--white);
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--primary-red);
    transition: all 0.3s ease;
}

.capability-card-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.capability-index {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-red);
    opacity: 0.2;
    display: block;
    margin-bottom: 0.4rem;
    line-height: 1;
}

.capability-card-enhanced h4 {
    font-size: 0.97rem;
    color: var(--dark-grey);
    margin: 0;
    line-height: 1.4;
}

/* ===== RELATED MODULES GRID ===== */
.related-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.related-module-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    transition: all 0.3s ease;
}

.related-module-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.related-module-img {
    background: linear-gradient(135deg, #fafafa, #f0f0f0);
    padding: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    width: 100px;
    border-right: 1px solid #eee;
}

.related-module-img img {
    width: auto;
    height: auto;
    max-width: 65px;
    max-height: 65px;
    object-fit: contain;
    object-position: center;
}

.related-module-body {
    padding: 1rem;
    flex: 1;
}

.related-module-body .module-abbr {
    margin-bottom: 0.3rem;
}

.related-module-body h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--dark-grey);
}

.related-module-body p {
    font-size: 0.85rem;
    color: var(--secondary-dark);
    margin: 0;
    line-height: 1.4;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .hero-stats-row {
        gap: 1rem;
        padding: 1rem;
    }

    .hero-stat {
        padding: 0.5rem 0.8rem;
        min-width: 80px;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-stat-number {
        font-size: 1.4rem;
    }

    .trust-bar-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .trust-bar-divider {
        width: 60px;
        height: 1px;
    }

    .industry-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .industry-detail-image-wrap {
        order: -1;
        min-height: 250px;
        padding: 1.5rem;
    }

    .related-modules-grid {
        grid-template-columns: 1fr;
    }

    .related-module-card {
        flex-direction: column;
    }

    .related-module-img {
        width: 100%;
        min-width: unset;
        padding: 1.2rem;
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .related-module-img img {
        max-height: 60px;
    }

    .industry-card-img-wrap {
        height: 180px;
    }

    .industry-card-enhanced {
        margin-bottom: 0;
    }

    .industry-card-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(173,5,5,0.55) 0%, transparent 70%);
    }

    .core-modules-grid,
    .industry-modules-grid,
    .industry-cards-grid,
    .benefits-grid-enhanced,
    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        flex-direction: column;
    }

    .detail-stat-row {
        gap: 0.8rem;
    }

    .detail-stat {
        min-width: 90px;
        padding: 0.8rem 0.9rem;
    }
}

/* ===== ABOUT PAGE ===== */
.about-hero {
    padding-bottom: 3rem;
}

/* Journey Grid */
.about-journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.journey-card {
    background: var(--white);
    border: 1px solid var(--secondary-light);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.journey-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), #c41e1e);
}

.journey-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.journey-year {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.journey-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-grey);
}

.journey-card p {
    font-size: 0.88rem;
    color: var(--secondary-dark);
    margin: 0;
    line-height: 1.5;
}

/* Value Card Enhanced */
.value-card-enhanced {
    text-align: center;
    padding: 2rem 1.5rem;
}

.value-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.4rem;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

.value-card-enhanced:hover .value-icon-circle {
    background: var(--primary-red);
    color: var(--white);
    transform: scale(1.1);
}

.value-card-enhanced h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.value-card-enhanced p {
    font-size: 0.9rem;
    color: var(--secondary-dark);
    margin: 0;
}

/* Mission Vision Grid */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.mv-card-enhanced {
    background: linear-gradient(135deg, #fff 0%, #fefefe 100%);
    border: 1px solid var(--secondary-light);
    border-radius: 14px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.mv-card-enhanced::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), #c41e1e);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.mv-card-enhanced:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.mv-card-enhanced:hover::after {
    transform: scaleX(1);
}

.mv-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red), #8a0404);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.6rem;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(173, 5, 5, 0.3);
}

.mv-card-enhanced h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.mv-card-enhanced p {
    font-size: 0.95rem;
    color: var(--secondary-dark);
    margin: 0;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .about-journey-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .mv-card-enhanced {
        padding: 2rem 1.5rem;
    }
}

/* ===== HOME PAGE ENHANCEMENTS ===== */
.home-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.home-feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    transition: transform 0.3s ease;
}

.home-feature-card:hover {
    transform: translateY(-6px);
}

.home-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red), #8a0404);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: 0 6px 18px rgba(173, 5, 5, 0.25);
}

.home-feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--dark-grey);
}

.home-feature-card p {
    font-size: 0.92rem;
    color: var(--secondary-dark);
    margin: 0;
    line-height: 1.6;
}

/* Platform Card */
.platform-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
}

.platform-check {
    color: var(--primary-red);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.platform-card p {
    font-size: 0.95rem;
    margin: 0;
}

/* Home Industry Cards */
.home-industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.home-industry-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.home-industry-card:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.home-industry-img {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
}

.home-industry-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-industry-text h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--dark-grey);
}

.home-industry-text p {
    font-size: 0.85rem;
    color: var(--secondary-dark);
    margin: 0;
    line-height: 1.4;
}

/* Story Card */
.story-card {
    position: relative;
    padding: 2rem 1.5rem 1.5rem;
}

.story-quote-icon {
    font-size: 1.4rem;
    color: var(--primary-red);
    opacity: 0.25;
    margin-bottom: 0.8rem;
}

.story-card > p {
    font-size: 0.93rem;
    color: var(--secondary-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.story-card h4 {
    font-size: 0.95rem;
    color: var(--dark-grey);
    border-top: 1px solid #eee;
    padding-top: 0.8rem;
}

.cta p sup {
    font-size: 0.55em;
    vertical-align: super;
}

@media (max-width: 768px) {
    .home-industry-card {
        flex-direction: column;
        text-align: center;
    }

    .home-industry-img {
        width: 100%;
        height: 140px;
    }

    .home-industry-img img {
        object-fit: contain;
    }
}

/* ===== STAT CARD ANIMATED ===== */
.stat-card-animated {
    position: relative;
    overflow: hidden;
}

/* ===== HOW IT WORKS ===== */
.how-it-works-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.hiw-card {
    flex: 1;
    min-width: 180px;
    max-width: 240px;
    background: var(--white);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
}

.hiw-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.hiw-step {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    opacity: 0.15;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.hiw-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--dark-grey);
}

.hiw-card p {
    font-size: 0.88rem;
    color: var(--secondary-dark);
    margin: 0;
    line-height: 1.5;
}

.hiw-arrow {
    font-size: 1.2rem;
    color: var(--primary-red);
    padding: 0 0.5rem;
    flex-shrink: 0;
    opacity: 0.5;
}

/* ===== IMPACT SECTION ===== */
.impact-section {
    background: linear-gradient(135deg, #1a1a1a, #2d1515, #1a1a1a);
    padding: 5rem 0;
    color: var(--white);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.impact-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.impact-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.impact-card i {
    font-size: 1.8rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    display: block;
}

.impact-card p {
    color: rgba(255,255,255,0.9);
    font-size: 1.05rem;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .how-it-works-grid {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hiw-card {
        max-width: 100%;
    }

    .hiw-arrow {
        transform: rotate(90deg);
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats-row {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 1rem 0.8rem;
    }

    .hero-stat {
        padding: 0.3rem 0.6rem;
    }

    .hero-stat-divider {
        height: 24px;
    }

    .hero-stat-number {
        font-size: 1.3rem;
    }

    .hero-stat-label {
        font-size: 0.62rem;
    }
}

/* ===== KEY FEATURES GRID ===== */
.key-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

.key-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1.2rem;
    transition: all 0.25s ease;
}

.key-feature-item:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.key-feature-icon {
    font-size: 1.2rem;
    color: var(--primary-red);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.key-feature-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    color: var(--dark-grey);
}

.key-feature-item p {
    font-size: 0.85rem;
    color: var(--secondary-dark);
    margin: 0;
}

.key-feature-text {
    flex: 1;
}

/* ===== INDUSTRY MODULE COLS ===== */
.industry-module-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.industry-module-col {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.5rem;
    border-top: 3px solid var(--primary-red);
}

.industry-module-col h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--primary-red);
}

.industry-module-col ul {
    list-style: none;
    padding: 0;
}

.industry-module-col li {
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: var(--secondary-dark);
    border-bottom: 1px solid #f5f5f5;
}

.industry-module-col li:last-child {
    border-bottom: none;
}

/* ===== INTEGRATIONS GRID ===== */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.integration-item {
    text-align: center;
    padding: 1.8rem 1.2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.integration-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.integration-item i {
    font-size: 1.8rem;
    color: var(--primary-red);
    margin-bottom: 0.8rem;
    display: block;
}

.integration-item h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.integration-item p {
    font-size: 0.85rem;
    color: var(--secondary-dark);
    margin: 0;
}

/* ===== ADDONS GRID ===== */
.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.2rem;
}

.addon-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1.3rem 1.5rem;
    transition: all 0.25s ease;
}

.addon-card:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-md);
}

.addon-card h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--dark-grey);
}

.addon-card h4 i {
    color: var(--primary-red);
    margin-right: 0.4rem;
}

.addon-card p {
    font-size: 0.88rem;
    color: var(--secondary-dark);
    margin: 0;
}

/* ===== IMPLEMENTATION GRID ===== */
.implementation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.impl-item {
    text-align: center;
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    box-shadow: var(--shadow);
    transition: all 0.25s ease;
}

.impl-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.impl-item i {
    font-size: 1.6rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    display: block;
}

.impl-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.impl-item p {
    font-size: 0.82rem;
    color: var(--secondary-dark);
    margin: 0;
}

.check-list-inline {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.check-list-inline li {
    background: #fff5f5;
    color: var(--primary-red);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===== AUDIT GRID ===== */
.audit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

.audit-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-red);
    transition: all 0.25s ease;
}

.audit-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.audit-card h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--dark-grey);
}

.audit-card h4 i {
    color: var(--primary-red);
    margin-right: 0.4rem;
}

.audit-card p {
    font-size: 0.88rem;
    color: var(--secondary-dark);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .implementation-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impl-item {
        padding: 1.2rem 0.8rem;
    }
}


/* === LOGO MARQUEE (merged) === */
/* ===== LOGO MARQUEE ===== */
.hero-logo-bg {
    background: radial-gradient(circle at 15% 10%, #fff6f6 0%, #ffffff 48%, #f8f1f1 100%);
    padding: 0;
    min-height: calc(100vh - var(--header-height));
    width: 100%;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

@keyframes scrollRightToLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.hero-logo-stage {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    width: 100%;
    max-width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 1;
}

.hero-logo-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.75) 45%, rgba(255,255,255,0.3) 100%);
    z-index: 2;
}

.hero-logo-marquee {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-logo-marquee-track {
    display: flex;
    width: max-content;
    height: 100%;
    animation: scrollRightToLeft 90s linear infinite;
    animation-direction: normal;
    will-change: transform;
}

.hero-logo-bg-grid {
    position: relative;
    flex: 0 0 auto;
    padding: 1.5rem;
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    grid-auto-columns: 150px;
    grid-auto-flow: column;
    gap: 1rem;
    height: 100%;
    opacity: 0.95;
}

.hero-logo-bg-grid .hero-logo-chip {
    min-height: auto;
    width: 100%;
    height: 100%;
    padding: 0.7rem;
    border-color: #efe7e7;
    background: rgba(255,255,255,0.96);
}

.hero-logo-bg-grid .hero-logo-chip img {
    width: 90%;
    height: auto;
    filter: grayscale(10%);
    opacity: 0.75;
}

.client-logo-showcase {
    overflow: hidden;
}

.client-logo-showcase p {
    max-width: 780px;
    color: var(--secondary-dark);
}

.client-logo-marquee {
    display: flex;
    gap: 1rem;
    margin-top: 1.2rem;
    padding: 0.5rem 0;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
}

.client-logo-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: max-content;
    animation: clientLogoScroll 150s linear infinite;
}

.client-logo-marquee:hover .client-logo-track {
    animation-play-state: paused;
}

.client-logo-card {
    width: 180px;
    height: 96px;
    flex: 0 0 auto;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #ececec;
    box-shadow: 0 8px 20px rgba(20, 20, 20, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.client-logo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(173, 5, 5, 0.35);
    box-shadow: 0 12px 26px rgba(20, 20, 20, 0.1);
}

.client-logo-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    opacity: 0.88;
    transition: opacity 0.2s ease;
}

.client-logo-card:hover img {
    opacity: 1;
}

@keyframes clientLogoScroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 1rem)); }
}

@media (max-width: 768px) {
    .hero-logo-stage {
        min-height: calc(100vh - var(--header-height));
    }

    .hero-logo-bg-grid {
        grid-template-rows: repeat(4, 1fr);
        grid-auto-columns: 120px;
        gap: 0.8rem;
        padding: 1.2rem;
    }

    .hero-logo-bg-grid .hero-logo-chip img {
        height: 58px;
    }

    .hero-logo-marquee-track {
        animation-duration: 120s;
    }

    .hero-logo-bg-grid .hero-logo-chip {
        min-height: auto;
    }

    .client-logo-card {
        width: 150px;
        height: 84px;
    }

    .client-logo-track {
        animation-duration: 40s;
    }
}

@media (max-width: 480px) {
    .hero-logo-stage {
        min-height: 440px;
        border-radius: 14px;
    }

    .hero-logo-bg-grid {
        grid-template-rows: repeat(3, 1fr);
        grid-auto-columns: 100px;
        padding: 1rem;
    }

    .hero-logo-bg-grid .hero-logo-chip img {
        height: 46px;
        max-width: 88%;
    }

    .hero-logo-marquee-track {
        animation-duration: 150s;
    }

    .hero-logo-bg-grid .hero-logo-chip {
        min-height: auto;
    }

    .client-logo-marquee {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .client-logo-card {
        width: 132px;
        height: 74px;
        border-radius: 10px;
    }

    .client-logo-track {
        gap: 0.7rem;
        animation-duration: 32s;
    }
}

