/* =====================================================================
   Purnama Labotama — GEO_ADAPTED_TROPICAL_TECH identity
   Warm ivory + deep tropical green + ocean teal + warm copper.
   Indonesian fintech: Jakarta skyline hero, archipelago dots, batik bands.
   ===================================================================== */

/* ---- tokens ------------------------------------------------------- */
:root {
    --bg: #FBF8F1;
    --surface: #FFFFFF;
    --surface-warm: #F4EFE3;
    --surface-2: #EDE6D6;
    --band-green: #EAF2EC;
    --border: #E3D9C4;
    --border-strong: #D5C8A9;

    --text: #22301F;
    --muted: #5C6B57;

    --accent: #0B4B3C;
    --accent-dark: #083B2F;
    --accent-tint: #E3EEE7;
    --teal: #0E7C7B;
    --teal-dark: #0A5D5C;
    --teal-tint: #E0F0EE;
    --copper: #B4693E;
    --copper-text: #9C5330;
    --copper-tint: #E8CBAF;

    --flag-red: #C8102E;

    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 16px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(62, 52, 34, 0.07), 0 2px 8px rgba(62, 52, 34, 0.06);
    --shadow-md: 0 1px 2px rgba(62, 52, 34, 0.06), 0 10px 28px rgba(62, 52, 34, 0.10);
    --shadow-lg: 0 2px 6px rgba(62, 52, 34, 0.08), 0 24px 56px rgba(62, 52, 34, 0.16);

    --font: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

    --batik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cg fill='none' stroke='%230B4B3C' stroke-width='1.1'%3E%3Cellipse cx='28' cy='0' rx='9' ry='19' transform='rotate(45 28 0)'/%3E%3Cellipse cx='28' cy='56' rx='9' ry='19' transform='rotate(45 28 56)'/%3E%3Cellipse cx='0' cy='28' rx='9' ry='19' transform='rotate(45 0 28)'/%3E%3Cellipse cx='56' cy='28' rx='9' ry='19' transform='rotate(45 56 28)'/%3E%3Ccircle cx='28' cy='28' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16.5px;
    line-height: 1.62;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img, svg, iframe, video, canvas { max-width: 100%; }

h1, h2, h3, h4 {
    font-family: var(--font);
    color: var(--accent);
    line-height: 1.18;
    margin: 0 0 0.5em;
    font-weight: 700;
    letter-spacing: -0.012em;
}
h1 { font-size: clamp(1.85rem, 1.2rem + 2.6vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); }
h3 { font-size: 1.17rem; }
h4 { font-size: 1.02rem; }

p { margin: 0 0 0.9em; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: 0.35em; }

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

::selection { background: var(--copper-tint); }

.icon { flex: none; vertical-align: -0.18em; }

.skip-link {
    position: absolute;
    left: 12px;
    top: -56px;
    z-index: 200;
    background: var(--accent);
    color: #FBF8F1;
    padding: 10px 18px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-weight: 600;
    transition: top 0.18s ease;
}
.skip-link:focus { top: 0; color: #FBF8F1; text-decoration: none; }

/* ---- layout primitives --------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 40px);
}

.section { padding: clamp(48px, 6vw, 84px) 0; position: relative; }

.section--tint {
    background:
        linear-gradient(180deg, rgba(234, 242, 236, 0) 0%, rgba(234, 242, 236, 0.9) 18%, rgba(234, 242, 236, 0.9) 82%, rgba(234, 242, 236, 0) 100%),
        var(--band-green);
}
.section--tint::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--batik);
    background-size: 56px 56px;
    opacity: 0.04;
    pointer-events: none;
}
.section--tint > .container { position: relative; }

.section--warm {
    background:
        radial-gradient(120% 90% at 85% 8%, rgba(232, 203, 175, 0.35) 0%, rgba(232, 203, 175, 0) 55%),
        linear-gradient(180deg, rgba(244, 239, 227, 0) 0%, rgba(244, 239, 227, 0.92) 16%, rgba(244, 239, 227, 0.92) 84%, rgba(244, 239, 227, 0) 100%),
        var(--surface-warm);
}
.section--warm::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--batik);
    background-size: 56px 56px;
    opacity: 0.035;
    pointer-events: none;
}
.section--warm > .container { position: relative; }

.section-head { max-width: 720px; margin-bottom: clamp(26px, 3.5vw, 44px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-dark);
    margin-bottom: 10px;
}
.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--copper);
    border-radius: 2px;
}

.lead {
    font-size: 1.13rem;
    color: var(--muted);
    max-width: 62ch;
}

.prose { max-width: 76ch; }
.prose h2 { margin-top: 1.7em; }
.prose h3 { margin-top: 1.4em; }
.prose p:last-child { margin-bottom: 0; }

.mt-2 { margin-top: 18px; }
.mt-4 { margin-top: 38px; }
.note {
    font-size: 0.88rem;
    color: var(--muted);
    background: var(--accent-tint);
    border-left: 3px solid var(--teal);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 12px 16px;
}
.text-center { text-align: center; }

/* ---- buttons -------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    padding: 15px 26px;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease,
                transform 0.16s ease, box-shadow 0.16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--accent);
    color: #FBF8F1;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-dark); color: #FBF8F1; box-shadow: var(--shadow-md); }

.btn-secondary {
    background: transparent;
    color: var(--teal-dark);
    border-color: var(--teal);
}
.btn-secondary:hover { background: var(--teal-tint); color: var(--teal-dark); }

.btn-block { display: flex; width: 100%; }

/* ---- header ---------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 248, 241, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
    background: rgba(251, 248, 241, 0.97);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 74px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: none;
}
.brand svg { width: 216px; height: 37px; display: block; }

.site-nav { margin-left: auto; }
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-item { position: relative; }

.nav-link, .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text);
    background: none;
    border: none;
    padding: 10px 13px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.nav-link:hover, .nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
    background: var(--accent-tint);
    color: var(--accent);
    text-decoration: none;
}
.nav-toggle .icon { transition: transform 0.18s ease; color: var(--teal-dark); }
.has-dropdown.is-open .nav-toggle .icon { transform: rotate(180deg); }

.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 264px;
    max-width: 320px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
    z-index: 120;
}
.dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 22px;
    width: 12px;
    height: 12px;
    background: var(--surface);
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    transform: rotate(45deg);
}
/* keep the menu inside the viewport near the right edge */
.nav-item:last-child .dropdown,
.nav-item:nth-last-child(2) .dropdown { left: auto; right: 0; }
.nav-item:last-child .dropdown::before,
.nav-item:nth-last-child(2) .dropdown::before { left: auto; right: 22px; }

.has-dropdown.is-open > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-list { list-style: none; margin: 0; padding: 0; }
.dropdown-link {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.94rem;
    color: var(--text);
    transition: background 0.14s ease, color 0.14s ease;
}
.dropdown-link:hover { background: var(--accent-tint); color: var(--accent); text-decoration: none; }
.dropdown-link.is-active {
    background: var(--accent);
    color: #FBF8F1;
    font-weight: 600;
}

.btn-header { padding: 12px 20px; font-size: 0.95rem; }
.header-cta-icon { display: inline-flex; }
.header-cta-icon svg { transition: transform 0.16s ease; }
.btn-header:hover .header-cta-icon svg { transform: translateX(3px); }

.nav-burger {
    display: none;
    background: none;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: 9px;
    color: var(--accent);
    cursor: pointer;
    margin-left: 4px;
}
.burger-close { display: none; }
.nav-burger[aria-expanded="true"] .burger-open { display: none; }
.nav-burger[aria-expanded="true"] .burger-close { display: inline-flex; }

.mobile-nav {
    border-top: 1px solid var(--border);
    background: var(--bg);
    padding: 14px 0 22px;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
}
.mobile-nav__group { border-bottom: 1px solid var(--border); }
.mobile-nav__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    padding: 14px 2px;
    cursor: pointer;
}
.mobile-nav__list { list-style: none; margin: 0 0 10px; padding: 0; }
.mobile-nav__link {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--text);
    font-size: 0.96rem;
}
.mobile-nav__link:hover { background: var(--accent-tint); text-decoration: none; }
.mobile-nav__link.is-active { background: var(--accent); color: #FBF8F1; }
.mobile-nav .btn { margin-top: 16px; }

/* ---- beacon ticker row (injected after header — style around it) ----- */
.beacon-ticker-row {
    background: var(--surface-warm);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 60;
}

/* ---- hero ------------------------------------------------------------ */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(90% 70% at 78% 12%, rgba(232, 203, 175, 0.5) 0%, rgba(232, 203, 175, 0) 58%),
        linear-gradient(180deg, #FBF8F1 0%, #F6F0E2 58%, #EFE7D2 100%);
}
.home-hero { padding: clamp(40px, 5.5vw, 76px) 0 0; }

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    will-change: transform;
}
.hero__bg svg {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 1680px;
    max-width: none;
    height: auto;
    opacity: 0.96;
}
/* gentle pointer depth from main.js (decorative vars, desktop only) */
.home-hero .hero__bg svg {
    transform: translateX(-50%) translate3d(var(--crypto-x, 0px), var(--crypto-y, 0px), 0);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: clamp(26px, 4vw, 56px);
    align-items: start;
    padding-bottom: clamp(180px, 24vw, 260px);
}

