/* ============================================================
   TinaHR — Marketing site stylesheet
   Brand tokens match app.tina-hr.com (primary #0d9488, Inter)
   ============================================================ */

:root {
  /* Brand */
  --brand-50:  #f0fdfa;
  --brand-100: #ccfbf1;
  --brand-200: #99f6e4;
  --brand-300: #5eead4;
  --brand-400: #2dd4bf;
  --brand-500: #14b8a6;
  --brand-600: #0d9488; /* primary */
  --brand-700: #0f766e; /* secondary */
  --brand-800: #115e59;
  --brand-900: #134e4a;

  /* Neutrals (slate) */
  --ink-900: #0f172a;
  --ink-800: #1e293b;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --ink-300: #cbd5e1;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --ink-50:  #f8fafc;
  --white:   #ffffff;

  /* Accents */
  --accent-amber:  #f59e0b;
  --accent-rose:   #ef4444;
  --accent-blue:   #0284c7;
  --accent-violet: #8b5cf6;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Radii */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-2xl: 32px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -10px rgba(15, 23, 42, 0.15), 0 4px 10px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 25px 60px -20px rgba(13, 148, 136, 0.30), 0 10px 30px -10px rgba(15, 23, 42, 0.15);
  --shadow-brand: 0 20px 50px -10px rgba(13, 148, 136, 0.45);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-700) 100%);
  --grad-primary-soft: linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
  --grad-hero-bg: radial-gradient(1200px 600px at 85% -10%, rgba(13, 148, 136, 0.15), transparent 60%),
                  radial-gradient(900px 500px at 10% 110%, rgba(14, 165, 233, 0.12), transparent 55%),
                  linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1rem, 3vw, 2rem);

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

/* ========== Reset ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-700); text-decoration: none; transition: color 0.15s var(--ease); }
a:hover { color: var(--brand-600); }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
p  { margin: 0 0 1rem; }

h1, h2, h3, h4, h5 {
  color: var(--ink-900);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.25rem, 4.5vw + 1rem, 4rem); }
h2 { font-size: clamp(1.75rem, 2.5vw + 0.75rem, 2.75rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 1vw + 0.9rem, 1.5rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  background: var(--brand-700);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ========== Announcement bar ========== */
.announcement {
  background: linear-gradient(90deg, var(--brand-800), var(--brand-600));
  color: var(--brand-50);
  font-size: 0.875rem;
}
.announcement .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}
.announcement i { color: var(--brand-200); }
.announcement-link {
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.announcement-link:hover { color: var(--brand-100); }

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--ink-200);
  box-shadow: var(--shadow-xs);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  color: var(--ink-900);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.brand img { border-radius: 9px; }
.brand:hover { color: var(--brand-700); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}
.nav-link {
  color: var(--ink-600);
  font-size: 0.93rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  white-space: nowrap;
}
.nav-link:hover { color: var(--brand-700); }
.nav-link.active { color: var(--brand-700); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 0.5rem;
}

.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-left: 0.75rem;
  border-left: 1px solid var(--ink-200);
  margin-left: 0.2rem;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-700);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.lang-trigger:hover,
.lang-switcher.is-open .lang-trigger {
  background: var(--ink-100);
  border-color: var(--ink-200);
  color: var(--brand-700);
}
.lang-caret {
  font-size: 0.8rem;
  color: var(--ink-400);
  transition: transform 0.2s var(--ease);
}
.lang-switcher.is-open .lang-caret { transform: rotate(180deg); color: var(--brand-600); }

.flag {
  display: inline-block;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 130px;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.35rem;
  margin: 0;
  z-index: 120;
  animation: lang-fade 0.15s var(--ease);
}
@keyframes lang-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lang-menu li { list-style: none; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  color: var(--ink-700);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.lang-option:hover {
  background: var(--brand-50);
  color: var(--brand-800);
}
.lang-option.is-current {
  background: var(--ink-50);
  color: var(--ink-900);
  font-weight: 600;
  cursor: default;
}
.lang-option.is-current .bi-check2 { margin-left: auto; color: var(--brand-600); font-size: 1.05rem; }

/* Mobile: menú desplegable integrado en el menú lateral */
@media (max-width: 960px) {
  .lang-switcher {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--ink-200);
    padding: 0.75rem 0 0;
    margin: 0.75rem 0 0;
  }
  .lang-trigger {
    width: 100%;
    justify-content: flex-start;
    padding: 0.6rem 0.75rem;
  }
  .lang-trigger .lang-caret { margin-left: auto; }
  .lang-menu {
    position: static;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    border: none;
    background: var(--ink-50);
    margin-top: 0.5rem;
  }
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  width: 42px; height: 42px;
  font-size: 1.35rem;
  color: var(--ink-700);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.15s var(--ease);
  white-space: nowrap;
}
.btn i { font-size: 1.05em; }
.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 0.5rem 0.95rem; font-size: 0.82rem; }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(13, 148, 136, 0.45);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(13, 148, 136, 0.55);
}

