/* ============================================
   Astrova — Singapore SME Digital Solutions
   Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color .3s ease, color .3s ease;
}
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
ul { list-style: none; }
h1, h2, h3, h4, h5 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* --- Variables --- */
:root,
[data-theme="dark"] {
    --primary: #00ff88;
    --primary-strong: #00ff88;
    --secondary: #00d4ff;
    --bg: #0a0e14;
    --bg-alt: #0f141c;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(0, 255, 136, 0.05);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 255, 136, 0.3);
    --text: #e6edf3;
    --text-muted: #8b96a5;
    --text-dim: #6b7686;
    --surface-tint: rgba(255, 255, 255, 0.04);
    --surface-tint-strong: rgba(255, 255, 255, 0.06);
    --header-bg: rgba(10, 14, 20, 0.7);
    --header-bg-scrolled: rgba(10, 14, 20, 0.92);
    --footer-bg: #060a10;
    --code-bg: #0d1117;
    --primary-soft: rgba(0, 255, 136, 0.08);
    --primary-soft-strong: rgba(0, 255, 136, 0.12);
    --primary-border: rgba(0, 255, 136, 0.2);
    --gradient: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    --gradient-soft: linear-gradient(135deg, rgba(0,255,136,0.15) 0%, rgba(0,212,255,0.15) 100%);
    --btn-text-on-primary: #001813;
    --hero-grid: rgba(0, 255, 136, 0.04);
    --hero-orb-opacity: 0.35;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 10px 40px rgba(0, 255, 136, 0.15);
    --select-arrow-color: 8b96a5;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    color-scheme: dark;
}

