/*
 * TCF Media Group — Premium Stylesheet
 * Modern, clean, Apple-inspired agency design
 * Color: #e63000 (TCF Orange), White, Dark Gray
 */

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
    --primary: #e63000;
    --primary-light: #ff4d1a;
    --primary-glow: rgba(230, 48, 0, 0.18);
    --primary-gradient: linear-gradient(135deg, #e63000 0%, #ff6b00 100%);

    --bg-white: #ffffff;
    --bg-light: #f7f7f5;
    --bg-dark: #0f0f0e;
    --bg-card: #ffffff;

    --text-main: #111111;
    --text-dim: #666666;
    --text-light: #999999;

    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(230, 48, 0, 0.3);

    --glass: rgba(255, 255, 255, 0.85);
    --glass-dark: rgba(15, 15, 14, 0.85);

    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.10);
    --shadow-xl: 0 40px 100px rgba(0, 0, 0, 0.12);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-xl: 40px;
    --radius-pill: 100px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
    --transition: all 0.4s var(--ease-out);
    --transition-fast: all 0.25s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 70px;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--text-main);
}

h1 {
    font-size: clamp(42px, 6vw, 80px);
}

h2 {
    font-size: clamp(32px, 4vw, 52px);
    margin-bottom: 18px;
}

h3 {
    font-size: clamp(20px, 2.5vw, 28px);
    margin-bottom: 12px;
}

h4 {
    font-size: 18px;
}

.eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background: white;
    color: var(--text-main);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 13px;
}

.btn-lg {
    padding: 18px 42px;
    font-size: 16px;
}

.btn-xl {
    padding: 20px 52px;
    font-size: 17px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1045;    /* above backdrop(1040), below nav-center(1050) */
    padding: 18px 0;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-main);
    flex-shrink: 0;
    z-index: 1002;
}

.nav-logo .accent {
    color: var(--primary);
}

/* Center nav */
.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links>li>a {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
    padding: 8px 14px;
    border-radius: 0;
    transition: color 0.25s ease;
    position: relative;
    background: transparent !important;
}

/* Animated underline bar */
.nav-links>li>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s var(--ease-out);
}

.nav-links>li>a:hover {
    color: var(--text-main);
}

.nav-links>li>a:hover::after {
    transform: scaleX(1);
}

.nav-links>li>a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-links>li>a.active::after {
    transform: scaleX(1);
}

/* Dropdown chevron */
.chevron {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.nav-item-dropdown.hover .chevron {
    transform: rotate(-135deg) translateY(2px);
}

/* Right actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1002;
}

/* Social icons in header */
.nav-social {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-right: 10px;
    border-right: 1px solid var(--border);
    margin-right: 2px;
}

.nav-social-link {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-social-link:hover {
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.05);
}

.nav-social-link.nav-social-wa:hover {
    color: #25D366;
    background: rgba(37, 211, 102, 0.08);
}

.nav-social-link svg {
    width: 15px;
    height: 15px;
}

@media (max-width: 1024px) {
    .nav-social {
        display: none;
    }
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
    z-index: 997;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 16px 40px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* Pulse ring */
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.4);
    animation: wa-pulse 2.2s ease-out infinite;
    pointer-events: none;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Tooltip label */
.whatsapp-float::after {
    content: 'Chat on WhatsApp';
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-dark);
    color: white;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.whatsapp-float:hover::after {
    opacity: 1;
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float::after {
        display: none;
    }
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 4px;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-toggle .bar {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-fast);
    transform-origin: center;
}

.mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================================
   MEGA MENU
   ============================================================ */
.mega-menu {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.35s var(--ease-out);
    padding: 40px 0;
    z-index: 1043;   /* below navbar(1045) — mega-menu hangs beneath it */
}

.navbar.scrolled .mega-menu {
    top: 55px;
}

.nav-item-dropdown.hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: start;
}

.mega-menu-intro .eyebrow {
    margin-bottom: 10px;
}

.mega-menu-intro h3 {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.25;
}

.mega-menu-intro p {
    font-size: 13.5px;
    color: var(--text-dim);
    line-height: 1.55;
    margin-bottom: 20px;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

.mega-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    cursor: pointer;
}

.mega-item:hover {
    background: var(--bg-light);
}

.mega-item-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.mega-item:hover .mega-item-icon {
    background: var(--primary);
}

.mega-item-icon svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    transition: var(--transition-fast);
}

.mega-item:hover .mega-item-icon svg {
    color: white;
}

.mega-item-text h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
}

.mega-item-text p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.4;
}