.btn-secondary {
  background: var(--ink-900);
  color: #fff;
}
.btn-secondary:hover { color: #fff; background: #000; }

.btn-outline {
  background: #fff;
  border-color: var(--ink-200);
  color: var(--ink-800);
}
.btn-outline:hover { border-color: var(--brand-600); color: var(--brand-700); }

.btn-ghost {
  background: transparent;
  color: var(--ink-700);
}
.btn-ghost:hover { background: var(--ink-100); color: var(--ink-900); }

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

.btn-white {
  background: #fff;
  color: var(--brand-700);
}
.btn-white:hover { color: var(--brand-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ========== Flash messages ========== */
.flash {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin: 1.5rem auto;
  font-weight: 500;
}
.flash-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.flash-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ========== Sections ========== */
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-sm { padding: clamp(2.5rem, 5vw, 4.5rem) 0; position: relative; }

/* Muted / zebra — clearly darker than white, with hairline borders */
.section-muted {
  background: #eef2f7;
  border-top: 1px solid #dfe6ef;
  border-bottom: 1px solid #dfe6ef;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Tinted — subtle brand-coloured section for accent blocks */
.section-tinted {
  background:
    radial-gradient(1200px 500px at 100% 0%, rgba(13, 148, 136, 0.10), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(13, 148, 136, 0.06), transparent 60%),
    linear-gradient(180deg, #f0fdfa 0%, #ecfeff 100%);
  border-top: 1px solid #ccfbf1;
  border-bottom: 1px solid #ccfbf1;
}

/* Pattern — slate with a faint dot grid, great for "features" style sections */
.section-pattern {
  background-color: #f4f6fb;
  background-image:
    radial-gradient(rgba(15, 23, 42, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  border-top: 1px solid #dfe6ef;
  border-bottom: 1px solid #dfe6ef;
}

/* Dark — for occasional high-contrast sections */
.section-dark  { background: var(--ink-900); color: var(--ink-200); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }

/* Gradient top accent: thin teal line at the top of emphasised sections */
.section-accent-top::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  opacity: 0.85;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.1rem;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head p.lead {
  font-size: 1.15rem;
  color: var(--ink-600);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(4rem, 7vw, 6rem);
  background: var(--grad-hero-bg);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 960px) {
  .hero .container { grid-template-columns: 1.1fr 1fr; }
}
.hero h1 {
  margin-bottom: 1.3rem;
  background: linear-gradient(180deg, #0f172a 40%, #0f766e 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .accent {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede {
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.2rem);
  color: var(--ink-600);
  max-width: 560px;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.75rem;
}
.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.3rem;
  color: var(--ink-600);
  font-size: 0.9rem;
}
.hero-bullets li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-bullets i  { color: var(--brand-600); }

.hero-visual {
  position: relative;
  perspective: 1800px;
}
.hero-mock {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  transform: rotateY(-4deg) rotateX(4deg);
  transition: transform 0.4s var(--ease);
}
.hero-mock:hover { transform: rotateY(-2deg) rotateX(2deg); }
.hero-mock-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--ink-100);
  margin-bottom: 1rem;
}
.hero-mock-dot { width: 11px; height: 11px; border-radius: 50%; background: #e2e8f0; }
.hero-mock-dot.red    { background: #fca5a5; }
.hero-mock-dot.amber  { background: #fcd34d; }
.hero-mock-dot.green  { background: #86efac; }
.hero-mock-title {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--ink-500);
  font-weight: 500;
}
.hero-mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--ink-50);
  margin-bottom: 0.55rem;
  font-size: 0.88rem;
}
.hero-mock-row strong { color: var(--ink-900); }
.hero-mock-row .pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #065f46;
}
.hero-mock-row .pill.amber { background: #fef3c7; color: #92400e; }
.hero-mock-row .pill.blue  { background: #e0f2fe; color: #075985; }
.hero-mock-grand {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  background: var(--grad-primary);
  border-radius: var(--radius-md);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-mock-grand strong { font-size: 1.55rem; }

.hero-float {
  position: absolute;
  background: #fff;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ink-200);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  animation: float 6s ease-in-out infinite;
}
.hero-float.top-left  { top: -1rem; left: -1.5rem; animation-delay: 0s; }
.hero-float.bottom-right { bottom: -1rem; right: -1.5rem; animation-delay: 2s; }
.hero-float .chip {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand-700);
  display: grid; place-items: center;
  font-size: 1.1rem;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ========== Trust/logos ========== */
.trust-bar {
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--ink-100);
}
.trust-bar .label {
  text-align: center;
  color: var(--ink-500);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}
.trust-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 640px)  { .trust-logos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .trust-logos { grid-template-columns: repeat(6, 1fr); } }
.trust-logo {
  height: 48px;
  display: grid; place-items: center;
  color: var(--ink-400);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  opacity: 0.85;
  transition: opacity 0.2s var(--ease);
}
.trust-logo:hover { opacity: 1; color: var(--ink-700); }

.client-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}
.client-logo img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.2s var(--ease), opacity 0.2s var(--ease);
}
.client-logo:hover img { filter: grayscale(0); opacity: 1; }
.client-logo .client-logo-fallback {
  display: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink-500);
}
.client-logo.no-img .client-logo-fallback { display: inline; }
.client-logo.no-img:hover .client-logo-fallback { color: var(--ink-800); }

/* Dedicated "Clients" section (home) — logos with breathing room */
.clients-section { background: #fff; }
.clients-grid {
  display: grid;
  gap: 2rem 3rem;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 760px) {
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
}
.client-tile {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.client-tile:hover {
  background: #fff;
  border-color: var(--brand-200);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.client-tile .client-logo img {
  max-height: 64px;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.2s var(--ease), opacity 0.2s var(--ease);
}
.client-tile:hover .client-logo img {
  filter: grayscale(0);
  opacity: 1;
}
.client-tile .client-logo .client-logo-fallback { font-size: 1.2rem; }

/* ========== Feature grid ========== */
.feature-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 680px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-200);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
  color: var(--brand-700);
  display: grid; place-items: center;
  font-size: 1.55rem;
  margin-bottom: 1rem;
}
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p  { color: var(--ink-600); margin: 0; font-size: 0.95rem; line-height: 1.6; }
.feature-card.is-coming::after {
  content: "Próximamente";
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--accent-amber);
  color: #78350f;
  background: #fef3c7;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ========== Value props (alt sections) ========== */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split.reverse > :first-child { order: 2; }
@media (max-width: 899px) { .split.reverse > :first-child { order: 0; } }

.split-media {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
}
.split-media.gradient {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
}
.split-media.gradient h3, .split-media.gradient p { color: #fff; }
.split-media.gradient .checklist li  { color: rgba(255, 255, 255, 0.95); }
.split-media.gradient .checklist li i {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  width: 28px; height: 28px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 0;
}

.checklist { margin: 1.25rem 0 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.55rem 0;
  color: var(--ink-700);
}
.checklist li i {
  color: var(--brand-600);
  font-size: 1.15rem;
  margin-top: 0.1rem;
}

/* ========== Stats ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  text-align: center;
}
.stat-number {
  font-size: clamp(1.9rem, 2.5vw + 0.5rem, 2.8rem);
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.stat-label { color: var(--ink-500); font-size: 0.9rem; font-weight: 500; }

/* ========== Testimonials ========== */
.testimonials {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px)  { .testimonials { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  position: relative;
}
.testimonial i.quote {
  position: absolute;
  top: 1.1rem; right: 1.25rem;
  font-size: 2rem;
  color: var(--brand-100);
}
.testimonial-stars { color: #facc15; margin-bottom: 0.75rem; font-size: 0.95rem; }
.testimonial blockquote {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  color: var(--ink-700);
  line-height: 1.65;
}
.testimonial-author {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}
.testimonial-author .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.testimonial-author strong { display: block; color: var(--ink-900); font-size: 0.92rem; }
.testimonial-author span   { color: var(--ink-500); font-size: 0.82rem; }

/* ========== Pricing ========== */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.highlight {
  border-color: var(--brand-600);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, #fff 0%, #f0fdfa 100%);
  transform: scale(1.02);
}
.price-card.highlight::before {
  content: "Más popular";
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}
.price-card h3 {
  margin-bottom: 0.25rem;
  color: var(--ink-900);
}
.price-card .tagline { color: var(--ink-500); font-size: 0.88rem; margin-bottom: 1.5rem; }
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}
.price-amount .value {
  font-size: 3rem;
  font-weight: 900;
  color: var(--ink-900);
  letter-spacing: -0.04em;
}
.price-amount .currency { font-size: 1.2rem; color: var(--ink-500); font-weight: 600; }
.price-amount .period  { font-size: 0.9rem; color: var(--ink-500); }
.price-note { font-size: 0.82rem; color: var(--ink-500); margin-bottom: 1.5rem; }
.price-card ul {
  margin: 0 0 1.75rem;
  flex: 1;
}
.price-card ul li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.5rem 0;
  color: var(--ink-700);
  font-size: 0.92rem;
}
.price-card ul li i { color: var(--brand-600); margin-top: 0.15rem; }
.price-card .btn { width: 100%; }

/* Two-tier pricing grid */
.pricing-tiers {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .pricing-tiers { grid-template-columns: repeat(2, 1fr); }
}
.price-tier-head { margin-bottom: 1.25rem; }
.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-600);
  background: var(--ink-100);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.tier-badge.best {
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
  color: var(--brand-800);
  border: 1px solid var(--brand-200);
}
.price-includes {
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin: 1rem 0 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-700);
}
.price-includes strong { color: var(--brand-700); }

/* Enterprise callout */
.enterprise-callout {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px dashed var(--ink-300);
  border-radius: var(--radius-lg);
}
.enterprise-callout strong { color: var(--ink-900); font-size: 1rem; }
.enterprise-callout strong i { color: var(--brand-600); margin-right: 0.4rem; }

/* Shared "what's included" grid */
.includes-grid {
  display: grid;
  gap: 1.75rem 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px)  { .includes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .includes-grid { grid-template-columns: repeat(3, 1fr); } }
.includes-grid h4 {
  color: var(--brand-700);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.includes-grid h4 i { font-size: 1rem; }
.includes-grid ul { margin: 0; }
.includes-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.35rem 0;
  color: var(--ink-700);
  font-size: 0.92rem;
}
.includes-grid li i { color: var(--brand-600); margin-top: 0.18rem; }

/* ========== FAQ (accordion) ========== */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  margin-bottom: 0.85rem;
  transition: border-color 0.2s var(--ease);
}
.faq details[open] { border-color: var(--brand-300); box-shadow: var(--shadow-xs); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brand-600);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0.9rem 0 0; color: var(--ink-600); }