.hero-copy h1 { margin-bottom: 0.45em; }
.hero-copy h1 .accent { color: var(--teal-dark); }
.hero-copy h1 .copper { color: var(--copper-text); }

.hero-sub {
    font-size: 1.14rem;
    color: var(--muted);
    max-width: 56ch;
    margin-bottom: 1.1em;
}

.hero-meta { margin-top: 20px; }

.offices {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--muted);
    margin: 0;
}
.flag-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 5px 13px 5px 7px;
    font-weight: 600;
    color: var(--text);
    font-size: 0.88rem;
    box-shadow: var(--shadow-sm);
}
.flag-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    flex-direction: column;
    flex: none;
    border: 1px solid rgba(34, 48, 31, 0.14);
    background: #FBF8F1;
}
.flag-dot span { display: block; height: 50%; }
.flag-dot--id span:first-child { background: #C8102E; }
.flag-dot--id span:last-child { background: #FBF8F1; }
.flag-dot--jp span:first-child { background: #FBF8F1; }
.flag-dot--jp span:last-child { background: #BC002D; }
.flag-dot--br span:first-child { background: #009B3A; }
.flag-dot--br span:last-child { background: #FEDF00; }

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}
.trust-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 16px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--accent);
    box-shadow: var(--shadow-sm);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.trust-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--copper);
    text-decoration: none;
    color: var(--accent);
}
.trust-link .icon { color: var(--teal-dark); }

/* hero form column */
.hero-form { position: relative; }

.form-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px 24px 18px;
    overflow: hidden;
}
.form-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--accent);
}
/* Merah Putih bicolor chip on the hero form card */
.form-card::after {
    content: "";
    position: absolute;
    top: 14px;
    right: 14px;
    width: 26px;
    height: 18px;
    border-radius: 4px;
    overflow: hidden;
    background: linear-gradient(180deg, #C8102E 0 50%, #FBF8F1 50% 100%);
    border: 1px solid rgba(34, 48, 31, 0.12);
    opacity: 0.9;
}

/* ---- formFactory block (shared wrapper) ------------------------------ */
.form-block { max-width: 520px; }
.form-block__heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 12px;
}
.form-block__intro {
    font-size: 0.95rem;
    color: var(--muted);
    margin: 0 0 12px;
}
.form-note {
    font-size: 0.86rem;
    color: var(--muted);
    margin: 10px 0 0;
}
.form-legal {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 8px 0 0;
}
.form-legal a { text-decoration: underline; }