/* Mobile Mega Menu (accordion) */
@media (max-width: 1024px) {
    .nav-center {
        position: fixed;
        top: 0;
        left: auto;           /* resets desktop left:50% so right:-100% works */
        right: -100%;
        width: min(400px, 100%);
        height: 100vh;
        background: white;
        transform: none;      /* resets desktop translateX(-50%) */
        padding: 90px 30px 40px;
        transition: right 0.45s var(--ease-out);
        z-index: 1050;        /* well above backdrop */
        overflow-y: auto;
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.12);
    }

    .nav-center.active {
        right: 0;
    }

    /* Dark backdrop — starts BELOW the navbar so the toggle stays clickable */
    .nav-backdrop {
        display: none;
        position: fixed;
        top: 65px;            /* leave navbar strip uncovered */
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;        /* below nav-center (1050), above page content */
        /* NO backdrop-filter — it creates a GPU layer that blocks pointer events */
        animation: fadeIn 0.25s ease;
    }

    .nav-backdrop.active { display: block; }

    @keyframes fadeIn {
        from { opacity: 0; }
        to   { opacity: 1; }
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-links>li>a {
        display: flex;
        justify-content: space-between;
        padding: 16px 0;
        font-size: 18px;
        border-radius: 0;
        border-bottom: 1px solid var(--border);
        background: none !important;
    }

    .nav-links>li:last-child>a {
        border-bottom: none;
    }

    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0;
        box-shadow: none;
        border: none;
        background: transparent;
        display: none;
    }

    .nav-item-dropdown.active .mega-menu {
        display: block;
    }

    .mega-menu-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 16px 0 24px;
    }

    .mega-menu-intro {
        display: none;
    }

    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mega-item {
        padding: 14px 10px;
        border-radius: 0;
        border-bottom: 1px solid var(--border);
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-actions .btn-primary {
        display: none;
    }
}

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 70px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.45) 50%,
            rgba(0, 0, 0, 0.25) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 100px 0 80px;
    max-width: 760px;
}

.hero-content .eyebrow {
    color: rgba(255, 255, 255, 0.7);
}

.hero-title {
    font-size: clamp(44px, 6.5vw, 88px);
    font-weight: 800;
    line-height: 1.05;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-title .accent {
    color: var(--primary-light);
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 40px;
    line-height: 1.65;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-hint-mouse {
    width: 22px;
    height: 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    position: relative;
}

.scroll-hint-mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 7px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scroll-anim 1.6s ease infinite;
}

@keyframes scroll-anim {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    position: relative;
    height: 480px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-top: 70px;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.35) 60%,
            rgba(0, 0, 0, 0.1) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 5;
    padding: 50px 0;
}

.page-hero-content .eyebrow {
    color: rgba(255, 255, 255, 0.65);
}

.page-hero-content h1 {
    font-size: clamp(36px, 5vw, 62px);
    color: white;
    margin-bottom: 14px;
}

.page-hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
    background: var(--bg-dark);
    padding: 50px 0;
}

.stats-strip .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 20px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================================
   WHY TCF / FEATURES SECTION
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.feature-card {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
}

.feature-card:hover .feature-icon svg {
    color: white;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary);
    transition: var(--transition-fast);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.65;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: block;
    transition: var(--transition);
    background: var(--bg-light);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.service-card:hover .service-card-img img {
    transform: scale(1.06);
}

.service-card-body {
    padding: 28px 30px 30px;
}

.service-card-body .eyebrow {
    margin-bottom: 8px;
}

.service-card-body h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.service-card-body p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 18px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.service-card-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.service-card:hover .service-card-link svg {
    transform: translateX(4px);
}

/* ============================================================
   LOCATIONS SECTION
   ============================================================ */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.location-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: block;
    transition: var(--transition);
    aspect-ratio: 3 / 4;
}

.location-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.location-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out);
}

.location-card:hover img {
    transform: scale(1.07);
}

.location-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.location-card-name {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.location-card-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

.location-card-traffic {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    margin-top: 8px;
    width: fit-content;
}

/* ============================================================
   CAMPAIGNS SECTION
   ============================================================ */
.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.campaign-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: block;
    aspect-ratio: 4 / 3;
    transition: var(--transition);
}

.campaign-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.campaign-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.campaign-card:hover img {
    transform: scale(1.08);
}

.campaign-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.80) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.campaign-card:hover .campaign-overlay {
    opacity: 1;
}

.campaign-overlay .eyebrow {
    color: var(--primary-light);
    margin-bottom: 6px;
}

.campaign-overlay h4 {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

/* ============================================================
   CLIENT LOGOS MARQUEE
   ============================================================ */
.clients-section {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 50px 0;
    overflow: hidden;
}

.clients-label {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-light);
    margin-bottom: 36px;
}

.marquee-track {
    overflow: hidden;
    position: relative;
}

.marquee-track::before,
.marquee-track::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee-track::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light), transparent);
}

