/* ==========================================================================
   Stay360 — Design System (v2)
   Modern, premium, mobile-first, accessible, performant.
   ========================================================================== */

/* -------- 1. Design Tokens ------------------------------------------------ */
:root {
  /* Brand */
  --brand-900: #0b1a2b;
  --brand-800: #102a44;
  --brand-700: #143963;
  --brand-600: #1c5089;
  --brand-500: #2c6db5;
  --brand-400: #5b94d6;
  --brand-300: #a8c8ec;
  --brand-50:  #eef4fb;

  /* Accent (logo-matched blue) */
  --accent-700: #001f7a;
  --accent-600: #0030b8;
  --accent-500: #0052ff;
  --accent-400: #3f7bff;
  --accent-50:  #eaf1ff;

  /* Neutrals */
  --ink-900: #0b1220;
  --ink-700: #283044;
  --ink-500: #4a5468;
  --ink-400: #6b7488;
  --ink-300: #97a0b3;
  --ink-200: #c8cfdc;
  --ink-100: #e6eaf2;
  --ink-50:  #f3f5fa;
  --paper:   #ffffff;
  --sand:    #faf7f2;

  /* Semantic */
  --success: #178b5a;
  --warning: #c98a13;
  --danger:  #c5392f;

  /* Effects */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(11,18,32,.06);
  --shadow-sm: 0 4px 12px rgba(11,18,32,.06), 0 1px 2px rgba(11,18,32,.04);
  --shadow-md: 0 12px 30px rgba(11,18,32,.08), 0 2px 6px rgba(11,18,32,.04);
  --shadow-lg: 0 30px 60px rgba(11,18,32,.12), 0 8px 18px rgba(11,18,32,.06);
  --shadow-glow: 0 20px 50px rgba(28,80,137,.35);

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --gap-1: 8px;
  --gap-2: 12px;
  --gap-3: 16px;
  --gap-4: 24px;
  --gap-5: 32px;
  --gap-6: 48px;
  --gap-7: 64px;
  --gap-8: 96px;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system,
                  BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Motion */
  --ease: cubic-bezier(.4,.14,.3,1);
  --t-fast: 160ms;
  --t-med:  280ms;
  --t-slow: 480ms;

  /* Header height (used to offset anchors) */
  --nav-h: 72px;
}

@media (min-width: 768px) {
  :root {
    --nav-h: 80px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-700);
  background: var(--paper);
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; height: auto; }
img { border-radius: inherit; }

a {
  color: var(--brand-600);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
a:hover { color: var(--accent-600); }

button { font: inherit; cursor: pointer; }

ul, ol { padding-left: 1.25rem; }
li { margin-bottom: .35rem; }

hr {
  border: 0;
  border-top: 1px solid var(--ink-100);
  margin: var(--gap-5) 0;
}

::selection { background: var(--accent-500); color: #fff; }

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-900);
  color: #fff;
  padding: 12px 16px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 10000;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* -------- 3. Typography (fluid scale) ------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.95rem, 1.35rem + 2.4vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.25rem); }
h3 { font-size: clamp(1.22rem, .98rem + .95vw, 1.65rem); }
h4 { font-size: clamp(1.05rem, .94rem + .5vw, 1.22rem); }
h5 { font-size: 1rem; }
h6 { font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-500); }

p { margin: 0 0 1em; }
p.lead { font-size: clamp(.98rem, .9rem + .3vw, 1.08rem); color: var(--ink-500); }
.muted { color: var(--ink-400); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-600);
  background: var(--brand-50);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.eyebrow.eyebrow-accent { color: var(--accent-700); background: var(--accent-50); }
