/* ========================================
   BRDY Zambia — Modern Tech Redesign
   Premium tech company serving Zambia
   ======================================== */

:root {
    /* Colors */
    --bg: #FFFFFF;
    --bg-soft: #F8FAFC;
    --bg-dark: #060C1A;
    --bg-darker: #04081A;
    --surface: #FFFFFF;
    --surface-2: #F1F5F9;

    --text: #0A1628;
    --text-light: #64748B;
    --text-lighter: #94A3B8;
    --text-on-dark: #FFFFFF;
    --text-on-dark-soft: rgba(255, 255, 255, 0.7);
    --text-on-dark-softer: rgba(255, 255, 255, 0.5);

    --accent: #0E4D2C;
    --accent-dark: #0A3D22;
    --accent-soft: rgba(14, 77, 44, 0.08);
    --accent-glow: rgba(14, 77, 44, 0.35);

    --highlight: #2DD4A4;          /* electric cyan */
    --highlight-soft: rgba(45, 212, 164, 0.12);
    --amber: #FFB547;              /* warm accent */

    --white: #FFFFFF;
    --border: #E2E8F0;
    --border-soft: #EEF2F7;
    --border-dark: rgba(255, 255, 255, 0.08);

    --success: #10B981;
    --error: #EF4444;

    /* Radius */
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    /* Spacing scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;
    --space-10: 120px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.06);
    --shadow: 0 4px 16px rgba(10, 22, 40, 0.08);
    --shadow-md: 0 12px 40px rgba(10, 22, 40, 0.10);
    --shadow-lg: 0 24px 60px rgba(10, 22, 40, 0.12);
    --shadow-glow: 0 16px 48px rgba(14, 77, 44, 0.28);

    /* Typography */
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --t-fast: 0.2s var(--ease);
    --t: 0.3s var(--ease);
    --t-slow: 0.6s var(--ease-out);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

ul { list-style: none; }

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

h1 { font-size: clamp(2.6rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { line-height: 1.7; }

/* ===== Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.section {
    padding: var(--space-10) 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-9);
}

.eyebrow {
    display: inline-block;
    font-family: var(--font);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 6px 14px;
    background: var(--accent-soft);
    border-radius: var(--radius-pill);
}

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

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--t);
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    font-family: var(--font);
    line-height: 1.2;
}

.btn svg {
    width: 16px;
    height: 16px;
    transition: transform var(--t);
}

.btn-primary {
    background: var(--accent);
    color: var(--white, #fff);
    box-shadow: 0 4px 16px rgba(14, 77, 44, 0.2);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover svg { transform: translateX(3px); }

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-on-dark);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover svg { transform: translateX(3px); }

.btn-ghost {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.btn-ghost:hover svg { transform: translateX(3px); }

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    height: 80px;
    display: flex;
    align-items: center;
}

.nav.scrolled {
    background: #FFFFFF;
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 48px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    height: 44px;
    width: auto;
}

.nav-logo .logo-mark {
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
}

.nav.scrolled .nav-logo .logo-mark { color: var(--text); }

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: 8px 0;
    transition: color var(--t-fast);
}

.nav.scrolled .nav-menu a { color: var(--text-light); }

.nav-menu a:hover { color: var(--text); }

.nav.scrolled .nav-menu a:hover { color: var(--text); }

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--t);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: scaleX(1);
}

.nav-menu a.active { color: var(--text); }

.nav.scrolled .nav-menu a.active { color: var(--text); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-cta {
    background: var(--accent);
    color: var(--white);
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--t);
}

.nav-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    align-items: center;
    justify-content: center;
    color: var(--text);
    background: var(--surface-2);
    border: 1px solid var(--border);
}

.nav.scrolled .nav-toggle {
    color: var(--text);
    background: var(--surface-2);
    border-color: var(--border);
}

.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile slide-in menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 90vw);
    height: 100vh;
    background: var(--bg-darker);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
    padding: 32px;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-head img { height: 24px; }

.mobile-menu-close {
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 32px;
}

.mobile-menu a {
    display: block;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.mobile-menu a:hover { color: var(--highlight); }

.mobile-menu-cta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu-cta .btn { justify-content: center; }

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
    background: var(--bg-darker);
}

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

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

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #060C1A 0%, #0A1628 50%, #1A2B4A 100%);
    opacity: 0.60;
}

.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.12 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    opacity: 0.5;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    filter: blur(60px);
    z-index: 1;
    pointer-events: none;
    animation: glow-float 8s ease-in-out infinite;
}

.hero-glow-1 {
    top: -200px;
    right: -100px;
    opacity: 0.5;
}

.hero-glow-2 {
    bottom: -300px;
    left: -150px;
    opacity: 0.3;
    background: radial-gradient(circle, rgba(45, 212, 164, 0.25) 0%, transparent 60%);
}

@keyframes glow-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 0 32px;
    margin: 0 auto;
    width: 100%;
}

.hero-content .eyebrow {
    background: rgba(14, 77, 44, 0.15);
    color: var(--highlight);
    border: 1px solid rgba(45, 212, 164, 0.2);
}

.hero h1 {
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.05;
}

.hero h1 .accent {
    background: linear-gradient(135deg, #2DD4A4 0%, #0E4D2C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero p.lead {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.2rem;
    max-width: 560px;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 560px;
}

.hero-stat {
    color: var(--white);
}

.hero-stat .value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    display: block;
    margin-bottom: 4px;
    line-height: 1;
}

.hero-stat .label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 2;
}

.hero-scroll-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: scaleY(1); opacity: 0.5; }
    50% { transform: scaleY(1.5); opacity: 1; }
}

/* ===== Page Hero (sub-pages) ===== */
.page-hero {
    padding: 180px 0 80px;
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 212, 164, 0.3), transparent);
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(14, 77, 44, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(45, 212, 164, 0.12) 0%, transparent 50%);
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Logo Strip / Trusted by ===== */
.logo-strip {
    padding: 80px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.logo-strip-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    margin-bottom: 32px;
}

.logo-strip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 48px;
    align-items: center;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.logo-strip-item {
    color: var(--text-lighter);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    opacity: 0.7;
    transition: opacity var(--t);
}

.logo-strip-item:hover { opacity: 1; }

/* ===== Installation Gallery ===== */
.gallery-section {
    padding: 100px 0;
    background: var(--bg-dark);
    overflow: hidden;
}

.gallery-section .section-header {
    margin-bottom: 56px;
}

.gallery-section .section-header h2 {
    color: var(--white);
}

.gallery-section .section-header p {
    color: var(--text-on-dark-soft);
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

.gallery-item {
    position: relative;
    width: 400px;
    height: 300px;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    background: #f4f4f5;
    padding: 6px;
    flex-shrink: 0;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
    position: absolute;
    inset: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    object-fit: cover;
    transition: transform 0.6s var(--ease), filter 0.4s ease;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(6, 12, 26, 0.7) 100%
    );
    transition: opacity 0.4s ease;
}

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

.gallery-item:hover::after {
    opacity: 0.7;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 20px;
    z-index: 2;
    transform: translateY(8px);
    opacity: 0;
    transition: all 0.4s var(--ease);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

.gallery-caption h4 {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.gallery-caption p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    transition: all var(--t);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--t);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-soft) 0%, var(--highlight-soft) 100%);
    color: var(--accent);
    margin-bottom: 24px;
    transition: all var(--t);
    position: relative;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent) 0%, var(--highlight) 100%);
    color: var(--white);
    transform: scale(1.05) rotate(-3deg);
}