/* ========== Forms ========== */
.form-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .form-grid.two { grid-template-columns: repeat(2, 1fr); } }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-700);
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
}
.form-group label .req {
  color: var(--accent-rose);
  font-weight: 700;
  line-height: 1;
}
.form-group input,
.form-group select,
.form-group textarea {
  font: inherit;
  color: var(--ink-900);
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}
.form-consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--ink-500);
  margin: 0.5rem 0 1rem;
}
.form-consent input { margin-top: 0.22rem; accent-color: var(--brand-600); }
.form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.selected-magnet {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--brand-50), #ecfeff);
  border: 1px solid var(--brand-200);
  border-radius: 12px;
  font-size: 0.95rem;
}
.selected-magnet > i {
  font-size: 1.5rem;
  color: var(--brand-700);
  flex-shrink: 0;
}
.selected-magnet > div { flex: 1; color: var(--ink-800); }
.selected-magnet strong { color: var(--brand-800); }
.change-magnet {
  font-size: 0.82rem;
  color: var(--brand-700);
  font-weight: 600;
  white-space: nowrap;
}
.change-magnet:hover { color: var(--brand-800); }

/* ========== Legal pages / docs ========== */
.doc {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 3rem);
  box-shadow: var(--shadow-xs);
}
.doc h1 { font-size: 2rem; }
.doc h2 {
  font-size: 1.35rem;
  margin-top: 2.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ink-100);
}
.doc h3 { font-size: 1.1rem; color: var(--ink-800); }
.doc p, .doc li { color: var(--ink-600); line-height: 1.75; }
.doc strong { color: var(--ink-900); }