.text-gradient {
  background: linear-gradient(120deg, var(--brand-700) 0%, #ab00ff 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.ai-powered-eyebrow {
  position: relative;
  padding-left: 30px;
}
.ai-powered-eyebrow::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-500);
  transform: translateY(-50%);
  box-shadow: 0 0 0 0 rgba(234,107,52,.75);
  animation: ai-agent-ping 1.25s ease-out infinite;
}
.ai-powered-text {
  font-weight: 800;
  position: relative;
  display: inline-block;
  animation: ai-agent-glow 1.2s ease-in-out infinite;
}
@keyframes ai-agent-glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.35); }
}
@keyframes ai-agent-ping {
  0% { box-shadow: 0 0 0 0 rgba(234,107,52,.75); opacity: 1; }
  70% { box-shadow: 0 0 0 14px rgba(234,107,52,0); opacity: .65; }
  100% { box-shadow: 0 0 0 0 rgba(234,107,52,0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-powered-text,
  .ai-powered-eyebrow::before { animation: none; }
}

/* -------- 4. Layout ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container-wide { max-width: var(--container-wide); }
.container-narrow { max-width: 880px; }

.section { padding-block: clamp(56px, 4vw + 32px, 120px); }
.section-tight { padding-block: clamp(40px, 3vw + 16px, 72px); }
.section-bg { background: var(--sand); }
.section-dark { background: var(--brand-900); color: #d2dbe7; }
.section-dark h1, .section-dark h2,
.section-dark h3, .section-dark h4,
.section-dark h5, .section-dark h6 { color: #fff; }

.grid { display: grid; gap: var(--gap-4); }
.grid-2 { display: grid; gap: var(--gap-4); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { display: grid; gap: var(--gap-4); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { display: grid; gap: var(--gap-3); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.flex { display: flex; gap: var(--gap-3); }
.flex-center { align-items: center; justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.text-center { text-align: center; }
.text-start { text-align: left; }

.section-head {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: var(--gap-6);
}
.section-head .eyebrow { margin-bottom: 12px; }

/* -------- 5. Buttons ------------------------------------------------------ */
.btn {
  --bg: var(--brand-700);
  --fg: #fff;
  --bd: transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bd);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  white-space: nowrap;
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-med) var(--ease),
              background var(--t-med) var(--ease),
              color var(--t-med) var(--ease);
  box-shadow: var(--shadow-xs);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--fg); }
.btn:active { transform: translateY(0); }

.btn-primary { --bg: linear-gradient(135deg, var(--accent-600), var(--accent-500)); }
.btn-primary:hover { --bg: linear-gradient(135deg, var(--accent-700), var(--accent-600)); box-shadow: 0 16px 40px rgba(216,88,39,.35); }

.btn-secondary { --bg: var(--brand-900); }
.btn-secondary:hover { --bg: var(--brand-800); box-shadow: var(--shadow-glow); }

.btn-ghost {
  --bg: transparent;
  --fg: var(--ink-900);
  --bd: var(--ink-200);
  box-shadow: none;
}
.btn-ghost:hover {
  --bg: var(--ink-50);
  --bd: var(--ink-200);
  --fg: var(--ink-900);
}

.btn-light {
  --bg: #fff;
  --fg: var(--brand-800);
  --bd: rgba(255,255,255,.7);
}
.btn-light:hover { --bg: var(--ink-50); }

