/* ============================================
   F1rstweb — Design System (mobile-first)
   Brand: blue → cyan gradient
   Breakpoints:
     md  ≥ 720px  (tablet)
     lg  ≥ 960px  (desktop)
   ============================================ */

:root {
  /* Brand */
  --brand-1: #1e63f0;          /* deep blue */
  --brand-2: #1f8df0;          /* mid blue */
  --brand-3: #2bc4f0;           /* cyan */
  --brand-4: #6e3ff3;           /* violet (acento agencia) */
  --brand-5: #ff3d7f;           /* pink (acento puntual) */
  --brand-deep: #1450c8;
  --brand-soft: #eaf2ff;
  --brand-soft-2: #e6f7ff;
  --brand-soft-3: #f1ecff;     /* violet soft */
  --brand-gradient: linear-gradient(135deg, #1e63f0 0%, #2bc4f0 100%);
  --brand-gradient-tri: linear-gradient(120deg, #6e3ff3 0%, #1e63f0 50%, #2bc4f0 100%);
  --brand-gradient-soft: linear-gradient(135deg, #eaf2ff 0%, #e6f7ff 100%);

  /* Neutrals */
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --bg-dark: #050917;            /* deeper navy */
  --bg-dark-2: #0c1428;
  --fg: #0a1224;
  --fg-on-dark: #f5f7fb;
  --fg-muted: #4a5568;
  --fg-subtle: #6b7280;
  --fg-faint: #9aa3b1;
  --border: #e3e8ef;
  --border-strong: #cdd5df;
  --border-dark: #1f2a44;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, monospace;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10, 18, 36, 0.04);
  --shadow: 0 4px 16px rgba(10, 18, 36, 0.06);
  --shadow-lg: 0 24px 48px -12px rgba(10, 18, 36, 0.14);
  --shadow-glow: 0 20px 60px -20px rgba(30, 99, 240, 0.45);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

@media (min-width: 720px) {
  body {
    font-size: 17px;
  }
}

/* ===== Layout ===== */
.container,
.container-narrow {
  width: 100%;
  margin-inline: auto;
  padding-inline: 20px;
}
.container { max-width: var(--container); }
.container-narrow { max-width: var(--container-narrow); }

@media (min-width: 720px) {
  .container,
  .container-narrow {
    padding-inline: 24px;
  }
}

section {
  padding: 56px 0;
}
@media (min-width: 720px) {
  section { padding: 72px 0; }
}
@media (min-width: 960px) {
  section { padding: 96px 0; }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--bg-dark);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ===== Typography ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 5px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-1);
  box-shadow: 0 0 0 4px rgba(30, 99, 240, 0.18);
}
@media (min-width: 720px) {
  .eyebrow { font-size: 13px; padding: 6px 12px; }
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 600;
  color: var(--fg);
}

.display {
  font-size: clamp(2.25rem, 8vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 700;
}

h2.section-title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  font-weight: 700;
  line-height: 1.15;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-lede {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 600px;
  margin-bottom: 40px;
}
@media (min-width: 720px) {
  .section-lede { font-size: 18px; margin-bottom: 56px; }
}

.section-header { margin-bottom: 40px; }
.section-header.center { text-align: center; margin-inline: auto; }
.section-header.center .section-lede { margin-inline: auto; }
@media (min-width: 720px) {
  .section-header { margin-bottom: 56px; }
}

.muted { color: var(--fg-muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
@media (min-width: 720px) {
  .btn { height: 48px; padding: 0 22px; }
}

.btn-primary { background: var(--fg); color: var(--fg-on-dark); }
.btn-primary:hover {
  background: #1f293f;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.4);
}

.btn-accent {
  background: var(--brand-gradient);
  color: white;
  box-shadow: 0 4px 14px -4px rgba(30, 99, 240, 0.45);
}
.btn-accent:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
  filter: saturate(1.1);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: var(--bg-alt);
  border-color: var(--fg);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fg);
  font-weight: 500;
  font-size: 15px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), gap 0.2s var(--ease);
}
.btn-link:hover { border-bottom-color: var(--fg); gap: 10px; }

.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 15px; }
@media (min-width: 720px) {
  .btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
}

/* ===== Navbar ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(10, 18, 36, 0.06);
}
.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.brand img,
.brand svg { width: 30px; height: 30px; display: block; }
.brand-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Mobile nav: hide links + show toggle */
.nav-links { display: none; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-cta .btn-ghost { display: none; }
.nav-toggle {
  display: flex;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--fg);
}
.nav-toggle:hover { background: white; border-color: var(--border-strong); }

/* Mobile menu drawer (toggled by JS .menu-open on .nav) */
.nav.menu-open .nav-links {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  background: white;
  padding: 12px 16px 20px;
  gap: 0;
  list-style: none;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 32px -12px rgba(10, 18, 36, 0.12);
  margin: 0;
}
.nav.menu-open .nav-links li { width: 100%; }
.nav.menu-open .nav-links a {
  display: block;
  padding: 14px 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
}
.nav.menu-open .nav-links li:last-child a { border-bottom: none; }
.nav.menu-open .nav-links a.active {
  color: var(--brand-deep);
}

@media (min-width: 860px) {
  .nav-inner { padding: 14px 24px; gap: 32px; }
  .brand img, .brand svg { width: 32px; height: 32px; }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
  }
  .nav-links a {
    font-size: 14.5px;
    color: var(--fg-muted);
    font-weight: 500;
    transition: color 0.15s ease;
    position: relative;
  }
  .nav-links a:hover,
  .nav-links a.active { color: var(--fg); }
  .nav-links a.active::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand-gradient);
    border-radius: 2px;
  }
  .nav-cta { gap: 10px; }
  .nav-cta .btn-ghost { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ===== Hero v2 (estilo "Browse everything") ===== */
.hero-v2 {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding-top: 48px;
  padding-bottom: 0;
}
.hero-v2-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: var(--brand-gradient-tri);
  z-index: 0;
  border-radius: 0;
}
.hero-v2-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 15% 50%,
      rgba(255, 255, 255, 0.15),
      transparent 50%
    ),
    radial-gradient(
      circle at 85% 50%,
      rgba(255, 255, 255, 0.08),
      transparent 50%
    );
  pointer-events: none;
}

