/* ============================================================
   MAIN STYLESHEET — Internet und Simkarte
   Mobile-first. Imports tokens. Components are utility-light,
   class-based and conversion-focused.
   ============================================================ */

/* ============================================================
   DESIGN TOKENS — Internet und Simkarte
   Single source of truth for color, type, spacing, radius, shadow.
   ============================================================ */
:root {
  /* ---- Brand color ---- */
  --brand-50:  #eef3ff;
  --brand-100: #dbe5ff;
  --brand-200: #b9ccff;
  --brand-300: #8aa9ff;
  --brand-400: #5a7dff;
  --brand-500: #2f5bff;
  --brand-600: #1554f0;  /* primary */
  --brand-700: #0e3fbe;
  --brand-800: #0d348f;
  --brand-900: #0a2a7a;

  /* ---- Accent (conversion / CTA) ---- */
  --accent-400: #ff9a4d;
  --accent-500: #ff7a1a;
  --accent-600: #ed6705;
  --accent-700: #c4520a;

  /* ---- Semantic ---- */
  --success-500: #15a66a;
  --success-50:  #e7f8f0;
  --warning-500: #f5a524;
  --danger-500:  #e5484d;
  --danger-50:   #fdecec;

  /* ---- Neutral / ink ---- */
  --ink-900: #0b1220;
  --ink-800: #0f172a;
  --ink-700: #1e293b;
  --ink-600: #334155;
  --ink-500: #475569;
  --ink-400: #64748b;
  --ink-300: #94a3b8;
  --ink-200: #cbd5e1;
  --ink-100: #e2e8f0;
  --ink-50:  #f1f5f9;

  --bg:        #ffffff;
  --surface:   #f6f8ff;
  --surface-2: #eef2fb;
  --line:      #e6eaf2;

  /* ---- Typography ---- */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", sans-serif;
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Fluid type scale (clamp: min, preferred, max) */
  --fs-xs:   0.78rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.0625rem;
  --fs-lg:   clamp(1.125rem, 1.0rem + 0.5vw, 1.3rem);
  --fs-xl:   clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  --fs-2xl:  clamp(1.7rem, 1.3rem + 1.8vw, 2.4rem);
  --fs-3xl:  clamp(2.1rem, 1.5rem + 2.8vw, 3.2rem);
  --fs-4xl:  clamp(2.5rem, 1.6rem + 4vw, 4rem);

  --lh-tight: 1.12;
  --lh-snug:  1.3;
  --lh-base:  1.65;

  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semi:    600;
  --fw-bold:    700;
  --fw-black:   800;

  /* ---- Spacing scale (4px base) ---- */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.5rem;
  --sp-6:  2rem;
  --sp-7:  2.5rem;
  --sp-8:  3rem;
  --sp-9:  4rem;
  --sp-10: 5rem;
  --sp-12: 7rem;

  /* ---- Layout ---- */
  --container: 1180px;
  --container-narrow: 760px;
  --container-wide: 1320px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 72px;

  /* ---- Radius ---- */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* ---- Shadow ---- */
  --sh-xs: 0 1px 2px rgba(15, 23, 42, 0.06);
  --sh-sm: 0 2px 8px rgba(15, 23, 42, 0.07);
  --sh-md: 0 8px 24px rgba(15, 23, 42, 0.09);
  --sh-lg: 0 18px 48px rgba(13, 52, 143, 0.16);
  --sh-brand: 0 12px 30px rgba(21, 84, 240, 0.28);
  --sh-accent: 0 12px 30px rgba(255, 122, 26, 0.30);

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 140ms;
  --t-base: 220ms;
  --t-slow: 380ms;

  --z-header: 1000;
  --z-overlay: 1100;
  --z-modal: 1200;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}