[data-theme="light"] {
    --primary: #00a86b;             /* deeper green for AA contrast on white */
    --primary-strong: #008f5a;
    --secondary: #0284c7;
    --bg: #ffffff;
    --bg-alt: #f5f7fa;
    --bg-card: #ffffff;
    --bg-card-hover: rgba(0, 168, 107, 0.04);
    --border: rgba(15, 23, 42, 0.1);
    --border-hover: rgba(0, 168, 107, 0.4);
    --text: #0f172a;
    --text-muted: #475569;
    --text-dim: #94a3b8;
    --surface-tint: rgba(15, 23, 42, 0.04);
    --surface-tint-strong: rgba(15, 23, 42, 0.06);
    --header-bg: rgba(255, 255, 255, 0.75);
    --header-bg-scrolled: rgba(255, 255, 255, 0.95);
    --footer-bg: #0f172a;            /* keep footer dark for contrast */
    --code-bg: #0f172a;              /* keep code window dark */
    --primary-soft: rgba(0, 168, 107, 0.08);
    --primary-soft-strong: rgba(0, 168, 107, 0.14);
    --primary-border: rgba(0, 168, 107, 0.25);
    --gradient: linear-gradient(135deg, #00a86b 0%, #0284c7 100%);
    --gradient-soft: linear-gradient(135deg, rgba(0,168,107,0.1) 0%, rgba(2,132,199,0.1) 100%);
    --btn-text-on-primary: #ffffff;
    --hero-grid: rgba(0, 168, 107, 0.05);
    --hero-orb-opacity: 0.15;
    --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 10px 40px rgba(0, 168, 107, 0.12);
    --select-arrow-color: 64748b;
    color-scheme: light;
}

/* Honour OS preference when user has not chosen explicitly */
@media (prefers-color-scheme: light) {
    :root:not([data-theme]) {
        --primary: #00a86b;
        --primary-strong: #008f5a;
        --secondary: #0284c7;
        --bg: #ffffff;
        --bg-alt: #f5f7fa;
        --bg-card: #ffffff;
        --bg-card-hover: rgba(0, 168, 107, 0.04);
        --border: rgba(15, 23, 42, 0.1);
        --border-hover: rgba(0, 168, 107, 0.4);
        --text: #0f172a;
        --text-muted: #475569;
        --text-dim: #94a3b8;
        --surface-tint: rgba(15, 23, 42, 0.04);
        --surface-tint-strong: rgba(15, 23, 42, 0.06);
        --header-bg: rgba(255, 255, 255, 0.75);
        --header-bg-scrolled: rgba(255, 255, 255, 0.95);
        --footer-bg: #0f172a;
        --code-bg: #0f172a;
        --primary-soft: rgba(0, 168, 107, 0.08);
        --primary-soft-strong: rgba(0, 168, 107, 0.14);
        --primary-border: rgba(0, 168, 107, 0.25);
        --gradient: linear-gradient(135deg, #00a86b 0%, #0284c7 100%);
        --gradient-soft: linear-gradient(135deg, rgba(0,168,107,0.1) 0%, rgba(2,132,199,0.1) 100%);
        --btn-text-on-primary: #ffffff;
        --hero-grid: rgba(0, 168, 107, 0.05);
        --hero-orb-opacity: 0.15;
        --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
        --shadow-glow: 0 10px 40px rgba(0, 168, 107, 0.12);
        --select-arrow-color: 64748b;
        color-scheme: light;
    }
}

/* --- Utilities --- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary);
    color: #000;
    padding: 12px 20px;
    z-index: 9999;
    font-weight: 600;
}
.skip-link:focus { top: 0; }

/* --- Typography --- */
.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid var(--primary-border);
}
.eyebrow-light { color: var(--text); background: var(--surface-tint-strong); border-color: var(--border); }
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-title { font-size: clamp(32px, 4vw, 48px); margin-bottom: 20px; }
.section-sub { font-size: 18px; color: var(--text-muted); line-height: 1.65; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    border: 1px solid transparent;
}
.btn-primary {
    background: var(--gradient);
    color: var(--btn-text-on-primary);
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}
.btn-outline {
    border-color: var(--border);
    color: var(--text);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
}
.btn-ghost {
    color: var(--text);
    border-color: var(--border);
    background: var(--surface-tint);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: padding .3s ease, background-color .3s ease, border-color .3s ease;
}
.site-header.scrolled {
    padding: 12px 0;
    background: var(--header-bg-scrolled);
    border-bottom-color: var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.02em;
}
.logo-icon { width: 36px; height: 36px; }
.logo-text { font-family: 'Space Grotesk', sans-serif; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
    padding: 10px 16px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 15px;
    border-radius: 10px;
    transition: all .2s ease;
}
.nav-link:hover { color: var(--text); background: var(--surface-tint); }
.nav-link.active { color: var(--primary); }
.nav-cta { margin-left: 12px; }

/* Theme toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    margin-left: 4px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface-tint);
    color: var(--text);
    display: grid;
    place-items: center;
    transition: all .2s ease;
    flex-shrink: 0;
}
.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
}
.theme-toggle svg { width: 18px; height: 18px; transition: transform .4s cubic-bezier(.4,0,.2,1); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: light) {
    :root:not([data-theme]) .theme-toggle .icon-sun { display: block; }
    :root:not([data-theme]) .theme-toggle .icon-moon { display: none; }
}
.theme-toggle:active svg { transform: rotate(180deg); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero --- */
.hero {
    position: relative;
    padding: 130px 0 64px;
    overflow: hidden;
    text-align: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--hero-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: var(--hero-orb-opacity);
    animation: float 12s ease-in-out infinite;
}
.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}
.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    right: -100px;
    animation-delay: -6s;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, -40px); }
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 100px;
    border: 1px solid var(--primary-border);
    background: var(--primary-soft);
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 22px;
}
.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}
.hero-title {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}
.hero-subtitle {
    font-size: clamp(15px, 1.3vw, 18px);
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.6;
}
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 780px;
    margin: 0 auto;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.hero-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 6px;
}
.hero-stat-label { font-size: 12px; color: var(--text-muted); }

/* --- Trust Bar --- */
.trust-bar {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
}
.trust-bar-label {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 18px;
}
.trust-bar-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 16px;
}
.trust-bar-items span { transition: color .2s ease; }
.trust-bar-items span:hover { color: var(--primary); }

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    position: relative;
    padding: 36px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .3s ease;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, var(--primary-soft), transparent 60%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}
.service-card:hover::before { opacity: 1; }
.service-card-featured {
    border-color: var(--border-hover);
    background: var(--gradient-soft);
}
.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary-soft-strong);
    color: var(--primary);
    display: grid;
    place-items: center;
    margin-bottom: 22px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 22px; margin-bottom: 12px; }
