/* ─── distribuys.com — landing ─────────────────────────────────────────── */
/* Fonts self-hosted (SIL OFL, see /fonts) */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/plus-jakarta-sans-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Caveat'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/caveat-700-latin.woff2) format('woff2');
}
:root {
  --navy: #0b1f3a;
  --navy-2: #132c4f;
  --blue: #1d6fe0;
  --blue-soft: #e8f1fd;
  --orange: #f7801e;
  --orange-dark: #e06a0a;
  --cta: #bf5500;       /* white text passes WCAG AA (4.65:1); brand orange stays for accents */
  --cta-hover: #a34800;
  --green: #18a058;
  --green-soft: #e6f6ee;
  --ink: #0b1f3a;
  --muted: #5a6b82;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --danger: #d93025;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .06), 0 12px 32px rgba(11, 31, 58, .08);
  --shadow-lg: 0 2px 4px rgba(11, 31, 58, .06), 0 24px 56px rgba(11, 31, 58, .14);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --hand: 'Caveat', 'Segoe Script', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -.025em; margin: 0; }
p { margin: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 104px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.eyebrow {
  display: inline-block; margin-bottom: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #1a63c9;
}

/* Handwritten accent with orange underline */
.hand {
  font-family: var(--hand); font-weight: 700; font-size: 1.25em;
  color: var(--navy); white-space: nowrap; position: relative; display: inline-block;
  letter-spacing: 0;
}
.hand::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 8px;
  background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7 Q 50 1 100 5 T 198 4' fill='none' stroke='%23f7801e' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.on-dark .hand { color: #fff; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 10px; border: 2px solid transparent;
  font: 700 16px/1 var(--display); text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn-cta { background: var(--cta); color: #fff; box-shadow: 0 6px 18px rgba(191, 85, 0, .32); }
.btn-cta:hover { background: var(--cta-hover); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(191, 85, 0, .38); }
.btn-ghost { background: transparent; color: var(--navy); border-color: #c9d3e0; }
.btn-ghost:hover { border-color: var(--navy); background: #fff; }
.btn-cta:focus-visible, .btn-outline:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--navy); }
.btn-lg { padding: 18px 30px; font-size: 18px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn[disabled] { opacity: .7; cursor: wait; }

/* ─── Logo ─── */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo-word { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--navy); letter-spacing: -.03em; line-height: 1; }
.logo-word .dot { color: var(--orange); }
.logo-word .tld { color: var(--navy); font-weight: 600; }
.logo-tag { display: block; margin-top: 3px; font-size: 8.5px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.on-dark .logo-word, .on-dark .logo-word .tld { color: #fff; }
.on-dark .logo-tag { color: #a9b8cc; }

/* ─── Nav ─── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--navy); }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ─── Hero ─── */
.hero { padding: 56px 0 96px; background:
  radial-gradient(900px 480px at 85% 10%, rgba(29, 111, 224, .10), transparent 60%),
  radial-gradient(600px 360px at 0% 100%, rgba(247, 128, 30, .08), transparent 60%),
  linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--navy); box-shadow: 0 1px 2px rgba(11, 31, 58, .05);
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; letter-spacing: -.035em; }
.hero h1 .accent { color: var(--blue); }
.hero-sub { margin-top: 22px; font-family: var(--display); font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.hero-sub span { color: var(--orange); }
.hero-text { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 560px; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.reassure { margin-top: 16px; font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.reassure svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.on-dark .reassure, .on-dark-muted { color: #c6d2e3; }
.hero-note { font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; color: var(--green); }
.hero-art { position: relative; justify-self: center; width: 100%; max-width: 520px; }
.hero-art::before {
  content: ""; position: absolute; inset: 8% -6% -6% 10%; border-radius: 32px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%); transform: rotate(3deg);
}
.hero-photo { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); }
.hero-hand { position: absolute; z-index: 2; top: -18px; left: -8px; font-size: 30px; transform: rotate(-4deg); background: #fff; padding: 2px 12px 6px; border-radius: 10px; box-shadow: var(--shadow); }
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px);
  border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 16px; font-size: 14px;
}
.float-card b { display: block; font-family: var(--display); color: var(--navy); }
.float-card small { display: block; color: var(--muted); font-size: 12px; }
.float-card .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 18px; height: 18px; }
.fc-top { top: 22%; right: -28px; }
.fc-bottom { bottom: 9%; left: -36px; }

/* ─── Features ─── */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: box-shadow .2s, transform .2s;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; font-weight: 800; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.ic-blue { background: var(--blue-soft); color: var(--blue); }
.ic-orange { background: #fff1e5; color: var(--orange-dark); }
.ic-navy { background: #e7ebf2; color: var(--navy); }
.ic-green { background: var(--green-soft); color: var(--green); }
.ic-violet { background: #f0ebff; color: #6a45d8; }
.feature-cta {
  background: var(--navy); color: #fff; border-color: var(--navy);
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
}
.feature-cta p { color: #c6d2e3; }
.feature-cta .btn { align-self: flex-start; }

/* ─── Platform / mockup ─── */
.platform-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.platform-copy h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.platform-copy > p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.mini-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.mini-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.mini-list svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }

.devices { position: relative; padding: 0 3% 40px; }
.laptop-screen {
  background: var(--navy); border-radius: 14px 14px 0 0; padding: 10px; box-shadow: var(--shadow);
}
.laptop-base { height: 14px; margin: 0 -3%; background: linear-gradient(#d5dbe4, #b8c1ce); border-radius: 0 0 14px 14px; }
.app { background: #fff; border-radius: 6px; overflow: hidden; display: grid; grid-template-columns: 22% 1fr; min-height: 300px; font-size: 11px; }
.app-side { background: var(--navy-2); padding: 12px 10px; display: grid; gap: 8px; align-content: start; }
.app-side .row { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.app-side .row.active { background: var(--orange); }
.app-main { padding: 14px; display: grid; gap: 12px; align-content: start; }
.app-title { font-weight: 800; font-size: 13px; color: var(--navy); }
.app-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.app-card { border: 1px solid var(--line); border-radius: 8px; padding: 8px; }
.app-card b { display: block; font-size: 15px; color: var(--navy); }
.app-card span { color: var(--muted); }
.app-chart { border: 1px solid var(--line); border-radius: 8px; padding: 10px; display: flex; align-items: flex-end; gap: 6px; height: 96px; }
.app-chart i { flex: 1; border-radius: 3px 3px 0 0; background: var(--blue-soft); }
.app-chart i:nth-child(3n) { background: var(--blue); }
.app-table { display: grid; gap: 6px; }
.app-table div { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6px; }
.app-table span { height: 7px; border-radius: 4px; background: var(--line); }
.app-table .ok { background: var(--green-soft); }
.app-table .warn { background: #ffe6cf; }
.phone {
  position: absolute; right: -2%; bottom: 0; width: 30%; min-width: 120px;
  background: var(--navy); border-radius: 22px; padding: 8px; box-shadow: var(--shadow);
}
.phone-screen { background: #fff; border-radius: 15px; padding: 12px 10px; display: grid; gap: 8px; font-size: 10px; min-height: 220px; align-content: start; }
.phone-screen .ph-title { font-weight: 800; color: var(--navy); font-size: 12px; }
.phone-screen .ph-item { border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; display: flex; justify-content: space-between; gap: 6px; }
.phone-screen .ph-item b { color: var(--navy); }
.phone-screen .ph-btn { margin-top: 4px; background: var(--cta); color: #fff; text-align: center; border-radius: 8px; padding: 7px; font-weight: 700; }
.mock-label {
  position: absolute; left: 0; bottom: 0; font-size: 12px; font-weight: 600; color: var(--muted);
  background: #fff; border: 1px dashed #c3ccd8; border-radius: 999px; padding: 4px 10px;
}

/* ─── Benefits ─── */
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.benefits-copy h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.benefits-copy p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checks li {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px;
  display: flex; gap: 12px; align-items: flex-start;
}
.checks .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.checks .tick svg { width: 15px; height: 15px; }
.checks b { display: block; font-size: 16px; }
.checks span { color: var(--muted); font-size: 14px; }

/* ─── Navy band ─── */
.band { background: linear-gradient(135deg, var(--navy-2), #1a3a66); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 111, 224, .45), transparent 70%);
}
.band-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.band h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; max-width: 680px; }
.band p { margin-top: 14px; color: #c6d2e3; font-size: 18px; max-width: 600px; }

/* ─── Quote form ─── */
.quote-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.quote-copy h1, .quote-copy h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.quote-copy p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; counter-reset: step; }
.steps li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.steps li::before {
  counter-increment: step; content: counter(step);
  width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-weight: 800; flex: none;
}
.steps small { display: block; font-weight: 500; color: var(--muted); font-size: 14px; }
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.quote-card { text-align: center; }
.quote-ico { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.quote-ico svg { width: 30px; height: 30px; }
.quote-card h2 { font-size: 26px; font-weight: 800; line-height: 1.2; }
.quote-card > p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.quote-mail { display: grid; gap: 10px; justify-items: center; margin-top: 22px; }
.quote-mail[hidden] { display: none; }
.quote-addr { font-weight: 700; color: var(--navy); }
.quote-privacy { font-size: 13px; }
.quote-card .quote-privacy { margin-top: 18px; }

/* ─── Footer ─── */
.footer { background: var(--navy); color: #c6d2e3; padding: 64px 0 28px; }
.trust { list-style: none; margin: 0; padding-left: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.trust li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: #fff; }
.trust .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: var(--orange); flex: none; }
.trust .ic svg { width: 22px; height: 22px; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: 40px 0; }
.footer-hand { font-size: 22px; margin-top: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: #c6d2e3; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ─── Utility pages ─── */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.page-top { padding-top: 56px; }
.notfound { text-align: center; min-height: 50vh; }
.notfound h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
.notfound p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.notfound .hero-actions { justify-content: center; }

/* ─── Responsive ─── */
@media (max-width: 1080px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 56px; }
  .hero-grid, .platform-grid, .benefits-grid, .quote-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: block; }
  /* Full-height panel under the bar: it scrolls on its own and covers the page behind */
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px 20px 20px;
    height: calc(100vh - 72px); height: calc(100dvh - 72px);
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { display: flex; }
  /* While the menu is open the page behind stays still. Locking the root's overflow
     cancels position: sticky, so the bar switches to fixed and stays visible at the top
     whatever the scroll position (the panel covers the content that shifts behind it). */
  html.menu-open, html.menu-open body { overflow: hidden; }
  html.menu-open .nav { position: fixed; left: 0; right: 0; background: #fff; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links .btn { margin-top: 16px; }
  .fc-top { right: -6px; } .fc-bottom { left: -6px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .features-grid, .checks { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; gap: 16px; }
  .trust li { flex-direction: column; align-items: flex-start; font-size: 14px; }
  .quote-card { padding: 22px 18px; }
  .hero-actions .btn { width: 100%; }
  .pill { font-size: 12px; padding: 6px 12px; }
  .band .btn { width: 100%; }
  .app { min-height: 220px; }
  .app-cards b { font-size: 12px; }
  .phone { width: 34%; }
  .footer-main { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ─── Cómo funciona ─── */
.how-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.how-grid h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
.how-lead { margin-top: 14px; font-size: 18px; color: var(--muted); }
.how-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.flow { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 14px; }
.flow li { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.flow-n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 800; }
.flow li:nth-child(2) .flow-n { background: var(--blue); }
.flow li:nth-child(3) .flow-n { background: var(--orange); color: var(--navy); }
.flow h3 { font-size: 18px; font-weight: 800; }
.flow p { margin-top: 4px; color: var(--muted); font-size: 15px; }

/* ─── Antes / con distribuys ─── */
.compare { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; max-width: 1000px; margin: 0 auto; }
.compare-col { border-radius: 20px; padding: 32px; }
.compare-col h3 { font-size: 20px; font-weight: 800; margin-bottom: 18px; }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare-col li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.compare-col li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px; background-repeat: no-repeat; background-position: center; background-size: 14px; }
.before { background: #fff; border: 1px dashed #c9d3e0; color: var(--muted); }
.before h3 { color: var(--muted); }
.before li::before { background-color: #eef1f5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238595ab' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.after { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.after li::before { background-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.after b { color: var(--navy); }

/* ─── Banda con foto ─── */
.band-photo { padding: 112px 0; }
.band-bg, .band-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 31, 58, .94) 0%, rgba(11, 31, 58, .78) 50%, rgba(11, 31, 58, .45) 100%); }
.band-photo .band-inner { z-index: 1; }
.band-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.footer-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }

/* Skeleton values in the illustrated mockup (no fake numbers) */
.app-card .sk { display: block; width: 44%; height: 12px; margin-top: 6px; border-radius: 4px; background: var(--line); }

/* ─── Scroll reveal (only when JS runs and motion is allowed) ─── */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .how-grid, .compare { grid-template-columns: 1fr; gap: 32px; }
  .how-photo { order: 2; }
  .hero-art { max-width: 440px; margin-top: 12px; }
  .band-photo { padding: 80px 0; }
}
@media (max-width: 600px) {
  .hero-actions .btn { width: 100%; }
  .pill { font-size: 12px; padding: 6px 12px; }
  .float-card { padding: 10px 12px; font-size: 13px; }
  .fc-top { top: 14%; } .fc-bottom { bottom: 6%; }
  .hero-hand { font-size: 24px; top: -14px; left: 4px; }
  .compare-col { padding: 24px 20px; }
  .flow li { padding: 16px; }
}
/* ─── Feature pages ─── */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.fhero { padding: 48px 0 64px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.fhero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.fhero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; }
.fhero .lead { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 620px; }
.fhero-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.fhero-card .ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.fhero-card .ic svg { width: 28px; height: 28px; }
.fhero-card h2 { font-size: 18px; font-weight: 800; }
.fhero-card ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.fhero-card li { display: flex; gap: 10px; font-weight: 600; font-size: 15px; }
.fhero-card li svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 3px; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; font-weight: 800; margin: 26px 0 8px; }
.prose p { color: #33445c; font-size: 17px; margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 20px; color: #33445c; font-size: 17px; }
.prose li { margin: 6px 0; }
.prose a { color: #1a63c9; font-weight: 600; }
.note { background: var(--blue-soft); border-radius: 12px; padding: 16px 18px; color: var(--navy); font-size: 15px; margin: 20px 0; }
.faq { max-width: 760px; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange-dark); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: #33445c; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a { text-decoration: none; }
.related .feature h3 { font-size: 17px; }
.feature-link { display: block; height: 100%; text-decoration: none; }
.feature .more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 14px; color: #1a63c9; }
@media (max-width: 900px) {
  .fhero-grid { grid-template-columns: 1fr; gap: 32px; }
  .related { grid-template-columns: 1fr; }
}
.section-title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 0 0 28px; font-size: 14px; }
.footer-links a { color: #c6d2e3; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.feature-link:hover .feature { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: var(--radius); }

/* ─── Casos de uso ─── */
.cases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case-card { height: 100%; }
.case-card h3 { font-size: 18px; }
.h3 { font-size: 20px; font-weight: 800; margin-bottom: 18px; }
.case-flow { max-width: 860px; margin: 0 auto; }
.case-outcome { max-width: 860px; margin: 0 auto; }
@media (max-width: 1080px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cases-grid { grid-template-columns: 1fr; } }
.case-groups { display: grid; gap: 40px; }
.case-group-title { font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.case-group-title::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--orange); }

/* ─── Nav: desplegable «Funcionalidades» ─── */
.dd { position: relative; }
.dd-toggle { background: none; border: 0; padding: 0; cursor: pointer; font: 600 15px var(--font); color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.dd-toggle svg { width: 16px; height: 16px; transition: transform .15s; }
.dd-toggle:hover, .dd-toggle[aria-expanded="true"] { color: var(--navy); }
.dd-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd-panel {
  display: none; position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%);
  width: min(980px, 92vw); padding: 24px; gap: 8px 24px; grid-template-columns: repeat(5, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
}
.dd-panel.open { display: grid; }
.dd-title { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.dd-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dd-group a { font-size: 14px; color: var(--muted); text-decoration: none; }
.dd-group a:hover { color: #1a63c9; }

/* ─── Home: Smart Orders destacado ─── */
.star { padding: 88px 0; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1a3a66 100%); color: #fff; position: relative; overflow: hidden; }
.star::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(247, 128, 30, .35), transparent 70%); }
.star-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.star-copy { max-width: 640px; }
.star .pill { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; }
.star h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; }
.star p { margin-top: 16px; font-size: 18px; color: #c6d2e3; }
.star .mini-list li { color: #fff; }
.star .mini-list svg { color: var(--orange); }
.star .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.star .btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.star-shots { position: relative; }
.star-shots .shot-phone { position: absolute; right: -24px; bottom: -40px; width: 250px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.star-has-shots .star-shots { padding-bottom: 40px; }

/* ─── Home: funcionalidades por grupos ─── */
.fgroups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 40px; }
.frows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.frow { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.frow:hover { border-color: #c9d3e0; box-shadow: var(--shadow); transform: translateY(-1px); }
.frow .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.frow .ic svg { width: 20px; height: 20px; }
.frow b { display: block; font-family: var(--display); font-size: 16px; color: var(--navy); }
.frow > span:nth-child(2) > span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.frow-go { margin-left: auto; color: #1a63c9; font-weight: 800; }
.frow:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ─── Capturas reales de la app ─── */
.shots { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 40px; margin-top: 56px; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; }
.shot-desktop { position: relative; flex: 1 1 100%; }
.shot-frame { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.shot-frame::before { content: ""; display: block; height: 30px; background-color: #eef1f5; border-bottom: 1px solid var(--line);
  background-image: radial-gradient(circle at 18px 15px, #ff6b5f 5px, transparent 6px), radial-gradient(circle at 36px 15px, #ffbd2e 5px, transparent 6px), radial-gradient(circle at 54px 15px, #28c840 5px, transparent 6px); }
.has-zoom { margin-bottom: 48px; }
.shot-zoom { position: absolute; right: -16px; bottom: -48px; width: min(42%, 480px); border-radius: 14px; overflow: hidden; background: #fff; border: 3px solid #fff; outline: 2px solid var(--orange); box-shadow: 0 24px 60px rgba(11, 31, 58, .28); }
.shot-phone { flex: 0 0 320px; padding: 10px; border-radius: 44px; background: #0d1626; box-shadow: var(--shadow-lg); }
.shot-phone img { border-radius: 34px; }
@media (max-width: 900px) {
  .shots { margin-top: 40px; gap: 28px; }
  .has-zoom { margin-bottom: 0; }
  .shot-zoom { position: static; width: 100%; margin-top: 14px; }
}
@media (max-width: 600px) {
  .shot-phone { flex-basis: 78vw; border-radius: 36px; padding: 8px; }
  .shot-phone img { border-radius: 28px; }
}

/* ─── Pie: funcionalidades en columnas ─── */
.footer-links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding: 0 0 32px; }
.footer-title { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }

@media (max-width: 900px) {
  .dd { width: 100%; }
  .dd-toggle { width: 100%; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .dd-panel { position: static; transform: none; width: 100%; box-shadow: none; border: 0; padding: 8px 0 12px; grid-template-columns: 1fr 1fr; }
  .fgroups { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .star-shots .shot-phone { position: static; width: 70%; max-width: 280px; margin: -48px 0 0 auto; }
  .star-has-shots .star-shots { padding-bottom: 0; }
}
@media (max-width: 600px) {
  .dd-panel { grid-template-columns: 1fr; }
  .star .btn { width: 100%; }
}
.nav-links .dd-group a { padding: 4px 0; border: 0; font-size: 14px; }
@media (max-width: 900px) { .nav-links .dd-group a { font-size: 15px; } }

/* ─── Home v2: un solo mensaje, una sola narrativa ─── */
.hx { padding: 56px 0 88px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.hx-copy { max-width: 860px; }
.hx h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 800; letter-spacing: -.035em; margin-top: 14px; }
.hx h1 span { display: block; margin-top: 14px; font-size: .52em; line-height: 1.15; letter-spacing: -.02em; color: var(--cta); max-width: 760px; }
.hx-sub { margin-top: 22px; font-size: clamp(18px, 2vw, 21px); color: #33445c; max-width: 720px; }
.hx-wins { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; color: var(--navy); }
.hx-wins li { display: inline-flex; align-items: center; gap: 8px; }
.hx-wins svg { width: 20px; height: 20px; color: var(--green); flex: none; }
.hx .shot-desktop { margin-top: 56px; }
.gift { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #fdeee2; color: var(--navy); font-size: 15px; }
.gift svg { width: 20px; height: 20px; color: var(--cta); flex: none; }
.gift + .reassure { display: flex; }

.pains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.pain-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #fdeee2; color: var(--cta); }
.pain-ic svg { width: 24px; height: 24px; }
.pain h3 { margin-top: 18px; font-size: 22px; font-weight: 800; }
.pain p { margin-top: 8px; color: var(--muted); font-size: 17px; }

.solve { display: grid; gap: 32px; padding: 56px 0; border-top: 1px solid var(--line); }
.solve:first-of-type { border-top: 0; padding-top: 0; }
.solve-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 48px; align-items: start; }
.solve-n { grid-column: 1; font-family: var(--display); font-weight: 800; color: var(--cta); font-size: 15px; letter-spacing: .08em; }
.solve h3 { grid-column: 1; font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.solve-copy > p:not(.solve-more) { grid-column: 1; font-size: 18px; color: #33445c; }
.solve .ticks { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.solve-more { grid-column: 2; font-size: 15px; color: var(--muted); }
.solve-more a { color: #1a63c9; font-weight: 700; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 17px; }
.ticks svg { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 1px; }
.combo { position: relative; }
.combo-phone { padding-bottom: 40px; }
.combo-phone .shot-phone { position: absolute; right: -24px; bottom: 0; width: 250px; }

.so { padding: 104px 0; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1a3a66 100%); color: #fff; overflow: hidden; }
.so-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.so h2 { margin-top: 16px; font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; }
.so-copy > p { margin-top: 16px; font-size: 18px; color: #c6d2e3; }
.so .ticks { margin-top: 24px; }
.so .ticks li { color: #fff; }
.so .ticks svg { color: var(--orange); }
.so .pill { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e9eef5; }
.so-visual { position: relative; display: flex; justify-content: flex-end; padding-bottom: 24px; }
.shot-detail { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.so-visual .shot-detail { position: absolute; left: -24px; bottom: 0; width: 78%; z-index: 1; outline: 3px solid var(--orange); }
.so-visual .shot-phone { flex: 0 0 280px; margin-bottom: 120px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }

.day { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: d; }
.day a { display: grid; gap: 8px; height: 100%; padding: 22px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-decoration: none; color: var(--muted); transition: border-color .15s, box-shadow .15s, transform .15s; }
.day a:hover { border-color: #c9d3e0; box-shadow: var(--shadow); transform: translateY(-2px); }
.day b { font-family: var(--display); font-size: 20px; color: var(--navy); }
.day-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: #1a63c9; }
.day-ic svg { width: 22px; height: 22px; }
.day-more { margin-top: 28px; text-align: center; font-weight: 700; }
.day-more a { color: #1a63c9; }
#preguntas .faq { margin: 0 auto; }
/* «Habla con Sam»: segundo gancho, con mockup del panel de conversación en móvil */
.hero-sam { margin-top: 14px; }
.hero-sam a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--navy); color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; box-shadow: 0 8px 24px rgba(11, 31, 58, .25); transition: transform .15s, box-shadow .15s; }
.hero-sam a:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(11, 31, 58, .32); }
.hero-sam svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
.sam-talk { padding: 112px 0; position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); border-top: 1px solid var(--line); }
.sam-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pill-soon { margin: 14px 0 0; background: #fdeee2; border-color: #f6c9a4; color: var(--cta); }
.pill-soon::before { background: var(--cta); }
.sam-copy h2 { margin-top: 14px; font-size: clamp(44px, 6.4vw, 84px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.sam-name { background: linear-gradient(90deg, var(--blue), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sam-copy .lead { margin-top: 18px; font-size: clamp(18px, 2vw, 22px); color: #33445c; max-width: 560px; }
.sam-ex { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sam-ex li { display: flex; gap: 10px; align-items: flex-start; font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--navy); padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.sam-ex svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 2px; }
.sam-trust { margin-top: 22px; display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.sam-trust svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 2px; }
.sam-copy .hero-actions { margin-top: 24px; }
.sam-visual { position: relative; display: flex; justify-content: center; padding: 24px 0; }
.sam-glow { position: absolute; inset: -10% -20%; background: radial-gradient(closest-side at 60% 45%, rgba(29, 111, 224, .28), transparent 70%), radial-gradient(closest-side at 30% 70%, rgba(247, 128, 30, .28), transparent 70%); filter: blur(10px); }
.sam-phone { position: relative; width: 360px; background: #0d1626; border-radius: 48px; padding: 11px; box-shadow: 0 40px 90px rgba(11, 31, 58, .35), 0 0 0 1px rgba(255, 255, 255, .4) inset; color: var(--navy); font-family: var(--font); }
.sam-phone > * { background: #fff; }
.sam-top { border-radius: 38px 38px 0 0; padding: 24px 20px 14px; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; border-bottom: 1px solid var(--line); }
.sam-logo { grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), #6aa6ff); color: #fff; display: grid; place-items: center; }
.sam-logo svg { width: 22px; height: 22px; }
.sam-top b { font-size: 17px; }
.sam-sub { font-size: 12px; color: var(--muted); }
.sam-chat { padding: 16px; display: grid; gap: 12px; font-size: 14px; line-height: 1.4; background: var(--bg-soft); min-height: 320px; }
.sam-chat p { margin: 0; }
.b-user { justify-self: end; max-width: 86%; background: var(--blue); color: #fff; padding: 11px 13px; border-radius: 18px 18px 4px 18px; display: flex; gap: 8px; align-items: flex-start; box-shadow: 0 6px 16px rgba(29, 111, 224, .3); }
.b-user svg { width: 16px; height: 16px; flex: none; margin-top: 2px; opacity: .9; }
.b-sam { justify-self: start; max-width: 90%; background: #fff; border: 1px solid var(--line); padding: 11px 13px; border-radius: 18px 18px 18px 4px; display: grid; gap: 8px; box-shadow: var(--shadow); }
.b-sam ul { margin: 0; padding-left: 16px; display: grid; gap: 3px; }
.b-sam em { font-style: normal; color: var(--cta); font-weight: 700; }
.b-q { font-weight: 700; }
.b-acts { display: flex; gap: 8px; }
.b-acts span { font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 10px; background: var(--blue); color: #fff; }
.b-acts .ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.sam-input { border-radius: 0 0 38px 38px; padding: 12px 14px 24px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.sam-mic { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--cta)); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 8px 20px rgba(191, 85, 0, .4); }
.sam-mic svg { width: 22px; height: 22px; }
.sam-wave { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; gap: 5px; align-items: center; height: 36px; }
.sam-wave i { display: block; width: 5px; height: 10px; border-radius: 3px; background: linear-gradient(180deg, var(--blue), var(--orange)); opacity: .9; }
@media (prefers-reduced-motion: no-preference) {
  .sam-wave i { animation: samwave 1.1s ease-in-out infinite; }
  .sam-wave i:nth-child(2) { animation-delay: .1s; } .sam-wave i:nth-child(3) { animation-delay: .2s; } .sam-wave i:nth-child(4) { animation-delay: .3s; }
  .sam-wave i:nth-child(5) { animation-delay: .2s; } .sam-wave i:nth-child(6) { animation-delay: .1s; } .sam-wave i:nth-child(7) { animation-delay: 0s; }
  @keyframes samwave { 0%, 100% { height: 8px; } 50% { height: 32px; } }
}
@media (max-width: 900px) {
  .sam-talk { padding: 64px 0; }
  .sam-grid { grid-template-columns: 1fr; gap: 36px; }
  .sam-ex { grid-template-columns: 1fr; }
  .sam-phone { width: min(360px, 88vw); }
  .sam-copy .hero-actions .btn { width: 100%; justify-content: center; }
}
.final-cta { padding: 88px 0; }
.dd-all { grid-column: 1 / -1; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 800; color: #1a63c9 !important; }

@media (max-width: 900px) {
  .hx { padding: 32px 0 56px; }
  .hx .shot-desktop { margin-top: 36px; }
  .pains, .so-grid { grid-template-columns: 1fr; }
  .solve { padding: 40px 0; gap: 24px; }
  .solve-copy { grid-template-columns: 1fr; }
  .solve .ticks, .solve-more { grid-column: 1; grid-row: auto; }
  .solve .ticks { margin-top: 8px; }
  .combo-phone { padding-bottom: 0; }
  .combo-phone .shot-phone { position: static; width: 70%; max-width: 280px; margin: -48px 0 0 auto; }
  .so { padding: 72px 0; }
  .so-visual { flex-direction: column; align-items: stretch; padding-bottom: 0; }
  .so-visual .shot-detail { position: static; width: 100%; order: 2; margin-top: -40px; }
  .so-visual .shot-phone { margin: 0 auto; width: 70%; max-width: 280px; flex: none; }
  .day { grid-template-columns: 1fr; }
  .day a { grid-template-columns: 44px 1fr; align-items: center; column-gap: 14px; }
  .day a > span:last-child { grid-column: 2; }
  .final-cta { padding: 64px 0; }
}
@media (max-width: 600px) {
  .hx .hero-actions .btn, .so .hero-actions .btn { width: 100%; justify-content: center; }
  .pain { padding: 22px; }
}

/* ─── /precios ─── */
.pr-hero { padding-bottom: 72px; }
.pr-hero .section-head { max-width: 760px; }
.hx-price { margin-top: 18px; font-size: 16px; color: var(--muted); }
.hx-price b { color: var(--navy); }
.hx-price a { color: #1a63c9; font-weight: 700; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 12px; }
.plan-rec { border: 2px solid var(--cta); box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -14px; left: 24px; background: var(--cta); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan h2 { font-size: 24px; font-weight: 800; }
.plan-who { color: var(--muted); font-size: 15px; min-height: 2.6em; }
.plan-price { font-family: var(--display); line-height: 1; }
.plan-price b { font-size: 48px; font-weight: 800; letter-spacing: -.03em; }
.plan-price span { font-size: 18px; color: var(--muted); margin-left: 4px; }
.plan-terms { font-size: 13.5px; color: var(--muted); }
.plan .btn { justify-content: center; }
.plan .ticks { margin-top: 8px; }
.plan .ticks li { font-size: 15px; font-weight: 500; }
.plan-h { margin-top: 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.plan-limits { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: #33445c; }
.plan-onb { font-size: 14px; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line); }
.plan-gift, .pr-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--navy); background: #fdeee2; border-radius: 12px; padding: 10px 12px; }
.plan-gift svg, .pr-note svg { width: 20px; height: 20px; color: var(--cta); flex: none; }
.pr-note { margin: 28px auto 0; width: fit-content; font-size: 15px; }
.cmp-hint { display: none; align-items: center; gap: 8px; margin: -24px 0 14px; font-size: 13px; font-weight: 700; color: var(--muted); }
.cmp-hint svg { width: 16px; height: 16px; color: var(--blue); }
.cmp-wrap { position: relative; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-family: var(--display); font-size: 16px; font-weight: 800; color: var(--navy); background: var(--bg-soft); position: sticky; top: 0; }
.cmp thead th.rec, .cmp td.rec { background: #fff6ee; }
.cmp thead th.rec { color: var(--cta-hover); }
.cmp tbody th { font-weight: 600; color: var(--navy); width: 44%; }
.cmp td { color: #33445c; }
.cmp-group th { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); padding-top: 18px; }
.cmp .yes svg { width: 22px; height: 22px; color: var(--green); }
.cmp .no { color: #a9b4c3; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.addons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.addons li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.addons li span { grid-column: 1; font-weight: 600; color: var(--navy); }
.addons li b { grid-column: 2; grid-row: 1 / span 2; font-family: var(--display); font-size: 18px; color: var(--navy); white-space: nowrap; }
.addons li small { grid-column: 1; font-size: 13px; color: var(--muted); }
.pilot { display: grid; grid-template-columns: 72px 1fr; gap: 28px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.pilot-ic { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; background: var(--blue-soft); color: #1a63c9; }
.pilot-ic svg { width: 34px; height: 34px; }
.pilot h2 { margin-top: 8px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.pilot p { margin-top: 10px; font-size: 18px; color: #33445c; max-width: 680px; }
.pilot .hero-actions { margin-top: 20px; }
@media (max-width: 900px) {
  .plans, .addons { grid-template-columns: 1fr; }
  .plan-rec { order: -1; }
  /* Tabla comparativa: la primera columna se queda fija al deslizar y cabe más tabla */
  .cmp { min-width: 600px; font-size: 14px; }
  .cmp th, .cmp td { padding: 12px 12px; }
  .cmp thead th { font-size: 15px; }
  .cmp tbody th[scope="row"], .cmp thead th:first-child { position: sticky; left: 0; z-index: 2; background: #fff; box-shadow: 1px 0 0 var(--line); }
  .cmp thead th:first-child { background: var(--bg-soft); z-index: 3; }
  .cmp-group span { position: sticky; left: 12px; display: inline-block; }
  .cmp tbody th[scope="row"] { width: auto; min-width: 168px; max-width: 190px; }
  .cmp-hint { display: flex; }
  .plan-who { min-height: 0; }
  .pilot { grid-template-columns: 1fr; padding: 24px; }
  .pr-note { width: auto; }
}

/* ─── /sam: Sam, tu agente ─── */
.sam-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.sam-hero .crumbs { margin-bottom: 14px; }
.sam-hero h1 { margin-top: 14px; font-size: clamp(38px, 5.4vw, 68px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.sam-hero .lead { margin-top: 18px; font-size: clamp(17px, 1.8vw, 20px); color: #33445c; max-width: 560px; }
.sam-hero .hero-actions { margin-top: 24px; }
.sam-send { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), #6aa6ff); color: #fff; display: grid; place-items: center; flex: none; }
.sam-send svg { width: 22px; height: 22px; }
.sam-more { margin-top: 14px; font-weight: 700; }
.sam-more a { color: #1a63c9; }
.sam-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.sam-steps li { display: grid; gap: 8px; align-content: start; padding: 22px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--muted); }
.sam-steps li::before { counter-increment: s; content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-weight: 800; }
.sam-steps b { font-family: var(--display); font-size: 20px; color: var(--navy); }
.roles { display: grid; gap: 28px; }
.role { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.role-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.role-ic svg { width: 24px; height: 24px; }
.role h3 { margin-top: 14px; font-size: 26px; font-weight: 800; }
.role-who { margin-top: 4px; color: var(--muted); font-size: 17px; }
.role-count { margin-top: 10px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--cta); }
.skills { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.skills li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #33445c; }
.sk-type { flex: none; width: 128px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--green); background: var(--green-soft); border-radius: 999px; padding: 4px 9px; text-align: center; margin-top: 1px; }
.sk-type.sk-w { color: var(--cta); background: #fdeee2; }
.role-chat { display: grid; gap: 12px; padding: 18px; border-radius: 20px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14px; line-height: 1.4; }
.role-chat p { margin: 0; }
.b-note { font-size: 12px; color: var(--muted); }
.guar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guar li { display: flex; gap: 12px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--muted); }
.guar li > svg { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 2px; }
.guar div { display: grid; gap: 4px; }
.guar b { color: var(--navy); font-size: 17px; }
.plan-sam { display: grid; grid-template-columns: 72px 1fr; gap: 24px; align-items: start; max-width: 860px; margin: 0 auto; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.plan-sam-ic { width: 72px; height: 72px; border-radius: 20px; background: linear-gradient(135deg, var(--blue), #6aa6ff); color: #fff; display: grid; place-items: center; }
.plan-sam-ic svg { width: 34px; height: 34px; }
.plan-sam h2 { margin-top: 8px; font-size: 28px; font-weight: 800; }
.plan-sam p { margin-top: 12px; color: #33445c; font-size: 17px; }
.plan-sam-link { font-weight: 700; }
.plan-sam-link a { color: #1a63c9; }
@media (max-width: 900px) {
  .sam-steps { grid-template-columns: 1fr 1fr; }
  .role { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  .guar { grid-template-columns: 1fr; }
  .plan-sam { grid-template-columns: 1fr; padding: 22px; }
  .sam-hero .hero-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 600px) {
  .sam-steps { grid-template-columns: 1fr; }
  .skills li { flex-direction: column; gap: 4px; }
  .sk-type { width: auto; align-self: flex-start; }
}