.btn-link {
  background: none; border: 0; padding: 0; box-shadow: none;
  color: var(--brand-600); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-link:hover { color: var(--accent-600); transform: none; box-shadow: none; }
.btn-link svg { transition: transform var(--t-fast) var(--ease); }
.btn-link:hover svg { transform: translateX(3px); }

.btn-sm { padding: 9px 16px; font-size: .875rem; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* -------- 6. Top bar ----------------------------------------------------- */
.topbar {
  background: var(--brand-900);
  color: #c8d1de;
  font-size: .82rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.topbar a { color: #e7eef9; }
.topbar a:hover { color: var(--accent-400); }
.topbar .meta { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar .meta .item { display: inline-flex; align-items: center; gap: 6px; }
.topbar .meta .icon { color: var(--accent-400); display: inline-flex; }
.topbar .socials { display: inline-flex; align-items: center; gap: 8px; }
.topbar .socials a {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.topbar .socials a:hover { background: var(--accent-500); transform: translateY(-1px); }
.topbar .socials svg { width: 14px; height: 14px; }

/* -------- 7. Header / Nav ------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease),
              background var(--t-med) var(--ease);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--ink-100);
  background: rgba(255,255,255,.94);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--nav-h);
}
.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.nav-brand img {
  /* Wide lockup (cropped): ~828×210 intrinsic — scales by height */
  height: clamp(44px, 5.2vw, 58px);
  width: auto;
  max-width: min(520px, 78vw);
  min-width: 0;
  aspect-ratio: 828 / 210;
  object-fit: contain;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0; margin: 0;
}
.nav-list > li { margin: 0; position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  color: var(--ink-700);
  font-weight: 500;
  font-size: .95rem;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--brand-700); background: var(--brand-50); }
.nav-link .chev { transition: transform var(--t-fast) var(--ease); }
.has-submenu[aria-expanded="true"] > .nav-link .chev,
.has-submenu:hover > .nav-link .chev { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  margin: 0;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--t-fast) var(--ease),
              transform var(--t-med) var(--ease),
              visibility var(--t-med);
  z-index: 50;
}
.submenu.submenu-wide { min-width: 520px; grid-template-columns: 1fr 1fr; }
.submenu li { margin: 0; }
.submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-700);
  font-size: .9rem;
}
.submenu a small { display: block; color: var(--ink-400); font-weight: 400; font-size: .78rem; }
.submenu a:hover { background: var(--brand-50); color: var(--brand-700); }

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu,
.has-submenu[aria-expanded="true"] > .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  align-items: center; justify-content: center;
  color: var(--ink-900);
}
.nav-toggle:hover { background: var(--ink-50); }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1024px) {
  .nav-cta .btn-ghost { display: none; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-list {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 80px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--t-med) var(--ease);
    border-top: 1px solid var(--ink-100);
  }
  .nav-list.is-open { transform: translateX(0); }
  .nav-list > li { border-bottom: 1px solid var(--ink-100); }
  .nav-link { width: 100%; padding: 16px 4px; font-size: 1.05rem; border-radius: 0; }
  .submenu {
    position: static;
    box-shadow: none;
    border: 0;
    background: var(--ink-50);
    border-radius: var(--radius-sm);
    margin: 0 0 12px;
    padding: 6px;
    grid-template-columns: 1fr;
    opacity: 1; visibility: visible; transform: none;
    display: none;
  }
  .submenu.submenu-wide { grid-template-columns: 1fr; min-width: 0; }
  .has-submenu[aria-expanded="true"] > .submenu { display: grid; }
  .nav-cta .btn-primary { display: none; }
}

