/* =====================================================================
   Rehinleşim — ANATOLIAN_MODERNIST_FINTECH
   Light warm-stone theme, charcoal ink, deep burgundy accent, muted copper
   secondary. Geometric compositions: stepped blocks, arch outline, crisp
   diagonal cuts, thin double rules. Radius scale 4/8/12. Warm shadows.
   ===================================================================== */

:root {
    --bg: #F4F0E8;
    --surface: #FBF8F2;
    --surface-2: #EBE5D7;
    --border: #DED5C1;
    --ink: #262018;
    --muted: #655A48;
    --accent: #7A3440;
    --accent-hover: #622833;
    --accent-tint: #F3E3E6;
    --copper: #B0763F;
    --copper-tint: #F6EBDD;
    --ink-soft: #3A3226;

    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 12px;

    --shadow-sm: 0 1px 2px rgba(56, 42, 30, 0.08), 0 2px 6px rgba(56, 42, 30, 0.06);
    --shadow-md: 0 1px 2px rgba(56, 42, 30, 0.07), 0 10px 26px rgba(56, 42, 30, 0.11);
    --shadow-lg: 0 2px 6px rgba(56, 42, 30, 0.1), 0 24px 56px rgba(56, 42, 30, 0.18);

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

    --sec-pad: clamp(56px, 8vw, 96px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
}

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

h1, h2, h3, h4 {
    font-family: var(--font);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: var(--ink);
    margin: 0 0 12px;
    text-wrap: balance;
}

h1 { font-size: clamp(30px, 4.6vw, 46px); }
h2 { font-size: clamp(24px, 3.2vw, 33px); }
h3 { font-size: 18.5px; letter-spacing: -0.005em; }

p { margin: 0 0 14px; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

ul, ol { padding-left: 22px; margin: 0 0 14px; }

dl, dt, dd { margin: 0; }

dd, dt { font-variant-numeric: tabular-nums; }

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

::selection { background: var(--accent-tint); color: var(--ink); }

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

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

.section { padding-block: var(--sec-pad); position: relative; }

.section--tint {
    background:
        radial-gradient(1100px 420px at 88% -10%, rgba(176, 118, 63, 0.07), transparent 60%),
        linear-gradient(180deg, var(--surface-2), var(--bg));
    border-block: 1px solid var(--border);
}

.section--warm {
    background:
        radial-gradient(900px 380px at 8% 0%, rgba(122, 52, 64, 0.06), transparent 62%),
        linear-gradient(180deg, var(--accent-tint), var(--bg));
    border-block: 1px solid var(--border);
}

/* thin double rule band separator */
.section--tint + .section,
.section + .section--tint { border-top: 1px solid var(--border); }

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

.lead {
    font-size: 17.5px;
    color: var(--muted);
    line-height: 1.65;
}

.eyebrow {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--copper);
    margin-bottom: 10px;
}

.prose { max-width: 820px; }
.prose h2 { margin-top: 34px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.mt-2 { margin-top: 18px; }
.mt-4 { margin-top: 34px; }

.note {
    font-size: 13.5px;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--copper);
    border-radius: var(--r-sm);
    padding: 12px 16px;
    max-width: 820px;
}

.note a { text-decoration: underline; text-underline-offset: 3px; }

.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 700;
    font-size: 15.5px;
    line-height: 1;
    padding: 14px 26px;
    border-radius: var(--r-md);
    border: 1.5px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.18s cubic-bezier(0.2, 0.6, 0.2, 1), box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
    background: var(--accent);
    color: #FCF9F4;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #FCF9F4;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 0 var(--copper-tint), var(--shadow-md);
}

.btn-primary:active { transform: none; box-shadow: var(--shadow-sm); }

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-secondary:hover {
    background: var(--accent-tint);
    color: var(--accent-hover);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 0 var(--accent-tint);
}

.btn-block { width: 100%; }

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 14.5px;
}

/* ---------- Skip link ---------- */
.skip-link {
    position: absolute;
    left: 12px;
    top: -52px;
    z-index: 200;
    background: var(--ink);
    color: #FCF9F4;
    padding: 10px 16px;
    border-radius: var(--r-sm);
    transition: top 0.16s ease;
}

.skip-link:focus { top: 12px; color: #FCF9F4; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244, 240, 232, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header.is-scrolled {
    background: var(--bg);
    box-shadow: var(--shadow-md);
}

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

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