.marquee-track::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light), transparent);
}

.marquee-inner {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-inner:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 20px;
    border-radius: var(--radius-md);
    background: white;
    border: 1px solid var(--border);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-light);
    white-space: nowrap;
    transition: var(--transition-fast);
    min-width: 120px;
}

.client-logo-item:hover {
    color: var(--text-main);
    border-color: var(--border-hover);
}

/* ============================================================
   ABOUT SECTION CONTENT
   ============================================================ */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-story-text h2 {
    margin-bottom: 20px;
}

.about-story-text p {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-story-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 5/4;
}

.about-story-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Values grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.value-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.value-card:hover {
    background: white;
    border-color: var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.value-num {
    font-size: 48px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.value-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.65;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    background: var(--primary-gradient);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner-content {
    position: relative;
    z-index: 2;
}

.cta-banner h2 {
    font-size: clamp(36px, 5vw, 62px);
    color: white;
    margin-bottom: 18px;
}

.cta-banner p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn-group {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info>p {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.75;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 46px;
    height: 46px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.contact-detail-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-detail-text span {
    font-size: 14px;
    color: var(--text-dim);
}

/* Form */
.contact-form-wrapper {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: 48px;
    border: 1px solid var(--border);
}

.contact-form-wrapper h3 {
    font-size: 22px;
    margin-bottom: 32px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-grid .full {
    grid-column: 1 / -1;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--text-main);
    transition: var(--transition-fast);
    outline: none;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-group textarea {
    min-height: 130px;
}

.form-submit {
    margin-top: 10px;
}

.success-message {
    text-align: center;
    padding: 60px 40px;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.success-message h3 {
    margin-bottom: 12px;
}

.success-message p {
    color: var(--text-dim);
    margin-bottom: 24px;
}

/* ============================================================
   GALLERY / IMAGE GRID (Service & Location pages)
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    transition: var(--transition);
}

.gallery-item.tall {
    aspect-ratio: 4/5;
    grid-row: span 2;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* ============================================================
   SERVICE DETAIL SECTIONS
   ============================================================ */
.service-intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-intro-text h2 {
    margin-bottom: 18px;
}

.service-intro-text p {
    font-size: 17px;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 16px;
}

.service-features-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sfl-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
}

.sfl-item::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.service-intro-visual {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.service-intro-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Spec tiles */
.spec-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 60px;
}

.spec-tile {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.spec-tile:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.spec-tile-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.spec-tile-label {
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 90px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo {
    margin-bottom: 18px;
}

.footer-brand .nav-logo {
    color: white;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
    max-width: 280px;
    margin-bottom: 28px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 22px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.25);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.25);
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.divider {
    width: 48px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
    margin: 20px 0;
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(230, 48, 0, 0.08);
    color: var(--primary);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hidden {
    display: none !important;
}

/* ============================================================
   RESPONSIVE — TABLETS (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .container {
        padding: 0 28px;
    }

    .section-padding {
        padding: 80px 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .campaigns-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.tall {
        aspect-ratio: 4/3;
        grid-row: span 1;
    }

    .about-story {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .spec-tiles {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-strip .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .stat-item:last-child,
    .stat-item:nth-child(3) {
        border-bottom: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .mega-menu-layout {
        grid-template-columns: 1fr;
        Gap: 30px;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .hero-content {
        padding: 80px 0 60px;
    }

    .page-hero {
        height: 360px;
    }

    .page-hero-content h1 {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .locations-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .campaigns-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .spec-tiles {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-banner .btn-group {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .locations-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .stats-strip .container {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   LEGAL PAGES (Privacy, Terms, Cookie Policy)
   ============================================================ */
.legal-hero {
    background: var(--bg-dark);
    padding: 100px 0 60px;
    margin-top: 65px;
}

.legal-hero-content {
    text-align: center;
}

.legal-hero-content h1 {
    font-size: 40px;
    font-weight: 800;
    color: white;
    margin-bottom: 14px;
}

.legal-hero-content .legal-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 100px;
}

.legal-body {
    padding: 72px 0 96px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 56px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.legal-section p {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.75;
    margin-bottom: 14px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
    margin: 14px 0 14px 20px;
}

.legal-section li {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 8px;
    padding-left: 6px;
}

.legal-section ul li {
    list-style: disc;
}

.legal-section ol li {
    list-style: decimal;
}

.legal-section h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-main);
    margin: 24px 0 10px;
}

.legal-contact-box {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin-top: 16px;
}

.legal-contact-box p {
    margin: 0 !important;
    font-size: 14px;
}

.legal-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.legal-nav a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dim);
    padding: 7px 16px;
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: var(--transition-fast);
}

.legal-nav a:hover,
.legal-nav a.active {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(230, 48, 0, 0.04);
}