.service-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.97rem;
    line-height: 1.75;
}

.service-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap var(--t);
}

.service-card .card-link:hover { gap: 10px; }

.service-card .card-link svg {
    width: 14px;
    height: 14px;
}

/* ===== Service Detail Page (Services.html) ===== */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
    margin-bottom: var(--space-9);
    padding: var(--space-8) 0;
    border-bottom: 1px solid var(--border-soft);
}

.service-detail:last-child { border-bottom: none; }

.service-detail-left {
    position: sticky;
    top: 100px;
}

.service-detail-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, var(--highlight) 100%);
    color: var(--white);
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(14, 77, 44, 0.25);
}

.service-detail-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.8;
}

.service-detail h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.service-detail-tag {
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.service-detail-right h3 {
    font-size: 1.1rem;
    margin: 32px 0 16px;
    color: var(--text);
}

.service-detail-right p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 1.02rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-soft);
    transition: all var(--t-fast);
}

.feature-item:hover {
    background: var(--white);
    border-color: var(--accent);
}

.feature-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-check svg {
    width: 14px;
    height: 14px;
    stroke-width: 3;
}

.feature-item-text {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.5;
    font-weight: 500;
}

/* ===== Service Photo Gallery (services.html) ===== */
.service-photo-gallery {
    margin: 48px 0 0;
    padding: 32px;
    background: var(--bg-soft);
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
}

.gallery-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1320px;
    margin: 0 auto;
}