.service-card p { color: var(--text-muted); margin-bottom: 22px; font-size: 15px; }
.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap .2s ease;
}
.service-link:hover { gap: 12px; }
.badge-popular {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient);
    color: var(--btn-text-on-primary);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- Why Section --- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.why-text .section-title { text-align: left; font-size: clamp(28px, 3.5vw, 42px); }
.why-text .section-sub { text-align: left; margin: 20px 0 40px; }
.why-list { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
.why-list li { display: flex; gap: 16px; align-items: flex-start; }
.why-list-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--primary-soft-strong);
    color: var(--primary);
    display: grid;
    place-items: center;
}
.why-list-icon svg { width: 18px; height: 18px; }
.why-list h4 { font-size: 17px; margin-bottom: 4px; }
.why-list p { color: var(--text-muted); font-size: 14px; line-height: 1.5; }

.why-visual {
    position: relative;
    height: 480px;
    display: grid;
    place-items: center;
}
.metric-card {
    position: absolute;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}
.metric-card-1 { top: 0; left: 0; width: 240px; }
.metric-card-2 { top: 120px; right: 0; width: 260px; }
.metric-card-3 { bottom: 0; left: 60px; width: 200px; }
.metric-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.metric-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}
.metric-bars { display: flex; align-items: flex-end; gap: 6px; height: 40px; }
.metric-bars span {
    flex: 1;
    height: var(--h);
    background: var(--gradient);
    border-radius: 2px;
    opacity: 0.9;
}
.metric-line { width: 100%; height: 40px; }
.score-ring { position: relative; width: 100px; height: 100px; margin: 0 auto; }
.score-ring svg { width: 100%; height: 100%; }
.score-ring svg circle:first-of-type { stroke: var(--surface-tint-strong); }
.score-ring span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

/* --- Process --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.process-step {
    padding: 32px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all .3s ease;
}
.process-step:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}
.process-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 16px;
}
.process-step h3 { font-size: 20px; margin-bottom: 10px; }
.process-step p { color: var(--text-muted); font-size: 15px; }

/* --- Testimonials --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial {
    padding: 36px 32px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all .3s ease;
}
.testimonial:hover { border-color: var(--border-hover); }
.testimonial-stars {
    display: flex;
    gap: 2px;
    color: var(--primary);
    margin-bottom: 18px;
}
.testimonial p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--text);
}
.testimonial footer { font-size: 14px; }
.testimonial footer strong { display: block; color: var(--text); margin-bottom: 2px; }
.testimonial footer span { color: var(--text-muted); }

/* --- PSG Banner --- */
.psg-card {
    background: var(--gradient-soft);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-lg);
    padding: 64px 56px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: center;
    overflow: hidden;
    position: relative;
}
.psg-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, var(--primary-soft-strong), transparent 60%);
    pointer-events: none;
}
.psg-text { position: relative; }
.psg-text h2 { font-size: clamp(28px, 3.5vw, 40px); margin: 16px 0 16px; }
.psg-text p { color: var(--text-muted); font-size: 17px; margin-bottom: 28px; }
.psg-visual { position: relative; display: grid; place-items: center; }
.psg-stamp {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px dashed var(--primary);
    color: var(--primary);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.1;
    display: grid;
    place-items: center;
    text-align: center;
    transform: rotate(-12deg);
    background: var(--primary-soft);
    animation: rotate-slow 30s linear infinite;
}
@keyframes rotate-slow {
    from { transform: rotate(-12deg); }
    to { transform: rotate(348deg); }
}

/* --- FAQ --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all .25s ease;
}
.faq-item[open] { border-color: var(--border-hover); }
.faq-item summary {
    padding: 22px 28px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    list-style: none;
    position: relative;
    padding-right: 60px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 24px;
    font-weight: 300;
    transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p {
    padding: 0 28px 24px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* --- CTA Band --- */