.site-nav { margin-left: auto; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item { position: relative; }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    background: none;
    border: 0;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    cursor: pointer;
}

.nav-link:hover { color: var(--accent); background: var(--accent-tint); }

.nav-link .icon { transition: transform 0.16s ease; }

.has-dropdown.is-open > .nav-link { color: var(--accent); background: var(--accent-tint); }
.has-dropdown.is-open > .nav-link .icon { transform: rotate(180deg); }

/* dropdown surface */
.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(--r-lg);
    box-shadow: var(--shadow-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    z-index: 120;
}

.dropdown::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 22px;
    width: 9px;
    height: 9px;
    background: var(--surface);
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    transform: rotate(45deg);
}

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

/* keep the last group inside the viewport */
.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; }

.dropdown-list { list-style: none; margin: 0; padding: 0; }

.dropdown-link {
    display: block;
    padding: 10px 12px;
    border-radius: var(--r-md);
    font-size: 14px;
    color: var(--ink);
    line-height: 1.35;
    transition: background-color 0.14s ease, color 0.14s ease;
}

.dropdown-link:hover, .dropdown-link:focus-visible {
    background: var(--accent-tint);
    color: var(--accent-hover);
}

.dropdown-link.is-active {
    background: var(--accent-tint);
    color: var(--accent);
    font-weight: 700;
}

/* burger */
.nav-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--ink);
    cursor: pointer;
}

.nav-burger:hover { background: var(--accent-tint); color: var(--accent); }

.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 */
.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding-block: 14px 22px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.mobile-nav__group { margin-bottom: 6px; }

.mobile-nav__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: 0;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--copper);
    padding: 12px 4px 8px;
    cursor: pointer;
}

.mobile-nav__list { list-style: none; margin: 0; padding: 0 0 6px; }

.mobile-nav__link {
    display: block;
    padding: 10px 10px;
    border-radius: var(--r-sm);
    font-size: 15px;
    color: var(--ink);
}

.mobile-nav__link:hover, .mobile-nav__link.is-active { background: var(--accent-tint); color: var(--accent); }

.mobile-nav .btn { margin-top: 10px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(44px, 6vw, 84px);
    background:
        linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero__bg svg { display: block; width: 100%; height: 100%; }

.hero .container { position: relative; z-index: 1; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: clamp(28px, 4.5vw, 60px);
    align-items: start;
}

.hero-copy { max-width: 560px; }

/* mobile reorder (main.js moves nodes): heading -> form -> meta */
@media (max-width: 960px) {
    .hero-grid { display: flex; flex-direction: column; gap: 22px; }
    .hero-grid > h1.mobile-hero-title { order: 0; }
    .hero-grid > .hero-form { order: 1; }
    .hero-grid > .hero-meta { order: 2; }
}

.hero-sub { font-size: 16.5px; color: var(--muted); margin-top: 14px; }

.accent-line {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

/* copper diagonal-cut underline block */
.accent-line::after {
    content: "";
    position: absolute;
    left: -2px;
    right: 8px;
    bottom: 0;
    height: 7px;
    background: var(--copper);
    clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}

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

.offices {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    margin: 0;
}

.flag-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 5px 12px 5px 6px;
    font-size: 13.5px;
    color: var(--ink);
}

.flag-chip svg { border-radius: 2px; box-shadow: var(--shadow-sm); }

.flag-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--copper);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.trust-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 9px 14px 9px 9px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s cubic-bezier(0.2, 0.6, 0.2, 1), box-shadow 0.18s ease, border-color 0.18s ease;
}

.trust-link:hover {
    color: var(--accent);
    border-color: var(--copper);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 0 var(--copper-tint), var(--shadow-md);
}

/* ---------- Forms ---------- */
.form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
}

/* modular corner detail */
.form-card::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
    background:
        linear-gradient(135deg, var(--copper) 0 5px, transparent 5px 8px, var(--copper) 8px 11px, transparent 11px);
    border-radius: 2px;
    opacity: 0.9;
    pointer-events: none;
}

.form-block { padding: 22px 22px 20px; }

/* burgundy header band on the form card */
.form-card > .form-block:first-child > .form-block__heading {
    background: var(--accent);
    color: #FCF9F4;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: -22px -22px 18px;
    padding: 12px 22px;
    border-bottom: 3px solid var(--copper);
}

