/* ==========================================================================
   Vanguard Software — corporate site styles
   Palette: deep navy (night Dubai) + desert gold + warm sand.
   ========================================================================== */

:root {
    --ink: #0E1A26;
    --ink-2: #13263A;
    --ink-3: #1B3350;
    --gold: #C8963E;
    --gold-2: #B07F2A;
    --gold-soft: #F3E6CC;
    --sand: #F7F2E8;
    --sand-2: #EFE6D4;
    --text: #1D2733;
    --muted: #5B6875;
    --muted-light: #A9B6C4;
    --line: #E5DECF;
    --white: #FFFFFF;
    --ok: #2E9D6B;
    --warn: #D9822B;
    --danger: #C2412D;

    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 1px 2px rgba(14, 26, 38, .06), 0 8px 28px rgba(14, 26, 38, .07);
    --shadow-lg: 0 24px 60px rgba(4, 12, 20, .35);
    --container: 1200px;
    --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 720; }
h3 { font-size: 1.15rem; font-weight: 680; }
h4 { font-size: 1.05rem; font-weight: 680; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
    width: 1.15em; height: 1.15em; flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
    vertical-align: -.2em;
}

.accent { color: var(--gold); }
.eyebrow {
    display: inline-block; margin: 0 0 .9rem;
    font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--gold-2);
}
.eyebrow-light { color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--muted-light); max-width: 62ch; }
.lead-light { font-size: 1.08rem; color: var(--muted-light); }
.fineprint { font-size: .85rem; color: var(--muted); margin-top: 1.25rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .72em 1.25em; border-radius: 10px; border: 1.5px solid transparent;
    font: inherit; font-weight: 650; font-size: .96rem; text-decoration: none; cursor: pointer;
    transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .5em .95em; font-size: .9rem; }
.btn-lg { padding: .9em 1.5em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 6px 18px rgba(200, 150, 62, .28); }
.btn-gold:hover { background: #D6A54D; }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .25); color: var(--white); background: rgba(255, 255, 255, .04); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); }

.link-arrow {
    display: inline-flex; align-items: center; gap: .4em;
    color: var(--gold-2); font-weight: 650; text-decoration: none;
}
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .18s; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.topbar { background: #0A131C; color: var(--muted-light); font-size: .82rem; }
.topbar-inner { display: flex; gap: 1.6rem; justify-content: flex-end; align-items: center; min-height: 36px; }
.topbar-item { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; }
.topbar-item:first-child { margin-right: auto; }
a.topbar-item:hover { color: var(--gold); }

.navbar { background: rgba(14, 26, 38, .96); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.navbar-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--white); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.2rem; letter-spacing: -.01em; }
.brand-text small { font-size: .74rem; color: var(--muted-light); }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: .3rem; }
.main-nav a:not(.btn) {
    color: #D5DEE8; text-decoration: none; font-weight: 550; font-size: .95rem;
    padding: .5rem .8rem; border-radius: 8px; position: relative;
}
.main-nav a:not(.btn):hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.main-nav a.is-active { color: var(--white); }
.main-nav a.is-active::after {
    content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .15rem; height: 2px;
    background: var(--gold); border-radius: 2px;
}
.nav-cta { margin-left: .6rem; }