.form-block--extra {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 26px clamp(18px, 3vw, 34px);
    margin-inline: auto;
}

/* formFactory internals (bff) */
.bff { display: grid; gap: 12px; }
.bff__row { display: grid; gap: 5px; }
.bff__label {
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--text);
}
.bff__input {
    font-family: var(--font);
    font-size: 1rem;
    color: var(--text);
    background: var(--bg);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
}
.bff__input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(14, 124, 123, 0.18);
}
.bff__err { color: #A8322A; font-size: 0.84rem; }
.bff__submit {
    font-family: var(--font);
    font-size: 1.02rem;
    font-weight: 700;
    color: #FBF8F1;
    background: var(--accent);
    border: none;
    border-radius: var(--radius-pill);
    padding: 15px 22px;
    cursor: pointer;
    margin-top: 4px;
    box-shadow: var(--shadow-sm);
    transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
    white-space: nowrap;
}
.bff__submit:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.bff__ok { color: var(--accent); font-size: 0.92rem; font-weight: 600; }
.bff__fail { color: #A8322A; font-size: 0.9rem; }

/* ---- home: exchange chips ------------------------------------------- */
.exchanges { padding: clamp(28px, 4vw, 46px) 0; }
.exchanges__label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 14px;
}
.exchanges__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.exchange-chip {
    display: inline-flex;
    align-items: center;
    font-family: var(--font);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--accent);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 9px 22px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.exchange-chip:hover {
    transform: translateY(-2px);
    border-color: var(--copper);
    box-shadow: var(--shadow-md);
}

/* ---- home: calculator band ------------------------------------------ */
.calc-section { position: relative; }
.calc-section .calc-widget {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: clamp(18px, 3vw, 34px);
}

/* ---- home: steps ----------------------------------------------------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 22px 20px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--copper); }
.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--copper);
    color: #FBF8F1;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.step p { font-size: 0.93rem; color: var(--muted); margin: 0; }

/* ---- tables ---------------------------------------------------------- */
.compare-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 560px;
}
.table th, .table td {
    text-align: left;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.table thead th {
    background: var(--accent-tint);
    color: var(--accent);
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    border-bottom: 2px solid var(--accent);
}
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:nth-child(even) { background: rgba(244, 239, 227, 0.45); }
.compare col.col-us { background: rgba(11, 75, 60, 0.05); }
.compare thead .col-us-head { background: var(--accent); color: #FBF8F1; }
.compare td:first-child { font-weight: 600; }
.yes { color: #1E7A46; font-weight: 700; }
.yes::before { content: "✓ "; }
.no { color: #A8322A; font-weight: 700; }
.no::before { content: "✗ "; }

/* ---- cards & grids --------------------------------------------------- */
.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 13px;
    background: var(--teal-tint);
    color: var(--accent);
    flex: none;
}
.icon-badge .icon { color: var(--teal-dark); }
.icon-badge--navy { background: var(--accent-tint); }
.icon-badge--navy .icon { color: var(--accent); }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--copper); }
.card .icon-badge { margin-bottom: 14px; }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--teal-dark);
}

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