.hero-v2-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 24px;
}

.serif-display {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 13vw, 9.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 22px;
  color: var(--fg);
  font-feature-settings: "ss01", "lnum";
}
.serif-display em {
  font-style: italic;
  background: var(--brand-gradient-tri);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  animation: gradient-shift 8s ease-in-out infinite;
}

.hero-v2-sub {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.55;
}

.hero-v2-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  margin: 0 auto 48px;
  max-width: 320px;
}
.hero-v2-cta .btn { width: 100%; }

@media (min-width: 720px) {
  .hero-v2 { padding-top: 64px; }
  .hero-v2-sub { font-size: 18px; margin-bottom: 32px; }
  .hero-v2-cta {
    flex-direction: row;
    justify-content: center;
    max-width: none;
    margin-bottom: 64px;
  }
  .hero-v2-cta .btn { width: auto; }
}

/* Tilted device mockup */
.hero-v2-device {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 8px;
  perspective: 1600px;
  perspective-origin: 50% 0%;
  margin-bottom: -40px;
}
.device-frame {
  background: linear-gradient(180deg, #1a2438, #0a1224);
  border-radius: 16px;
  padding: 6px;
  box-shadow:
    0 50px 100px -30px rgba(10, 18, 36, 0.45),
    0 20px 40px -20px rgba(10, 18, 36, 0.25);
  transform: rotateX(8deg);
  transform-origin: 50% 100%;
}
.device-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #0c1428;
  border-radius: 10px 10px 0 0;
}
.device-bar .browser-dot { width: 9px; height: 9px; border-radius: 50%; }
.device-bar .browser-dot:nth-child(1) { background: #ff5f57; }
.device-bar .browser-dot:nth-child(2) { background: #febc2e; }
.device-bar .browser-dot:nth-child(3) { background: #28c840; }
.device-bar .device-url {
  flex: 1;
  margin-left: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 5px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255,255,255,0.55);
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Dashboard inside device */
.device-screen {
  background: white;
  border-radius: 0 0 10px 10px;
  padding: 28px 28px 24px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.device-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(110, 63, 243, 0.05), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(43, 196, 240, 0.06), transparent 60%);
  pointer-events: none;
}
.device-screen > * { position: relative; }

.device-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--fg-subtle);
}
.device-head .crumbs strong { color: var(--fg); font-weight: 600; }
.device-head .filter {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  font-size: 12px;
  color: var(--fg);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.device-stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 4px 0;
}
.device-stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.device-stat .label {
  font-size: 14px;
  color: var(--fg-muted);
  font-weight: 500;
}