/* ========== Blog ========== */
.blog-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px)  { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card .cover {
  aspect-ratio: 16 / 9;
  background: var(--grad-primary);
  display: grid; place-items: center;
  color: #fff;
  font-size: 3rem;
}
.blog-card .body { padding: 1.35rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card .meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--ink-500);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.blog-card h3 { color: var(--ink-900); font-size: 1.15rem; line-height: 1.35; margin-bottom: 0.55rem; }
.blog-card p  { color: var(--ink-600); font-size: 0.92rem; flex: 1; }
.blog-card .read {
  color: var(--brand-700);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.post-hero {
  background: var(--grad-hero-bg);
  padding: clamp(3rem, 5vw, 5rem) 0 2.5rem;
}

/* Breadcrumbs (Schema.org BreadcrumbList) */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--ink-500);
  margin-bottom: 1.25rem;
}
.breadcrumbs a {
  color: var(--ink-600);
  font-weight: 500;
}
.breadcrumbs a:hover { color: var(--brand-700); }
.breadcrumbs-sep { color: var(--ink-400); font-size: 0.9rem; }
.breadcrumbs-current { color: var(--ink-800); font-weight: 600; }
.post-hero .eyebrow { margin-bottom: 0.9rem; }
.post-hero h1 { max-width: 820px; }
.post-hero .meta { color: var(--ink-500); font-size: 0.9rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.post-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-700);
}
.post-body h2 { margin-top: 2.75rem; font-size: 1.55rem; }
.post-body h3 { margin-top: 2rem; }
.post-body p  { margin: 0 0 1.2rem; }
.post-body ul, .post-body ol { margin: 0 0 1.4rem 1.2rem; }
.post-body li { margin-bottom: 0.4rem; }
.post-body blockquote {
  border-left: 4px solid var(--brand-600);
  background: var(--brand-50);
  padding: 1rem 1.4rem;
  color: var(--ink-800);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.6rem 0;
  font-style: italic;
}
.post-body code {
  background: var(--ink-100);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  font-size: 0.88em;
}