.nav-toggle {
    display: none; margin-left: auto; background: none; border: 1px solid rgba(255, 255, 255, .2);
    color: var(--white); border-radius: 10px; width: 44px; height: 44px; cursor: pointer;
    align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero, .page-hero, .section-dark, .cta-band, .site-footer, .error-page {
    background:
        radial-gradient(1100px 500px at 85% -10%, rgba(200, 150, 62, .16), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(40, 90, 140, .25), transparent 60%),
        var(--ink);
    color: var(--white);
}
.hero h1, .page-hero h1, .section-dark h2, .section-dark h3, .cta-band h2, .error-page h1 { color: var(--white); }

.hero { position: relative; overflow: hidden; padding: 84px 0 150px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-badges { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: #CBD6E2; font-size: .92rem; }
.hero-badges li { display: inline-flex; align-items: center; gap: .45em; }
.hero-badges .icon { color: var(--gold); stroke-width: 2.4; }

.skyline {
    position: absolute; left: 0; right: 0; bottom: 0; height: 200px; pointer-events: none;
    background: url("/img/skyline-262945b2d1f1bf974301583b6f165d6d.svg") bottom center / auto 100% repeat-x;
}

/* dashboard mock */
.hero-visual { position: relative; }
.dash {
    background: linear-gradient(180deg, #172C43, #122338);
    border: 1px solid rgba(255, 255, 255, .09); border-radius: 18px;
    box-shadow: var(--shadow-lg); padding: 18px; color: #DCE5EE;
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.dash-head { display: flex; align-items: center; gap: 12px; font-size: .8rem; color: var(--muted-light); margin-bottom: 16px; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #2B4460; display: block; }
.dots i:first-child { background: var(--gold); }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash-kpis div { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; padding: 12px; }
.dash-kpis small { display: block; font-size: .72rem; color: var(--muted-light); }
.dash-kpis strong { display: block; font-size: 1.3rem; color: var(--white); letter-spacing: -.01em; }
.dash-kpis em { font-style: normal; font-size: .72rem; color: var(--muted-light); }
.dash-kpis em.up { color: #5FD19B; }
.dash-chart {
    display: flex; align-items: flex-end; gap: 8px; height: 120px; margin: 16px 0;
    padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
}
.dash-chart span { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #3B5F86, #26425F); }
.dash-chart span.hl { background: linear-gradient(180deg, #E0B25E, var(--gold-2)); }
.dash-list { list-style: none; margin: 0; padding: 0; font-size: .84rem; display: grid; gap: 8px; }
.dash-list li { display: flex; align-items: center; gap: 10px; }
.dash-list i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dash-list i.ok { background: #5FD19B; box-shadow: 0 0 0 4px rgba(95, 209, 155, .15); }
.dash-list i.warn { background: #F0A34A; box-shadow: 0 0 0 4px rgba(240, 163, 74, .15); }
.float-chip {
    position: absolute; right: -18px; top: -30px;
    display: flex; align-items: center; gap: 12px;
    background: var(--white); color: var(--ink); border-radius: 14px; padding: 12px 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .3);
}
.float-chip .icon { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--gold-soft); color: var(--gold-2); }
.float-chip span { display: flex; flex-direction: column; line-height: 1.25; }
.float-chip small { color: var(--muted); font-size: .78rem; }

/* ---------- Stats ---------- */
.stats-strip { position: relative; z-index: 2; margin-top: -58px; }
.stats-strip-flat { margin-top: 0; padding-top: 48px; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
    border: 1px solid var(--line);
}
.stat { padding: 26px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sand { background: var(--sand); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head-row h2 { margin-bottom: 0; }
.section-lead { font-size: 1.08rem; color: var(--muted); margin: 0; }

.cards-grid { display: grid; gap: 22px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    display: flex; flex-direction: column;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; text-decoration: none;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card p { color: var(--muted); }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D9C9A6; }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; color: var(--gold-2); font-weight: 650; font-size: .93rem; }
.card-more .icon { transition: transform .18s; }
a:hover .card-more .icon { transform: translateX(4px); }
.cards-compact .card { padding: 22px; }
.cards-compact .card p { margin: 0; font-size: .93rem; }

.card-icon {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px;
    background: var(--gold-soft); color: var(--gold-2);
}
.card-icon .icon { width: 24px; height: 24px; }
.card-icon-lg { width: 60px; height: 60px; border-radius: 15px; }
.card-icon-lg .icon { width: 28px; height: 28px; }
.card-icon-dark { background: rgba(200, 150, 62, .16); color: var(--gold); margin: 0; }

/* Why Dubai */
.section-dark { position: relative; }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.split-intro { position: sticky; top: 130px; }
.split-light .split-intro p { color: var(--muted); }
.adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.adv {
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius); padding: 24px;
}
.adv p { color: var(--muted-light); margin: 0; font-size: .95rem; }
.adv-icon {
    display: inline-flex; width: 42px; height: 42px; border-radius: 11px; align-items: center; justify-content: center;
    background: rgba(200, 150, 62, .14); color: var(--gold); margin-bottom: 14px;
}
.adv-icon .icon { width: 22px; height: 22px; }
.adv-grid-light .adv { background: var(--sand); border-color: var(--line); }
.adv-grid-light .adv p { color: var(--muted); }
.adv-grid-light .adv-icon { background: var(--gold-soft); color: var(--gold-2); }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.process-step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.process-step::after {
    content: ""; position: absolute; top: 44px; right: -19px; width: 20px; height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
}
.process-step:last-child::after { display: none; }
.process-num {
    display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center;
    background: var(--ink); color: var(--gold); font-weight: 750; font-size: .9rem; margin-bottom: 14px;
}
.process-step h3 { margin-bottom: .15em; }
.process-dur { display: block; font-size: .8rem; font-weight: 650; color: var(--gold-2); margin-bottom: .6rem; text-transform: uppercase; letter-spacing: .06em; }
.process-step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Industries (cards on home) */
.ind-card {
    display: flex; gap: 18px; align-items: flex-start; text-decoration: none;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
    transition: transform .2s, box-shadow .2s;
}
.ind-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ind-card .card-icon { margin: 0; }
.ind-card p { color: var(--muted); font-size: .93rem; margin: 0; }


.tag {
    display: inline-block; align-self: flex-start; padding: .28em .75em; border-radius: 999px;
    background: var(--gold-soft); color: #7A5716; font-size: .78rem; font-weight: 650;
}
.tag-muted { background: #EEF1F4; color: var(--muted); }
.tag-light { background: rgba(200, 150, 62, .15); color: var(--gold); }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq details {
    background: var(--white); border: 1px solid var(--line); border-radius: 12px;
    margin-bottom: 12px; transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
    list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 650; color: var(--ink);
    display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--gold-2); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* CTA band */
.cta-band { padding: 80px 0; position: relative; overflow: hidden; }
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.cta-inner h2 { margin-bottom: .4em; }
.cta-actions { display: flex; flex-direction: column; gap: .8rem; align-items: stretch; max-width: 340px; justify-self: end; width: 100%; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 120px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-compact { padding-bottom: 96px; }
.page-hero-title { display: flex; align-items: center; gap: 18px; margin-bottom: .6rem; }
.page-hero-title h1 { margin: 0; }
.breadcrumbs { font-size: .86rem; color: var(--muted-light); margin-bottom: 1.4rem; display: flex; flex-wrap: wrap; gap: .5em; }
.breadcrumbs a { color: #D5DEE8; text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { opacity: .5; }

.chip-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.chip {
    padding: .45em 1em; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18);
    color: #D5DEE8; text-decoration: none; font-size: .88rem; font-weight: 550;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }


/* Services list */
.service-list { display: grid; gap: 18px; }
.service-row {
    display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: center;
    padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white);
    transition: box-shadow .2s;
}
.service-row:hover { box-shadow: var(--shadow); }
.service-row-main { display: flex; gap: 24px; align-items: flex-start; }
.service-row-main .card-icon { margin: 0; }
.service-row h2 { font-size: 1.45rem; margin-bottom: .3em; }
.service-row p { color: var(--muted); }
.service-index { font-size: .78rem; font-weight: 700; color: var(--gold-2); letter-spacing: .1em; }
.service-facts { margin: 0; display: grid; gap: 14px; padding: 22px; border-radius: 12px; background: var(--sand); }
.service-facts dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 650; }
.service-facts dd { margin: 0; color: var(--ink); font-weight: 600; }
.service-facts-stacked { background: none; padding: 0; margin-bottom: 22px; }
.service-facts-stacked > div { padding-bottom: 14px; border-bottom: 1px solid var(--line); }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px;
}
.price-card.is-featured { border: 2px solid var(--gold); box-shadow: 0 20px 50px rgba(200, 150, 62, .18); transform: translateY(-8px); }
.price-badge {
    position: absolute; top: -13px; left: 28px; background: var(--gold); color: var(--ink);
    padding: .25em .8em; border-radius: 999px; font-size: .76rem; font-weight: 750; letter-spacing: .03em;
}
.price-desc { color: var(--muted); font-size: .94rem; }
.price { margin: .4rem 0 1.4rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.price strong { display: block; font-size: 1.75rem; color: var(--ink); letter-spacing: -.02em; }
.price small { color: var(--muted); }
.price-card .checklist { margin-bottom: 1.8rem; flex: 1; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .65em; align-items: flex-start; font-size: .95rem; }
.checklist .icon { color: var(--ok); stroke-width: 2.4; margin-top: .2em; }
.checklist-lg li { font-size: 1.02rem; padding: 12px 16px; background: var(--sand); border-radius: 10px; }

/* Detail pages */
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.prose h2 { font-size: 1.6rem; margin-top: 0; }
.prose h2 + p, .prose h2 + ul { margin-bottom: 2.4rem; }
.prose p { font-size: 1.06rem; color: #34414F; max-width: 68ch; }
.aside-card {
    position: sticky; top: 130px; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px; background: var(--white); box-shadow: var(--shadow); display: grid; gap: 10px;
}
.aside-text { color: var(--muted); font-size: .94rem; }
.mini-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .9rem; }


/* Industries page */
.industry-list { display: grid; gap: 24px; }
.industry-block { border: 1px solid var(--line); border-radius: 18px; padding: 36px; background: var(--white); }
.industry-block:nth-child(even) { background: var(--sand); }
.industry-head { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 26px; }
.industry-head .card-icon { margin: 0; }
.industry-head h2 { font-size: 1.55rem; margin-bottom: .2em; }
.industry-head p { color: var(--muted); margin: 0; max-width: 70ch; }
.industry-body { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.dash-bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.dash-bullets li { position: relative; padding-left: 1.4em; color: #34414F; }
.dash-bullets li::before { content: ""; position: absolute; left: 0; top: .72em; width: .7em; height: 2px; background: var(--gold); }

/* Odoo page */
.module-group + .module-group { margin-top: 44px; }
.module-group-title { font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 16px; }
.module-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.module-card p { color: var(--muted); font-size: .94rem; }
.uae-note { margin: auto 0 0; display: flex; gap: .6em; align-items: flex-start; font-size: .88rem; color: var(--ink) !important; padding-top: 12px; border-top: 1px dashed var(--line); }
.uae-flag {
    flex: none; font-size: .66rem; font-weight: 800; letter-spacing: .06em;
    padding: .25em .5em; border-radius: 4px; margin-top: .1em;
    background: var(--ink); color: var(--gold);
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare th, .compare td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: .96rem; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--ink); color: var(--white); font-size: .9rem; }
.compare thead th.col-hl { background: var(--gold); color: var(--ink); }
.compare tbody th { color: var(--ink); font-weight: 650; width: 28%; }
.compare td { color: var(--muted); }
.compare td.col-hl { background: #FBF6EC; color: var(--ink); font-weight: 550; }

.host-card { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--radius); padding: 28px; }
.host-card p { color: var(--muted-light); }

/* About */
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 18px; }
.timeline li::before {
    content: ""; position: absolute; left: -36px; top: 5px; width: 14px; height: 14px; border-radius: 50%;
    background: var(--white); border: 3px solid var(--gold);
}
.timeline-year { font-weight: 750; color: var(--gold-2); font-size: 1.05rem; }
.timeline p { margin: .2em 0 0; color: #34414F; }
.team-card { border-radius: var(--radius); padding: 26px; background: var(--ink); color: var(--white); }
.team-card strong { display: block; font-size: 2.4rem; color: var(--gold); line-height: 1; margin-bottom: .5rem; }
.team-card h3 { color: var(--white); }
.team-card p { color: var(--muted-light); margin: 0; font-size: .93rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: var(--shadow); margin-top: -150px; position: relative; z-index: 2; }
.form h2 { font-size: 1.5rem; margin-bottom: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 650; color: var(--ink); margin-bottom: .4em; }
.req { color: var(--danger); }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: .98rem; color: var(--text);
    padding: .75em .9em; border-radius: 10px; border: 1.5px solid var(--line); background: #FDFCF9;
    transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200, 150, 62, .15); background: var(--white);
}
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .84rem; margin: .35em 0 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 14px; padding: 18px 20px; border-radius: 12px; margin-bottom: 26px; }
.alert-success { background: #E9F6EF; border: 1px solid #BFE5D0; color: #1D5C40; }
.alert .icon { width: 26px; height: 26px; stroke-width: 2.4; }
.alert p { margin: .2em 0 0; }

.contact-aside { display: grid; gap: 22px; margin-top: -150px; position: relative; z-index: 2; }
.office-card { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.office-map svg { display: block; width: 100%; height: 170px; }
.office-body { padding: 26px; }
.office-body address { color: var(--muted); margin-bottom: 1rem; font-size: .88rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.contact-list li { display: flex; gap: .7em; align-items: center; }
.contact-list .icon { color: var(--gold-2); }
.contact-list a { text-decoration: none; font-weight: 600; color: var(--ink); }
.contact-list a:hover { color: var(--gold-2); }
.next-steps { border-radius: 18px; padding: 26px; background: var(--sand); }
.next-steps ol { margin: 0; padding-left: 1.2em; display: grid; gap: .8rem; color: var(--muted); }
.next-steps strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding: 80px 0 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.skyline-footer { opacity: .7; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; position: relative; z-index: 1; }
.footer-about p { color: var(--muted-light); font-size: .94rem; margin-top: 1rem; max-width: 38ch; }
.footer-title { color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-links a, .footer-contacts a { color: #C9D4DF; text-decoration: none; font-size: .94rem; }
.footer-links a:hover, .footer-contacts a:hover { color: var(--gold); }
.footer-contacts { color: var(--muted-light); font-size: .94rem; line-height: 1.9; }
.footer-address-row {
    position: relative; z-index: 1; display: flex; align-items: center; gap: .6em;
    margin-top: 48px; color: #C9D4DF; font-size: .95rem;
}
.footer-address-row .icon { color: var(--gold); }
.footer-bottom {
    position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    margin-top: 22px; padding: 22px 24px 150px; border-top: 1px solid rgba(255, 255, 255, .08);
    color: #8093A6; font-size: .84rem;
}

/* ---------- Error pages ---------- */
.error-page { min-height: 100vh; position: relative; overflow: hidden; display: flex; align-items: center; }
.error-wrap { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 40px 24px 200px; text-align: center; }
.error-code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; margin: 0; color: var(--gold); letter-spacing: -.04em; }
.error-wrap .hero-actions { justify-content: center; margin-top: 1.5rem; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .process { grid-template-columns: repeat(3, 1fr); }
    .process-step::after { display: none; }
    .cols-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .main-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--ink); padding: 10px 16px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08);
        display: none;
    }
    .nav-open .main-nav { display: flex; }
    .main-nav a:not(.btn) { padding: .85rem .6rem; border-bottom: 1px solid rgba(255, 255, 255, .06); border-radius: 0; }
    .main-nav a.is-active::after { display: none; }
    .main-nav a.is-active { color: var(--gold); }
    .nav-cta { margin: 14px 0 0; }
    .navbar-inner { position: relative; }

    .hero { padding: 56px 0 140px; }
    .hero-grid { grid-template-columns: 1fr; gap: 56px; }
    .dash { transform: none; }
    .float-chip { right: 12px; }
    .split, .faq-wrap, .cta-inner, .detail-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .split-intro, .aside-card { position: static; }
    .cta-actions { justify-self: start; }
    .cols-3, .pricing { grid-template-columns: repeat(2, 1fr); }
    .price-card.is-featured { transform: none; }
    .service-row { grid-template-columns: 1fr; }
    .form-card { margin-top: -110px; }
    .contact-aside { margin-top: 0; }
}

@media (max-width: 680px) {
    .container { padding: 0 16px; }
    .hide-sm { display: none !important; }
    .topbar-inner { gap: 1rem; font-size: .76rem; }
    .brand-text small { display: none; }
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 32px; }
    .section-head-row { flex-direction: column; align-items: flex-start; }
    .cols-2, .cols-3, .cols-4, .pricing, .adv-grid, .process { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .dash-kpis strong { font-size: 1.05rem; }
    .dash-kpis { gap: 6px; }
    .dash-kpis div { padding: 9px; }
    .service-row, .industry-block, .form-card { padding: 24px; }
    .service-row-main { flex-direction: column; gap: 14px; }
    .industry-head { flex-direction: column; gap: 14px; }
    .industry-body { grid-template-columns: 1fr; gap: 26px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero-actions .btn { width: 100%; }
    .page-hero-title { flex-direction: column; align-items: flex-start; }
    .float-chip { position: relative; right: auto; top: auto; margin-top: 14px; }
}