/* stagger variant: 2 + 1 centered */
.grid--stagger { grid-template-columns: repeat(2, 1fr); }
.grid--stagger .card:nth-child(3) {
    grid-column: span 2;
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
}

/* ---- home: reviews ---------------------------------------------------- */
.review {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review__head { display: flex; align-items: center; gap: 14px; }
.review__ava {
    object-fit: cover;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--teal-tint);
    border: 1.5px solid var(--border-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-dark);
    flex: none;
}
.review__name { font-weight: 700; color: var(--accent); margin: 0; font-size: 0.99rem; }
.review__role { color: var(--muted); font-size: 0.86rem; margin: 0; }
.review__stars { display: inline-flex; gap: 2px; color: var(--copper); margin-left: auto; }
.review__stars .icon { width: 15px; height: 15px; }
.review p { margin: 0; font-size: 0.94rem; color: var(--text); }
.review__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed var(--border-strong);
}
.review__stat { font-size: 0.83rem; color: var(--muted); }
.review__stat strong { color: var(--accent); font-weight: 700; }
.reviews-note {
    text-align: center;
    font-size: 0.86rem;
    color: var(--muted);
    margin: 22px 0 0;
}

/* ---- home: company block ---------------------------------------------- */
.company-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: clamp(24px, 4vw, 52px);
    align-items: center;
}
.company-facts { list-style: none; margin: 16px 0 20px; padding: 0; }
.company-facts li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}
.company-facts li:last-child { border-bottom: none; }
.company-facts .icon { color: var(--teal-dark); margin-top: 3px; }
.company-facts strong { color: var(--accent); }

.company-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.company-link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 16px;
    font-weight: 600;
    color: var(--accent);
    font-size: 0.93rem;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.company-link:hover {
    transform: translateY(-2px);
    border-color: var(--copper);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: var(--accent);
}
.company-link .icon-badge { width: 42px; height: 42px; border-radius: 11px; margin: 0; }

.arch-figure {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 18px;
}
.arch-figure svg { width: 100%; height: auto; display: block; }
.company-map figcaption {
    font-size: 0.84rem;
    color: var(--muted);
    margin-top: 10px;
    text-align: center;
}

/* ---- FAQ --------------------------------------------------------------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--accent);
    text-align: left;
    padding: 17px 20px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.faq-q:hover { background: var(--accent-tint); }
.faq-q .icon { color: var(--teal-dark); transition: transform 0.18s ease; }
.faq-item.is-open .faq-q .icon { transform: rotate(180deg); }
.faq-a {
    padding: 0 20px 18px;
    color: var(--text);
    font-size: 0.96rem;
}
.faq-a p { margin: 0; }

/* ---- inner pages -------------------------------------------------------- */
.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(80% 90% at 88% 0%, rgba(232, 203, 175, 0.4) 0%, rgba(232, 203, 175, 0) 55%),
        linear-gradient(180deg, #F6F0E2 0%, var(--bg) 100%);
    padding: clamp(36px, 5vw, 66px) 0 clamp(30px, 4vw, 52px);
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--batik);
    background-size: 56px 56px;
    opacity: 0.03;
    pointer-events: none;
}
.page-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -140px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 1.5px dashed rgba(14, 124, 123, 0.25);
    pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero__grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: clamp(24px, 4vw, 50px);
    align-items: start;
}
.page-hero__grid .form-card { max-width: 520px; justify-self: end; width: 100%; }

