/*
 * Tripzo UI — shared design system for every public surface
 * (marketing site, agency storefront, customer portal).
 *
 * Plain CSS, no build step: served as a static, long-cacheable file.
 * Tenant branding: override --brand / --brand-ink / --brand-soft on <html>.
 * Dark mode: follows the OS unless <html data-theme="light|dark"> pins it.
 */

/* ---------- Tokens ---------- */
:root {
    --brand: #0f766e;
    --brand-ink: #0b5f58;
    --brand-soft: #e6f4f2;
    --brand-contrast: #ffffff;
    --brand-text: var(--brand);
    --accent: #f59e0b;
    --accent-ink: #1c1206;

    --bg: #f7f8fa;
    --surface: #ffffff;
    --surface-2: #f1f3f6;
    --text: #111827;
    --muted: #4b5563;
    --subtle: #6b7280;
    --border: #e3e6eb;
    --ring: color-mix(in srgb, var(--brand) 45%, transparent);

    --ok: #15803d;  --ok-soft: #dcfce7;
    --warn: #b45309; --warn-soft: #fef3c7;
    --err: #b91c1c; --err-soft: #fee2e2;
    --info: #1d4ed8; --info-soft: #dbeafe;

    --hero-from: #0b3b39;
    --hero-to: #0f766e;

    --radius: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
    --shadow: 0 1px 3px rgba(16, 24, 40, .08), 0 8px 24px -12px rgba(16, 24, 40, .12);
    --shadow-lg: 0 24px 60px -24px rgba(16, 24, 40, .28);

    --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --brand-soft: color-mix(in srgb, var(--brand) 22%, #0d1117);
        --brand-text: color-mix(in srgb, var(--brand) 50%, #fff);
        --bg: #0b0f14;
        --surface: #121821;
        --surface-2: #19212c;
        --text: #e8ecf1;
        --muted: #b4bcc8;
        --subtle: #8f99a8;
        --border: #263040;
        --ok-soft: #0f2e1b; --ok: #4ade80;
        --warn-soft: #33240a; --warn: #fbbf24;
        --err-soft: #3a1414; --err: #f87171;
        --info-soft: #132443; --info: #93c5fd;
        --hero-from: #061a19;
        --hero-to: #0b4d48;
        --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
        --shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, .7);
        color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --brand-soft: color-mix(in srgb, var(--brand) 22%, #0d1117);
    --brand-text: color-mix(in srgb, var(--brand) 50%, #fff);
    --bg: #0b0f14;
    --surface: #121821;
    --surface-2: #19212c;
    --text: #e8ecf1;
    --muted: #b4bcc8;
    --subtle: #8f99a8;
    --border: #263040;
    --ok-soft: #0f2e1b; --ok: #4ade80;
    --warn-soft: #33240a; --warn: #fbbf24;
    --err-soft: #3a1414; --err: #f87171;
    --info-soft: #132443; --info: #93c5fd;
    --hero-from: #061a19;
    --hero-to: #0b4d48;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, .7);
    color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
    margin: 0; background: var(--bg); color: var(--text);
    font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 750; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-underline-offset: 3px; }
:root[data-theme="dark"] a, .tz-dark-links a { color: color-mix(in srgb, var(--brand) 55%, #fff); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) a { color: color-mix(in srgb, var(--brand) 55%, #fff); } }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 6px; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
small, .tz-small { font-size: .875rem; }
.tz-muted { color: var(--muted); }
.tz-subtle { color: var(--subtle); }
.tz-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tz-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow); }
.tz-skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.tz-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.tz-narrow { max-width: 820px; }
.tz-section { padding: clamp(56px, 8vw, 96px) 0; }
.tz-section--alt { background: var(--surface); border-block: 1px solid var(--border); }
.tz-section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 52px); }
.tz-section-head p { color: var(--muted); font-size: 1.0625rem; }
.tz-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px;
}
:root[data-theme="dark"] .tz-eyebrow { color: color-mix(in srgb, var(--brand) 50%, #fff); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tz-eyebrow { color: color-mix(in srgb, var(--brand) 50%, #fff); } }
.tz-grid { display: grid; gap: 20px; }
.tz-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tz-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tz-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .tz-grid-3, .tz-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tz-grid-2, .tz-grid-3, .tz-grid-4 { grid-template-columns: 1fr; } }
.tz-stack > * + * { margin-top: 12px; }
.tz-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tz-between { justify-content: space-between; }
.tz-center { text-align: center; }

/* ---------- Header / nav ---------- */
.tz-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--border);
}
.tz-header-inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.tz-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--text) !important; text-decoration: none; letter-spacing: -.02em; }
.tz-logo-mark {
    width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none;
    background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #000)); color: #fff; font-size: 1rem;
}
.tz-logo img { height: 34px; width: auto; border-radius: 6px; }
.tz-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.tz-nav a:not(.tz-btn) {
    color: var(--muted) !important; text-decoration: none; font-weight: 550; font-size: .9375rem;
    padding: 8px 12px; border-radius: 8px;
}
.tz-nav a:not(.tz-btn):hover, .tz-nav a[aria-current="page"] { color: var(--text) !important; background: var(--surface-2); }
.tz-icon-btn.tz-nav-toggle { display: none; margin-left: auto; }
@media (max-width: 900px) {
    .tz-icon-btn.tz-nav-toggle { display: inline-grid; }
    .tz-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 20px;
        background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    }
    .tz-nav[data-open="true"] { display: flex; }
    .tz-nav a:not(.tz-btn) { padding: 12px; }
    .tz-nav .tz-btn { margin-top: 8px; justify-content: center; }
}
.tz-icon-btn {
    display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
    border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer;
}
.tz-icon-btn:hover { background: var(--surface-2); }
.tz-icon-btn svg { width: 20px; height: 20px; }
.tz-theme-toggle .tz-sun { display: none; }
:root[data-theme="dark"] .tz-theme-toggle .tz-sun { display: block; }
:root[data-theme="dark"] .tz-theme-toggle .tz-moon { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .tz-theme-toggle .tz-sun { display: block; }
    :root:not([data-theme]) .tz-theme-toggle .tz-moon { display: none; }
}