.gallery-photo {
    position: relative;
    width: 400px;
    height: 300px;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    background: #f4f4f5;
    padding: 6px;
    flex-shrink: 0;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.gallery-photo img {
    position: absolute;
    inset: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    object-fit: cover;
    transition: transform 0.5s var(--ease), filter 0.4s ease;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.gallery-photo:hover img {
    transform: scale(1.05);
    filter: brightness(1.08);
}

.gallery-photo-label {
    position: absolute;
    bottom: 6px;
    left: 6px;
    right: 6px;
    padding: 32px 16px 12px;
    background: linear-gradient(transparent, rgba(6,12,26,0.8));
    z-index: 2;
}

.gallery-photo-label span {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== Stats Section ===== */
.stats {
    background: var(--bg-darker);
    padding: var(--space-10) 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(14, 77, 44, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 50%, rgba(45, 212, 164, 0.1) 0%, transparent 40%);
}

.stats .container {
    position: relative;
    z-index: 1;
}

.stats-header {
    text-align: center;
    margin-bottom: var(--space-8);
    color: var(--white);
}

.stats-header h2 {
    color: var(--white);
    margin-bottom: 12px;
}

.stats-header p {
    color: rgba(255, 255, 255, 0.6);
}

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

.stat {
    text-align: center;
    padding: 32px 16px;
    position: relative;
}

.stat::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.stat:last-child::after { display: none; }

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 700;
    color: var(--white);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #FFFFFF 0%, #2DD4A4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ===== Why Us / Features ===== */
.features-section {
    background: var(--bg-soft);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature-block {
    padding: 32px 28px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--t);
}

.feature-block:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.feature-block-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-darker);
    color: var(--highlight);
    margin-bottom: 20px;
}

.feature-block-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.8;
}

.feature-block h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-block p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Process / Steps ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    counter-reset: step;
}

.process-step {
    padding: 32px 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    transition: all var(--t);
}

.process-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.process-step::before {
    counter-increment: step;
    content: "0" counter(step);
    position: absolute;
    top: -14px;
    left: 24px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    background: var(--accent);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.04em;
}

.process-step h3 {
    font-size: 1.1rem;
    margin: 12px 0 10px;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--bg-darker);
    color: var(--white);
    padding: var(--space-10) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(14, 77, 44, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(45, 212, 164, 0.15) 0%, transparent 50%);
}

.cta-section .container {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

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

/* ===== About Page ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.value-card {
    padding: 36px 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--t);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--highlight));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

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

.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 24px;
}

.value-icon svg {
    width: 26px;
    height: 26px;
    stroke-width: 1.8;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.about-split p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-visual {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-darker);
}

.about-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 77, 44, 0.4) 0%, rgba(45, 212, 164, 0.2) 100%);
    z-index: 1;
}

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

.about-visual-content {
    position: absolute;
    bottom: 32px;
    left: 32px;
    z-index: 2;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    align-items: center;
    justify-items: center;
    padding: 40px 0;
}

.partner-card {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    padding: 20px;
    text-align: center;
    transition: all var(--t);
}

.partner-card:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.partner-card.partner-highlight {
    background: var(--bg-darker);
    color: var(--white);
    border-color: var(--bg-darker);
}

.partner-card.partner-highlight:hover {
    color: var(--highlight);
    border-color: var(--accent);
}

/* ===== Team ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.team-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--t);
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--highlight) 100%);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.team-card h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.team-card .team-role {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.team-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}

.contact-info-card {
    background: var(--bg-darker);
    color: var(--white);
    border-radius: var(--radius);
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(14, 77, 44, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.contact-info-card > * { position: relative; z-index: 1; }

.contact-info-card h2 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 1.8rem;
}

.contact-info-card > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    font-size: 0.98rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--highlight);
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.8;
}

.contact-item-text strong {
    display: block;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
    font-family: var(--font);
}

.contact-item-text a,
.contact-item-text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.98rem;
    line-height: 1.5;
}

.contact-item-text a:hover { color: var(--white); }

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-socials a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--t);
}

.contact-socials a:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.contact-socials svg {
    width: 18px;
    height: 18px;
}

/* Form */
.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 36px;
    box-shadow: var(--shadow);
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.contact-form > p {
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 0.98rem;
}

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

.form-group {
    position: relative;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 22px 16px 10px;
    font-family: var(--font);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--t-fast);
    outline: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.6;
    padding-top: 22px;
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 16px;
    font-size: 0.95rem;
    color: var(--text-lighter);
    pointer-events: none;
    transition: all var(--t-fast);
    background: var(--white);
    padding: 0 4px;
}

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

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not([value=""]) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 0;
    font-size: 0.72rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: var(--error);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}

.form-error {
    color: var(--error);
    font-size: 0.82rem;
    margin-top: 6px;
    display: none;
}

.form-group.has-error .form-error { display: block; }

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

.form-submit .btn {
    width: 100%;
    padding: 18px 32px;
    font-size: 1rem;
}

/* Success state */
.contact-form.success {
    text-align: center;
    padding: 64px 36px;
}