/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: var(--lh-base);
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
table, pre, iframe { max-width: 100%; }
/* Never let a long word / URL push the layout wider than the screen */
h1, h2, h3, h4, p, li, a, blockquote { overflow-wrap: break-word; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: var(--brand-700); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--brand-800); }
ul, ol { padding: 0; list-style-position: inside; }
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 2px; border-radius: 4px; }
hr { border: none; border-top: 1px solid var(--line); margin: var(--sp-6) 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-900); line-height: var(--lh-tight); font-weight: var(--fw-black); letter-spacing: -0.02em; }
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-lg); font-weight: var(--fw-bold); }
p { color: var(--ink-600); }
strong { color: var(--ink-800); font-weight: var(--fw-semi); }
small { font-size: var(--fs-sm); }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-sm); font-weight: var(--fw-bold); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand-600);
}
.lead { font-size: var(--fs-lg); color: var(--ink-500); line-height: var(--lh-base); }
.text-gradient { background: linear-gradient(100deg, var(--brand-600), var(--brand-400) 60%, var(--accent-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section--surface { background: var(--surface); }
.section--ink { background: var(--ink-900); color: var(--ink-100); }
.section--brand { background: linear-gradient(135deg, var(--brand-700), var(--brand-900)); color: #fff; }
.section-head { max-width: 760px; margin-bottom: var(--sp-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: var(--sp-3); }
.stack > * + * { margin-top: var(--sp-4); }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.split { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 920px) { .split { grid-template-columns: 1.05fr 0.95fr; } .split--reverse > :first-child { order: 2; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand-600); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: 0.85em 1.5em; border-radius: var(--r-full); border: 2px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: var(--fw-bold); font-size: var(--fs-base); line-height: 1; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-base) var(--ease), background var(--t-base) var(--ease);
  text-align: center;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--brand-600); box-shadow: var(--sh-brand); }
.btn--primary:hover { --btn-bg: var(--brand-700); }
.btn--accent { --btn-bg: var(--accent-500); box-shadow: var(--sh-accent); }
.btn--accent:hover { --btn-bg: var(--accent-600); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--brand-700); --btn-bd: var(--brand-200); }
.btn--ghost:hover { --btn-bg: var(--brand-50); --btn-fg: var(--brand-800); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--brand-700); box-shadow: var(--sh-md); }
.btn--white:hover { --btn-fg: var(--brand-800); }
.btn--block { display: flex; width: 100%; }
.btn--lg { padding: 1em 1.9em; font-size: var(--fs-md); }
.btn--sm { padding: 0.6em 1.1em; font-size: var(--fs-sm); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  /* NOTE: do NOT use backdrop-filter/filter/transform here — it would trap the
     position:fixed mobile drawer & backdrop inside the header box. Solid bg instead. */
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--sp-5); }
.brand { display: inline-flex; align-items: center; gap: var(--sp-3); font-weight: var(--fw-black); color: var(--ink-900); font-size: 1.05rem; white-space: nowrap; }
.brand:hover { color: var(--brand-700); }
.brand__logo { width: 38px; height: 38px; flex: 0 0 auto; }
.brand__name { line-height: 1.05; letter-spacing: -0.02em; }
.brand__name small { display: block; font-size: 0.7rem; font-weight: var(--fw-medium); color: var(--ink-400); letter-spacing: 0.02em; }

.nav__menu { display: none; }
.nav__actions { display: flex; align-items: center; gap: var(--sp-3); min-width: 0; }
.nav__phone { display: none; }

/* Mobile: the long header CTA would overflow narrow phones -> hide it below 768px.
   Conversion path stays available via the CTA inside the drawer (.nav__mobile-extra). */
.nav__cta { display: none; }
@media (min-width: 768px) { .nav__cta { display: inline-flex; } }