/* ========== Resources / lead magnets ========== */
.resource-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px)  { .resource-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .resource-grid { grid-template-columns: repeat(3, 1fr); } }
.resource-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.resource-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.resource-card .icon {
  width: 54px; height: 54px;
  background: var(--grad-primary);
  border-radius: 14px;
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.resource-card h3 { color: var(--ink-900); font-size: 1.15rem; margin-bottom: 0.45rem; }
.resource-card p  { color: var(--ink-600); font-size: 0.92rem; flex: 1; }

/* ========== CTA band ========== */
.cta-band {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, 0.08), transparent 55%),
    var(--grad-primary);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.cta-band-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .cta-band-inner { grid-template-columns: 1.35fr 1fr; } }
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; font-size: clamp(1.7rem, 2vw + 1rem, 2.4rem); }
.cta-band p  { color: rgba(255, 255, 255, 0.85); margin: 0; font-size: 1.05rem; }
.cta-band-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: flex-start; }
@media (min-width: 820px) { .cta-band-actions { justify-content: flex-end; } }

/* ========== Footer ========== */
.site-footer {
  background: var(--ink-900);
  color: var(--ink-400);
  padding: 4rem 0 1.75rem;
  font-size: 0.9rem;
}
.site-footer .brand { color: #fff; }
.site-footer .brand img {
  background: #fff;
  padding: 6px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.footer-grid {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: 1fr;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.5fr repeat(4, 1fr); } }
.footer-brand p { color: var(--ink-400); max-width: 32ch; margin-top: 1rem; }
.site-footer h4 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.site-footer a { color: var(--ink-400); }
.site-footer a:hover { color: #fff; }
.site-footer ul li { margin-bottom: 0.55rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.55rem; }
.footer-contact i { color: var(--brand-400); margin-top: 0.2rem; }
.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1rem;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-social a:hover { background: var(--brand-700); transform: translateY(-2px); }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
}
.footer-bottom strong { color: #fff; }
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ========== Cookie consent (banner + modal) ========== */
.cookie-banner {
  position: fixed;
  bottom: 1rem; left: 1rem; right: 1rem;
  z-index: 120;
  max-width: 960px;
  margin: 0 auto;
  background: var(--ink-900);
  color: var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.5rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: cookieSlideUp 0.35s var(--ease);
}
@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner-inner {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 820px) {
  .cookie-banner-inner { grid-template-columns: 1fr auto; gap: 1.5rem; }
}
.cookie-banner strong { color: #fff; display: block; margin-bottom: 0.25rem; font-size: 0.95rem; }
.cookie-banner p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--ink-300);
  max-width: 60ch;
  line-height: 1.55;
}
.cookie-banner p a {
  color: var(--brand-300);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}
@media (min-width: 820px) { .cookie-banner-actions { justify-content: flex-end; } }

/* Outline-light variant for the dark banner */
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-outline-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ~~~~~ Cookie preferences modal ~~~~~ */
.cookie-modal {
  margin: auto;
  padding: 0;
  border: none;
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: min(92vw, 640px);
  background: #fff;
  box-shadow: 0 30px 80px -20px rgba(15, 23, 42, 0.35);
  color: var(--ink-800);
  max-height: 85vh;
  overflow: hidden;
}
.cookie-modal::backdrop {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
}
.cookie-modal-inner {
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--ink-100);
}
.cookie-modal-header h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-900);
}
.cookie-modal-close {
  background: transparent;
  border: none;
  font-size: 1.15rem;
  color: var(--ink-500);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.cookie-modal-close:hover { background: var(--ink-100); color: var(--ink-900); }
.cookie-modal-lede {
  padding: 1.15rem 1.5rem 0;
  font-size: 0.92rem;
  color: var(--ink-600);
  line-height: 1.6;
  margin: 0;
}

.cookie-category {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--ink-100);
}
.cookie-category:last-of-type { border-bottom: none; }
.cookie-category-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: flex-start;
}
.cookie-category h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-900);
}
.cookie-category p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-600);
  line-height: 1.55;
}