.cta-band {
    padding: 80px 0;
    background: var(--gradient-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-band-text h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 8px; }
.cta-band-text p { color: var(--text-muted); font-size: 17px; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Footer --- */
.site-footer {
    background: var(--footer-bg);
    color: #e6edf3;
    padding: 80px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.site-footer .logo-text { color: #e6edf3; }
.site-footer .footer-tagline,
.site-footer .footer-contact li,
.site-footer .footer-col ul a,
.site-footer .footer-bottom,
.site-footer .footer-legal a,
.site-footer .footer-legal span { color: rgba(230, 237, 243, 0.65); }
.site-footer .footer-col h4 { color: #e6edf3; }
.site-footer .footer-col ul a:hover,
.site-footer .footer-legal a:hover { color: var(--primary-strong); }
.site-footer .footer-bottom { border-top-color: rgba(255, 255, 255, 0.06); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 48px;
    margin-bottom: 56px;
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-tagline { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin-bottom: 24px; max-width: 320px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(230, 237, 243, 0.7);
    transition: all .2s ease;
}
.footer-social a:hover { background: var(--primary); color: #001813; transform: translateY(-2px); }
.footer-col h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 15px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.55; }
.footer-contact svg { color: var(--primary-strong); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
}
.footer-legal { display: flex; gap: 12px; align-items: center; }

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all .25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: ripple 2s ease-out infinite;
    opacity: 0;
}
@keyframes ripple {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* --- Page Hero (inner pages) --- */
.page-hero {
    padding: 180px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-soft), transparent 60%);
    pointer-events: none;
}
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.page-hero-sub {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Service Detail --- */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.service-detail-grid.reverse > div:first-child { order: 1; }
.service-detail-text .eyebrow { margin-bottom: 20px; }
.service-detail-text h2 { font-size: clamp(28px, 3.5vw, 42px); margin-bottom: 20px; }
.service-detail-text > p { color: var(--text-muted); font-size: 17px; margin-bottom: 28px; line-height: 1.65; }
.checklist { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.checklist li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
}
.checklist li::before {
    content: '✓';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-soft-strong);
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    line-height: 1;
}
.checklist-sm li { font-size: 14px; }
.checklist-sm li::before { width: 16px; height: 16px; font-size: 10px; }
.pricing-tag {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
    background: var(--primary-soft);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-sm);
    margin-bottom: 28px;
}
.pricing-tag span { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.pricing-tag strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    color: var(--primary);
    margin: 4px 0 2px;
}
.pricing-tag small { font-size: 13px; color: var(--text-muted); }

/* Service detail visuals — code window stays dark in both themes */
.code-window {
    background: var(--code-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.code-window-dots {
    display: flex;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.code-window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #444;
}
.code-window-dots span:nth-child(1) { background: #ff5f57; }
.code-window-dots span:nth-child(2) { background: #febc2e; }
.code-window-dots span:nth-child(3) { background: #28c840; }
.code-window-body { padding: 24px; }
.code-window pre { font-family: 'JetBrains Mono', Menlo, monospace; font-size: 14px; line-height: 1.7; color: #e6edf3; }
.c-key { color: #ff7b72; }
.c-fn { color: #d2a8ff; }
.c-str { color: #a5d6ff; }
.c-bool { color: #79c0ff; }

.seo-mock {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.seo-search-bar {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 14px 18px;
    background: var(--surface-tint);
    border-radius: 100px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 14px;
}
.seo-result { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.seo-result:last-child { border-bottom: none; }
.seo-result-top { padding-left: 16px; padding-right: 16px; background: var(--primary-soft); border-radius: 10px; border-bottom: none; }
.seo-rank {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--primary);
    color: var(--btn-text-on-primary);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 14px;
}
.seo-result:not(.seo-result-top) .seo-rank { background: var(--surface-tint-strong); color: var(--text-muted); }
.seo-result-url { font-size: 13px; color: var(--primary); margin-bottom: 4px; }
.seo-result-title { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.seo-result-desc { font-size: 13px; color: var(--text-muted); }
.seo-result-bar { height: 10px; background: var(--surface-tint-strong); border-radius: 4px; margin-bottom: 6px; }
.seo-result-bar.short { width: 60%; }

.ai-chat {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.ai-msg {
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 14px;
    max-width: 80%;
    line-height: 1.5;
}
.ai-msg-bot {
    background: var(--surface-tint-strong);
    border: 1px solid var(--border);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.ai-msg-user {
    background: var(--gradient);
    color: var(--btn-text-on-primary);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    font-weight: 500;
}

.strategy-deck {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.strategy-card {
    padding: 28px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .3s ease;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.strategy-card:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.strategy-card span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}
.strategy-card h4 { font-size: 22px; }
.strategy-card.s1 { transform: rotate(-2deg); }
.strategy-card.s2 { transform: rotate(2deg) translateY(20px); }
.strategy-card.s3 { transform: rotate(1deg); }
.strategy-card.s4 { transform: rotate(-1deg) translateY(20px); }

.cloud-diagram {
    position: relative;
    aspect-ratio: 1;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.cloud-node {
    position: absolute;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    transition: all .3s ease;
}
.cn-main {
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary);
    background: var(--primary-soft);
    border-color: var(--border-hover);
    padding: 24px;
}
.cn-1 { top: 14%; left: 12%; }
.cn-2 { top: 14%; right: 12%; }
.cn-3 { bottom: 14%; left: 12%; }
.cn-4 { bottom: 14%; right: 12%; }

.security-shield {
    position: relative;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}
.security-shield svg { width: 70%; max-width: 280px; filter: drop-shadow(0 0 24px var(--primary-soft-strong)); }
.sec-tags {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
}
.sec-tags span {
    padding: 6px 14px;
    background: var(--primary-soft);
    border: 1px solid var(--primary-border);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    font-family: 'Space Grotesk', sans-serif;
}

/* --- PSG Steps --- */
.psg-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.psg-step {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: all .3s ease;
}
.psg-step:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.psg-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--btn-text-on-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 20px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
}
.psg-step h3 { font-size: 18px; margin-bottom: 8px; }
.psg-step p { color: var(--text-muted); font-size: 14px; }
.psg-cta { text-align: center; }

/* --- About: Story & Stats --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-grid .eyebrow { margin-bottom: 20px; }
.about-grid h2 { font-size: clamp(28px, 3.5vw, 42px); margin-bottom: 24px; }
.about-grid p { color: var(--text-muted); margin-bottom: 16px; font-size: 17px; line-height: 1.7; }
.about-grid p strong, .about-grid p em { color: var(--text); font-style: normal; }
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.about-stats-row {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 64px;
}
@media (max-width: 768px) {
    .about-stats-row { grid-template-columns: repeat(2, 1fr); }
}
.about-stat {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
}
.about-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}
.about-stat-label { color: var(--text-muted); font-size: 14px; }

/* --- Values --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.value-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .3s ease;
}
.value-card:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-soft-strong);
    color: var(--primary);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
}
.value-icon svg { width: 24px; height: 24px; }
.value-card h3 { font-size: 19px; margin-bottom: 10px; }
.value-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* --- Team --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.team-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: all .3s ease;
}
.team-card:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #ffffff;
    margin: 0 auto 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.team-card h3 { font-size: 20px; margin-bottom: 4px; }
.team-role { color: var(--primary); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.team-bio { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* --- Credentials --- */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.credential {
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: all .3s ease;
}
.credential:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.credential strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 6px;
}
.credential span { font-size: 12px; color: var(--text-muted); }

/* --- Contact Form --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: flex-start;
}
.contact-form {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-row .form-group { margin-bottom: 0; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text);
}
.form-group .req { color: var(--primary); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    transition: all .2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b96a5' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 44px;
}
[data-theme="light"] .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: light) {
    :root:not([data-theme]) .form-group select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    }
}
.form-check { display: flex; align-items: flex-start; gap: 10px; padding: 16px 18px; background: var(--primary-soft); border: 1px solid var(--primary-border); border-radius: var(--radius-sm); }
.form-check input { width: auto; padding: 0; margin-top: 3px; accent-color: var(--primary); }
.form-check label { margin-bottom: 0; font-weight: 400; line-height: 1.5; }
.form-note { margin-top: 16px; font-size: 13px; color: var(--text-dim); text-align: center; }

.alert {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}
.alert-success {
    background: var(--primary-soft);
    border: 1px solid var(--border-hover);
    color: var(--text);
}
.alert-success svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.alert-success h3 { font-size: 18px; margin-bottom: 4px; }
.alert-success p { color: var(--text-muted); font-size: 14px; }
.alert-success a { color: var(--primary); }
.alert-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--text);
}
.alert-error ul { margin-top: 8px; padding-left: 20px; list-style: disc; }
.alert-error li { color: var(--text-muted); font-size: 14px; }

.contact-side { display: flex; flex-direction: column; gap: 20px; }
.contact-side-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.contact-side-card h3 { font-size: 18px; margin-bottom: 24px; }
.contact-method {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.contact-method:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.contact-method-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-soft-strong);
    color: var(--primary);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.contact-method-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.contact-method a { color: var(--text); font-weight: 500; }
.contact-method a:hover { color: var(--primary); }
.contact-method span { color: var(--text); font-weight: 500; font-size: 15px; }
.contact-side-promo { background: var(--gradient-soft); border-color: var(--primary-border); }
.contact-side-promo p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.contact-side-note { font-size: 12px; color: var(--text-dim); font-style: italic; margin-top: 16px; }

/* --- Reveal Animation --- */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .hero-orb, .hero-badge-dot, .whatsapp-float::after, .psg-stamp { animation: none; }
}

/* Light-theme card elevation (subtle drop shadow against white) */
[data-theme="light"] .service-card,
[data-theme="light"] .testimonial,
[data-theme="light"] .process-step,
[data-theme="light"] .value-card,
[data-theme="light"] .team-card,
[data-theme="light"] .about-stat,
[data-theme="light"] .credential,
[data-theme="light"] .psg-step,
[data-theme="light"] .hero-stats,
[data-theme="light"] .metric-card,
[data-theme="light"] .contact-form,
[data-theme="light"] .contact-side-card,
[data-theme="light"] .faq-item {
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.04);
}
[data-theme="light"] .service-card:hover,
[data-theme="light"] .testimonial:hover,
[data-theme="light"] .process-step:hover,
[data-theme="light"] .value-card:hover,
[data-theme="light"] .team-card:hover,
[data-theme="light"] .psg-step:hover {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06), 0 12px 28px rgba(15, 23, 42, 0.08);
}
@media (prefers-color-scheme: light) {
    :root:not([data-theme]) .service-card,
    :root:not([data-theme]) .testimonial,
    :root:not([data-theme]) .process-step,
    :root:not([data-theme]) .value-card,
    :root:not([data-theme]) .team-card,
    :root:not([data-theme]) .about-stat,
    :root:not([data-theme]) .credential,
    :root:not([data-theme]) .psg-step,
    :root:not([data-theme]) .hero-stats,
    :root:not([data-theme]) .metric-card,
    :root:not([data-theme]) .contact-form,
    :root:not([data-theme]) .contact-side-card,
    :root:not([data-theme]) .faq-item {
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.04);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid, .testimonial-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid, .values-grid, .psg-steps { grid-template-columns: repeat(2, 1fr); }
    .credentials-grid { grid-template-columns: repeat(3, 1fr); }
    .why-grid, .service-detail-grid, .about-grid, .contact-grid, .psg-card { grid-template-columns: 1fr; gap: 48px; }
    .service-detail-grid.reverse > div:first-child { order: 0; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .why-visual { height: 360px; }
    .metric-card-1 { width: 200px; }
    .metric-card-2 { width: 220px; top: 100px; }
    .metric-card-3 { width: 180px; }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 40px; }
    .hero { padding: 140px 0 64px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 24px; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { justify-content: center; }
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 24px;
        background: var(--header-bg-scrolled);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        transform: translateY(-110%);
        transition: transform .3s ease;
    }
    .main-nav.is-open { transform: translateY(0); }
    .nav-link { padding: 14px 16px; font-size: 16px; }
    .nav-cta { margin: 12px 0 0; }
    .theme-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        height: 48px;
        margin: 8px 0 0;
    }
    .theme-toggle::after {
        content: 'Toggle theme';
        font-size: 14px;
        font-weight: 500;
    }
    .services-grid, .testimonial-grid, .team-grid,
    .process-grid, .values-grid, .psg-steps,
    .credentials-grid { grid-template-columns: 1fr; }
    .credentials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-row .form-group { margin-bottom: 20px; }
    .psg-card { padding: 40px 28px; }
    .psg-stamp { width: 160px; height: 160px; font-size: 18px; }
    .contact-form { padding: 28px 24px; }
    .why-visual { height: 320px; max-width: 360px; margin: 0 auto; }
    .cta-band-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .hero-badge { font-size: 12px; padding: 6px 14px; }
    .btn { padding: 12px 22px; font-size: 14px; }
    .btn-lg { padding: 16px 28px; font-size: 15px; }
    .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
}

/* ============================================
   IMAGE COMPONENTS
   ============================================ */

/* Hero background image with overlay */
.hero-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
    filter: saturate(0.7);
}
.hero-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--bg) 0%, transparent 30%, transparent 70%, var(--bg) 100%);
}
[data-theme="light"] .hero-photo img { opacity: 0.08; }

/* Page hero image (services / about / contact headers) */
.page-hero { padding-top: 140px; }
.page-hero-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.page-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12;
    filter: saturate(0.6) blur(1px);
}
.page-hero-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, var(--bg) 90%);
}
.page-hero .container { position: relative; z-index: 1; }
[data-theme="light"] .page-hero-photo img { opacity: 0.07; }

/* Featured Work / Recent Projects */
.featured-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.work-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: all .3s ease;
    cursor: pointer;
    display: block;
    color: inherit;
}
.work-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
}
.work-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-alt);
}
.work-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}
.work-card:hover .work-card-image img { transform: scale(1.06); }
.work-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.35) 100%);
}
.work-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--btn-text-on-primary);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 1;
}
.work-card-body {
    padding: 24px 26px 28px;
}
.work-card-body h3 {
    font-size: 19px;
    margin-bottom: 6px;
}
.work-card-meta {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 14px;
}
.work-card-stats {
    display: flex;
    gap: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.work-card-stat strong {
    display: block;
    color: var(--primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}
.work-card-stat span {
    color: var(--text-muted);
    font-size: 12px;
}

/* About-page story photo */
.about-photo {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow);
}
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-photo-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 16px 20px;
    background: rgba(10, 14, 20, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: #e6edf3;
}
.about-photo-badge strong { display: block; color: #00ff88; font-size: 14px; margin-bottom: 2px; }
.about-photo-badge span { font-size: 13px; opacity: 0.8; }

/* Real team portraits */
.team-portrait {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 18px;
    border: 3px solid var(--bg-card);
    box-shadow: var(--shadow);
}
.team-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact side panel image */
.contact-side-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/10;
    box-shadow: var(--shadow);
}
.contact-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.contact-side-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 100%);
}
.contact-side-image-caption {
    position: absolute;
    bottom: 16px;
    left: 18px;
    right: 18px;
    color: #fff;
    z-index: 1;
}
.contact-side-image-caption strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    margin-bottom: 2px;
}
.contact-side-image-caption span {
    font-size: 13px;
    opacity: 0.85;
}

/* Industries auto-scrolling marquee */
.industries-marquee {
    margin-top: 28px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.industries-marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 32s linear infinite;
}
.industries-marquee:hover .industries-marquee-track,
.industries-marquee:focus-within .industries-marquee-track {
    animation-play-state: paused;
}
.industry-tile {
    flex-shrink: 0;
    width: 180px;
    aspect-ratio: 4/3;
    margin-right: 16px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.industry-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}
.industry-tile:hover img { transform: scale(1.06); }
.industry-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.75) 100%);
}
.industry-tile span {
    position: absolute;
    bottom: 12px;
    left: 14px;
    right: 14px;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 14px;
    z-index: 1;
    letter-spacing: -0.01em;
}

@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .industries-marquee-track { animation: none; }
}

@media (max-width: 640px) {
    .industry-tile { width: 140px; }
    .industries-marquee-track { animation-duration: 24s; }
}

@media (max-width: 1024px) {
    .featured-work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .featured-work-grid { grid-template-columns: 1fr; }
    .team-portrait { width: 80px; height: 80px; }
}