.breadcrumbs {
    background: var(--surface-warm);
    border-bottom: 1px solid var(--border);
    font-size: 0.86rem;
}
.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 11px 0;
}
.breadcrumbs li { display: flex; align-items: center; gap: 6px; margin: 0; }
.breadcrumbs li + li::before { content: "/"; color: var(--border-strong); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span { color: var(--accent); font-weight: 600; }

.map-embed {
    position: relative;
    max-width: 860px;
    margin: 22px 0 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    min-height: 320px;
    background: var(--surface-2);
}
.map-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.panel-table {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

/* history timeline */
.history { list-style: none; margin: 0; padding: 0; position: relative; }
.history::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, var(--teal), var(--accent));
    border-radius: 2px;
}
.history li { position: relative; padding: 0 0 22px 40px; }
.history li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--surface);
    border: 3px solid var(--copper);
}
.history h3 { font-size: 1.08rem; color: var(--accent); margin-bottom: 0.3em; }
.history p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* vacancies (careers) */
.vacancy {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 22px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.vacancy:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.vacancy h3 { margin-bottom: 0.35em; }
.vacancy .vacancy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 10px;
}
.vacancy .vacancy-meta span { display: inline-flex; align-items: center; gap: 6px; }
.vacancy .vacancy-meta .icon { color: var(--teal-dark); }
.vacancy p { font-size: 0.94rem; color: var(--text); }
.vacancy .btn { margin-top: 12px; padding: 11px 20px; font-size: 0.92rem; }

/* articles */
.article-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.article-card h3 { margin-bottom: 0.4em; }
.article-card .article-kicker {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--copper-text);
    margin-bottom: 8px;
}

/* split layout for product pages */
.split {
    display: grid;
    grid-template-columns: 6fr 5fr;
    gap: clamp(24px, 4vw, 52px);
    align-items: center;
}

/* mini data flow on product pages */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

/* callout */
.callout {
    background: var(--accent-tint);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 18px 22px;
    font-size: 0.97rem;
}

/* ---- special offer ------------------------------------------------------ */
.offer-strip {
    background: var(--accent);
    color: #FBF8F1;
    font-size: 0.88rem;
}
.offer-strip .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 34px;
    padding-top: 9px;
    padding-bottom: 9px;
}
.offer-strip .stat { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.offer-strip .stat::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--copper-tint);
    flex: none;
}