/* Toggle switch */
.cookie-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  flex-shrink: 0;
  user-select: none;
}
.cookie-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.cookie-toggle-slider {
  position: relative;
  display: inline-block;
  width: 42px; height: 24px;
  background: var(--ink-300);
  border-radius: 999px;
  transition: background 0.2s var(--ease);
}
.cookie-toggle-slider::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: transform 0.2s var(--ease);
}
.cookie-toggle input:checked ~ .cookie-toggle-slider { background: var(--brand-600); }
.cookie-toggle input:checked ~ .cookie-toggle-slider::after { transform: translateX(18px); }
.cookie-toggle-label {
  font-size: 0.78rem;
  color: var(--ink-500);
  font-weight: 600;
  min-width: 64px;
  text-align: right;
}
.cookie-toggle.is-locked { cursor: not-allowed; opacity: 0.8; }
.cookie-toggle.is-locked .cookie-toggle-slider { background: var(--brand-600); }

.cookie-modal-footer {
  display: flex;
  gap: 0.6rem;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem 1.5rem;
  background: var(--ink-50);
  border-top: 1px solid var(--ink-100);
}
@media (max-width: 520px) {
  .cookie-modal-footer .btn { flex: 1 1 48%; justify-content: center; }
}

/* Prevent body scroll when modal is open (dialog handles it natively but belt & braces) */
body:has(.cookie-modal[open]) { overflow: hidden; }

/* ========== Success stories ========== */
.case-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
.case-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.case-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--ink-100);
  color: var(--ink-700);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.25rem 0 1.25rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
}
.case-metric strong {
  display: block;
  font-size: 1.5rem;
  color: var(--brand-700);
  font-weight: 900;
}
.case-metric span { font-size: 0.78rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.04em; }

/* ========== Comparison table ========== */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--ink-100);
  font-size: 0.92rem;
}
.compare-table th { background: var(--ink-50); color: var(--ink-700); font-weight: 600; }
.compare-table td.good i { color: #16a34a; font-size: 1.2rem; }
.compare-table td.bad i  { color: var(--ink-300); font-size: 1.2rem; }
.compare-table .tina { background: linear-gradient(180deg, #f0fdfa, #fff); font-weight: 600; color: var(--brand-800); }
.compare-table tr:last-child td { border-bottom: none; }

/* ========== Responsive nav ========== */
@media (max-width: 960px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav {
    position: fixed;
    top: 0; right: 0;
    width: min(90vw, 360px);
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.25rem;
    box-shadow: -20px 0 50px rgba(15, 23, 42, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    z-index: 101;
  }
  .site-nav.is-open { transform: translateX(0); }
  .nav-cta { flex-direction: column; align-items: stretch; width: 100%; margin: 0.5rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .nav-link.active::after { display: none; }
}

@media (max-width: 520px) {
  .hero-float.top-left,
  .hero-float.bottom-right { display: none; }
}

/* ========== Utilities ========== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.muted { color: var(--ink-500); }
