/* ============================================================
   SM Solutions — Design System
   Author: SM Solutions
   Mobile-first, responsive, dark/light, glassmorphism
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette — vibrant purple/pink/cyan, matching the original SM Solutions look */
  --brand-500: #6D5EFC;
  --brand-600: #5B4FE0;
  --brand-700: #4A3FC7;
  --accent-500: #22D3EE;
  --accent-600: #06B6D4;
  --pink-500: #FF5D8F;

  --grad-brand: linear-gradient(135deg, #6D5EFC 0%, #4A3FC7 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(109,94,252,.12), rgba(74,63,199,.05));
  --grad-cta: linear-gradient(135deg, #FF5D8F 0%, #6D5EFC 100%);

  /* Light theme surfaces */
  --bg: #f7f7fb;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f0fb;
  --glass: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(109, 94, 252, 0.12);
  --text: #14121f;
  --text-2: #4a4560;
  --text-3: #837f99;
  --border: rgba(109, 94, 252, 0.12);
  --shadow-sm: 0 1px 2px rgba(20, 18, 40, 0.06);
  --shadow: 0 8px 30px rgba(20, 18, 40, 0.10);
  --shadow-lg: 0 24px 60px rgba(20, 18, 40, 0.16);
  --ring: rgba(109, 94, 252, 0.35);

  /* Type */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Sora", "Inter", system-ui, sans-serif;

  /* Sizing */
  --container: 1200px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --nav-h: 68px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.28s;
}

[data-theme="dark"] {
  --bg: #0b0d1a;
  --bg-2: #10121f;
  --surface: #151827;
  --surface-2: #1b1e30;
  --glass: rgba(21, 24, 39, 0.55);
  --glass-border: rgba(255, 255, 255, 0.10);
  --text: #f2f2f7;
  --text-2: #b8b6cc;
  --text-3: #86839c;
  --border: rgba(255, 255, 255, 0.09);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.55);
  --ring: rgba(109, 94, 252, 0.45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
input, textarea, select, button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 6px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.grid { display: grid; gap: clamp(1rem, 3vw, 1.75rem); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: .75rem; } .mt-2 { margin-top: 1.5rem; } .mt-3 { margin-top: 2.5rem; }
.maxw-60 { max-width: 60ch; } .maxw-70 { max-width: 70ch; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
p { color: var(--text-2); }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.28rem); color: var(--text-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--brand-500);
  padding: .4rem .85rem; border-radius: 999px;
  background: var(--grad-brand-soft); border: 1px solid var(--glass-border);
}
.gradient-text {
  background: var(--grad-brand); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.section-head { max-width: 60ch; margin-inline: auto; text-align: center; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head p { margin-top: .85rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  line-height: 1; text-align: center; white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 24px rgba(109, 94, 252, .35); }
.btn--primary:hover { box-shadow: 0 12px 34px rgba(109, 94, 252, .5); }
.btn--cta { background: var(--grad-cta); color: #fff; box-shadow: 0 8px 24px rgba(255, 93, 143, .35); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--brand-500); color: var(--brand-500); }
.btn--glass { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--glass-border); color: var(--text); }
.btn--lg { padding: 1rem 1.8rem; font-size: 1.02rem; }
.btn--sm { padding: .6rem 1.05rem; font-size: .85rem; }
.btn--block { display: flex; width: 100%; }
.btn--wa { background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, .35); }

/* ---------- Order page tabs ---------- */
.order-tabs { display: inline-flex; gap: .3rem; padding: .3rem; background: var(--surface-2); border-radius: 999px; margin-bottom: 2rem; }
.order-tab {
  border: none; background: transparent; cursor: pointer; font-family: var(--font-head);
  font-weight: 600; font-size: .92rem; padding: .6rem 1.4rem; border-radius: 999px; color: var(--text-2);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.order-tab.active { background: var(--grad-cta); color: #fff; }

/* ---------- Cards / Glass ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(109, 94, 252, .3); }
.glass {
  background: var(--glass); backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
}
.icon-badge {
  display: grid; place-items: center; width: 54px; height: 54px;
  border-radius: 15px; background: var(--grad-brand-soft);
  color: var(--brand-500); border: 1px solid var(--glass-border);
}
.icon-badge svg { width: 26px; height: 26px; }

/* ---------- Promo bar (honest, real countdown) ---------- */
.promo-bar {
  background: var(--grad-cta); color: #fff; font-size: .85rem; font-weight: 600;
  text-align: center; position: relative; z-index: 101; overflow: hidden;
}
.promo-bar__track {
  display: flex; align-items: center; width: max-content;
  animation: promo-marquee 16s linear infinite;
}
.promo-bar:hover .promo-bar__track { animation-play-state: paused; }
.promo-bar__inner {
  display: flex; align-items: center; flex-wrap: nowrap; white-space: nowrap;
  gap: .5rem; padding: .55rem 1.5rem;
}
.promo-bar__timer {
  font-family: var(--font-head); font-variant-numeric: tabular-nums;
  background: rgba(255,255,255,.22); padding: .15rem .6rem; border-radius: 999px; letter-spacing: .03em;
}
@keyframes promo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .promo-bar__track { animation: none; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--glass); backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--glass-border); box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--text); }
.brand__mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand__name span { color: var(--brand-500); }
.nav__links { display: flex; align-items: center; gap: .3rem; }
.nav__links a {
  padding: .5rem .8rem; border-radius: 999px; font-weight: 500; font-size: .93rem;
  color: var(--text-2); transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__links a:hover, .nav__links a.active { color: var(--text); background: var(--surface-2); }
.nav__actions { display: flex; align-items: center; gap: .5rem; }
.theme-toggle {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.theme-toggle:hover { transform: rotate(-15deg); border-color: var(--brand-500); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .sun { display: none; } .theme-toggle .moon { display: block; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }
.nav__toggle { display: none; width: 42px; height: 42px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--text); place-items: center; }
.nav__toggle svg { width: 22px; height: 22px; }

/* Mobile nav */
@media (max-width: 940px) {
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    gap: .25rem; padding: 1rem clamp(1rem, 4vw, 2rem) 1.5rem;
    background: var(--glass); backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border-bottom: 1px solid var(--glass-border); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav__links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links a { padding: .85rem 1rem; font-size: 1rem; }
  .nav__links .btn { margin-top: .5rem; }
  .nav__toggle { display: grid; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 9vw, 6.5rem); }
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 940px) { .hero__grid { grid-template-columns: 1.1fr 0.9fr; } }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { margin-bottom: 1.8rem; max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 4vw, 2.5rem); margin-top: 2.5rem; }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 4vw, 2rem); }
.stat__label { font-size: .85rem; color: var(--text-3); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: -1; pointer-events: none; }
.blob--1 { width: 420px; height: 420px; background: var(--brand-500); top: -120px; right: -80px; }
.blob--2 { width: 360px; height: 360px; background: var(--accent-500); bottom: -140px; left: -100px; opacity: .35; }
.hero-visual { position: relative; }
.hero-card {
  padding: 1.5rem; border-radius: var(--radius-lg);
}
.hero-card + .hero-card { margin-top: 1rem; }
.float { animation: float 6s var(--ease) infinite; }
.float--2 { animation-delay: -3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: scroll 26s linear infinite; }
.marquee__track span { font-family: var(--font-head); font-weight: 600; color: var(--text-3); white-space: nowrap; display: inline-flex; align-items: center; gap: .6rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Feature / Service cards grid ---------- */
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.service-card h3 { margin: 1rem 0 .5rem; }
.service-card .price-from { font-family: var(--font-head); font-weight: 600; color: var(--brand-500); margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.price-strike { text-decoration: line-through; color: var(--text-3); font-weight: 500; font-size: .85em; }
.price-now { color: var(--brand-500); }
.off-badge { display: inline-flex; align-items: center; font-family: var(--font-head); font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 999px; background: var(--grad-cta); color: #fff; white-space: nowrap; }
.service-card ul.ticks { margin-top: 1rem; display: grid; gap: .5rem; }
.ticks li { display: flex; gap: .6rem; font-size: .92rem; color: var(--text-2); }
.ticks li svg { width: 18px; height: 18px; color: var(--accent-500); flex-shrink: 0; margin-top: .2rem; }

/* ---------- Pricing ---------- */
.pricing-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: stretch; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.popular { border-color: var(--brand-500); box-shadow: var(--shadow-lg); }
.price-card .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad-cta); color: #fff; font-size: .72rem; font-weight: 700;
  padding: .35rem .9rem; border-radius: 999px; letter-spacing: .05em; text-transform: uppercase;
}
.price-card .plan-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.price-card .plan-price { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; margin: .5rem 0 .2rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
.price-card .plan-price .price-strike { font-size: 1.15rem; font-weight: 600; }
.price-card .plan-price small { font-size: .95rem; font-weight: 500; color: var(--text-3); }
.price-card .plan-desc { font-size: .9rem; color: var(--text-3); min-height: 2.6em; }
.price-card ul.ticks { flex: 1; margin: 1.4rem 0; }
.price-toggle { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: .3rem; gap: .2rem; border: 1px solid var(--border); }
.price-toggle button { border: none; background: transparent; padding: .5rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--text-2); transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.price-toggle button.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

/* ---------- Steps / Process ---------- */
.steps { counter-reset: step; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.step { position: relative; }
.step__num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
  background: var(--grad-brand); color: #fff; margin-bottom: 1rem;
}

/* ---------- Stats band ---------- */
.stats-band { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); text-align: center; }
.stats-band .stat__num { font-size: clamp(1.8rem, 5vw, 2.6rem); }

/* ---------- Testimonials ---------- */
.testi { display: flex; flex-direction: column; gap: 1rem; }
.testi__stars { color: #ffb020; display: flex; gap: .1rem; }
.testi__stars svg { width: 18px; height: 18px; }
.testi p { color: var(--text); font-size: 1rem; }
.testi__author { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #fff; background: var(--grad-brand); flex-shrink: 0; }
.avatar--photo { object-fit: cover; border: 2px solid var(--glass-border); }
.testi__author strong { display: block; font-size: .92rem; }
.testi__author span { font-size: .82rem; color: var(--text-3); }

/* ---------- FAQ / Accordion ---------- */
.accordion { display: grid; gap: .75rem; max-width: 820px; margin-inline: auto; }
.acc-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color var(--dur) var(--ease); }
.acc-item[open] { border-color: rgba(109, 94, 252, .35); }
.acc-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-family: var(--font-head);
  font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary span { flex: 1; }
.acc-item summary .chev { width: 20px; height: 20px; flex-shrink: 0; transition: transform var(--dur) var(--ease); color: var(--brand-500); }
.acc-item[open] summary .chev { transform: rotate(180deg); }
.acc-item .acc-body { padding: 0 1.3rem 1.2rem; color: var(--text-2); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 600; font-size: .9rem; }
.field .req { color: var(--pink-500); }
.field .hint { font-size: .8rem; color: var(--text-3); }
.input, .textarea, .select {
  width: 100%; padding: .8rem 1rem; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--ring); }
.textarea { min-height: 130px; resize: vertical; }
.field-error { color: var(--pink-500); font-size: .82rem; display: none; }
.field.invalid .input, .field.invalid .textarea, .field.invalid .select { border-color: var(--pink-500); }
.field.invalid .field-error { display: block; }
.row-2 { display: grid; gap: 1.15rem; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.filepond {
  border: 2px dashed var(--border); border-radius: var(--radius); padding: 1.4rem;
  text-align: center; color: var(--text-3); transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); cursor: pointer;
}
.filepond:hover, .filepond.drag { border-color: var(--brand-500); background: var(--grad-brand-soft); }
.filepond input { display: none; }
.file-list { display: grid; gap: .5rem; margin-top: .75rem; }
.file-chip { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem .75rem; background: var(--surface-2); border-radius: var(--radius-sm); font-size: .85rem; }
.file-chip button { border: none; background: transparent; color: var(--pink-500); font-weight: 700; }

/* Radio payment cards */
.pay-options { display: grid; gap: 1rem; }
@media (min-width: 720px) { .pay-options { grid-template-columns: 1fr 1fr; } }
.pay-card { position: relative; border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem; cursor: pointer; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.pay-card input { position: absolute; opacity: 0; }
.pay-card:has(input:checked) { border-color: var(--brand-500); background: var(--grad-brand-soft); }
.pay-card .pay-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.pay-card h4 { font-family: var(--font-head); font-size: 1.05rem; }
.pay-badge { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .25rem .6rem; border-radius: 999px; background: var(--grad-cta); color: #fff; }
.pay-badge--soft { background: var(--surface-2); color: var(--text-2); }
.pay-card ul.ticks { margin-top: .9rem; }
.jazz-details { margin-top: 1rem; padding: 1rem; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--brand-500); display: none; }
.pay-card:has(input:checked) .jazz-details { display: block; }
.copy-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem .75rem; background: var(--surface-2); border-radius: var(--radius-sm); font-size: .9rem; margin-top: .5rem; }
.copy-row button { border: none; background: var(--brand-500); color: #fff; font-size: .75rem; font-weight: 600; padding: .3rem .7rem; border-radius: 6px; }

/* ---------- Order summary ---------- */
.summary-box { display: grid; gap: .8rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--border); }
.summary-row:last-child { border-bottom: none; }
.summary-row .k { color: var(--text-3); font-size: .9rem; }
.summary-row .v { font-weight: 600; text-align: right; word-break: break-word; }

/* ---------- Alerts ---------- */
.alert { padding: .9rem 1.1rem; border-radius: var(--radius); font-size: .92rem; display: none; align-items: center; gap: .6rem; }
.alert.show { display: flex; }
.alert--ok { background: rgba(20, 200, 140, .12); color: #0c9b6c; border: 1px solid rgba(20, 200, 140, .3); }
.alert--err { background: rgba(255, 93, 143, .12); color: var(--pink-500); border: 1px solid rgba(255, 93, 143, .3); }
[data-theme="dark"] .alert--ok { color: #34d399; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card__img { aspect-ratio: 16 / 9; background: var(--grad-brand); position: relative; display: grid; place-items: center; overflow: hidden; }
.post-card__img svg { width: 64px; height: 64px; color: rgba(255,255,255,.85); }
.post-card__img--photo img { width: 100%; height: 100%; object-fit: cover; }
.post-card__icon-badge { position: absolute; right: .7rem; bottom: .7rem; width: 38px; height: 38px; border-radius: 10px; background: rgba(20,18,40,.55); backdrop-filter: blur(6px); display: grid; place-items: center; }
.post-card__icon-badge svg { width: 20px; height: 20px; color: #fff; }
.post-card__body { padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.tag { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-500); }
.post-card__body h3 { font-size: 1.15rem; }
.post-meta { font-size: .82rem; color: var(--text-3); margin-top: auto; }

/* Article */
.article { max-width: 760px; margin-inline: auto; }
.article h2 { margin-top: 2.2rem; margin-bottom: .8rem; }
.article h3 { margin-top: 1.6rem; margin-bottom: .5rem; }
.article p, .article li { color: var(--text-2); }
.article p { margin-bottom: 1rem; }
.article ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; display: grid; gap: .4rem; }
.article ul li { display: list-item; }

/* Legal / prose */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { margin-top: 2rem; margin-bottom: .7rem; font-size: 1.5rem; }
.prose h3 { margin-top: 1.4rem; margin-bottom: .5rem; font-size: 1.15rem; }
.prose p, .prose li { color: var(--text-2); }
.prose p { margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; display: grid; gap: .4rem; }
.prose ul li { display: list-item; }
.prose a { color: var(--brand-500); text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(2.5rem, 6vw, 4.5rem); text-align: center; background: var(--grad-brand); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); }
.cta-band .btn--glass { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); color: #fff; }
.cta-band .btn--ghost { background: #fff; color: var(--brand-600); }
.cta-band .blob { opacity: .35; }

/* ---------- Breadcrumb ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--text-3); align-items: center; }
.crumbs a:hover { color: var(--brand-500); }
.crumbs svg { width: 14px; height: 14px; }

/* Page hero (interior) */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4rem); position: relative; overflow: hidden; }
.page-hero h1 { margin: .8rem 0 .6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.footer-grid .brand-col { grid-column: 1 / -1; }
@media (min-width: 720px) { .footer-grid .brand-col { grid-column: auto; min-width: 240px; flex: 1.4; } .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.footer-col h4 { font-family: var(--font-head); font-size: .95rem; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a { color: var(--text-3); font-size: .9rem; transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--brand-500); }
.footer-social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); transition: transform var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.footer-social a:hover { transform: translateY(-3px); color: var(--brand-500); border-color: var(--brand-500); }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: .85rem; color: var(--text-3); }

/* ---------- Floating buttons ---------- */
.fab-wa {
  position: fixed; right: clamp(1rem, 4vw, 1.75rem); bottom: clamp(1rem, 4vw, 1.75rem);
  z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transition: transform var(--dur) var(--ease);
  animation: pulse-wa 2.6s infinite;
}
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 30px; height: 30px; }
@keyframes pulse-wa { 0% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); } }
.fab-top {
  position: fixed; right: clamp(1rem, 4vw, 1.75rem); bottom: calc(clamp(1rem, 4vw, 1.75rem) + 70px);
  z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: var(--surface);
  border: 1px solid var(--border); color: var(--text); display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.fab-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab-top:hover { background: var(--brand-500); color: #fff; border-color: var(--brand-500); }
.fab-top svg { width: 22px; height: 22px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---------- Utilities ---------- */
.badge-soft { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; padding: .35rem .75rem; border-radius: 999px; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); }
.divider { height: 1px; background: var(--border); border: none; margin-block: 2rem; }
.text-muted { color: var(--text-3); }
.contact-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .icon-badge { flex-shrink: 0; }
.contact-item h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: .2rem; }
.contact-item a, .contact-item p { color: var(--text-2); font-size: .92rem; word-break: break-word; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--brand-500); color: #fff; padding: .7rem 1rem; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }

/* 404 */
.err-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 22vw, 11rem); line-height: 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