.device-chart {
  flex: 1;
  margin-top: auto;
}

@media (min-width: 720px) {
  .hero-v2-device { margin-bottom: -56px; padding: 0 16px; }
  .device-frame { padding: 8px; }
  .device-screen { padding: 36px 40px 32px; min-height: 380px; gap: 24px; }
  .device-head { font-size: 13px; }
}
@media (min-width: 960px) {
  .hero-v2-device { margin-bottom: -80px; }
}

/* ===== Hero (legacy v1, conservado por si se reusa) ===== */
.hero {
  position: relative;
  padding: 64px 0 72px;
  overflow: hidden;
  isolation: isolate;
}
/* animated gradient blobs (3-color mesh) */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}
.hero::before {
  width: 540px;
  height: 540px;
  top: -200px;
  left: -140px;
  background: radial-gradient(circle, var(--brand-4), transparent 60%);
  animation: blob-a 18s ease-in-out infinite;
}
.hero::after {
  width: 480px;
  height: 480px;
  top: -100px;
  right: -120px;
  background: radial-gradient(circle, var(--brand-3), transparent 60%);
  animation: blob-b 22s ease-in-out infinite;
}
.hero-blob-c {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  background: radial-gradient(circle, var(--brand-1), transparent 60%);
  bottom: -160px;
  left: 30%;
  z-index: -1;
  pointer-events: none;
  animation: blob-c 24s ease-in-out infinite;
}
@keyframes blob-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(80px, 50px) scale(1.12); }
}
@keyframes blob-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-60px, 80px) scale(1.18); }
}
@keyframes blob-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -60px) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .hero-blob-c { animation: none; }
}