.form-block__intro {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 14px;
}

.form-block--extra { background: transparent; border: 0; box-shadow: none; padding: 0; }

.form-note {
    font-size: 12.5px;
    color: var(--muted);
    margin: 12px 0 0;
    padding-left: 26px;
    position: relative;
}

.form-note::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--copper);
}

.form-legal { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.form-legal a { text-decoration: underline; text-underline-offset: 2px; }

/* injected formFactory internals, themed to sit in the card */
.bff__label { font-size: 13px; font-weight: 700; color: var(--ink); }
.bff__input {
    border: 1px solid var(--border) !important;
    border-radius: var(--r-md) !important;
    background: #FFFFFF !important;
    color: var(--ink) !important;
    font-family: var(--font);
}
.bff__input:focus { border-color: var(--accent) !important; }
.bff__submit {
    background: var(--accent) !important;
    border-radius: var(--r-md) !important;
    font-family: var(--font);
    box-shadow: var(--shadow-sm);
}
.bff__submit:hover { filter: brightness(1.04) !important; }

/* second form on home: framed beside FAQ */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(26px, 4vw, 54px);
    align-items: start;
    margin-bottom: clamp(30px, 5vw, 54px);
}

.form-aside h2 { margin-bottom: 10px; }

.form-side .form-block__heading { display: none; }

/* ---------- Grid & cards ---------- */
.grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    padding: 22px;
    transition: transform 0.18s cubic-bezier(0.2, 0.6, 0.2, 1), box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 0 var(--copper-tint), var(--shadow-md);
    border-color: var(--copper);
}

.card h3 { margin: 12px 0 8px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.card h3 a { color: inherit; }
.card h3 a:hover { color: var(--accent); }

.card--pad { padding: 28px; }
.card--pad > h2, .card--pad > h3:first-of-type { margin-top: 12px; }
.card--pad p { color: var(--ink-soft); }

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: var(--r-md);
    background: var(--accent-tint);
    color: var(--accent);
    flex: none;
}

.icon-badge--navy { background: var(--ink); color: var(--copper-tint); }
.icon-badge--copper { background: var(--copper-tint); color: var(--copper); }

.coin-stamp { border-radius: 999px; width: 52px; height: 52px; }

.pay-head { display: flex; gap: 10px; margin-bottom: 18px; }

.note-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

/* ---------- Steps (angular tiles) ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
}

.step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    padding: 22px 20px 20px;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
    transition: transform 0.18s cubic-bezier(0.2, 0.6, 0.2, 1), box-shadow 0.18s ease;
}

.step:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 0 var(--accent-tint), var(--shadow-md); }

.step h3 { margin: 14px 0 8px; font-size: 17px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--accent);
    color: #FCF9F4;
    font-weight: 800;
    font-size: 15px;
    border-radius: var(--r-sm);
    font-variant-numeric: tabular-nums;
}

.step__num--float { float: right; margin-left: 12px; }

/* ---------- Exchange chips ---------- */
.exchanges { text-align: center; }

.exchanges__label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin: 0 0 14px;
}

.exchanges__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.exchange-chip {
    display: inline-flex;
    align-items: center;
    font-family: var(--font);
    font-weight: 800;
    font-size: 15.5px;
    letter-spacing: -0.01em;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 22px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.16s ease, border-color 0.16s ease;
}

.exchange-chip:hover { transform: translateY(-2px); border-color: var(--copper); }

/* ---------- Calculator band ---------- */
.calc-section {
    background:
        radial-gradient(760px 320px at 12% 110%, rgba(122, 52, 64, 0.05), transparent 60%),
        linear-gradient(180deg, var(--bg), var(--surface));
}

/* stepped geometric border pattern + faint bar-chart motif */
.calc-section::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 0 24px, rgba(176, 118, 63, 0.18) 24px 34px, transparent 34px 58px, rgba(176, 118, 63, 0.14) 58px 66px, transparent 66px 92px, rgba(176, 118, 63, 0.1) 92px 98px, transparent 98px) top left / 100px 6px repeat-x,
        linear-gradient(90deg, transparent 0 24px, rgba(176, 118, 63, 0.18) 24px 34px, transparent 34px 58px, rgba(176, 118, 63, 0.14) 58px 66px, transparent 66px 92px, rgba(176, 118, 63, 0.1) 92px 98px, transparent 98px) bottom right / 100px 6px repeat-x;
    background-repeat: repeat-x;
}