.offer-band {
    background:
        radial-gradient(90% 120% at 12% 0%, rgba(232, 203, 175, 0.22) 0%, rgba(232, 203, 175, 0) 55%),
        linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #FBF8F1;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: clamp(28px, 4vw, 48px);
    text-align: center;
}
.offer-band h2 { color: #FBF8F1; }
.offer-band p { color: rgba(251, 248, 241, 0.85); max-width: 60ch; margin-inline: auto; }
.offer-band .btn-primary { background: #FBF8F1; color: var(--accent); }
.offer-band .btn-primary:hover { background: var(--copper-tint); }

.countdown {
    display: inline-flex;
    gap: 10px;
    margin: 18px 0 6px;
}
.countdown .c-seg {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.countdown .c-digits { display: inline-flex; gap: 4px; }
.countdown .c-digit {
    background: rgba(251, 248, 241, 0.12);
    border: 1px solid rgba(251, 248, 241, 0.3);
    border-radius: 8px;
    min-width: 34px;
    padding: 9px 6px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: 1.35rem;
    text-align: center;
}
.countdown .c-label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(11, 35, 28, 0.55);
    backdrop-filter: blur(3px);
    padding: 18px;
}
.modal-overlay.is-open { display: flex; }
.modal-card {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 460px;
    width: 100%;
    padding: 30px 28px 28px;
    text-align: center;
}
.modal-card img { width: 100%; max-width: 300px; height: auto; border-radius: 12px; margin-bottom: 14px; }
.modal-card h3 { font-size: 1.4rem; margin-bottom: 0.4em; }
.modal-card p { font-size: 0.95rem; color: var(--muted); }
.modal-card .countdown { margin: 16px 0; }
.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--text);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.modal-close:hover { background: var(--accent); color: #FBF8F1; }

/* ---- footer -------------------------------------------------------------- */
.site-footer {
    background: var(--accent);
    color: rgba(251, 248, 241, 0.85);
    margin-top: clamp(48px, 6vw, 84px);
}
.site-footer::before {
    content: "";
    display: block;
    height: 6px;
    background: linear-gradient(90deg, #C8102E 0 50%, #FBF8F1 50% 100%);
}

.footer-top {
    display: grid;
    grid-template-columns: 2.4fr 1fr 1fr 1fr 1fr;
    gap: clamp(20px, 3vw, 40px);
    padding: clamp(38px, 5vw, 60px) 0 30px;
}
.footer-brand .brand svg { width: 216px; height: 37px; }
.footer-mission {
    font-size: 0.92rem;
    color: rgba(251, 248, 241, 0.78);
    margin: 16px 0 14px;
    max-width: 34ch;
}
.footer-contact { font-size: 0.88rem; line-height: 1.9; }
.footer-contact .icon { color: var(--copper-tint); margin-right: 4px; }
.footer-contact a { color: #FBF8F1; text-decoration: underline; text-underline-offset: 3px; }

.footer-col h3 {
    color: #FBF8F1;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a {
    display: inline-block;
    color: rgba(251, 248, 241, 0.8);
    font-size: 0.9rem;
    padding: 4.5px 0;
}
.footer-col a:hover { color: var(--copper-tint); }

.footer-disclaimer {
    border-top: 1px solid rgba(251, 248, 241, 0.18);
    padding: 22px 0;
}
.footer-disclaimer h3 { font-size: 0.95rem; color: var(--copper-tint); margin-bottom: 8px; }
.footer-disclaimer p {
    font-size: 0.82rem;
    line-height: 1.66;
    color: rgba(251, 248, 241, 0.62);
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(251, 248, 241, 0.18);
    padding: 16px 0 22px;
    font-size: 0.83rem;
    color: rgba(251, 248, 241, 0.6);
}
.footer-bottom p { margin: 0; }

/* ---- scroll reveal -------------------------------------------------------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.6, 0.2, 1);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
    .hero__bg svg { opacity: 1; }
}

/* ---- responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
    .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .footer-col:last-child { grid-column: span 3; }
}

@media (max-width: 1020px) {
    .site-nav { display: none; }
    .nav-burger { display: inline-flex; }
    .btn-header { margin-left: auto; }

    .hero-grid, .page-hero__grid { grid-template-columns: 1fr; }
    .hero-grid { padding-bottom: clamp(170px, 34vw, 240px); }
    .page-hero__grid .form-card { justify-self: start; }

    .steps, .flow { grid-template-columns: repeat(2, 1fr); }
    .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .company-grid, .split { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
    /* main.js reorders hero children here: h1 → form → meta */
    .home-hero .hero-grid { gap: 18px; }
    .mobile-hero-title { margin-bottom: 0.4em; }
}

@media (max-width: 720px) {
    .grid--2, .grid--3, .grid--4, .steps, .flow { grid-template-columns: 1fr; }
    .steps, .flow { gap: 14px; }
    .grid--stagger .card:nth-child(3) { grid-column: span 1; max-width: none; }
    .company-links { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
    .footer-col:last-child { grid-column: auto; }
    .brand svg, .footer-brand .brand svg { width: 190px; height: 33px; }
    .offer-strip .container { gap: 6px 20px; }
    .countdown .c-digit { min-width: 30px; font-size: 1.15rem; }
}

@media (max-width: 420px) {
    body { font-size: 16px; }
    .btn { padding: 13px 20px; font-size: 0.95rem; }
    .btn-header { padding: 10px 16px; }
    .hero-grid { padding-bottom: clamp(160px, 46vw, 220px); }
    .flag-chip { font-size: 0.8rem; padding: 4px 10px 4px 5px; }
    .trust-link { padding: 9px 12px; font-size: 0.86rem; }
    .form-card { padding: 18px 16px 14px; }
    .exchange-chip { padding: 8px 16px; font-size: 0.95rem; }
}

/* Guard: decorative full-bleed layers must never widen the page (sticky-safe) */
html, body { overflow-x: clip; }

/* Shared ticker and phone country selector overrides. */
.tv-ticker-wrapper {
    padding-top: 0px !important;
    height: 58px !important;
}

.iti__selected-country, .iti__selected-dial-code {
    color: rgb(24, 33, 47) !important;
}