/* dotted grid pattern overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 18, 36, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent 75%);
  pointer-events: none;
  z-index: -1;
}

/* live badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  box-shadow: var(--shadow-sm);
}
.live-badge .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28c840;
  position: relative;
}
.live-badge .live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #28c840;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .live-badge .live-dot::after { animation: none; }
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 980px;
  margin-inline: auto;
}
.hero-eyebrow { margin-bottom: 20px; }
.hero h1 { margin-bottom: 20px; }
.hero h1.mega {
  font-size: clamp(2.75rem, 11vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
}
.hero h1.mega em {
  font-style: normal;
  background: var(--brand-gradient-tri);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  animation: gradient-shift 8s ease-in-out infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1.mega em { animation: none; }
}
.hero-sub {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 28px;
  line-height: 1.55;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 32px;
  max-width: 320px;
  margin-inline: auto;
}
.hero-cta .btn { width: 100%; }
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--fg-muted);
}
.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-meta-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: var(--brand-1);
}

@media (min-width: 720px) {
  .hero { padding: 88px 0 96px; }
  .hero-eyebrow { margin-bottom: 24px; }
  .hero h1 { margin-bottom: 24px; }
  .hero-sub {
    font-size: clamp(17px, 1.7vw, 20px);
    margin-bottom: 36px;
  }
  .hero-cta {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    max-width: none;
    margin-bottom: 56px;
  }
  .hero-cta .btn { width: auto; }
  .hero-meta {
    flex-direction: row;
    gap: 32px;
    flex-wrap: wrap;
    font-size: 14px;
  }
  .hero-meta-item svg { width: 16px; height: 16px; }
}

/* Hero browser mock */
.hero-mock {
  margin-top: 40px;
  position: relative;
  padding: 6px;
  background: linear-gradient(135deg, #f7f9fc, #e3e8ef);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 1080px;
  margin-inline: auto;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  background: white;
  border-radius: var(--radius) var(--radius) 0 0;
}
.browser-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.browser-dot:nth-child(1) { background: #ff5f57; }
.browser-dot:nth-child(2) { background: #febc2e; }
.browser-dot:nth-child(3) { background: #28c840; }
.browser-url {
  flex: 1;
  margin-left: 10px;
  background: var(--bg-alt);
  padding: 5px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.browser-body {
  background: white;
  padding: 24px;
  border-radius: 0 0 var(--radius) var(--radius);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  text-align: left;
}
.browser-body h3 { font-size: 22px; margin-bottom: 10px; }
.browser-body p {
  color: var(--fg-muted);
  font-size: 14px;
  margin-bottom: 14px;
}
.mock-card {
  height: 200px;
  background: var(--brand-gradient);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.mock-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.4), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(0,0,0,0.18), transparent 50%);
}
.mock-stat {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: var(--shadow);
  font-size: 12px;
}
.mock-stat-1 { top: 14px; left: 14px; }
.mock-stat-2 { bottom: 14px; right: 14px; text-align: right; }
.mock-stat strong { display: block; font-size: 18px; color: var(--fg); margin-bottom: 2px; }
.mock-stat span { color: var(--fg-muted); }

@media (min-width: 720px) {
  .hero-mock { margin-top: 56px; padding: 8px; }
  .browser-bar { padding: 10px 14px; }
  .browser-url { margin-left: 16px; padding: 6px 14px; font-size: 12.5px; }
  .browser-body {
    padding: 40px 48px;
    grid-template-columns: 1.2fr 1fr;
    gap: 36px;
    min-height: 320px;
  }
  .browser-body h3 { font-size: 26px; }
  .mock-card { height: 260px; }
  .mock-stat { padding: 12px 14px; font-size: 13px; }
  .mock-stat strong { font-size: 20px; }
}

/* ===== Marquee (clientes en bucle) ===== */
.marquee {
  position: relative;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 16px;
  font-weight: 500;
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 32s linear infinite;
  align-items: center;
}
.marquee-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--fg);
  opacity: 0.55;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee-item::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-1);
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
@media (min-width: 720px) {
  .marquee-item { font-size: 28px; gap: 72px; }
  .marquee-track { gap: 72px; }
}

/* ===== Trust (legacy grid, still used in algunas zonas) ===== */
.trust {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.trust-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 20px;
  font-weight: 500;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: center;
}
.trust-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  color: var(--fg-subtle);
  letter-spacing: -0.01em;
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.trust-logo:hover { opacity: 1; color: var(--fg-muted); }

@media (min-width: 600px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-logo { font-size: 16px; }
}
@media (min-width: 960px) {
  .trust { padding: 56px 0; }
  .trust-label { font-size: 13px; margin-bottom: 28px; }
  .trust-grid { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .trust-logo { font-size: 18px; }
}

/* ===== Stats ===== */
.stats {
  padding: 56px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 16px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--fg);
}
.stat-num.accent {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { font-size: 13px; color: var(--fg-muted); }

@media (min-width: 720px) {
  .stats { padding: 80px 0; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .stat-label { font-size: 14px; }
}

/* ===== Services grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.service-card {
  position: relative;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(30, 99, 240, 0.06), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--brand-deep);
}
.service-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.service-card p {
  color: var(--fg-muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 16px;
}
.service-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-features li {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--fg-muted);
}

@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .service-card { padding: 28px; }
  .service-icon { width: 44px; height: 44px; margin-bottom: 22px; }
  .service-card h3 { font-size: 20px; }
  .service-card p { font-size: 15px; }
}
@media (min-width: 960px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid.two { grid-template-columns: repeat(2, 1fr); }
  .service-card { padding: 32px; }
}

/* ===== Process ===== */
.process {
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(30, 99, 240, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(43, 196, 240, 0.14), transparent 70%);
  pointer-events: none;
}
.process .container { position: relative; }
.process .section-title { color: var(--fg-on-dark); }
.process .section-lede { color: #b8c0d0; }
.process .eyebrow {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: #d4dbe8;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border-dark);
}
.process-step {
  padding: 28px 4px;
  border-bottom: 1px solid var(--border-dark);
}
.process-num {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.process-step h3 { font-size: 20px; margin-bottom: 10px; color: var(--fg-on-dark); }
.process-step p { color: #b8c0d0; font-size: 14.5px; line-height: 1.55; }

@media (min-width: 720px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
  }
  .process-step {
    padding: 36px 28px;
    border-bottom: 1px solid var(--border-dark);
    border-right: 1px solid var(--border-dark);
  }
  .process-step:nth-child(2n) { border-right: none; }
  .process-step:nth-last-child(-n+2) { border-bottom: none; }
  .process-num { margin-bottom: 24px; font-size: 13px; }
  .process-step h3 { font-size: 22px; }
  .process-step p { font-size: 15px; }
}
@media (min-width: 960px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .process-step {
    padding: 40px 32px;
    border-bottom: none;
    border-right: 1px solid var(--border-dark);
  }
  .process-step:nth-child(2n) { border-right: 1px solid var(--border-dark); }
  .process-step:last-child { border-right: none; }
}

/* ===== Cases ===== */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.case-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.case-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.case-thumb {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.case-thumb.c1 { background: linear-gradient(135deg, #1e63f0, #2bc4f0); }
.case-thumb.c2 { background: linear-gradient(135deg, #0a1224, #1450c8); }
.case-thumb.c3 { background: linear-gradient(135deg, #2bc4f0, #1f8df0); }
.case-mock {
  width: 78%;
  background: white;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.case-mock-bar { height: 8px; background: var(--bg-alt); border-radius: 3px; }
.case-mock-bar.short { width: 60%; }
.case-mock-card { height: 60px; background: var(--bg-alt); border-radius: 6px; }
.case-body { padding: 22px 24px 24px; }
.case-tag {
  font-size: 11.5px;
  color: var(--brand-deep);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.case-card h3 { font-size: 18px; margin-bottom: 6px; letter-spacing: -0.02em; }
.case-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.55; margin-bottom: 14px; }
.case-metric {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.case-metric strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.case-metric span { font-size: 13px; color: var(--fg-muted); }

@media (min-width: 720px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .case-body { padding: 24px 28px 28px; }
  .case-card h3 { font-size: 19px; }
  .case-metric strong { font-size: 22px; }
}
@media (min-width: 960px) {
  .cases-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.testimonial {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial-stars { display: flex; gap: 2px; color: var(--brand-1); }
.testimonial-quote {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--fg);
  flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
}
.testimonial-role { font-size: 13px; color: var(--fg-muted); }

@media (min-width: 720px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .testimonial { padding: 28px; }
  .testimonial-quote { font-size: 16px; }
}
@media (min-width: 960px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial { padding: 32px; }
  .testimonial-avatar { width: 42px; height: 42px; }
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}
.price-card {
  padding: 28px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  border-color: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.price-card.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(43, 196, 240, 0.18), transparent 60%);
  pointer-events: none;
}
.price-card.featured > * { position: relative; }
.price-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--brand-gradient);
  color: white;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  z-index: 1;
}
.price-name {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  margin-bottom: 14px;
}
.price-card.featured .price-name { color: #b8c0d0; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.price-amount .num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-amount .currency {
  font-size: 20px;
  font-weight: 500;
  color: var(--fg-muted);
}
.price-card.featured .price-amount .currency { color: #b8c0d0; }
.price-period { font-size: 13px; color: var(--fg-muted); margin-bottom: 22px; }
.price-card.featured .price-period { color: #b8c0d0; }
.price-features { list-style: none; margin-bottom: 28px; flex: 1; }
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  padding: 7px 0;
  color: var(--fg);
  line-height: 1.5;
}
.price-card.featured .price-features li { color: var(--fg-on-dark); }
.price-features li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 4px;
  background: var(--brand-1);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
}
.price-card.featured .price-features li::before { background: var(--brand-3); }

@media (min-width: 720px) {
  .price-card { padding: 32px; }
  .price-amount .num { font-size: 44px; }
  .price-features li { font-size: 14.5px; }
}
@media (min-width: 960px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .price-card.featured { transform: translateY(-8px); }
  .price-amount .num { font-size: 48px; }
}

/* ===== CTA Section ===== */
.cta-final { padding: 56px 0; }
.cta-card {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(30, 99, 240, 0.32), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(43, 196, 240, 0.22), transparent 50%);
}
.cta-card-inner { position: relative; max-width: 640px; margin-inline: auto; }
.cta-card h2 {
  color: var(--fg-on-dark);
  font-size: clamp(1.75rem, 5vw, 3rem);
  margin-bottom: 14px;
  font-weight: 700;
}
.cta-card p { color: #d4dbe8; font-size: 16px; margin-bottom: 28px; }
.cta-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  max-width: 320px;
  margin-inline: auto;
}
.cta-card-actions .btn { width: 100%; }

@media (min-width: 720px) {
  .cta-final { padding: 96px 0; }
  .cta-card { padding: 64px 32px; border-radius: var(--radius-xl); }
  .cta-card p { font-size: 18px; margin-bottom: 32px; }
  .cta-card-actions {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: none;
  }
  .cta-card-actions .btn { width: auto; }
}
@media (min-width: 960px) {
  .cta-card { padding: 80px 32px; }
}

/* ===== Footer ===== */
footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand p {
  color: var(--fg-muted);
  font-size: 14px;
  max-width: 320px;
  margin-top: 14px;
  line-height: 1.55;
}
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a { font-size: 14.5px; color: var(--fg); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--brand-deep); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13.5px;
  color: var(--fg-muted);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--fg-muted);
  transition: all 0.2s ease;
}
.footer-social a:hover {
  border-color: var(--brand-1);
  color: var(--brand-1);
  background: white;
}

@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}
@media (min-width: 960px) {
  footer { padding: 64px 0 32px; }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
  }
  .footer-brand p { font-size: 14.5px; max-width: 280px; margin-top: 16px; line-height: 1.6; }
  .footer-col h4 { margin-bottom: 16px; }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 32px;
    font-size: 14px;
  }
}

/* ===== Page Hero ===== */
.page-hero {
  padding: 56px 0 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(30, 99, 240, 0.1), transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(2rem, 7vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
  position: relative;
  font-weight: 700;
}
.page-hero p {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 620px;
  margin-inline: auto;
  position: relative;
}
@media (min-width: 720px) {
  .page-hero { padding: 80px 0 56px; }
  .page-hero h1 { margin-bottom: 20px; }
  .page-hero p { font-size: 18px; }
}

/* ===== Service Detail ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail h2 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}
.service-detail .lead {
  font-size: 16px;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.service-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.service-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--fg);
  position: relative;
  line-height: 1.55;
}
.service-detail-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  background: var(--brand-1);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
}
.service-visual {
  background: var(--brand-gradient-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 860px) {
  .service-detail {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 56px 0;
  }
  .service-detail.swap .text { order: 2; }
  .service-detail .lead { font-size: 18px; margin-bottom: 24px; }
  .service-detail-list li { font-size: 15.5px; }
}
@media (min-width: 960px) {
  .service-detail { gap: 80px; padding: 64px 0; }
}

/* ===== Process timeline (proceso.html) ===== */
.timeline { position: relative; max-width: 760px; margin-inline: auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-left: 60px;
  padding-bottom: 36px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  z-index: 1;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.timeline-item:hover .timeline-num { border-color: var(--brand-1); }
.timeline-item .day {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--brand-deep);
  margin-bottom: 6px;
  text-transform: uppercase;
  font-weight: 600;
}
.timeline-item h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -0.02em; }
.timeline-item p {
  color: var(--fg-muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.timeline-deliverables { display: flex; flex-wrap: wrap; gap: 6px; }
.timeline-deliverables span {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--fg-muted);
}
@media (min-width: 720px) {
  .timeline::before { left: 24px; }
  .timeline-item { padding-left: 72px; padding-bottom: 56px; }
  .timeline-num { width: 48px; height: 48px; font-size: 16px; }
  .timeline-item h3 { font-size: 22px; }
  .timeline-item p { font-size: 15.5px; line-height: 1.6; }
}

/* ===== FAQ ===== */
.faq { max-width: 760px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item summary {
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  letter-spacing: -0.01em;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--brand-1);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
  margin-top: 10px;
  padding-right: 0;
}
@media (min-width: 720px) {
  .faq-item { padding: 20px 0; }
  .faq-item summary { font-size: 17px; gap: 16px; }
  .faq-item summary::after { font-size: 24px; }
  .faq-item p { font-size: 15.5px; padding-right: 32px; margin-top: 12px; }
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info h2 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 14px; }
.contact-info p { color: var(--fg-muted); margin-bottom: 24px; font-size: 15px; line-height: 1.6; }
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.contact-method:last-of-type { border-bottom: none; }
.contact-method-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--brand-deep);
}
.contact-method strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
  color: var(--fg);
}
.contact-method span,
.contact-method a { font-size: 14px; color: var(--fg-muted); }
.contact-method a:hover { color: var(--brand-deep); }

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.form-field label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg);
}
.form-field input,
.form-field textarea,
.form-field select {
  font-family: inherit;
  font-size: 16px;          /* 16px+ avoids iOS zoom on focus */
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--fg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brand-1);
  box-shadow: 0 0 0 3px rgba(30, 99, 240, 0.18);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field .hint { font-size: 12.5px; color: var(--fg-subtle); }
.form-submit { width: 100%; height: 50px; font-size: 15px; }

@media (min-width: 720px) {
  .contact-info h2 { font-size: 28px; margin-bottom: 16px; }
  .contact-info p { font-size: 16px; margin-bottom: 32px; }
  .contact-method { padding: 16px 0; gap: 14px; }
  .contact-method-icon { width: 42px; height: 42px; }
  .contact-method strong { font-size: 14.5px; }
  .contact-form { padding: 32px; }
  .form-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-field input,
  .form-field textarea,
  .form-field select { font-size: 15px; }
  .form-field textarea { min-height: 130px; }
  .form-submit { height: 52px; }
}
@media (min-width: 860px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .contact-form { padding: 40px; }
}

/* ===== Includes ===== */
.includes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
}
.include-item {
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.include-item strong { display: block; margin-bottom: 6px; font-size: 14.5px; }
.include-item span { font-size: 13.5px; color: var(--fg-muted); }
@media (min-width: 600px) {
  .includes-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .include-item strong { font-size: 15px; }
  .include-item span { font-size: 14px; }
}
@media (min-width: 960px) {
  .includes-grid { grid-template-columns: repeat(3, 1fr); margin-top: 32px; }
  .include-item { padding: 24px; }
}

/* ===== Single offer card (pricing simplificado) ===== */
.offer-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.offer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(110, 63, 243, 0.28), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(43, 196, 240, 0.22), transparent 55%);
  z-index: -1;
  pointer-events: none;
}
.offer-card .offer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d4dbe8;
  margin-bottom: 18px;
}
.offer-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: white;
  margin-bottom: 14px;
}
.offer-card h3 em {
  font-style: italic;
  background: var(--brand-gradient-tri);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.offer-card .offer-lead {
  color: #b8c0d0;
  font-size: 15.5px;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 520px;
}
.offer-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.offer-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--fg-on-dark);
  line-height: 1.5;
}
.offer-features li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 4px;
  background: var(--brand-3);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
}
.offer-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}
.offer-cta .btn { width: 100%; }
.offer-foot {
  margin-top: 20px;
  font-size: 13px;
  color: #9aa3b1;
  line-height: 1.55;
}
.offer-foot a { color: var(--brand-3); border-bottom: 1px solid rgba(43,196,240,0.4); }