/* keep the long Turkish CTA label comfortable inside the widget button */
.calc-section .calc-widget__cta {
    white-space: normal;
    line-height: 1.3;
    max-width: 100%;
    padding: 0.75rem 1.6rem;
    font-weight: 700;
}

/* ---------- Comparison table ---------- */
.compare-wrap {
    overflow-x: auto;
    border: 2px solid var(--ink);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    background: var(--surface);
}

.compare {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.compare th, .compare td {
    padding: 14px 18px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    font-size: 14.5px;
}

.compare thead th {
    background: var(--surface-2);
    font-weight: 800;
    letter-spacing: 0.01em;
    font-size: 14px;
    text-transform: uppercase;
}

.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

.compare td:first-child, .compare th[scope="row"] { text-align: left; color: var(--ink-soft); }

.compare .col-us { background: var(--accent-tint); }
.compare thead .col-us { color: var(--accent); }

.compare .col-them { color: var(--muted); }

.yes { color: var(--accent); display: inline-flex; }
.no { color: #A99E8C; display: inline-flex; }

.compare .yes svg, .compare .no svg { display: block; }

/* ---------- Tables (generic) ---------- */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    background: var(--surface);
}

.table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.table th, .table td {
    padding: 13px 16px;
    text-align: left;
    font-size: 14.5px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    color: var(--ink-soft);
}

.table thead th {
    background: var(--surface-2);
    color: var(--ink);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.table tbody tr:nth-child(even) { background: rgba(235, 229, 215, 0.35); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }

.table th[scope="row"] { color: var(--ink); font-weight: 700; white-space: nowrap; }

.table-desc { min-width: 260px; font-size: 13.5px; color: var(--muted); }

/* ---------- Reviews ---------- */
.review {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.18s cubic-bezier(0.2, 0.6, 0.2, 1), box-shadow 0.18s ease;
}

.review:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 0 var(--accent-tint), var(--shadow-md); }

.review__head { display: flex; align-items: center; gap: 12px; }

.review__ava {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--copper);
    box-shadow: var(--shadow-sm);
    flex: none;
}

.review__name { font-weight: 800; font-size: 15.5px; margin: 0; }
.review__role { font-size: 13px; color: var(--muted); margin: 2px 0 0; }

.review__stars { color: var(--copper); display: flex; gap: 2px; }

.review blockquote { margin: 0; }
.review blockquote p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

.review__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.review__stat dt {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 3px;
}

.review__stat dd {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.reviews-note {
    margin-top: 22px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

/* ---------- Company block ---------- */
.company-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.company-facts__list { margin: 18px 0 0; }

.company-facts__list > div {
    display: flex;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}

.company-facts__list dt {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    width: 110px;
    flex: none;
    padding-top: 2px;
}

.company-facts__list dd {
    font-weight: 600;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.company-facts__list dd .icon { color: var(--copper); }

.company-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

/* modular directory panel */
.company-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    padding: 14px 16px;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ink);
    transition: transform 0.18s cubic-bezier(0.2, 0.6, 0.2, 1), box-shadow 0.18s ease;
}

.company-link:nth-child(even) { border-left-color: var(--copper); }

.company-link:hover {
    color: var(--accent);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 0 var(--accent-tint), var(--shadow-md);
}

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    background: none;
    border: 0;
    font-family: var(--font);
    font-size: 15.5px;
    font-weight: 700;
    text-align: left;
    color: var(--ink);
    padding: 15px 18px;
    cursor: pointer;
}

.faq-q:hover { color: var(--accent); }

/* square plus toggle */
.faq-q::after {
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    position: relative;
    background:
        linear-gradient(var(--accent), var(--accent)) center / 14px 2px no-repeat,
        linear-gradient(var(--accent), var(--accent)) center / 2px 14px no-repeat;
    transition: transform 0.18s ease;
}

.faq-item.is-open .faq-q::after { transform: rotate(45deg); }

.faq-a { padding: 0 18px 16px; }
.faq-a p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.faq-a a { text-decoration: underline; text-underline-offset: 3px; }

.faq-cat-head { margin-bottom: 14px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(38px, 5vw, 66px); }

.page-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(26px, 4vw, 56px);
    align-items: start;
}

