/* =====================================================================
   Changdong Science — Design System
   Light modern-tech template: white + tech blue + slate ink.
   Self-contained. Inter typography.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
    --bg:        #FFFFFF;
    --bg-soft:   #F6F7FB;
    --ink:       #0F172A;   /* slate-900: headings, dark sections */
    --ink-2:     #1E293B;   /* slate-800 */
    --blue:      #2563EB;   /* brand accent */
    --blue-2:    #3B82F6;
    --blue-deep: #1D4ED8;
    --blue-soft: #EFF4FF;
    --line:        rgba(15,23,42,0.08);
    --line-strong: rgba(15,23,42,0.14);

    --text:      #0F172A;
    --text-soft: #475569;
    --text-dim:  #94A3B8;

    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --container: 1180px;
    --radius:    14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(15,23,42,0.05);
    --shadow-md: 0 12px 32px -12px rgba(15,23,42,0.18);
    --shadow-lg: 0 28px 64px -20px rgba(37,99,235,0.25);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--blue); color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
@media (max-width: 768px) {
    .section { padding: 72px 0; }
    .section-sm { padding: 56px 0; }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { color: var(--text-soft); }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--text-soft); max-width: 640px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--blue);
}
.eyebrow::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--blue); box-shadow: 0 0 10px rgba(37,99,235,0.5);
}
/* dark-section variants */
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark p, .on-dark .lead { color: #CBD5E1; }
.on-dark .eyebrow { color: #93C5FD; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: 100px;
    font-size: 0.95rem; font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--blue); color: #fff;
    box-shadow: 0 8px 20px -8px rgba(37,99,235,0.6);
}
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(37,99,235,0.7); }
.btn-ghost {
    border: 1px solid var(--line-strong); color: var(--ink);
    background: #fff;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Navbar ---------- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    border-bottom: 1px solid transparent; /* constant border so color transitions cleanly (no dark flash) */
    transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
    backdrop-filter: blur(0);
    background: rgba(255,255,255,0);
}
.nav-inner {
    position: relative;
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
}
.nav.scrolled {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--line);
}
/* logo = wordmark text only */
.nav-logo {
    display: inline-flex; align-items: center; gap: 0;
    flex-shrink: 0;
}
.nav-logo .logo-text {
    font-size: 1.14rem; font-weight: 700; letter-spacing: -0.02em;
    color: var(--ink); line-height: 1; white-space: nowrap;
}
.nav-logo .logo-text .accent { color: var(--blue); }
/* nav links centered absolutely */
.nav-links {
    display: flex; align-items: center; gap: 4px;
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
}
.nav-link {
    padding: 8px 14px; border-radius: 8px;
    font-size: 0.93rem; font-weight: 450; color: var(--text-soft);
    transition: all 0.18s ease;
}
.nav-link:hover, .nav-link.active { color: var(--blue); background: var(--blue-soft); }

/* Language switcher with icon + dropdown */
.lang-switch {
    position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
}
.lang-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 12px; border-radius: 8px;
    font-size: 0.86rem; font-weight: 500; color: var(--text-soft);
    border: 1px solid var(--line);
    background: #fff;
    transition: all 0.18s ease;
}
.lang-btn:hover { color: var(--blue); border-color: var(--blue); }
.lang-btn svg { width: 15px; height: 15px; color: var(--blue); }
.lang-btn .caret { width: 11px; height: 11px; color: var(--text-dim); transition: transform 0.2s ease; margin-left: 1px; }
.lang-switch.open .lang-btn .caret { transform: rotate(180deg); }
.lang-menu {
    position: absolute; top: calc(100% + 8px); right: 0;
    min-width: 168px;
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    padding: 6px;
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 200;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 11px; border-radius: 8px;
    font-size: 0.88rem; color: var(--text-soft);
    transition: all 0.15s ease;
}
.lang-menu a:hover { background: var(--blue-soft); color: var(--blue); }
.lang-menu a .code { margin-left: auto; font-size: 0.74rem; color: var(--text-dim); font-weight: 600; }
.lang-menu a.active { color: var(--blue); }
.lang-menu a.active .code { color: var(--blue); }

/* ---------- Hero (light) ---------- */
.hero {
    position: relative; overflow: hidden;
    padding: 150px 0 90px;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-soft) 100%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.hero-text { max-width: 560px; }
.hero h1 { margin: 20px 0; }
.hero .lead { font-size: 1.18rem; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-trust {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    margin-top: 40px; padding-top: 28px;
    border-top: 1px solid var(--line);
}
.hero-trust .trust-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.86rem; color: var(--text-dim);
}
.hero-trust .trust-item svg { width: 16px; height: 16px; color: var(--blue); }