/* Drawer-only block (CTA + phone + WhatsApp); hidden on desktop nav */
.nav__mobile-extra { list-style: none; display: flex; flex-direction: column; gap: var(--sp-2); margin-top: var(--sp-3); padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.nav__mobile-extra .btn { margin-bottom: var(--sp-2); }
.nav__mobile-link { display: flex; align-items: center; gap: var(--sp-2); padding: 0.6em 0.75em; border-radius: var(--r-sm); color: var(--ink-600); font-weight: var(--fw-semi); white-space: nowrap; }
.nav__mobile-link:hover { background: var(--surface); color: var(--brand-700); }

/* Keep the brand from forcing overflow on very small phones */
/* Never shrink the brand — shrinking let its nowrap text overflow under the nav */
.brand { flex-shrink: 0; }
/* Subtitle only on wide screens; below that it widens the brand and crowds the nav */
@media (max-width: 1200px) { .brand__name small { display: none; } }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; border-radius: var(--r-sm); }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink-800); border-radius: 2px; transition: transform var(--t-base) var(--ease), opacity var(--t-fast); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav__menu {
  list-style: none; margin: 0;
  position: fixed; inset: var(--header-h) 0 0 auto; width: min(86vw, 360px);
  background: #fff; border-left: 1px solid var(--line); box-shadow: var(--sh-lg);
  flex-direction: column; padding: var(--sp-5); gap: var(--sp-1); overflow-y: auto;
  transform: translateX(100%); transition: transform var(--t-base) var(--ease);
  z-index: var(--z-overlay);
}
.nav__menu.is-open { display: flex; transform: translateX(0); }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2);
  padding: 0.8em 0.75em; border-radius: var(--r-sm); color: var(--ink-700); font-weight: var(--fw-semi);
  white-space: nowrap;
}
.nav__link:hover, .nav__link[aria-current="page"] { background: var(--brand-50); color: var(--brand-700); }
.nav__caret { width: 16px; height: 16px; transition: transform var(--t-base) var(--ease); flex: 0 0 auto; }
.nav__item.is-open > .nav__link .nav__caret { transform: rotate(180deg); }
.nav__submenu { display: none; flex-direction: column; padding: var(--sp-1) 0 var(--sp-2) var(--sp-4); }
.nav__item.is-open .nav__submenu { display: flex; }
.nav__sublink { padding: 0.6em 0.75em; border-radius: var(--r-sm); color: var(--ink-500); font-weight: var(--fw-medium); white-space: nowrap; }
.nav__sublink:hover { background: var(--surface); color: var(--brand-700); }

.nav-backdrop { position: fixed; inset: 0; background: rgba(11, 18, 32, 0.45); opacity: 0; visibility: hidden; transition: opacity var(--t-base); z-index: 1; }
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

@media (min-width: 1024px) {
  .nav-toggle, .nav-backdrop { display: none; }
  .nav__mobile-extra { display: none; }
  .nav__primary { flex: 1 1 auto; display: flex; justify-content: center; }
  .nav__menu {
    position: static; width: auto; flex-direction: row; align-items: center; gap: var(--sp-1);
    background: none; border: none; box-shadow: none; padding: 0; transform: none; overflow: visible;
    flex-wrap: nowrap;
  }
  .nav__menu { display: flex; }
  .nav__link { padding: 0.55em 0.85em; }
  .nav__caret { width: 14px; height: 14px; }
  .nav__submenu {
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 270px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-lg);
    padding: var(--sp-2); display: flex; opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity var(--t-fast), transform var(--t-base) var(--ease), visibility var(--t-fast);
  }
  .nav__item:hover .nav__submenu, .nav__item:focus-within .nav__submenu { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__item.is-open .nav__submenu { display: flex; }
  .nav__phone { display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: var(--fw-bold); color: var(--ink-800); white-space: nowrap; }
  .nav__phone:hover { color: var(--brand-700); }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 120% at 100% 0%, var(--brand-50), #fff 55%); }
.hero__inner { display: grid; gap: var(--sp-7); padding-block: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 920px) { .hero__inner { grid-template-columns: 1.05fr 0.95fr; align-items: center; } }
.hero h1 { margin-bottom: var(--sp-4); }
.hero .lead { margin-bottom: var(--sp-6); max-width: 38ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__trust { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-6); margin-top: var(--sp-6); align-items: center; }
.hero__trust-item { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); font-weight: var(--fw-semi); color: var(--ink-500); }
.hero__art { position: relative; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6);
  box-shadow: var(--sh-xs); transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base);
  height: 100%; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--brand-200); }