.contact-form.success > * { display: none; }

.contact-form.success::before {
    content: '';
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success) 0%, #34D399 100%);
    position: relative;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
}

.contact-form.success h3,
.contact-form.success p {
    display: block !important;
}

.contact-form.success h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: var(--text);
}

.contact-form.success p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Map placeholder */
.map-section {
    margin-top: var(--space-9);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-darker);
    aspect-ratio: 21 / 9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.map-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(14, 77, 44, 0.2) 0%, transparent 50%),
        linear-gradient(45deg, var(--bg-darker) 25%, transparent 25%) -10px 0,
        linear-gradient(-45deg, var(--bg-darker) 25%, transparent 25%) -10px 0,
        linear-gradient(45deg, transparent 75%, var(--bg-darker) 75%),
        linear-gradient(-45deg, transparent 75%, var(--bg-darker) 75%);
    background-size: 100%, 20px 20px, 20px 20px, 20px 20px, 20px 20px;
    background-color: #0A1628;
    opacity: 0.6;
}

.map-pin {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    box-shadow: 0 0 0 8px rgba(14, 77, 44, 0.25);
    animation: pin-pulse 2s ease-in-out infinite;
}

.map-pin svg {
    width: 28px;
    height: 28px;
}

@keyframes pin-pulse {
    0%, 100% { box-shadow: 0 0 0 8px rgba(14, 77, 44, 0.25); }
    50% { box-shadow: 0 0 0 16px rgba(14, 77, 44, 0.0); }
}

.map-section h3 {
    color: var(--white);
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
}

.map-section p {
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-darker);
    color: var(--white);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand img { height: 34px; margin-bottom: 20px; }

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    max-width: 280px;
    margin-bottom: 24px;
}

.footer-brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(14, 77, 44, 0.1);
    border: 1px solid rgba(14, 77, 44, 0.3);
    border-radius: var(--radius-pill);
    color: var(--highlight);
    font-size: 0.8rem;
    font-weight: 600;
}

.footer-brand-tag .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--highlight);
    box-shadow: 0 0 8px var(--highlight);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.footer-col h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font);
    font-weight: 600;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
    font-size: 0.93rem;
    transition: all var(--t-fast);
}

.footer-col a:hover {
    color: var(--white);
    transform: translateX(3px);
}

.footer-newsletter h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font);
    font-weight: 600;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 4px;
    transition: all var(--t);
}

.newsletter-form:focus-within {
    border-color: var(--accent);
    background: rgba(14, 77, 44, 0.05);
}

.newsletter-form input {
    flex: 1;
    background: none;
    border: none;
    color: var(--white);
    padding: 10px 12px;
    font-family: var(--font);
    font-size: 0.9rem;
    outline: none;
}

.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.4); }

.newsletter-form button {
    width: 38px;
    height: 38px;
    background: var(--accent);
    color: var(--white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--t-fast);
}

.newsletter-form button:hover { background: var(--accent-dark); }

.newsletter-form button svg { width: 16px; height: 16px; }

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    transition: all var(--t);
}

.footer-socials a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-socials svg { width: 16px; height: 16px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    flex-wrap: wrap;
    gap: 16px;
}

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

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
}

.footer-bottom-links a:hover { color: var(--white); }

/* ===== Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up {
    animation: fade-up 0.8s var(--ease-out) backwards;
}

.fade-up-d1 { animation-delay: 0.1s; }
.fade-up-d2 { animation-delay: 0.2s; }
.fade-up-d3 { animation-delay: 0.3s; }
.fade-up-d4 { animation-delay: 0.4s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .service-detail { grid-template-columns: 1fr; gap: 32px; }
    .service-detail-left { position: static; }
    .about-split { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand, .footer-newsletter { grid-column: span 3; }
}

@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat::after { display: none; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .section { padding: 80px 0; }
    .page-hero { padding: 140px 0 60px; }
    .nav-inner { grid-template-columns: auto 1fr auto; gap: 16px; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .container { padding: 0 20px; }
    .nav-menu { display: none; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .nav { height: 70px; }
    .hero { min-height: 90vh; padding: 90px 0 60px; }
    .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
    .hero p.lead { font-size: 1.05rem; }
    .hero-stats { grid-template-columns: 1fr; gap: 16px; padding-top: 24px; }
    .hero-stat { text-align: center; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand, .footer-newsletter { grid-column: span 1; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .contact-form, .contact-info-card { padding: 28px 24px; }
    .section-header h2 { font-size: 1.8rem; }
    .cta-actions { flex-direction: column; align-items: stretch; }
    .cta-actions .btn { width: 100%; }
    .hero-scroll { display: none; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
}