/* hero visual: floating analytics card */
.hero-visual { position: relative; }
.hero-window {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
}
.hero-window-bar {
    display: flex; align-items: center; gap: 6px;
    padding-bottom: 16px; border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
}
.hero-window-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.hero-window-bar .dot.blue { background: var(--blue); box-shadow: 0 0 8px rgba(37,99,235,0.5); }
.hero-window-title { margin-left: auto; font-size: 0.78rem; color: var(--text-dim); }

.chart-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 14px; }
.chart-value { font-size: 1.7rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.chart-delta { font-size: 0.82rem; font-weight: 600; color: var(--blue-deep); background: var(--blue-soft); padding: 3px 8px; border-radius: 6px; }
.chart-svg { width: 100%; height: 120px; display: block; }
.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 60px; margin-top: 18px; }
.chart-bars .bar { flex: 1; background: var(--blue-soft); border-radius: 4px 4px 0 0; position: relative; }
.chart-bars .bar em { position: absolute; inset: 0; background: linear-gradient(180deg, var(--blue-2), var(--blue-deep)); border-radius: 4px 4px 0 0; opacity: 0.9; }

.hero-chip {
    position: absolute; display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    border: 1px solid var(--line-strong); border-radius: 12px;
    padding: 12px 14px; font-size: 0.82rem;
    box-shadow: var(--shadow-md);
}
.hero-chip .chip-ic {
    width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-soft); color: var(--blue);
}
.hero-chip .chip-ic svg { width: 16px; height: 16px; }
.hero-chip .chip-label { color: var(--text-dim); font-size: 0.72rem; }
.hero-chip .chip-val { color: var(--ink); font-weight: 600; }
.hero-chip.one { top: -22px; left: -26px; }
.hero-chip.two { bottom: -20px; right: -22px; }

@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 56px; }
    .hero-visual { max-width: 480px; }
    .hero-chip.one { left: 0; }
    .hero-chip.two { right: 0; }
}
@media (max-width: 560px) {
    .hero { padding: 130px 0 70px; }
    .hero-chip { display: none; }
}

/* hero ambient backdrop */
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(50% 45% at 75% 10%, rgba(37,99,235,0.10), transparent 70%),
        radial-gradient(35% 35% at 15% 30%, rgba(59,130,246,0.06), transparent 70%);
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 80%);
    mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 80%);
    opacity: 0.5;
}