@media (max-width: 960px) {
    .page-hero__grid { grid-template-columns: 1fr; }
    .hero-grid { grid-template-columns: 1fr; }
    .company-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-block: 12px 0; font-size: 13px; }

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.breadcrumbs li { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; color: var(--copper); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span[aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Map ---------- */
.map-embed {
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    max-width: 640px;
    aspect-ratio: 16 / 9;
    min-height: 320px;
    background: var(--surface-2);
}

.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Contact / misc lists ---------- */
.contact-list { list-style: none; padding: 0; margin: 16px 0; }

.contact-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: var(--ink-soft);
}

.contact-list .icon { color: var(--copper); margin-top: 3px; }

.check-list { list-style: none; padding: 0; margin: 18px 0 0; }

.check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 7px 0;
    font-size: 15px;
    color: var(--ink-soft);
}

.check-list .icon { color: var(--accent); margin-top: 3px; }

.plain-list li { margin-bottom: 8px; }
.plain-list a { text-decoration: underline; text-underline-offset: 3px; }

/* timeline (about) */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }

.timeline::before {
    content: "";
    position: absolute;
    left: 44px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border);
}

.timeline__item {
    position: relative;
    padding: 0 0 26px 96px;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__year {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 34px;
    background: var(--accent);
    color: #FCF9F4;
    font-weight: 800;
    font-size: 14px;
    border-radius: var(--r-sm);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
    font-variant-numeric: tabular-nums;
    z-index: 1;
}

.timeline__item p { color: var(--ink-soft); max-width: 640px; margin: 4px 0 0; }

.stat-list { display: grid; gap: 10px; margin-top: 14px; }

.stat-list > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 2px;
    border-bottom: 1px dashed var(--border);
}

.stat-list dt { font-size: 13.5px; color: var(--muted); }
.stat-list dd { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }

/* careers */
.jobs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }

.job {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.18s cubic-bezier(0.2, 0.6, 0.2, 1), box-shadow 0.18s ease;
}

.job:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 0 var(--copper-tint), var(--shadow-md); }

.job__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.job h3 { margin: 0; font-size: 17.5px; }

.job__tag {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--copper);
    background: var(--copper-tint);
    border-radius: 999px;
    padding: 4px 10px;
    white-space: nowrap;
}

.job p { color: var(--muted); font-size: 14px; margin: 0; }

.job__terms { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }

.job__terms li {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    background: var(--surface-2);
    border-radius: var(--r-sm);
    padding: 4px 8px;
}

.job .btn { margin-top: auto; align-self: flex-start; }

/* articles */
.article {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    padding: clamp(22px, 3vw, 34px);
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.article h2 { display: flex; align-items: center; gap: 14px; }
.article .icon-badge { flex: none; }
.article p { color: var(--ink-soft); }

/* mesh panel (AI page) */
.mesh-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mesh-caption { font-size: 12px; color: var(--muted); text-align: center; margin: 0; }

/* inline CTA */
.cta-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    padding: 22px 26px;
}

.cta-inline h2 { margin: 0 0 4px; font-size: 21px; }
.cta-inline p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Special offer ---------- */
.offer-strip {
    background: var(--accent);
    color: #FCF9F4;
    padding-block: 9px;
    border-bottom: 3px solid var(--copper);
}

.offer-strip__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 26px;
}