/* -------- 8. Hero --------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - var(--nav-h) - 44px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(234,107,52,.18), transparent 60%),
    radial-gradient(1000px 700px at -10% 110%, rgba(28,80,137,.22), transparent 60%),
    linear-gradient(180deg, #fbf9f5 0%, #fff 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  width: 100%;
  padding-block: clamp(24px, 4vw, 64px);
}
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; padding-block: 56px; }
}
.hero h1 { margin-bottom: .35em; }
.hero .eyebrow { margin-top: 28px; }
.hero p.lead { max-width: 560px; }
.hero .btn-row { margin-top: 28px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 24px; margin-top: 36px;
  color: var(--ink-500); font-size: .9rem;
}
.hero-meta .check {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-meta .check svg { color: var(--success); width: 18px; height: 18px; }

.hero-visual {
  position: relative;
}
.hero-visual .frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--ink-50);
}
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .floating-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  border: 1px solid rgba(11,18,32,.05);
  font-size: .85rem;
  animation: floaty 5s ease-in-out infinite;
}
.hero-visual .floating-card .badge-icon {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-700);
  display: inline-flex; align-items: center; justify-content: center;
}
.hero-visual .floating-card .badge-icon.warm { background: var(--accent-50); color: var(--accent-700); }
.hero-visual .floating-card.fc-1 { top: 24px; left: -28px; }
.hero-visual .floating-card.fc-2 { bottom: 28px; right: -24px; animation-delay: 1.4s; }
@media (max-width: 600px) {
  .hero-visual .floating-card.fc-1 { left: 8px; }
  .hero-visual .floating-card.fc-2 { right: 8px; }
}
/* Keep "Request a Demo" visible in first view on short screens */
@media (max-height: 860px) and (min-width: 921px) {
  .hero { align-items: flex-start; }
  .hero-inner { padding-block: 24px; }
  .hero .btn-row { margin-top: 16px; }
  .hero-meta { margin-top: 16px; gap: 14px; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Sub-hero (inner pages) */
.page-hero {
  background:
    radial-gradient(800px 500px at 100% -20%, rgba(234,107,52,.12), transparent 60%),
    radial-gradient(800px 500px at -10% 120%, rgba(28,80,137,.15), transparent 60%),
    linear-gradient(180deg, var(--sand) 0%, #fff 100%);
  padding-block: clamp(56px, 6vw, 96px);
  text-align: center;
}
.page-hero .eyebrow { margin-bottom: 16px; }
.crumbs {
  display: inline-flex; gap: 8px; align-items: center;
  font-size: .9rem; color: var(--ink-400); margin-top: 14px;
}
.crumbs a { color: var(--ink-500); }
.crumbs span { color: var(--accent-600); font-weight: 600; }

/* -------- 9. Pillars / quick-link strip ---------------------------------- */
.pillars {
  margin-top: -20px;
  position: relative;
  z-index: 5;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  background: #fff;
  padding: 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ink-100);
}
.pillar {
  display: flex; gap: 14px; align-items: center;
  padding: 14px;
  border-radius: var(--radius-md);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  color: var(--ink-700);
}
.pillar:hover { background: var(--brand-50); transform: translateY(-2px); }
.pillar .ic-wrap {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pillar .ic-wrap.warm { background: linear-gradient(135deg, var(--accent-600), var(--accent-500)); }
.pillar h6 { margin: 0; color: var(--ink-900); text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 600; }
.pillar small { color: var(--ink-400); }

/* -------- 10. Cards ------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--ink-200); }
.card .icon-tile {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand-700);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon-tile.warm { background: var(--accent-50); color: var(--accent-700); }
.card .icon-tile.deep { background: var(--brand-900); color: #fff; }
.card h4 { margin-bottom: 8px; }
.card p { color: var(--ink-500); margin-bottom: 0; }
.card.card-flat { box-shadow: none; }
.card.card-elevated { box-shadow: var(--shadow-md); }
.card.card-bordered-accent { border-top: 3px solid var(--accent-500); }
.card-list { list-style: none; padding: 0; margin: 14px 0 0; }
.card-list li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 6px 0; font-size: .92rem; color: var(--ink-700);
}
.card-list li svg { color: var(--success); flex-shrink: 0; margin-top: 3px; width: 18px; height: 18px; }

/* Feature row (image + text) */
.feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.feature-row.reverse > :first-child { order: 2; }
@media (max-width: 820px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse > :first-child { order: 0; }
}
.feature-row .media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--ink-50);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}
.feature-row .media img { width: 100%; height: 100%; object-fit: cover; }

/* -------- 11. Stats / Trust ---------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--gap-3);
  text-align: center;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem);
  color: #fff; font-weight: 700;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #fff, var(--accent-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .label { color: rgba(255,255,255,.78); font-size: .95rem; }
.section-dark .stat .label { color: rgba(255,255,255,.78); }

/* -------- 12. Tabs -------------------------------------------------------- */
.tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  width: fit-content;
  margin: 0 auto var(--gap-5);
}
.tab {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink-500);
  background: transparent;
  border: 0;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.tab:hover { color: var(--ink-900); }