/* ---------- Buttons ---------- */
.tz-btn {
    --_bg: var(--surface); --_fg: var(--text); --_bd: var(--border);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 10px 20px; border-radius: 10px; border: 1px solid var(--_bd);
    background: var(--_bg); color: var(--_fg) !important; font: 650 .9375rem/1.2 var(--font);
    text-decoration: none !important; cursor: pointer; white-space: nowrap;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease, filter .12s ease;
}
.tz-btn:hover { box-shadow: var(--shadow); filter: brightness(1.03); }
.tz-btn:active { transform: translateY(1px); }
.tz-btn[disabled], .tz-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.tz-btn--primary { --_bg: var(--brand); --_fg: var(--brand-contrast); --_bd: var(--brand); }
.tz-btn--primary:hover { --_bg: var(--brand-ink); }
.tz-btn--accent { --_bg: var(--accent); --_fg: var(--accent-ink); --_bd: var(--accent); }
.tz-btn--ghost { --_bg: transparent; }
.tz-btn--on-dark { --_bg: rgba(255,255,255,.1); --_fg: #fff; --_bd: rgba(255,255,255,.3); }
.tz-btn--on-dark:hover { --_bg: rgba(255,255,255,.18); }
.tz-btn--lg { min-height: 52px; padding: 14px 28px; font-size: 1rem; border-radius: 12px; }
.tz-btn--sm { min-height: 36px; padding: 6px 14px; font-size: .875rem; border-radius: 8px; }
.tz-btn--block { width: 100%; }
.tz-btn--wa { --_bg: #128c4a; --_fg: #fff; --_bd: #128c4a; }

/* ---------- Cards ---------- */
.tz-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-sm);
}
.tz-card--hover { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.tz-card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
.tz-card--flush { padding: 0; overflow: hidden; }
.tz-card h3 { margin-bottom: 6px; }
.tz-card p { color: var(--muted); font-size: .9375rem; }
.tz-card p:last-child { margin-bottom: 0; }
.tz-ic {
    width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px;
    background: var(--brand-soft); color: var(--brand); flex: none;
}
:root[data-theme="dark"] .tz-ic { color: color-mix(in srgb, var(--brand) 45%, #fff); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tz-ic { color: color-mix(in srgb, var(--brand) 45%, #fff); } }
.tz-ic svg { width: 22px; height: 22px; }

/* ---------- Badges / pills ---------- */
.tz-badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
    font-size: .75rem; font-weight: 700; background: var(--surface-2); color: var(--muted); white-space: nowrap;
}
.tz-badge--brand { background: var(--brand-soft); color: var(--brand); }
:root[data-theme="dark"] .tz-badge--brand { color: color-mix(in srgb, var(--brand) 45%, #fff); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tz-badge--brand { color: color-mix(in srgb, var(--brand) 45%, #fff); } }
.tz-badge--ok { background: var(--ok-soft); color: var(--ok); }
.tz-badge--warn { background: var(--warn-soft); color: var(--warn); }
.tz-badge--err { background: var(--err-soft); color: var(--err); }
.tz-badge--info { background: var(--info-soft); color: var(--info); }
.tz-badge--accent { background: var(--accent); color: var(--accent-ink); }

/* ---------- Forms ---------- */
.tz-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.tz-label { font-size: .875rem; font-weight: 650; color: var(--text); }
.tz-label .req { color: var(--err); }
.tz-hint { font-size: .8125rem; color: var(--subtle); }
.tz-input, .tz-select, .tz-textarea {
    width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--border) 60%, var(--subtle)); background: var(--surface); color: var(--text);
    font: 400 1rem/1.4 var(--font); transition: border-color .12s, box-shadow .12s;
}
.tz-textarea { min-height: 110px; resize: vertical; }
.tz-input::placeholder, .tz-textarea::placeholder { color: var(--subtle); }
.tz-input:focus, .tz-select:focus, .tz-textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--ring); }
.tz-input[aria-invalid="true"], .tz-select[aria-invalid="true"], .tz-textarea[aria-invalid="true"] { border-color: var(--err); }
.tz-error { font-size: .8125rem; color: var(--err); font-weight: 600; }
.tz-alert { border-radius: 12px; padding: 12px 16px; font-size: .9375rem; border: 1px solid transparent; margin-bottom: 16px; }
.tz-alert--ok { background: var(--ok-soft); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 25%, transparent); }
.tz-alert--err { background: var(--err-soft); color: var(--err); border-color: color-mix(in srgb, var(--err) 25%, transparent); }
.tz-alert--info { background: var(--info-soft); color: var(--info); border-color: color-mix(in srgb, var(--info) 25%, transparent); }
.tz-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Segmented / tabs */
.tz-seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.tz-seg button, .tz-seg a {
    border: 0; background: transparent; color: var(--muted); font: 650 .9rem/1 var(--font);
    padding: 10px 16px; border-radius: 9px; cursor: pointer; text-decoration: none; min-height: 40px;
    display: inline-flex; align-items: center; gap: 8px;
}
.tz-seg [aria-selected="true"], .tz-seg [aria-pressed="true"], .tz-seg [aria-current="page"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

/* ---------- Hero ---------- */
.tz-hero {
    position: relative; overflow: hidden; color: #fff; isolation: isolate;
    background:
        radial-gradient(1000px 480px at 85% -10%, rgba(245,158,11,.20), transparent 60%),
        radial-gradient(800px 480px at -5% 110%, rgba(56,189,248,.18), transparent 55%),
        linear-gradient(135deg, var(--hero-from) 0%, var(--hero-to) 100%);
    padding: clamp(56px, 9vw, 104px) 0 clamp(64px, 9vw, 112px);
}
.tz-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .3; pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.tz-hero h1, .tz-hero h2, .tz-hero h3 { color: #fff; }
.tz-hero a:not(.tz-btn) { color: #fff; }
.tz-hero .tz-lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.88); max-width: 620px; }
.tz-hero .tz-eyebrow, .tz-pill-dark {
    color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24);
    padding: 6px 14px; border-radius: 999px; text-transform: none; letter-spacing: 0; font-weight: 600;
}
.tz-hl { background: linear-gradient(90deg, #fde68a, #f59e0b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tz-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .tz-hero-grid { grid-template-columns: 1fr; } }
.tz-ticks { display: flex; flex-wrap: wrap; gap: 10px 20px; list-style: none; padding: 0; margin: 24px 0 0; font-size: .9rem; color: rgba(255,255,255,.88); }
.tz-ticks li::before { content: "✓"; color: #6ee7b7; font-weight: 800; margin-right: 8px; }
.tz-page-hero { padding: clamp(48px, 7vw, 80px) 0 clamp(48px, 7vw, 72px); text-align: center; }
.tz-page-hero .tz-lead { margin-inline: auto; }

/* ---------- Lists / checks ---------- */
.tz-checks { list-style: none; padding: 0; margin: 0; }
.tz-checks li { position: relative; padding: 6px 0 6px 28px; color: var(--text); font-size: .9375rem; }
.tz-checks li::before {
    content: ""; position: absolute; left: 0; top: 10px; width: 18px; height: 18px; border-radius: 50%;
    background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230f766e'%3E%3Cpath d='M8.1 13.3 4.8 10l-1.1 1.1 4.4 4.4 9-9-1.1-1.1z'/%3E%3C/svg%3E") center/14px no-repeat;
}
.tz-checks li.off { color: var(--subtle); }
.tz-checks li.off::before { background: var(--surface-2); content: "–"; display: grid; place-items: center; font-size: 12px; color: var(--subtle); top: 8px; }

/* ---------- Tables ---------- */
.tz-table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.tz-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.tz-table th, .tz-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.tz-table thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--subtle); background: var(--surface-2); position: sticky; top: 0; }
.tz-table tbody tr:last-child td { border-bottom: 0; }
.tz-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.tz-table th.tz-group { background: var(--bg); color: var(--text); font-size: .8125rem; }

/* ---------- FAQ ---------- */
.tz-faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; }
.tz-faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 650; position: relative; }
.tz-faq summary::-webkit-details-marker { display: none; }
.tz-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--brand); font-weight: 400; }
.tz-faq details[open] summary::after { content: "−"; }
.tz-faq details > div { padding: 0 20px 18px; color: var(--muted); }