.offer-strip .stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.offer-strip .stat .icon { color: #E8C0C5; }

.offer-hero { background: linear-gradient(180deg, var(--accent-tint), var(--surface) 55%, var(--bg)); }

/* ledger-line CTA band */
.offer-band {
    background:
        repeating-linear-gradient(180deg, rgba(251, 248, 242, 0.05) 0 1px, transparent 1px 34px),
        linear-gradient(135deg, #622833 0%, #7A3440 55%, #5C242E 100%);
    color: #FCF9F4;
    padding-block: clamp(40px, 5vw, 62px);
    border-top: 3px solid var(--copper);
}

.offer-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.offer-band h2 { color: #FCF9F4; margin-bottom: 6px; }
.offer-band p { color: #E8D3D7; margin: 0; }

.btn-band {
    background: #FBF8F2;
    color: var(--accent);
    box-shadow: 0 6px 18px rgba(20, 10, 10, 0.35);
}

.btn-band:hover {
    background: var(--copper-tint);
    color: var(--accent-hover);
    transform: translate(-2px, -2px);
}

/* countdown */
.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 18px 0 20px;
}

.countdown__seg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    padding: 10px 12px;
    min-width: 74px;
}

.countdown__seg b {
    font-size: 30px;
    font-weight: 800;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.countdown__seg i {
    font-style: normal;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.countdown__sep {
    font-size: 26px;
    font-weight: 800;
    color: var(--copper);
    line-height: 1;
    padding-bottom: 16px;
}

/* modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(38, 32, 24, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

body.modal-open { overflow: hidden; }

.modal-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 4px solid var(--accent);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    padding: 30px 28px 26px;
    max-width: 430px;
    width: 100%;
    text-align: center;
}

.modal-card h3 { font-size: 24px; margin: 12px 0 8px; }
.modal-card p { font-size: 14.5px; color: var(--ink-soft); }
.modal-sub { font-size: 13px !important; color: var(--muted) !important; }

.modal-art svg { width: 150px; height: auto; }

.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.modal-close:hover { color: var(--accent); background: var(--accent-tint); }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: #CFC5B4;
    padding-top: clamp(44px, 6vw, 70px);
    margin-top: 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr repeat(4, minmax(150px, 1fr));
    gap: 28px;
    padding-bottom: 40px;
}

.footer-brand .brand svg { height: 32px; }

.footer-mission {
    font-size: 13.5px;
    line-height: 1.6;
    color: #B4A892;
    margin: 16px 0 14px;
    max-width: 300px;
}

.footer-contact { font-size: 13.5px; }
.footer-contact .icon { color: var(--copper); vertical-align: -0.3em; }
.footer-contact a { color: #E5DCCB; }
.footer-contact a:hover { color: var(--copper); }

.footer-col h3 {
    color: #E8DFC9;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }

.footer-col li { margin-bottom: 9px; }

.footer-col a {
    color: #B4A892;
    font-size: 13.5px;
    text-decoration: none;
}

.footer-col a:hover { color: #E8C0C5; }

.footer-disclaimer {
    border-top: 1px solid #3A3226;
    padding-block: 22px;
}

.footer-disclaimer h3 {
    color: #E8DFC9;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.footer-disclaimer p {
    font-size: 12.5px;
    line-height: 1.65;
    color: #9C9080;
    margin: 0;
    max-width: 980px;
}

.footer-bottom {
    border-top: 1px solid #3A3226;
    padding-block: 18px;
}

.footer-bottom p { margin: 0; font-size: 12.5px; color: #8A7F6E; }

/* ---------- 404 ---------- */
.section-404 { padding-block: clamp(70px, 12vw, 130px); }
.icon-404 { margin-bottom: 20px; }
.section-404 .lead { max-width: 560px; margin-inline: auto; }

/* ---------- Scroll reveal (no-JS safe: animates only when .is-revealed added) ---------- */
[data-reveal].is-revealed {
    animation: rh-rise 0.55s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}

@keyframes rh-rise {
    from { opacity: 0.001; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal].is-revealed { animation: none; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

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

@media (min-width: 1021px) {
    .nav-burger { display: none; }
}

@media (max-width: 760px) {
    .hero__bg svg { opacity: 0.55; }
    .btn { font-size: 14.5px; padding: 13px 20px; }
    .countdown__seg { min-width: 64px; padding: 8px 10px; }
    .countdown__seg b { font-size: 24px; }
    .compare th, .compare td { padding: 11px 12px; font-size: 13.5px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .footer-top { grid-template-columns: 1fr; }
    .review__stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .cta-inline { flex-direction: column; align-items: flex-start; }
    .btn { white-space: normal; }
}

/* from 320px */
@media (max-width: 360px) {
    .container { padding-inline: 14px; }
    .review__stat dd { font-size: 13px; }
    .countdown { gap: 5px; }
    .countdown__seg { min-width: 58px; }
}

/* header CTA arrow */
.header-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    transition: transform 0.16s ease;
}

.btn-primary:hover .header-cta-icon { transform: translateX(3px); }

/* Shared layout fixes: ticker, phone selector, and homepage reviews. */
.tv-ticker-wrapper {
    padding-top: 0px !important;
    height: 58px !important;
}

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

@media (min-width: 961px) {
    .reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
    .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .reviews-grid { grid-template-columns: 1fr; }
}

.review__ava { object-fit: cover; }