.card__icon {
  width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600); margin-bottom: var(--sp-4);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: var(--sp-2); font-size: var(--fs-lg); }
.card p { color: var(--ink-500); margin-bottom: var(--sp-4); flex: 1; }
.card__link { display: inline-flex; align-items: center; gap: 6px; font-weight: var(--fw-bold); color: var(--brand-600); white-space: nowrap; }
.card__link:hover { gap: 10px; }
.card--feature { background: linear-gradient(165deg, var(--brand-700), var(--brand-900)); color: #fff; border: none; }
.card--feature h3, .card--feature p { color: #fff; }
.card--feature .card__icon { background: rgba(255,255,255,0.16); color: #fff; }

/* ---------- Pills / badges / chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 0.35em 0.8em; border-radius: var(--r-full); font-size: var(--fs-xs); font-weight: var(--fw-bold); background: var(--brand-50); color: var(--brand-700); white-space: nowrap; }
.badge--accent { background: #fff1e6; color: var(--accent-700); }
.badge--success { background: var(--success-50); color: var(--success-500); }
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip { padding: 0.45em 0.95em; border-radius: var(--r-full); background: #fff; border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: var(--fw-semi); color: var(--ink-600); white-space: nowrap; }
.chip:hover { border-color: var(--brand-300); color: var(--brand-700); }

/* ---------- Partner logos strip ---------- */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-5) var(--sp-8); }
.logos span { font-weight: var(--fw-black); font-size: 1.3rem; color: var(--ink-300); letter-spacing: -0.02em; white-space: nowrap; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: var(--sp-5); }
.step { position: relative; padding-left: 4rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center; border-radius: var(--r-full);
  background: var(--brand-600); color: #fff; font-weight: var(--fw-black); font-size: 1.1rem;
}
.step h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-1); }

/* ---------- Stats ---------- */
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: var(--fw-black); color: var(--brand-600); line-height: 1; }
.stat__label { color: var(--ink-500); font-size: var(--fs-sm); font-weight: var(--fw-semi); margin-top: var(--sp-2); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; display: grid; gap: var(--sp-3); }
.checklist li { display: flex; align-items: flex-start; gap: var(--sp-3); color: var(--ink-600); }
.checklist li::before { content: ""; flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; border-radius: var(--r-full); background: var(--success-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315a66a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat; }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--sh-xs); }
.quote__stars { color: var(--accent-500); letter-spacing: 2px; margin-bottom: var(--sp-3); }
.quote p { color: var(--ink-700); font-size: var(--fs-md); }
.quote__author { margin-top: var(--sp-4); font-weight: var(--fw-bold); color: var(--ink-800); font-size: var(--fs-sm); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--brand-700), var(--brand-900)); color: #fff; border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; box-shadow: var(--sh-lg); }
.cta-band h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 52ch; margin-inline: auto; margin-bottom: var(--sp-6); }
.cta-band .hero__cta { justify-content: center; }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--sp-4); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--sh-md); }
.field { display: grid; gap: var(--sp-2); }
.field > label { font-weight: var(--fw-semi); color: var(--ink-700); font-size: var(--fs-sm); }
.field .req { color: var(--danger-500); }
.input, .select, .textarea {
  width: 100%; padding: 0.85em 1em; border: 1.5px solid var(--ink-200); border-radius: var(--r-sm);
  background: #fff; color: var(--ink-800); font-size: var(--fs-base);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-100); }
.textarea { min-height: 130px; resize: vertical; }
.field--invalid .input, .field--invalid .select, .field--invalid .textarea { border-color: var(--danger-500); box-shadow: 0 0 0 4px var(--danger-50); }
.field__error { color: var(--danger-500); font-size: var(--fs-xs); font-weight: var(--fw-semi); display: none; }
.field--invalid .field__error { display: block; }
.form-row { display: grid; gap: var(--sp-4); }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: var(--fs-sm); color: var(--ink-500); }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--brand-600); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: var(--fs-xs); color: var(--ink-400); }
.form-status { padding: var(--sp-4); border-radius: var(--r-sm); font-weight: var(--fw-semi); display: none; }
.form-status.is-success { display: block; background: var(--success-50); color: var(--success-500); }
.form-status.is-error { display: block; background: var(--danger-50); color: var(--danger-500); }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: var(--sp-3); }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-5); text-align: left; font-weight: var(--fw-bold); color: var(--ink-800); font-size: var(--fs-md); }
.faq__q:hover { color: var(--brand-700); }
.faq__icon { flex: 0 0 auto; width: 22px; height: 22px; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--brand-600); transition: transform var(--t-base) var(--ease); }
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; }
.faq__item.is-open .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--t-slow) var(--ease); }
.faq__a-inner { padding: 0 var(--sp-5) var(--sp-5); color: var(--ink-500); }