/* ---------- Pricing ---------- */
.tz-plan { position: relative; display: flex; flex-direction: column; }
.tz-plan--featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.tz-plan .tz-ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); }
.tz-price { font-size: 2.25rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tz-price small { font-size: .9375rem; font-weight: 500; color: var(--subtle); letter-spacing: 0; }
.tz-plan .tz-checks { flex: 1; margin: 18px 0 22px; }
[data-billing="monthly"] .tz-annual-only, [data-billing="annual"] .tz-monthly-only { display: none !important; }

/* ---------- Stats / logos / testimonials ---------- */
.tz-stat { text-align: center; }
.tz-stat b { display: block; font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; color: var(--text); }
.tz-stat span { color: var(--muted); font-size: .9rem; }
.tz-quote { display: flex; flex-direction: column; gap: 16px; }
.tz-quote blockquote { margin: 0; font-size: 1rem; color: var(--text); }
.tz-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--brand-soft); color: var(--brand); flex: none; }

/* ---------- Browser mock / demo ---------- */
.tz-mock { background: var(--surface); color: var(--text); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -24px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.08); }
.tz-mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.tz-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d1d5db; }
.tz-mock-bar i:nth-child(1) { background: #f87171; } .tz-mock-bar i:nth-child(2) { background: #fbbf24; } .tz-mock-bar i:nth-child(3) { background: #34d399; }
.tz-mock-bar span { margin-left: 8px; font-size: .75rem; color: var(--subtle); background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 2px 10px; }
.tz-mock-body { padding: 16px; }
.tz-fare { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; background: var(--surface); }
.tz-fare .air { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: .75rem; color: #fff; }
.tz-fare .t { font-weight: 700; font-size: .9375rem; }
.tz-fare .s { font-size: .75rem; color: var(--subtle); }
.tz-fare .p { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.tz-fare .e { display: block; font-size: .6875rem; font-weight: 700; color: var(--ok); }

/* ---------- CTA band ---------- */
.tz-cta-band {
    border-radius: 24px; padding: clamp(32px, 6vw, 64px); color: #fff; text-align: center;
    background: radial-gradient(600px 300px at 90% 0%, rgba(245,158,11,.25), transparent 60%), linear-gradient(120deg, #111827, var(--hero-to));
}
.tz-cta-band h2 { color: #fff; }
.tz-cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin-inline: auto; }

/* ---------- Footer ---------- */
.tz-footer { background: #0b1220; color: #a3adbd; padding: 64px 0 28px; margin-top: 0; font-size: .9375rem; }
.tz-footer a { color: #d5dbe5 !important; text-decoration: none; }
.tz-footer a:hover { color: #fff !important; text-decoration: underline; }
.tz-footer h2 { color: #fff; font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.tz-footer ul { list-style: none; padding: 0; margin: 0; }
.tz-footer li { padding: 5px 0; }
.tz-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 900px) { .tz-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tz-footer-grid { grid-template-columns: 1fr; } }
.tz-footer .tz-logo { color: #fff !important; }
.tz-footer-bottom { border-top: 1px solid #1e293b; margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .8125rem; }

/* ---------- Prose (CMS / legal) ---------- */
.tz-prose { font-size: 1.0625rem; color: var(--text); }
.tz-prose h1 { font-size: clamp(1.875rem, 4vw, 2.5rem); }
.tz-prose h2 { font-size: 1.375rem; margin-top: 2em; }
.tz-prose h3 { font-size: 1.125rem; margin-top: 1.6em; }
.tz-prose p, .tz-prose li { color: var(--muted); }
.tz-prose ul, .tz-prose ol { padding-left: 1.4em; }
.tz-prose li { margin: .35em 0; }
.tz-prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .9375rem; }
.tz-prose th, .tz-prose td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.tz-prose code { font-family: var(--mono); background: var(--surface-2); padding: 1px 6px; border-radius: 5px; font-size: .9em; }
.tz-toc { position: sticky; top: 88px; font-size: .9rem; }
.tz-toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--muted) !important; text-decoration: none; }
.tz-toc a:hover, .tz-toc a[aria-current="page"] { background: var(--surface-2); color: var(--text) !important; }

/* ---------- Cookie consent ---------- */
.tz-cookie {
    position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto;
    background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 16px;
    box-shadow: var(--shadow-lg); padding: 18px 20px; font-size: .9rem;
}
.tz-cookie[hidden] { display: none; }
.tz-cookie p { margin: 0 0 12px; color: var(--muted); }

/* ---------- Floating WhatsApp ---------- */
.tz-wa-fab {
    position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px;
    background: #128c4a; color: #fff !important; border-radius: 999px; padding: 12px 18px 12px 14px; font-weight: 700;
    text-decoration: none !important; box-shadow: 0 12px 30px -8px rgba(18,140,74,.55);
}
.tz-wa-fab svg { width: 22px; height: 22px; }
@media (max-width: 520px) { .tz-wa-fab span { display: none; } .tz-wa-fab { padding: 14px; } }

/* ---------- App shell (portal) ---------- */
.tz-app-main { padding: 24px 0 96px; }
.tz-kpi { display: flex; flex-direction: column; gap: 4px; }
.tz-kpi b { font-size: 1.5rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tz-kpi span { font-size: .8125rem; color: var(--subtle); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.tz-list { list-style: none; padding: 0; margin: 0; }
.tz-list > li { padding: 16px 0; border-bottom: 1px solid var(--border); }
.tz-list > li:last-child { border-bottom: 0; }
.tz-empty { text-align: center; padding: 36px 16px; color: var(--subtle); }
.tz-empty svg { width: 40px; height: 40px; margin-bottom: 8px; opacity: .6; }
.tz-tabbar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: none;
    background: var(--surface); border-top: 1px solid var(--border); padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}
.tz-tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .6875rem; font-weight: 650; color: var(--subtle) !important; text-decoration: none; padding: 6px; border-radius: 10px; }
.tz-tabbar a[aria-current="page"] { color: var(--brand) !important; background: var(--brand-soft); }
.tz-tabbar svg { width: 22px; height: 22px; }
@media (max-width: 720px) { .tz-tabbar { display: flex; } }

/* ---------- Utilities ---------- */
.tz-mt-0 { margin-top: 0; } .tz-mt-1 { margin-top: 8px; } .tz-mt-2 { margin-top: 16px; } .tz-mt-3 { margin-top: 24px; } .tz-mt-4 { margin-top: 40px; }
.tz-mb-0 { margin-bottom: 0; } .tz-mb-2 { margin-bottom: 16px; } .tz-mb-3 { margin-bottom: 24px; }
.tz-w-full { width: 100%; }
.tz-nowrap { white-space: nowrap; }
.tz-num { font-variant-numeric: tabular-nums; }
.tz-divider { height: 1px; background: var(--border); margin: 16px 0; }

/* Segmented control on dark hero */
.tz-seg--on-dark { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.tz-seg--on-dark button { color: rgba(255,255,255,.85); }
.tz-seg--on-dark [aria-pressed="true"] { background: #fff; color: #0b1220; }
.tz-plans { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
@media (max-width: 1120px) { .tz-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tz-plans { grid-template-columns: 1fr; } }
.tz-plans .tz-plan { padding-top: 30px; }

/* ---------- Storefront ---------- */
.sf-pkg { display: flex; flex-direction: column; text-decoration: none !important; color: inherit !important; }
.sf-pkg-img { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 50%, #000)) center / cover; }
.sf-pkg-img .tz-badge { position: absolute; top: 12px; left: 12px; }
.sf-pkg-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.sf-pkg-body .tz-badge { align-self: flex-start; }
.sf-pkg-body h3 { margin: 4px 0 0; font-size: 1.0625rem; }
.sf-pkg-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.sf-pkg-foot b { font-size: 1.25rem; }
.sf-search { background: var(--surface); color: var(--text); border-radius: 18px; padding: 10px; box-shadow: var(--shadow-lg); margin-top: 28px; max-width: 980px; }
.sf-search .tz-seg { margin: 6px 6px 0; }
.sf-panel { padding: 14px 8px 8px; }
.sf-panel[hidden] { display: none; }
.sf-fields { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
@media (max-width: 820px) { .sf-fields { grid-template-columns: 1fr 1fr; } .sf-fields > :last-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .sf-fields { grid-template-columns: 1fr; } }
.sf-fields .tz-field { margin: 0; }
.sf-fields .tz-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--subtle); }
.sf-dest { position: relative; display: flex; align-items: flex-end; min-height: 220px; border-radius: 18px; overflow: hidden; color: #fff !important; text-decoration: none !important; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 40%, #000)) center / cover; box-shadow: var(--shadow); }
.sf-dest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), transparent 60%); }
.sf-dest span { position: relative; z-index: 1; padding: 18px; }
.sf-dest b { display: block; font-size: 1.25rem; }
.sf-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .sf-layout { grid-template-columns: 1fr; } }
.sf-sticky { position: sticky; top: 84px; }
.sf-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.sf-filters .tz-field { margin: 0; min-width: 170px; flex: 1; }
.sf-legacy a { text-decoration: none; }
@media (min-width: 901px) { .tz-footer-grid--4 { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.tz-grid-3x { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 480px) { .tz-grid-3x .tz-kpi b { font-size: 1.125rem; } .tz-grid-3x .tz-kpi span { font-size: .6875rem; } .tz-grid-3x > .tz-card { padding: 12px !important; } }
.tz-logo > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52vw; }

.tz-seg svg { width: 18px; height: 18px; flex: none; }
.sf-pkg-foot b, .tz-price { color: var(--text); }

/* ---------- Motion (GSAP, resources/js/motion.js) ----------
   html.tz-anim is set by an inline head script only when motion is allowed and
   the bundle exists; motion.js removes it (2.5s failsafe), so content can never
   stay hidden. Only above-the-fold hero pieces are pre-hidden (avoids a flash). */
html.tz-anim [data-split],
html.tz-anim [data-hero-item],
html.tz-anim [data-hero-ticks] > li,
html.tz-anim [data-hero-mock],
html.tz-anim [data-hero-stagger] > * { visibility: hidden; }
[data-split] .tz-line { overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.tz-will { will-change: transform, opacity; }
.tz-hl .tz-word { background: linear-gradient(90deg, #fde68a, #f59e0b); -webkit-background-clip: text; background-clip: text; color: transparent; }