@media (min-width: 600px) {
  .offer-features { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
}
@media (min-width: 720px) {
  .offer-card { padding: 56px 48px; }
  .offer-cta { flex-direction: row; gap: 12px; }
  .offer-cta .btn { width: auto; }
}

/* ===== Manifesto / Values ===== */
.manifesto {
  position: relative;
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  overflow: hidden;
  isolation: isolate;
}
.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(110, 63, 243, 0.32), transparent 65%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(43, 196, 240, 0.25), transparent 65%);
  z-index: -1;
  pointer-events: none;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.manifesto-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5.2vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: white;
}
.manifesto-headline em {
  font-style: normal;
  background: var(--brand-gradient-tri);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.manifesto-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.manifesto-points li {
  font-size: 16px;
  color: #c8d0dd;
  line-height: 1.55;
  padding-left: 32px;
  position: relative;
}
.manifesto-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 1px;
  background: var(--brand-3);
}
.manifesto-points li strong {
  display: block;
  color: white;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
@media (min-width: 860px) {
  .manifesto-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
  }
  .manifesto-points li { font-size: 16.5px; }
}

/* ===== Floating CTA ===== */
.float-cta {
  position: fixed;
  bottom: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--brand-gradient);
  color: white;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 12px 32px -8px rgba(30, 99, 240, 0.5);
  z-index: 40;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.float-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -8px rgba(30, 99, 240, 0.6);
}
.float-cta svg { width: 20px; height: 20px; }
.float-cta .float-label { display: none; }

@media (min-width: 720px) {
  .float-cta {
    bottom: 24px;
    right: 24px;
    height: 52px;
    padding: 0 22px;
    font-size: 15px;
  }
  .float-cta svg { width: 22px; height: 22px; }
  .float-cta .float-label { display: inline; }
}

/* ===== Utilities ===== */
.bg-alt { background: var(--bg-alt); }
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