/* ---------- Breadcrumbs ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--ink-400); padding-block: var(--sp-4); }
.breadcrumb a { color: var(--ink-500); font-weight: var(--fw-medium); }
.breadcrumb a:hover { color: var(--brand-700); }
.breadcrumb span[aria-current] { color: var(--ink-700); font-weight: var(--fw-semi); }
.breadcrumb li { list-style: none; display: inline-flex; gap: var(--sp-2); }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--ink-300); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* ---------- Article / prose ---------- */
.prose { max-width: 720px; }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { font-size: var(--fs-2xl); margin-top: var(--sp-8); }
.prose h3 { font-size: var(--fs-xl); margin-top: var(--sp-6); }
.prose p, .prose li { color: var(--ink-600); }
.prose ul, .prose ol { padding-left: 1.25rem; list-style-position: outside; display: grid; gap: var(--sp-2); }
.prose a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brand-200); }
.prose a:hover { text-decoration-color: var(--brand-600); }
.prose img { border-radius: var(--r-md); margin-block: var(--sp-5); }
.prose blockquote { border-left: 4px solid var(--brand-300); padding: var(--sp-2) var(--sp-5); background: var(--surface); border-radius: var(--r-sm); color: var(--ink-600); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.prose th, .prose td { border: 1px solid var(--line); padding: var(--sp-3); text-align: left; }
.prose th { background: var(--surface); font-weight: var(--fw-bold); color: var(--ink-800); }
/* Tables scroll horizontally on small screens instead of overflowing the page */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-block: var(--sp-5); border: 1px solid var(--line); border-radius: var(--r-sm); }
.table-wrap > table { margin: 0; border: none; }
.table-wrap th, .table-wrap td { white-space: nowrap; }
@media (min-width: 640px) { .table-wrap th, .table-wrap td { white-space: normal; } }
.prose code { background: var(--surface-2); padding: 0.15em 0.45em; border-radius: 5px; font-size: 0.9em; }
.prose figure { margin: 0; }
.prose figcaption { font-size: var(--fs-sm); color: var(--ink-400); text-align: center; margin-top: var(--sp-2); }

/* ---------- TOC ---------- */
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-5); }
.toc strong { display: block; margin-bottom: var(--sp-2); color: var(--ink-800); }
.toc ol { list-style: decimal inside; display: grid; gap: var(--sp-1); }
.toc a { color: var(--ink-600); }
.toc a:hover { color: var(--brand-700); }