/* ---------- Stats (dark band) ---------- */
.stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    overflow: hidden;
}
.stat {
    background: var(--ink); padding: 32px 28px;
    transition: background 0.2s ease;
}
.stat:hover { background: var(--ink-2); }
.stat-num {
    font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 700;
    letter-spacing: -0.03em; color: #fff;
    line-height: 1; margin-bottom: 8px;
}
.stat-num .accent { color: #93C5FD; }
.stat-label { font-size: 0.88rem; color: #94A3B8; }
@media (max-width: 720px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Section header ---------- */
.section-head { max-width: 680px; margin-bottom: 64px; }
.section-head h2 { margin: 16px 0; }

/* ---------- Service grid ---------- */
.grid-3 {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.grid-2 {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.25s ease;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    opacity: 0; transition: opacity 0.3s ease;
}
.card:hover {
    border-color: rgba(37,99,235,0.35);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.card:hover::before { opacity: 1; }
.card-icon {
    width: 44px; height: 44px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-soft); color: var(--blue);
    margin-bottom: 22px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; line-height: 1.6; }
.card-tag {
    display: inline-flex; align-items: center; gap: 4px;
    margin-top: 18px;
    font-size: 0.85rem; font-weight: 500; color: var(--blue);
    transition: gap 0.2s ease, color 0.2s ease;
}
a.card-tag:hover { color: var(--blue-deep); gap: 8px; }

/* ---------- Feature split ---------- */
.split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split-text h2 { margin: 16px 0 20px; }
.split-text ul.checks { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.split-text ul.checks li {
    display: flex; gap: 12px; align-items: flex-start; color: var(--text-soft); font-size: 1rem;
}
.check-mark {
    flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
    background: var(--blue-soft); color: var(--blue);
    display: flex; align-items: center; justify-content: center;
    margin-top: 1px;
}
.check-mark svg { width: 13px; height: 13px; }

.visual {
    position: relative; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-md);
}
.visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); transition: filter 0.4s ease, transform 0.4s ease; }
.visual:hover img { filter: saturate(1.05); transform: scale(1.02); }

/* ---------- CTA band (dark) ---------- */
.cta-band {
    position: relative; overflow: hidden;
    border-radius: 24px;
    padding: 72px 48px; text-align: center;
    background:
        radial-gradient(80% 120% at 50% 0%, rgba(37,99,235,0.35), transparent 60%),
        linear-gradient(180deg, var(--ink), var(--ink-2));
    color: #fff;
}
.cta-band::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(60% 70% at 50% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(60% 70% at 50% 30%, #000 20%, transparent 75%);
    opacity: 0.6;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 16px; color: #fff; }
.cta-band .lead { margin: 0 auto 32px; color: #CBD5E1; }
.cta-band .hero-actions { justify-content: center; }
@media (max-width: 640px) { .cta-band { padding: 56px 24px; } }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item {
    display: flex; gap: 18px; align-items: flex-start;
    padding: 24px 0; border-bottom: 1px solid var(--line);
}
.contact-item:first-child { border-top: 1px solid var(--line); }
.contact-icon {
    flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px;
    background: var(--blue-soft); color: var(--blue);
    display: flex; align-items: center; justify-content: center;
}
.contact-label { font-size: 0.8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.contact-value { color: var(--ink); font-size: 1.05rem; }
.contact-value a { color: var(--blue); }
.contact-value a:hover { text-decoration: underline; }

/* ---------- Values (about) ---------- */
.values-list { display: flex; flex-direction: column; gap: 0; }
.value-row {
    display: grid; grid-template-columns: 60px 1fr; gap: 24px;
    padding: 36px 0; border-bottom: 1px solid var(--line);
    align-items: start;
}
.value-row:first-child { border-top: 1px solid var(--line); }
.value-num { font-size: 1.1rem; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.value-row h3 { margin-bottom: 8px; }

/* ---------- Company name band ---------- */
.company-band {
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 40px 48px; text-align: center;
    background:
        radial-gradient(70% 120% at 50% 0%, rgba(37,99,235,0.07), transparent 60%),
        var(--bg-soft);
}
.company-band .eyebrow { justify-content: center; margin-bottom: 16px; }
.company-band .company-name {
    font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700;
    letter-spacing: -0.02em; color: var(--ink); line-height: 1.25;
}
.company-band .company-name .accent { color: var(--blue); }
.company-band .company-note { font-size: 0.9rem; color: var(--text-dim); margin-top: 12px; }
@media (max-width: 640px) { .company-band { padding: 32px 24px; } }

/* ---------- Footer (dark) ---------- */
.footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 64px 0 40px;
    background: var(--ink);
}
.footer .footer-logo {
    display: inline-flex; align-items: center; margin-bottom: 18px;
}
.footer .footer-logo .logo-text {
    font-size: 1.12rem; font-weight: 700; letter-spacing: -0.02em; color: #fff;
}
.footer .footer-logo .logo-text .accent { color: #93C5FD; }
.footer-top {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px;
    padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 720px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 0.92rem; max-width: 360px; color: #94A3B8; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.footer-col h5 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: #64748B; margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; color: #CBD5E1; font-size: 0.92rem; padding: 5px 0; transition: color 0.18s ease; }
.footer-col a:hover { color: #93C5FD; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
    padding-top: 32px;
}
.footer-bottom p { font-size: 0.85rem; color: #64748B; }
.footer-address { font-size: 0.85rem; color: #64748B; line-height: 1.7; max-width: 420px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative; overflow: hidden;
    padding: 150px 0 80px;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-soft) 100%);
}
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(50% 60% at 50% 0%, rgba(37,99,235,0.12), transparent 70%);
}
.page-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(60% 50% at 50% 20%, #000 20%, transparent 75%);
    mask-image: radial-gradient(60% 50% at 50% 20%, #000 20%, transparent 75%);
    opacity: 0.45;
}
.page-hero h1 { margin: 18px 0; }
.page-hero .lead { max-width: 640px; }

/* ---------- Mobile nav ---------- */
.nav-toggle { display: none; }
@media (max-width: 860px) {
    .nav-links, .lang-switch { display: none; }
    .nav {
        background: rgba(255,255,255,0.9); backdrop-filter: blur(20px);
    }
    .nav-toggle {
        display: inline-flex; flex-direction: column; gap: 5px;
        padding: 8px; border-radius: 8px;
        position: relative; z-index: 2;
    }
    .nav-toggle span {
        width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
        transition: all 0.25s ease;
    }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav.mobile-open {
        background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--line);
    }
    /* mobile menu: full-width dropdown panel, reset desktop centering */
    .nav.mobile-open .nav-links {
        display: flex; flex-direction: column; align-items: stretch; gap: 4px;
        position: absolute; top: 68px; left: 0; right: 0;
        transform: none;
        padding: 12px 24px 20px;
        background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        z-index: 1;
    }
    .nav.mobile-open .nav-link {
        padding: 14px 16px; font-size: 1.05rem;
    }
    /* language switcher rendered inside .nav-links via JS; flow as a block */
    .nav.mobile-open .lang-switch {
        display: block;
        position: static;
        transform: none;
        margin: 8px 0 16px;
    }
    .nav.mobile-open .lang-menu {
        position: relative; top: auto; right: auto;
        opacity: 1; visibility: visible; transform: none;
        box-shadow: none; background: transparent; border: none; padding: 0;
        margin-top: 8px;
    }
    .nav.mobile-open .lang-menu a { padding: 12px 16px; }
}

/* =====================================================================
   v2 layout components — centered hero, steps flow, service rows
   ===================================================================== */

/* ---------- Centered hero ---------- */
.hero-center { text-align: center; }
.hero-center .hero-inner {
    display: flex; flex-direction: column; align-items: center;
    max-width: 1100px; margin: 0 auto;
}
.hero-center h1 { margin: 22px 0; white-space: nowrap; }
.hero-center .lead { font-size: 1.22rem; max-width: 640px; margin: 0 auto; }
@media (max-width: 760px) {
    /* small screens: let the headline wrap naturally */
    .hero-center h1 { white-space: normal; }
}
@media (min-width: 761px) and (max-width: 1200px) {
    /* mid screens: shrink slightly to keep one line */
    .hero-center h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
}
.hero-center .hero-actions { justify-content: center; margin-top: 38px; }
.hero-center .eyebrow { justify-content: center; }

/* inline metrics strip under hero */
.metric-strip {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    margin-top: 72px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,0.6);
    border-radius: 0;
}
.metric {
    padding: 28px 16px; text-align: center;
    border-right: 1px solid var(--line);
}
.metric:last-child { border-right: none; }
.metric .m-num {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700;
    letter-spacing: -0.03em; color: var(--ink); line-height: 1.1;
}
.metric .m-num .accent { color: var(--blue); }
.metric .m-label { font-size: 0.84rem; color: var(--text-dim); margin-top: 6px; }
@media (max-width: 720px) {
    .metric-strip { grid-template-columns: repeat(2, 1fr); }
    .metric:nth-child(2) { border-right: none; }
    .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Three-step flow ---------- */
.steps {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    position: relative;
}
.step {
    position: relative;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}
.step:hover { border-color: rgba(37,99,235,0.35); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step .step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--ink); color: #fff;
    font-weight: 700; font-size: 0.95rem;
    margin-bottom: 20px;
}
.step:nth-child(2) .step-num { background: var(--blue); }
.step h3 { margin-bottom: 10px; font-size: 1.3rem; }
.step p { font-size: 0.95rem; }
.step .step-tag {
    display: inline-block; margin-top: 16px;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--blue);
}
/* connector line between steps (desktop) */
.step::after {
    content: ""; position: absolute; top: 55px; right: -17px;
    width: 26px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--blue) 0 4px, transparent 4px 8px);
    opacity: 0.5;
}
.step:last-child::after { display: none; }
@media (max-width: 900px) {
    .steps { grid-template-columns: 1fr; }
    .step::after { display: none; }
}

/* ---------- Service rows (numbered list style) ---------- */
.service-rows { display: flex; flex-direction: column; }
.service-row {
    display: grid; grid-template-columns: 64px 1fr 40px; gap: 24px;
    align-items: start;
    padding: 30px 8px;
    border-bottom: 1px solid var(--line);
    transition: background 0.2s ease, padding 0.2s ease;
    border-radius: 6px;
}
.service-row:first-child { border-top: 1px solid var(--line); }
.service-row:hover { background: var(--blue-soft); padding-left: 16px; padding-right: 16px; }
.service-row .s-num {
    font-size: 1rem; font-weight: 700; color: var(--blue);
    font-variant-numeric: tabular-nums; padding-top: 4px;
}
.service-row h3 { font-size: 1.25rem; margin-bottom: 6px; }
.service-row p { font-size: 0.95rem; max-width: 720px; }
.service-row .s-arrow {
    color: var(--text-dim); padding-top: 6px;
    transition: color 0.2s ease, transform 0.2s ease;
}
.service-row:hover .s-arrow { color: var(--blue); transform: translateX(4px); }
@media (max-width: 640px) {
    .service-row { grid-template-columns: 1fr; gap: 6px; }
    .service-row .s-arrow { display: none; }
}

/* ---------- Values grid (2x2) ---------- */
.values-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.value-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}
.value-card:hover { border-color: rgba(37,99,235,0.35); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value-card .v-ic {
    width: 42px; height: 42px; border-radius: 11px;
    background: var(--blue-soft); color: var(--blue);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.value-card .v-ic svg { width: 20px; height: 20px; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value-card p { font-size: 0.93rem; }
@media (max-width: 760px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- Contact mini cards ---------- */
.contact-cards {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.mini-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 22px;
    display: flex; gap: 14px; align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}
.mini-card:hover { border-color: rgba(37,99,235,0.35); box-shadow: var(--shadow-md); }
.mini-card .contact-icon { width: 38px; height: 38px; }
.mini-card .contact-label { font-size: 0.74rem; }
.mini-card .contact-value { font-size: 0.95rem; }
@media (max-width: 640px) { .contact-cards { grid-template-columns: 1fr; } }