.tab[aria-selected="true"] {
  background: #fff;
  color: var(--brand-800);
  box-shadow: var(--shadow-xs);
}
.tab-panels > .tab-panel { display: none; animation: fade .35s var(--ease); }
.tab-panels > .tab-panel.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* -------- 13. Comparison table ------------------------------------------- */
.cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cmp-table th, .cmp-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--ink-100);
  font-size: .95rem;
}
.cmp-table tr:last-child td { border-bottom: 0; }
.cmp-table thead th {
  background: linear-gradient(180deg, var(--brand-900) 0%, var(--brand-800) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}
.cmp-table thead th.h-brand { color: var(--accent-400); }
.cmp-table td.center, .cmp-table th.center { text-align: center; }
.cmp-table .yes svg { color: var(--success); width: 22px; height: 22px; }
.cmp-table .no svg { color: var(--ink-300); width: 20px; height: 20px; }
.cmp-table tbody tr:nth-child(even) td { background: var(--ink-50); }

@media (max-width: 640px) {
  .cmp-table th, .cmp-table td { padding: 12px 14px; font-size: .88rem; }
}

/* -------- 14. Accordion (FAQ) -------------------------------------------- */
.faq {
  display: grid; gap: 12px;
  max-width: 880px; margin-inline: auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease);
}
.faq-item[open], .faq-item.is-open {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink-900);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: ''; }
summary.faq-q { -webkit-tap-highlight-color: transparent; }
.faq-q .plus {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-50); color: var(--brand-700);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform var(--t-med) var(--ease), background var(--t-fast) var(--ease);
}
.faq-item[open] .faq-q .plus,
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); background: var(--accent-500); color: #fff; }
.faq-a { padding: 0 22px 22px; color: var(--ink-500); }
.faq-a p:last-child { margin-bottom: 0; }

/* -------- 15. CTA banner -------------------------------------------------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 300px at 90% -20%, rgba(234,107,52,.45), transparent 60%),
    radial-gradient(700px 400px at -10% 120%, rgba(28,80,137,.55), transparent 60%),
    linear-gradient(120deg, var(--brand-900), #142a48);
  color: #fff;
  padding: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}
.cta-banner h3 { color: #fff; margin: 0 0 10px; }
.cta-banner p { color: rgba(255,255,255,.8); margin: 0; max-width: 56ch; }
@media (max-width: 760px) {
  .cta-banner { grid-template-columns: 1fr; text-align: left; }
}

/* -------- 16. Forms ------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.form-grid.full > * { grid-column: span 2; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-grid.full > * { grid-column: auto; }
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .lbl {
  font-size: .85rem; font-weight: 600;
  color: var(--ink-700);
  letter-spacing: .01em;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--ink-200);
  background: #fff;
  font: inherit;
  color: var(--ink-900);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(28,80,137,.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .help { font-size: .8rem; color: var(--ink-400); }
.field .row-checks { display: flex; flex-wrap: wrap; gap: 10px 16px; padding: 12px 4px; }
.field .check {
  display: inline-flex; gap: 8px; align-items: center;
  font-size: .9rem; color: var(--ink-700);
}
.field .check input { width: auto; padding: 0; }
.form-status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--ink-50);
  color: var(--ink-700);
  font-size: .9rem;
  display: none;
}
.form-status.is-success { background: rgba(23,139,90,.1); color: var(--success); display: block; }
.form-status.is-error   { background: rgba(197,57,47,.08);  color: var(--danger);  display: block; }

/* -------- 17. Pricing ----------------------------------------------------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.price-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
  background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--brand-50) 100%);
  border-top: 4px solid var(--accent-500);
}
.price-card .tag {
  position: absolute; top: -14px; left: 24px;
  background: var(--accent-500); color: #fff;
  font-size: .75rem; font-weight: 700;
  padding: 6px 12px; border-radius: var(--radius-pill);
  letter-spacing: .08em; text-transform: uppercase;
}
.price-card .name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink-900); }
.price-card .desc { color: var(--ink-500); font-size: .9rem; margin-top: 4px; }
.price-card .amt {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 800;
  color: var(--ink-900); margin: 20px 0 4px;
}
.price-card .amt small { font-size: .9rem; font-weight: 500; color: var(--ink-400); margin-left: 6px; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0; flex: 1; }
.price-card ul li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .92rem; color: var(--ink-700);
  padding: 6px 0;
}
.price-card ul li svg { color: var(--success); flex-shrink: 0; margin-top: 3px; width: 18px; height: 18px; }
.price-card ul li.muted-row { color: var(--ink-400); }
.price-card ul li.muted-row svg { color: var(--ink-300); }

/* Pricing toggle */
.billing-toggle {
  display: inline-flex;
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-inline: auto;
}
.billing-toggle button {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 0;
  background: transparent;
  color: var(--ink-500);
  font-weight: 600;
  font-size: .9rem;
}
.billing-toggle button[aria-pressed="true"] {
  background: #fff;
  color: var(--brand-800);
  box-shadow: var(--shadow-xs);
}

