/* ==========================================================================
   Infinity NextGen Enterprises – site styles
   Premium navy + champagne gold. Mobile-first, no framework.
   ========================================================================== */

:root {
    --bg: #0a1324;
    --bg-alt: #0d182d;
    --surface: #111f38;
    --surface-2: #162744;
    --line: #23355a;
    --line-soft: #1b2b4a;
    --gold: #d9b978;
    --gold-2: #f0d99e;
    --gold-3: #b8954f;
    --copper: #d98d72;
    --text: #eef2f8;
    --muted: #a8b4c9;
    --muted-2: #7f8da6;
    --wa: #1faa59;
    --wa-2: #25d366;
    --danger: #ff8a8a;
    --success: #6fdc9c;

    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 18px 50px rgb(0 0 0 / .35);
    --shadow-sm: 0 8px 24px rgb(0 0 0 / .25);
    --container: 1240px;
    --header-h: 84px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; color: #fff; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3, .h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.h4 { font-size: 1.1rem; letter-spacing: -.01em; }
strong { color: #fff; font-weight: 700; }
::selection { background: var(--gold); color: #0a1324; }

:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 200;
    background: var(--gold); color: #0a1324; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.narrow { width: min(880px, 100% - 40px); }
.center { text-align: center; justify-content: center; }
.lead { font-size: 1.1rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 48px; padding: .75em 1.4em;
    border: 1px solid transparent; border-radius: var(--radius-sm);
    font-size: .95rem; font-weight: 700; line-height: 1.2; letter-spacing: .01em;
    cursor: pointer; white-space: nowrap;
    transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 54px; padding: .9em 1.7em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); color: #0b1426; box-shadow: 0 8px 24px rgb(217 185 120 / .22); }
.btn-gold:hover { box-shadow: 0 12px 30px rgb(217 185 120 / .35); }
.btn-outline { border-color: rgb(217 185 120 / .55); color: var(--gold-2); background: transparent; }
.btn-outline:hover { background: rgb(217 185 120 / .1); border-color: var(--gold); }
.btn-navy { background: #0b1426; color: var(--gold-2); border-color: #0b1426; }
.btn-navy:hover { background: #13213b; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #18934b; }
.btn-text { color: var(--gold-2); padding-inline: .4em; min-height: 0; }
.btn-text:hover { color: #fff; }
.btn-disabled { background: var(--surface-2); color: var(--muted-2); border-color: var(--line); cursor: not-allowed; }
.btn-disabled:hover { transform: none; }

.text-link { display: inline-flex; align-items: center; gap: .4em; color: var(--gold-2); font-weight: 700; font-size: .92rem; }
.text-link:hover { color: #fff; }
.text-link .icon { transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

.badge {
    display: inline-flex; align-items: center; padding: .2em .7em; border-radius: 99px;
    background: rgb(217 185 120 / .15); border: 1px solid rgb(217 185 120 / .45);
    color: var(--gold-2); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle;
}
.badge-sm { font-size: .62rem; padding: .1em .5em; }
.badge-float { position: absolute; top: 14px; left: 14px; background: rgb(10 19 36 / .85); backdrop-filter: blur(6px); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .75em; margin-bottom: 1rem;
    color: var(--gold-2); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.center .eyebrow, .section-head .eyebrow { justify-content: center; }

.icon-badge {
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(145deg, rgb(217 185 120 / .18), rgb(217 185 120 / .06));
    border: 1px solid rgb(217 185 120 / .3);
    color: var(--gold-2);
}
.icon-badge .icon { width: 22px; height: 22px; }
.icon-badge-lg { display: grid; width: 56px; height: 56px; border-radius: 14px; margin-bottom: 1.1rem; }
.icon-badge-lg .icon { width: 26px; height: 26px; }

/* ---------- Top bar ---------- */
.topbar { background: #070e1b; border-bottom: 1px solid var(--line-soft); font-size: .82rem; color: var(--muted); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-tagline { margin: 0; color: var(--gold-2); font-weight: 600; letter-spacing: .02em; }
.topbar-mark { color: var(--copper); font-size: 1.1em; }
.topbar-links { list-style: none; display: flex; gap: 22px; }
.topbar-links a { display: inline-flex; align-items: center; gap: .45em; }
.topbar-links a:hover { color: var(--gold-2); }
.topbar-links .icon { width: 15px; height: 15px; color: var(--gold); }

/* ---------- Header / navigation ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgb(10 19 36 / .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgb(217 185 120 / .16);
    transition: box-shadow .25s, background .25s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgb(0 0 0 / .35); background: rgb(10 19 36 / .97); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { flex-shrink: 0; }
.brand img { height: 46px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: .55em .75em; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 600; color: #dfe5ef; transition: color .2s, background .2s; }
.nav-link:hover, .nav-link.is-active { color: var(--gold-2); }
.nav-link.is-active { background: rgb(217 185 120 / .08); }
.dropdown-toggle { display: grid; place-items: center; width: 26px; height: 32px; margin-left: -8px; padding: 0; background: none; border: 0; color: #dfe5ef; cursor: pointer; border-radius: 4px; }
.dropdown-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.dropdown-toggle:hover { color: var(--gold-2); }

.dropdown {
    position: absolute; top: calc(100% + 14px); left: 50%; z-index: 10;
    width: 620px; padding: 18px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
    transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown:hover .dropdown-toggle .icon, .has-dropdown.is-open .dropdown-toggle .icon { transform: rotate(180deg); }
.dropdown-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.dropdown-grid a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); font-size: .88rem; font-weight: 600; color: #dfe5ef; transition: background .15s, color .15s; }
.dropdown-grid a:hover { background: rgb(217 185 120 / .09); color: var(--gold-2); }
.dropdown-no { color: var(--gold); font-size: .75rem; font-weight: 800; min-width: 20px; }
.dropdown-all { display: flex; align-items: center; justify-content: center; gap: .4em; margin-top: 12px; padding: 10px; border-top: 1px solid var(--line); color: var(--gold-2); font-size: .88rem; font-weight: 700; }
.dropdown-all:hover { color: #fff; }

.nav-cta { min-height: 44px; padding: .6em 1.2em; }
.nav-toggle { display: none; }

/* ---------- Hero (home) ---------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(ellipse 70% 60% at 85% 10%, rgb(36 64 112 / .55), transparent 70%),
        radial-gradient(ellipse 50% 50% at 0% 100%, rgb(217 185 120 / .07), transparent 70%),
        linear-gradient(180deg, #0a1324, #0b1528);
}
.hero::before {
    content: ''; position: absolute; right: -220px; top: -260px; width: 640px; height: 640px; border-radius: 50%;
    border: 1px solid rgb(217 185 120 / .14);
    box-shadow: 0 0 0 70px rgb(217 185 120 / .03), 0 0 0 140px rgb(217 185 120 / .02);
    pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; padding: 88px 0 100px; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.05; letter-spacing: -.045em; margin-bottom: .45em; }
.hero h1 span { background: linear-gradient(90deg, var(--gold-2), var(--gold) 60%, var(--copper)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.08rem; color: var(--muted); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }

.hero-visual { position: relative; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 210px 210px; gap: 14px; }
.mosaic-item { margin: 0; overflow: hidden; border: 1px solid rgb(217 185 120 / .3); box-shadow: var(--shadow-sm); }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.95) brightness(.9); transition: transform .8s var(--ease); }
.mosaic-item:hover img { transform: scale(1.06); }
.mosaic-1 { border-radius: 70px 10px 10px 10px; }
.mosaic-2 { border-radius: 10px 10px 10px 10px; transform: translateY(26px); }
.mosaic-3 { border-radius: 10px; }
.mosaic-4 { border-radius: 10px 10px 70px 10px; transform: translateY(26px); }
.hero-badge {
    position: absolute; left: -22px; bottom: 6px; max-width: 250px;
    padding: 16px 20px; border-radius: var(--radius);
    background: rgb(17 31 56 / .95); backdrop-filter: blur(8px);
    border: 1px solid var(--line); border-left: 3px solid var(--gold);
    box-shadow: var(--shadow);
}
.hero-badge strong { display: block; font-size: 1.15rem; color: var(--gold-2); }
.hero-badge span { display: block; margin-top: 4px; font-size: .85rem; line-height: 1.45; color: var(--muted); }

/* ---------- Highlights strip ---------- */
.highlights { background: var(--bg-alt); border-block: 1px solid var(--line-soft); }
.highlights-grid { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); }
.highlight { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 14px; text-align: center; font-size: .9rem; font-weight: 700; color: #e8edf5; border-right: 1px solid var(--line-soft); }
.highlight:last-child { border-right: 0; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head p:last-child { color: var(--muted); margin-bottom: 0; font-size: 1.05rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.split-reverse .split-copy { order: 0; }
.split-media { position: relative; padding: 0 28px 28px 0; }
.split-media::after { content: ''; position: absolute; right: 0; bottom: 0; width: 70%; height: 70%; border: 1px solid rgb(217 185 120 / .45); border-radius: var(--radius-lg); z-index: 0; }
.split-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg) 80px var(--radius-lg) var(--radius-lg); border: 1px solid var(--line); }
.split-media-card {
    position: absolute; z-index: 2; left: 22px; bottom: 50px; max-width: 300px;
    display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px;
    background: rgb(17 31 56 / .95); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.split-media-card p { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.5; }
.split-media-card strong { display: block; color: var(--gold-2); }
.split-copy p { color: var(--muted); }
.split-copy .btn { margin-top: 8px; }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
    display: flex; flex-direction: column; position: relative;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgb(217 185 120 / .6); box-shadow: 0 22px 50px rgb(0 0 0 / .45); }
.service-card-media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.9); transition: transform .6s var(--ease), filter .3s; }
.service-card:hover .service-card-media img { transform: scale(1.07); filter: brightness(1); }
.service-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.service-card-no { margin-bottom: .5em; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.service-card h3 { font-size: 1.22rem; margin-bottom: .55em; }
.service-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.service-card-body > p { color: var(--muted); font-size: .93rem; }
.service-card-link { margin-top: auto; display: inline-flex; align-items: center; gap: .45em; color: var(--gold-2); font-size: .9rem; font-weight: 700; }
.service-card-link .icon { transition: transform .25s var(--ease); }
.service-card:hover .service-card-link .icon { transform: translateX(4px); }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.why-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.why-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why-item {
    display: flex; align-items: center; gap: 14px; padding: 18px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    font-weight: 700; font-size: .95rem; line-height: 1.4;
    transition: border-color .25s, transform .25s var(--ease);
}
.why-item:hover { border-color: rgb(217 185 120 / .55); transform: translateY(-3px); }
.why-item:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- Tick grids / lists ---------- */
.tick-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tick-grid li, .offer-grid li, .check-list li { display: flex; align-items: flex-start; gap: 12px; }
.tick-grid li { padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: .95rem; line-height: 1.45; }
.tick-grid .icon, .offer-grid .icon, .check-list .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--gold); }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { color: var(--muted); line-height: 1.55; }

/* ---------- Duo cards (partner / careers) ---------- */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.duo-card {
    position: relative; overflow: hidden; padding: 40px;
    background: linear-gradient(160deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.duo-card::after { content: '\221E'; position: absolute; right: 20px; top: -40px; font-size: 220px; line-height: 1; color: rgb(217 185 120 / .05); pointer-events: none; }
.duo-card h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.duo-card p { color: var(--muted); }
.duo-card .btn { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--gold-2), var(--gold) 55%, #c79f5b); color: #0b1426; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 52px 0; }
.cta-inner h2 { color: #0b1426; margin-bottom: .2em; }
.cta-inner p { margin: 0; color: #2a3446; font-weight: 500; max-width: 640px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(ellipse 60% 80% at 90% 0%, rgb(36 64 112 / .55), transparent 70%),
        linear-gradient(180deg, #0a1324, #0c172b);
    border-bottom: 1px solid var(--line-soft);
}
.page-hero::after {
    content: '\221E'; position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
    font-size: clamp(180px, 26vw, 380px); line-height: 1; color: rgb(217 185 120 / .05); pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; padding: 64px 0 72px; max-width: 860px; margin-left: max(20px, calc((100% - var(--container)) / 2)); }
.page-hero h1 { margin-bottom: .35em; }
.page-hero-lead { font-size: 1.12rem; color: var(--muted); margin: 0; max-width: 720px; }
.page-hero .hero-actions { margin-top: 26px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; font-size: .85rem; color: var(--muted-2); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.breadcrumbs a:hover { color: var(--gold-2); }
.breadcrumbs [aria-current] { color: var(--gold-2); }

/* ---------- About: vision / mission / values ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.vm-card { padding: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); border-top: 3px solid var(--gold); }
.vm-card h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.values-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card {
    position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    transition: border-color .25s, transform .25s var(--ease);
}
.value-card:hover { border-color: rgb(217 185 120 / .55); transform: translateY(-4px); }
.value-card h3 { margin: 0; font-size: 1.08rem; }
.value-no { position: absolute; top: 18px; right: 20px; color: rgb(217 185 120 / .35); font-size: 1.6rem; font-weight: 800; }

/* ---------- Business solutions ---------- */
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.solution-card {
    display: flex; flex-direction: column; padding: 30px 26px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    transition: border-color .25s, transform .25s var(--ease);
}
.solution-card:hover { border-color: rgb(217 185 120 / .55); transform: translateY(-4px); }
.solution-card h3 { font-size: 1.1rem; flex: 1; margin-bottom: 1.1em; }

/* ---------- Partner / careers ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.partner-card { display: flex; flex-direction: column; padding: 32px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, transform .25s var(--ease); }
.partner-card:hover { border-color: rgb(217 185 120 / .55); transform: translateY(-4px); }
.partner-card p { color: var(--muted); flex: 1; }
.role-grid { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.role-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 14px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; font-size: .93rem; line-height: 1.35; }

/* ---------- Service detail ---------- */
.page-hero-service .eyebrow .badge { margin-left: .5em; letter-spacing: .06em; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.detail-media { margin: 0 0 40px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.detail-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.detail-block { margin-bottom: 44px; }
.detail-block:last-child { margin-bottom: 0; }
.offer-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.offer-grid li { padding: 15px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; line-height: 1.45; }
.note { display: flex; gap: 12px; margin-top: 20px; padding: 16px 18px; background: rgb(217 185 120 / .07); border: 1px solid rgb(217 185 120 / .3); border-radius: var(--radius); color: #e5d7b5; font-size: .92rem; font-style: italic; }
.note .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--gold); }
.store-box { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.store-box p { color: var(--muted); }
.store-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.steps { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.step { display: flex; gap: 16px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step-no { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-2), var(--gold-3)); color: #0b1426; font-weight: 800; }
.step h3 { font-size: 1rem; margin-bottom: .3em; }
.step p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.aside-card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card > p { color: var(--muted); font-size: .92rem; }
.aside-card .btn { margin-bottom: 10px; }
.aside-subtitle { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.aside-links { list-style: none; display: grid; gap: 2px; max-height: 330px; overflow-y: auto; margin-right: -8px; padding-right: 8px; }
.aside-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); font-size: .9rem; color: #dfe5ef; }
.aside-links a:hover { background: rgb(217 185 120 / .08); color: var(--gold-2); }
.aside-links .icon { width: 16px; height: 16px; color: var(--muted-2); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.pager-link { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s; }
.pager-link:hover { border-color: rgb(217 185 120 / .55); }
.pager-link span { color: var(--muted-2); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.pager-link strong { color: var(--gold-2); }
.pager-next { text-align: right; }

/* ---------- Forms ---------- */
.form-card { padding: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-head { margin-bottom: 26px; }
.form-head h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: .3em; }
.form-head p:last-child { color: var(--muted); margin: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; font-size: .85rem; font-weight: 700; color: #dfe5ef; }
.field label span { color: var(--gold); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 50px; padding: 12px 14px;
    background: #0a1426; border: 1px solid #2a3d63; border-radius: var(--radius-sm);
    color: var(--text); font-size: .95rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9b978' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field select option, .field select optgroup { background: #0f1c33; color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: #6d7b95; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgb(217 185 120 / .18); }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .file-drop { border-color: var(--danger); }
.field-error { margin: 6px 0 0; color: var(--danger); font-size: .82rem; font-weight: 600; }
.form-actions { margin-top: 24px; }
.form-note { margin: 12px 0 0; font-size: .8rem; color: var(--muted-2); text-align: center; }
.form-note a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 2px; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

.file-drop {
    display: flex !important; align-items: center; gap: 12px; min-height: 50px; padding: 12px 14px; margin: 0 !important;
    background: #0a1426; border: 1px dashed #3a5180; border-radius: var(--radius-sm);
    color: var(--muted) !important; font-weight: 500 !important; cursor: pointer; transition: border-color .2s;
}
.file-drop:hover { border-color: var(--gold); }
.file-drop .icon { color: var(--gold); }
.file-drop-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted) !important; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-input:focus-visible + .field-error, .file-input:focus-visible ~ * { outline: none; }
.field:focus-within .file-drop { border-color: var(--gold); }

.alert { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; padding: 14px 16px; border-radius: var(--radius); font-size: .93rem; font-weight: 600; }
.alert p { margin: 0; }
.alert .icon { width: 22px; height: 22px; margin-top: 1px; }
.alert-success { background: rgb(111 220 156 / .1); border: 1px solid rgb(111 220 156 / .4); color: #c8f3d8; }
.alert-success .icon { color: var(--success); }
.alert-error { background: rgb(255 138 138 / .1); border: 1px solid rgb(255 138 138 / .4); color: #ffd4d4; }
.alert-error .icon { color: var(--danger); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.contact-list { list-style: none; display: grid; gap: 22px; margin: 28px 0 30px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.contact-list a, .contact-list span { color: #dfe5ef; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold-2); }
.contact-list .text-link { display: flex; margin-top: 6px; color: var(--gold-2); font-size: .85rem; }
.contact-quick { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Legal ---------- */
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 24px); padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.legal-nav ul { list-style: none; display: grid; gap: 2px; }
.legal-nav a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 600; color: #dfe5ef; }
.legal-nav a:hover { background: rgb(217 185 120 / .08); color: var(--gold-2); }
.legal-nav a.is-active { background: rgb(217 185 120 / .14); color: var(--gold-2); }
.prose { max-width: 780px; color: #d4dbe7; font-size: 1.02rem; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.2em; display: grid; gap: .5em; }
.prose li::marker { color: var(--gold); font-weight: 700; }
.prose a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.prose-highlight { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.prose-highlight .icon { color: var(--gold); }
.prose-contact { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }

/* ---------- 404 ---------- */
.not-found { padding: 120px 0; }
.not-found-code { font-size: clamp(6rem, 18vw, 10rem); font-weight: 800; line-height: 1; margin: 0 0 .1em; background: linear-gradient(90deg, var(--gold-2), var(--copper)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer ---------- */
.site-footer { background: #070e1b; border-top: 1px solid rgb(217 185 120 / .2); font-size: .92rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .9fr 1.3fr; gap: 44px; padding: 72px 0 52px; }
.footer-brand img { width: 290px; height: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 360px; }
.footer-title { margin-bottom: 1.1em; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--gold-2); }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 4px; width: 17px; height: 17px; color: var(--gold); }
.footer-contact a { overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--gold-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 22px 0; border-top: 1px solid var(--line-soft); font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-tagline { color: var(--gold-2); font-weight: 600; }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 20px 13px 16px; border-radius: 99px;
    background: var(--wa); color: #fff; font-weight: 700; font-size: .92rem;
    box-shadow: 0 10px 30px rgb(0 0 0 / .4);
    transition: transform .25s var(--ease), background .2s;
}
.wa-float:hover { transform: translateY(-3px); background: #18934b; }
.wa-float .icon { width: 24px; height: 24px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgb(37 211 102 / .5); animation: wa-pulse 2.6s infinite; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgb(37 211 102 / .45); } 70% { box-shadow: 0 0 0 16px rgb(37 211 102 / 0); } 100% { box-shadow: 0 0 0 0 rgb(37 211 102 / 0); } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
    .nav-list { gap: 0; }
    .nav-link { padding: .55em .55em; font-size: .88rem; }
    .brand img { height: 40px; }
    .site-nav { gap: 14px; }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    .role-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Mobile navigation */
@media (max-width: 1100px) {
    :root { --header-h: 72px; }
    .nav-toggle {
        display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
        background: rgb(217 185 120 / .1); border: 1px solid rgb(217 185 120 / .35); border-radius: var(--radius-sm);
        color: var(--gold-2); cursor: pointer;
    }
    .nav-toggle .icon { width: 24px; height: 24px; }
    .nav-toggle-close { display: none; }
    .nav-open .nav-toggle-open { display: none; }
    .nav-open .nav-toggle-close { display: block; }

    /* backdrop-filter would make the header the containing block of the fixed menu panel */
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
    .site-nav {
        position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0;
        flex-direction: column; align-items: stretch; gap: 18px;
        padding: 18px 20px 120px; overflow-y: auto;
        background: var(--bg); border-top: 1px solid var(--line);
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    }
    .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
    .nav-open { overflow: hidden; }
    .nav-list { flex-direction: column; align-items: stretch; }
    .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line-soft); }
    .nav-link { flex: 1; padding: 15px 4px; font-size: 1.05rem; }
    .nav-link.is-active { background: none; }
    .dropdown-toggle { width: 46px; height: 46px; margin: 0; }
    .dropdown { position: static; width: 100%; padding: 0 0 12px; transform: none; opacity: 1; visibility: visible; display: none; background: none; border: 0; box-shadow: none; }
    .dropdown::before { display: none; }
    .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { transform: none; }
    .has-dropdown.is-open .dropdown { display: block; transform: none; }
    .has-dropdown:hover .dropdown-toggle .icon { transform: none; }
    .has-dropdown.is-open .dropdown-toggle .icon { transform: rotate(180deg); }
    .dropdown-grid { grid-template-columns: 1fr; }
    .dropdown-grid a { padding: 10px 8px; font-size: .95rem; }
    .nav-cta { width: 100%; min-height: 52px; }

    .hero-grid { grid-template-columns: 1fr; gap: 48px; padding: 64px 0 80px; }
    .hero-visual { max-width: 640px; }
    .highlights-grid { grid-template-columns: repeat(3, 1fr); }
    .highlight:nth-child(3) { border-right: 0; }
    .highlight:nth-child(-n+3) { border-bottom: 1px solid var(--line-soft); }
    .split, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
    .split-media { max-width: 640px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .solution-grid { grid-template-columns: repeat(2, 1fr); }
    .partner-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-grid { grid-template-columns: 1fr; }
    .aside-sticky { position: static; }
    .aside-links { max-height: none; }
    .legal-grid { grid-template-columns: 1fr; gap: 32px; }
    .legal-nav { position: static; }
    .legal-nav ul { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    body { font-size: 15.5px; }
    .container, .narrow { width: calc(100% - 32px); }
    .topbar-tagline { display: none; }
    .topbar-inner { justify-content: center; }
    .topbar-links { gap: 16px; font-size: .78rem; }
    .topbar-links li:first-child { display: none; }
    .brand img { height: 36px; }

    .section { padding: 68px 0; }
    .section-head { margin-bottom: 36px; }
    .hero-grid { padding: 48px 0 64px; }
    .hero-actions .btn { flex: 1 1 auto; }
    .hero-actions .btn-text { flex-basis: 100%; }
    .mosaic { grid-template-rows: 150px 150px; gap: 10px; }
    .mosaic-1 { border-radius: 44px 8px 8px 8px; }
    .mosaic-4 { border-radius: 8px 8px 44px 8px; }
    .mosaic-2, .mosaic-4 { transform: translateY(16px); }
    .hero-badge { left: 10px; bottom: -14px; padding: 12px 16px; }
    .highlights-grid { grid-template-columns: 1fr 1fr; }
    .highlight { padding: 22px 10px; border-bottom: 1px solid var(--line-soft); }
    .highlight:nth-child(odd) { border-right: 1px solid var(--line-soft); }
    .highlight:nth-child(even) { border-right: 0; }
    .highlight:nth-last-child(-n+2) { border-bottom: 0; }
    .split-media { padding: 0 16px 16px 0; }
    .split-media img { border-radius: var(--radius) 48px var(--radius) var(--radius); }
    .split-media-card { position: relative; left: auto; bottom: auto; max-width: none; margin: -40px 12px 0; }

    .services-grid, .solution-grid, .partner-grid, .duo-grid, .vm-grid, .why-list, .tick-grid, .offer-grid, .steps, .pager { grid-template-columns: 1fr; }
    .why-item:last-child:nth-child(odd) { grid-column: auto; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .role-grid { grid-template-columns: 1fr 1fr; }
    .duo-card, .vm-card, .form-card { padding: 28px 22px; }
    .form-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; align-items: flex-start; padding: 44px 0; }
    .cta-actions { width: 100%; }
    .cta-actions .btn { flex: 1 1 auto; }
    .page-hero-inner { padding: 44px 0 52px; margin-left: 16px; margin-right: 16px; }
    .page-hero .hero-actions .btn { flex: 1 1 auto; }
    .pager-next { text-align: left; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; padding: 56px 0 40px; }
    .footer-brand img { width: 250px; }
    .footer-bottom { flex-direction: column; text-align: center; align-items: center; padding-bottom: 90px; }
    .wa-float { right: 16px; bottom: 16px; padding: 14px; }
    .wa-float span { display: none; }
    .store-actions .btn { flex: 1 1 100%; white-space: normal; }
}

@media (max-width: 400px) {
    .brand img { height: 31px; }
    .values-grid, .role-grid { grid-template-columns: 1fr; }
}