/* ---------- Blog cards ---------- */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: transform var(--t-base) var(--ease), box-shadow var(--t-base); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.post-card__media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--brand-100), var(--brand-50)); position: relative; }
.post-card__media svg { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; opacity: 0.4; }
.post-card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.post-card__meta { display: flex; gap: var(--sp-3); font-size: var(--fs-xs); color: var(--ink-400); font-weight: var(--fw-semi); }
.post-card h3 { font-size: var(--fs-lg); }
.post-card h3 a { color: var(--ink-900); }
.post-card h3 a:hover { color: var(--brand-700); }
.post-card p { color: var(--ink-500); font-size: var(--fs-sm); flex: 1; }

/* ---------- Pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: center; align-items: center; margin-top: var(--sp-8); }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 0.9em; border-radius: var(--r-sm); border: 1px solid var(--line); font-weight: var(--fw-bold); background: #fff; }
.pagination a:hover { border-color: var(--brand-400); color: var(--brand-700); }
.pagination [aria-current] { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.pagination .is-disabled { opacity: 0.4; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: var(--ink-200); padding-block: clamp(3rem, 6vw, 4.5rem) var(--sp-6); margin-top: var(--sp-9); }
.footer-grid { display: grid; gap: var(--sp-7); grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand .brand { color: #fff; }
.footer-brand .brand__name small { color: var(--ink-400); }
.footer-brand p { color: var(--ink-400); font-size: var(--fs-sm); margin-top: var(--sp-4); max-width: 32ch; }
.footer-col h4 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--sp-4); }
.footer-col ul { list-style: none; display: grid; gap: var(--sp-2); }
.footer-col a { color: var(--ink-300); font-size: var(--fs-sm); }
.footer-col a:hover { color: #fff; }
.footer-contact { display: grid; gap: var(--sp-2); margin-top: var(--sp-4); font-size: var(--fs-sm); }
.footer-contact a { color: var(--ink-200); font-weight: var(--fw-semi); }
.footer-social { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }
.footer-social a { width: 40px; height: 40px; border-radius: var(--r-full); display: grid; place-items: center; background: rgba(255,255,255,0.08); color: #fff; transition: background var(--t-base); }
.footer-social a:hover { background: var(--brand-600); }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: var(--sp-7); padding-top: var(--sp-5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); font-size: var(--fs-xs); color: var(--ink-400); }
.footer-bottom a { color: var(--ink-300); }
.footer-bottom a:hover { color: #fff; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: var(--z-header); width: 56px; height: 56px; border-radius: var(--r-full); background: #25d366; display: grid; place-items: center; box-shadow: var(--sh-lg); transition: transform var(--t-base); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: var(--z-modal); width: min(680px, calc(100% - 24px)); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: var(--sp-5); display: none; }
.cookie.is-visible { display: block; animation: cookieUp var(--t-slow) var(--ease); }
@keyframes cookieUp { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
.cookie h4 { margin-bottom: var(--sp-2); }
.cookie p { font-size: var(--fs-sm); color: var(--ink-500); margin-bottom: var(--sp-4); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.cookie__actions .btn { flex: 1; min-width: 140px; }

/* ---------- Hero visual blocks ---------- */
.glass-card { background: rgba(255,255,255,0.9); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5); box-shadow: var(--sh-lg); }
.tariff-mock { display: grid; gap: var(--sp-3); }
.tariff-row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.tariff-row strong { color: var(--ink-900); }
.tariff-row .price { color: var(--brand-600); font-weight: var(--fw-black); font-size: var(--fs-lg); white-space: nowrap; }
.tariff-row.is-best { border-color: var(--brand-300); box-shadow: 0 0 0 2px var(--brand-100); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: var(--z-modal); background: #fff; padding: 0.6em 1em; border-radius: var(--r-sm); box-shadow: var(--sh-md); font-weight: var(--fw-bold); }
.skip-link:focus { left: 8px; }
.flow > * + * { margin-top: var(--sp-5); }
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.fade-up.is-in { opacity: 1; transform: none; }
.divider-soft { height: 1px; background: var(--line); }