/* -------- 18. Logo cloud -------------------------------------------------- */
.logo-cloud {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  align-items: center;
}
.logo-cloud img {
  max-height: 36px;
  width: auto;
  margin-inline: auto;
  filter: grayscale(1);
  opacity: .7;
  transition: opacity var(--t-fast) var(--ease), filter var(--t-fast) var(--ease);
}
.logo-cloud img:hover { opacity: 1; filter: none; }

/* -------- 19. Footer ------------------------------------------------------ */
.site-footer {
  background: var(--brand-900);
  color: #b8c2d4;
  padding-top: clamp(48px, 5vw, 72px);
  padding-bottom: 24px;
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
  gap: 36px;
}
@media (max-width: 880px) {
  .site-footer .grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 520px) {
  .site-footer .grid { grid-template-columns: 1fr; }
}
.site-footer h6 {
  color: #fff; font-family: var(--font-display);
  font-size: .85rem; letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b8c2d4; font-size: .92rem; }
.site-footer a:hover { color: var(--accent-400); }
.site-footer .brand img {
  display: block;
  height: clamp(32px, 3.5vw, 42px);
  width: auto;
  max-width: min(380px, 88vw);
  aspect-ratio: 828 / 210;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 14px;
}
.site-footer .brand p { color: #97a4ba; font-size: .92rem; max-width: 36ch; }
.site-footer .socials { display: inline-flex; gap: 8px; margin-top: 10px; }
.site-footer .socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}
.site-footer .socials a:hover { background: var(--accent-500); }
.site-footer .contact-block { color: #97a4ba; font-size: .92rem; }
.site-footer .contact-block .row { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; }
.site-footer .contact-block svg { color: var(--accent-400); margin-top: 3px; flex-shrink: 0; }
.site-footer .legal-row {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .85rem;
  color: #8493ab;
}
.site-footer .legal-row a { color: #8493ab; }
.site-footer .legal-row a:hover { color: #fff; }

/* -------- 20. Floating action buttons (whatsapp / call) ----------------- */
.fab-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex; flex-direction: column;
  gap: 12px;
  z-index: 60;
}
.fab {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease);
  border: 1px solid var(--ink-100);
}
.fab:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.fab.wa { background: #25d366; color: #fff; border-color: transparent; }
.fab.call { background: var(--accent-500); color: #fff; border-color: transparent; }
.fab svg { width: 22px; height: 22px; }

/* -------- 21. Reveal-on-scroll animations -------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* -------- 22. Utilities --------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mt-6 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.w-full { width: 100%; }
.full-bleed-img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.divider { height: 1px; background: var(--ink-100); width: 100%; margin: 0; border: 0; }
.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;
}

/* Legal / policy pages */
.legal-content { max-width: 800px; margin-inline: auto; }
.legal-content h2 { margin-top: 2.4em; font-size: 1.5rem; }
.legal-content h3 { margin-top: 1.8em; font-size: 1.18rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--ink-700); }
.legal-content ul { padding-left: 1.4rem; margin: 0 0 1em; }
.legal-content li { margin-bottom: .4em; }
.legal-content .updated {
  display: inline-block;
  padding: 6px 14px;
  background: var(--ink-50);
  border-radius: var(--radius-pill);
  font-size: .85rem;
  color: var(--ink-500);
  margin-bottom: 24px;
}

/* Icon helper */
.ic { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.ic-lg { width: 28px; height: 28px; }
.ic-xl { width: 40px; height: 40px; }

/* -------- 23. Print ------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .fab-stack, .topbar { display: none !important; }
  .section { padding-block: 16px; }
  body { background: #fff; }
}
