/* ==========================================================================
   Fintzora — landing pública (fintzora.com)
   Estático, sin dependencias. Tipografía Satoshi vía Fontshare (ver <head>).
   Colores de marca: navy #00123A · accent #0062FD (mismos que la app).
   ========================================================================== */

:root {
  --navy: #00123a;
  --navy-deep: #000d29;
  --accent: #0062fd;
  --accent-light: #3b9dff;
  --accent-hover: #004fd1;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --border: #e5e7eb;
  --text: #00123a;
  --muted: #64748b;
  --muted-2: #9aa1ac;
  --green: #16a34a;
  --green-deep: #0f6e56;
  --radius: 14px;
  --radius-lg: 20px;
  --font: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.05), 0 8px 24px rgba(16, 24, 40, 0.06);
  --shadow-float: 0 24px 60px rgba(0, 10, 40, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  background: var(--surface);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; }

.container {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
}

.container-narrow { width: min(820px, 100% - 3rem); }

/* ==========================================================================
   Botones
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-lg { padding: 0.85rem 1.7rem; font-size: 1rem; border-radius: 12px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 98, 253, 0.35);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn-ghost { color: var(--navy); }
.btn-ghost:hover { background: rgba(0, 18, 58, 0.05); }

.btn-white {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}
.btn-white:hover { transform: translateY(-1px); background: #f2f6ff; }

.btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0);
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.06), 0 4px 20px rgba(16, 24, 40, 0.05);
}

/* Sobre el hero oscuro, el nav empieza en modo claro-sobre-oscuro */
.nav:not(.is-scrolled) .brand-name,
.nav:not(.is-scrolled) .nav-links a,
.nav:not(.is-scrolled) .btn-ghost { color: #fff; }
.nav:not(.is-scrolled) .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.nav:not(.is-scrolled) .nav-burger span { background: #fff; }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon { width: 27px; height: 27px; flex-shrink: 0; }

.brand-name {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--navy);
  transition: color 0.25s ease;
}

.brand-name-light { color: #fff; }

.nav-links {
  display: flex;
  gap: 1.7rem;
  margin-left: 0.5rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.15s ease, color 0.25s ease;
}
.nav-links a:hover { opacity: 1; }

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-burger {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-burger span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.25s var(--ease), opacity 0.2s ease, background 0.25s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.6rem 1.5rem 1.4rem;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(16, 24, 40, 0.12);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  padding: 0.7rem 0.2rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.nav-mobile-actions {
  display: flex;
  gap: 0.6rem;
  padding-top: 1rem;
}
.nav-mobile-actions .btn { flex: 1; border: none !important; }
.nav-mobile-actions .btn-ghost { border: 1.5px solid var(--border) !important; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: linear-gradient(155deg, var(--navy-deep) 0%, #002a80 48%, var(--accent) 115%);
  color: #fff;
  padding: 10.5rem 0 6.5rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-a {
  width: 560px; height: 560px;
  background: rgba(59, 157, 255, 0.4);
  top: -180px; left: -140px;
}
.hero-glow-b {
  width: 460px; height: 460px;
  background: rgba(0, 13, 41, 0.65);
  bottom: -200px; right: -100px;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.4rem;
}
.hero-badge svg { color: #7dd3a8; }

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

.hero-sub {
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero-metric strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.hero-metric span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}
.hero-metric-sep {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.18);
}

/* ---- Tarjeta flotante del hero ---- */

.hero-visual {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-card {
  position: absolute;
  width: 320px;
  border-radius: 18px;
}

.mock-card-back-a {
  height: 300px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: rotate(9deg) translate(46px, 8px);
}
.mock-card-back-b {
  height: 300px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transform: rotate(-7deg) translate(-38px, -4px);
}

.mock-card-front {
  position: relative;
  background: #fff;
  color: var(--navy);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-float);
  transform: rotate(-1.5deg);
  animation: floaty 7s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: rotate(-1.5deg) translateY(0); }
  50% { transform: rotate(-1.5deg) translateY(-12px); }
}

.mock-row { display: flex; align-items: center; gap: 12px; }

.mock-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(0, 98, 253, 0.1);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.85rem;
  flex-shrink: 0;
}

.mock-name { font-weight: 700; font-size: 0.95rem; }
.mock-sub { font-size: 0.76rem; color: var(--muted); }

.mock-badge {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12);
  color: var(--green-deep);
  font-size: 0.72rem; font-weight: 700;
  white-space: nowrap;
}

.mock-divider { border-top: 1px solid #eef0f3; margin: 1.1rem 0; }

.mock-score-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 0.6rem;
}
.mock-score-head span { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.mock-score-head strong { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; }
.mock-score-head em { font-style: normal; font-size: 0.85rem; color: var(--muted-2); font-weight: 600; }

.mock-bar {
  height: 7px;
  border-radius: 999px;
  background: #eef0f3;
  overflow: hidden;
  margin-bottom: 1rem;
}
.mock-bar-fill {
  height: 100%;
  width: 98%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform-origin: left;
  animation: barGrow 1.6s var(--ease) 0.6s both;
}
@keyframes barGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.mock-foot {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.78rem; color: var(--green-deep); font-weight: 600;
}

/* ==========================================================================
   Trust bar
   ========================================================================== */

.trust {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.6rem 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  flex-shrink: 0;
}

.trust-items {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}
.trust-item svg { color: var(--accent); flex-shrink: 0; }

/* ==========================================================================
   Secciones genéricas
   ========================================================================== */

.section { padding: 6rem 0; }
.section-alt { background: var(--bg); }

.section-head {
  max-width: 640px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.eyebrow-light { color: var(--accent-light); }

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
}

/* ==========================================================================
   Servicios
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.5rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 98, 253, 0.35);
  box-shadow: 0 18px 40px rgba(0, 18, 58, 0.09);
}

.service-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--navy) 0%, #002a80 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.15rem;
}
.service-icon svg { width: 22px; height: 22px; }

.service-card h3 {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0.9rem;
}

.service-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.service-points li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}
.service-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ==========================================================================
   Cómo funciona
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.step {
  position: relative;
  text-align: center;
  padding: 0 1rem;
}

.step-num {
  width: 52px; height: 52px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(0, 18, 58, 0.25);
}

.step-line {
  position: absolute;
  top: 26px;
  left: calc(50% + 44px);
  width: calc(100% - 88px);
  border-top: 2px dashed #cdd5e1;
}

.step h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.45rem; }
.step p { font-size: 0.9rem; color: var(--muted); }

/* ==========================================================================
   Spotlight (Modo Alquiler)
   ========================================================================== */

.spotlight {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(150deg, var(--navy-deep) 0%, #002a80 70%, #0048c0 120%);
  border-radius: 28px;
  padding: 4rem 4.5rem;
  color: #fff;
  overflow: hidden;
}

.spotlight::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(59, 157, 255, 0.22);
  filter: blur(80px);
  top: -140px; right: -120px;
  pointer-events: none;
}

.spotlight-copy { position: relative; z-index: 1; }

.spotlight h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.spotlight p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.98rem;
  margin-bottom: 1.6rem;
  max-width: 500px;
}

.spotlight-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.spotlight-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 600;
}
.spotlight-list svg { color: #7dd3a8; flex-shrink: 0; }

.spotlight-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.flow-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 1.4rem;
  width: 100%;
  max-width: 330px;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.flow-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}
.flow-item strong { display: block; font-size: 0.9rem; font-weight: 700; }
.flow-item small { font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); }

.flow-dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.flow-done .flow-dot { background: var(--green); color: #fff; }
.flow-active { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); }

.flow-dot-pulse {
  background: var(--accent-light);
  position: relative;
}
.flow-dot-pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(59, 157, 255, 0.6);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ==========================================================================
   Precios
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0, 18, 58, 0.09); }

.price-card-featured {
  border: 2px solid var(--accent);
  box-shadow: 0 12px 34px rgba(0, 98, 253, 0.14);
}

.price-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 3px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.price-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(0, 98, 253, 0.09);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.price-icon svg { width: 21px; height: 21px; }

.price-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }

.price-amount {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.price-amount span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.price-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }

.pricing-note {
  text-align: center;
  margin-top: 2.4rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.pricing-note a { color: var(--accent); font-weight: 700; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] {
  border-color: rgba(0, 98, 253, 0.35);
  box-shadow: 0 8px 26px rgba(0, 18, 58, 0.07);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary svg {
  flex-shrink: 0;
  color: var(--muted-2);
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary svg { transform: rotate(180deg); color: var(--accent); }

.faq-item p {
  padding: 0 1.4rem 1.3rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ==========================================================================
   CTA final
   ========================================================================== */

.cta-final {
  position: relative;
  background: linear-gradient(155deg, var(--navy-deep) 0%, #002a80 55%, var(--accent) 130%);
  color: #fff;
  padding: 6rem 0;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(59, 157, 255, 0.28);
  filter: blur(100px);
  top: -240px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-inner { position: relative; }

.cta-final h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 0.9rem;
}

.cta-final p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
}

.cta-final .hero-ctas { justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 4.5rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-brand p {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.1rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  padding: 0.28rem 0;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   Páginas legales (aviso-legal, privacidad, cookies, condiciones)
   ========================================================================== */

.legal-hero {
  background: linear-gradient(155deg, var(--navy-deep) 0%, #002a80 70%, #0048c0 130%);
  color: #fff;
  padding: 9rem 0 3.5rem;
}

.legal-hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.legal-hero p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}

.legal-body {
  padding: 3.5rem 0 5rem;
}

.legal-body h2 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 2.4rem 0 0.8rem;
}
.legal-body h2:first-child { margin-top: 0; }

.legal-body h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 1.6rem 0 0.5rem;
}

.legal-body p, .legal-body li {
  font-size: 0.95rem;
  color: #3d4b63;
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

.legal-body ul, .legal-body ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}
.legal-body li { margin-bottom: 0.45rem; }

.legal-body a { color: var(--accent); font-weight: 600; }
/* Los botones dentro de textos legales/notas no heredan el color de enlace (2026-09-29: el CTA de validez-legal salía azul sobre azul). */
.legal-body a.btn-primary, .desp-legal a.btn-primary, .pricing-note a.btn-primary, .svc-volumen a.btn-primary { color: #fff; text-decoration: none; }
.legal-body a.btn-ghost, .legal-body a.btn-outline-dark { color: var(--navy); text-decoration: none; }

.legal-body strong { color: var(--navy); }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.6rem;
  font-size: 0.88rem;
}
.legal-table th {
  text-align: left;
  background: var(--bg);
  color: var(--navy);
  font-weight: 700;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
}
.legal-table td {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  color: #3d4b63;
  line-height: 1.5;
}

.legal-note {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 1.4rem 0;
}

/* ==========================================================================
   Animaciones de entrada (IntersectionObserver, ver main.js)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock-card-front, .mock-bar-fill, .flow-dot-pulse::after { animation: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight { padding: 3rem 2.5rem; }
}

@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: flex; }
  .nav.is-scrolled .nav-burger span,
  .nav .nav-burger[aria-expanded="true"] span { background: var(--navy); }
  .nav:has(.nav-mobile.is-open) {
    background: rgba(255, 255, 255, 0.97);
  }
  .nav:has(.nav-mobile.is-open) .brand-name { color: var(--navy); }
  .nav:has(.nav-mobile.is-open) .nav-burger span { background: var(--navy); }

  .hero { padding: 8.5rem 0 4.5rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-sub { max-width: none; }
  .hero-visual { height: 340px; }

  .spotlight { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps { grid-template-columns: 1fr; max-width: 420px; gap: 2.5rem; }
  .step-line { display: none; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .br-desktop { display: none; }
}

@media (max-width: 620px) {
  .section { padding: 4rem 0; }
  .services-grid, .pricing-grid { grid-template-columns: 1fr; }
  .hero-metrics { gap: 1.1rem; }
  .hero-metric-sep { display: none; }
  .hero-metric { min-width: 40%; }
  .spotlight { padding: 2.5rem 1.6rem; border-radius: 20px; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .mock-card { width: 290px; }
  .hero-ctas .btn { flex: 1; justify-content: center; }
}

/* ==========================================================================
   index2 — home alternativa (light/editorial + bento) y páginas de servicio
   ========================================================================== */

/* ---- Hero claro ---- */

.hero2 {
  position: relative;
  padding: 9.5rem 0 4.5rem;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(0, 98, 253, 0.08), transparent 70%),
    linear-gradient(180deg, #fbfcfe 0%, #f2f5fa 100%);
  overflow: hidden;
  text-align: center;
}

.hero2-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.06);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.6rem;
}
.hero2-badge strong { color: var(--green-deep); font-weight: 700; }

.hero2 h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--navy);
  max-width: 820px;
  margin: 0 auto 1.3rem;
}

.grad {
  background: linear-gradient(92deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero2-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 2.2rem;
  line-height: 1.65;
}

.hero2 .hero-ctas { justify-content: center; }

.btn-outline-dark {
  color: var(--navy);
  border-color: #d3d9e3;
  background: #fff;
}
.btn-outline-dark:hover { border-color: var(--navy); }

/* ---- Marco de producto (mockup dashboard) ---- */

.frame {
  max-width: 960px;
  margin: 3.5rem auto 0;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 40px 90px rgba(0, 18, 58, 0.14);
  overflow: hidden;
  text-align: left;
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  background: #fbfcfe;
}
.frame-dot { width: 10px; height: 10px; border-radius: 50%; background: #e3e6eb; }
.frame-url {
  margin-left: 10px;
  flex: 1;
  max-width: 320px;
  background: #eef1f5;
  border-radius: 7px;
  font-size: 0.72rem;
  color: var(--muted-2);
  padding: 0.3rem 0.8rem;
}

.frame-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 340px;
}

.frame-side {
  border-right: 1px solid var(--border);
  padding: 1.1rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fbfcfe;
}
.frame-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.frame-nav-item.is-on { background: rgba(0, 98, 253, 0.09); color: var(--accent); }
.frame-nav-dot { width: 16px; height: 16px; border-radius: 5px; background: currentColor; opacity: 0.25; }

.frame-main { padding: 1.4rem 1.6rem; }
.frame-title { font-weight: 800; font-size: 1rem; margin-bottom: 1rem; color: var(--navy); }

.frame-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin-bottom: 1.2rem; }
.frame-stat {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}
.frame-stat small { display: block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-2); margin-bottom: 4px; }
.frame-stat strong { font-size: 1.25rem; font-weight: 900; color: var(--navy); }
.frame-stat em { font-style: normal; font-size: 0.72rem; font-weight: 700; color: var(--green); margin-left: 6px; }

.frame-chart {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.2rem 0.9rem;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 140px;
}
.frame-col {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--accent-light), var(--accent));
  opacity: 0.85;
  animation: colGrow 1.2s var(--ease) both;
  transform-origin: bottom;
}
@keyframes colGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---- Bento de servicios ---- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
}

.bento-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease;
}
.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 98, 253, 0.4);
  box-shadow: 0 20px 44px rgba(0, 18, 58, 0.1);
}

.bento-wide { grid-column: span 3; }

.bento-dark {
  background: linear-gradient(150deg, var(--navy-deep) 0%, #002a80 90%);
  border-color: transparent;
  color: #fff;
}
.bento-dark p { color: rgba(255, 255, 255, 0.72) !important; }
.bento-dark .bento-link { color: #9ec8ff; }
.bento-dark .service-icon { background: rgba(255, 255, 255, 0.12); }

.bento-card h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 0.45rem; }
.bento-card p { font-size: 0.87rem; color: var(--muted); line-height: 1.55; margin-bottom: 1rem; }

.bento-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}
.bento-card:hover .bento-link svg { transform: translateX(3px); }
.bento-link svg { transition: transform 0.2s var(--ease); }

.bento-price {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--green-deep);
  background: rgba(22, 163, 74, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
  width: fit-content;
}
.bento-dark .bento-price { background: rgba(255, 255, 255, 0.14); color: #b8f0ce; }

/* ---- Banda de stats oscura ---- */

.band {
  background: var(--navy-deep);
  color: #fff;
  padding: 3.2rem 0;
}
.band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.band-item strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(92deg, #9ec8ff, #3b9dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.band-item span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); }

/* ---- Páginas de servicio ---- */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted-2);
  margin-bottom: 1.6rem;
}
.breadcrumb a { color: var(--muted); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-current] { color: var(--navy); font-weight: 700; }

.svc-hero {
  padding: 8.5rem 0 4rem;
  background:
    radial-gradient(900px 420px at 20% -10%, rgba(0, 98, 253, 0.09), transparent 70%),
    linear-gradient(180deg, #fbfcfe 0%, #f4f6fa 100%);
}

.svc-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.svc-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 1.1rem;
}

.svc-lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.8rem;
  max-width: 540px;
}

.svc-price-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem 1.1rem;
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.05);
  margin-bottom: 1.8rem;
}
.svc-price-chip strong { font-size: 1.3rem; font-weight: 900; color: var(--navy); }
.svc-price-chip span { font-size: 0.82rem; color: var(--muted); }

.svc-aside {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: 0 18px 44px rgba(0, 18, 58, 0.08);
}
.svc-aside h3 {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  margin-bottom: 1rem;
}
.svc-aside-item {
  display: flex;
  gap: 11px;
  padding: 0.7rem 0;
  border-bottom: 1px solid #f0f2f5;
  font-size: 0.9rem;
}
.svc-aside-item:last-child { border-bottom: none; }
.svc-aside-item svg { flex-shrink: 0; color: var(--green); margin-top: 2px; }
.svc-aside-item strong { display: block; font-weight: 700; color: var(--navy); }
.svc-aside-item small { color: var(--muted); font-size: 0.82rem; line-height: 1.45; }

.svc-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.svc-related .bento-card { grid-column: auto; }

/* ---- Responsive de este bloque ---- */

@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card, .bento-wide { grid-column: span 1; }
}

@media (max-width: 900px) {
  .svc-hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .frame-body { grid-template-columns: 1fr; }
  .frame-side { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--border); }
  .band-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .svc-related { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .frame-stats { grid-template-columns: 1fr; }
  .hero2 { padding: 8rem 0 3.5rem; }
}

/* ---- index.html: tarjetas de servicio ahora son enlaces a su página ---- */

a.service-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.service-link {
  margin-top: auto;
  padding-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}
.service-link svg { transition: transform 0.2s var(--ease); }
a.service-card:hover .service-link svg { transform: translateX(3px); }

/* ==========================================================================
   Firma express — hub de plantillas (servicios/firma-express/)
   ========================================================================== */

.fx-cat {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 2.4rem 0 1rem;
}
.fx-cat:first-of-type { margin-top: 0.4rem; }

.fx-grid { margin-bottom: 0.4rem; }

.service-card p.fx-legal {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ==========================================================================
   Nav: desplegable de Servicios (escritorio) y grupo plegable (móvil)
   ========================================================================== */

.nav-drop { position: relative; }

.nav-drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-drop-trigger svg { transition: transform 0.2s ease; }
.nav-drop:hover .nav-drop-trigger svg,
.nav-drop:focus-within .nav-drop-trigger svg { transform: rotate(180deg); }

.nav-drop-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  width: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 0.6rem;
  background-color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.06), 0 24px 60px rgba(16, 24, 40, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 110;
}
.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Puente invisible entre el enlace y la tarjeta: sin él, el hover se corta
   al cruzar el hueco de 14px y el panel se cierra a mitad de camino. */
.nav-drop-panel::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-drop-panel a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease;
  opacity: 1;
}
.nav-drop-panel a:hover { background: rgba(0, 98, 253, 0.06); }

/* El panel es SIEMPRE una tarjeta blanca: sus enlaces van en navy también
   cuando el nav está transparente sobre el hero oscuro (regla más abajo en
   el archivo que la de blanco-sobre-oscuro, así que gana el empate). */
.nav-links .nav-drop-panel a,
.nav:not(.is-scrolled) .nav-links .nav-drop-panel a { color: var(--navy); }

.nav-drop-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(0, 98, 253, 0.08);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.nav-drop-icon svg { width: 16px; height: 16px; }

.nav-drop-panel strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav-drop-panel small {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 1px;
}

/* ---- Versión móvil: grupo plegable dentro del menú hamburguesa ---- */

.nav-mobile-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.2rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  list-style: none;
}
.nav-mobile-group summary::-webkit-details-marker { display: none; }
.nav-mobile-group summary svg { transition: transform 0.2s ease; }
.nav-mobile-group[open] summary svg { transform: rotate(180deg); }

.nav-mobile a.nav-mobile-sub {
  padding-left: 1.1rem;
  font-weight: 500;
  font-size: 0.92rem;
}

/* ---- Arreglos del menú móvil (2026-08-28) ----
   1) Los sub-enlaces del grupo Servicios están dentro de un <details>, no
      son hijos directos del flex-column .nav-mobile — como <a> es inline
      por defecto, fluían todos en una sola línea. En bloque, uno por fila.
   2) Los botones de Entrar/Crear cuenta heredaban reglas que no son para
      ellos: `.nav:not(.is-scrolled) .btn-ghost` los dejaba blancos sobre
      el menú blanco (en lo alto de la home), y `.nav-mobile a` les pisaba
      el color y el padding de `.btn` (navy sobre azul, botones estrechos).
      Ambos eran bugs preexistentes del menú móvil, visibles ahora al
      revisarlo. Estas reglas van al final del archivo a propósito: misma
      especificidad que las que pisan, gana la última. */

.nav-mobile a.nav-mobile-sub {
  display: block;
}

.nav .nav-mobile-actions a.btn {
  padding: 0.65rem 1.25rem;
  border-bottom: none;
}
.nav .nav-mobile-actions a.btn-ghost { color: var(--navy); }
.nav .nav-mobile-actions a.btn-primary { color: #fff; }

/* 3) Con el grupo de Servicios desplegado, el menú supera la altura de la
   pantalla y —al vivir dentro del nav fijo— lo que no cabe queda cortado e
   inaccesible. Scroll propio limitado a la altura visible bajo la barra. */
.nav-mobile.is-open {
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Presupuesto para grandes volúmenes (2026-09-16): línea bajo el chip de precio de los servicios de informes */
.svc-volumen { margin: 0.6rem 0 1.1rem; font-size: 0.88rem; color: var(--muted); }
.svc-volumen a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Sello de evidencias: banda "dossier de ejemplo" (2026-09-16) */
.svc-muestra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--surface, #fff);
  border: 1px dashed rgba(0, 98, 253, 0.45);
  border-radius: 18px;
  padding: 2rem 2.2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.svc-muestra h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em; margin: 0.4rem 0 0.6rem; }
.svc-muestra p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; margin: 0; max-width: 620px; }
.svc-muestra .btn { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 760px) {
  .svc-muestra { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
  .svc-muestra .btn { white-space: normal; width: 100%; justify-content: center; }
}

/* ---------- Landing para despachos (/despachos, 2026-09-19) ---------- */
.desp-compara { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.desp-col { border-radius: var(--radius-lg); padding: 1.8rem 1.9rem; border: 1.5px solid var(--border); background: var(--surface); }
.desp-col-mal { background: #fbf7f7; border-color: #f0dede; }
.desp-col-bien { background: #f2f6ff; border-color: #c9dcff; }
.desp-col h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 1rem; color: var(--navy); }
.desp-col ul { list-style: none; }
.desp-col li { font-size: 0.93rem; color: var(--muted); line-height: 1.55; padding: 0.7rem 0 0.7rem 1.7rem; position: relative; border-top: 1px solid rgba(0, 18, 58, 0.07); }
.desp-col li:first-child { border-top: 0; padding-top: 0; }
.desp-col li strong { color: var(--navy); display: block; }
.desp-col li::before { position: absolute; left: 0; top: 0.75rem; font-weight: 900; }
.desp-col li:first-child::before { top: 0.05rem; }
.desp-col-mal li::before { content: "✕"; color: #d14343; }
.desp-col-bien li::before { content: "✓"; color: var(--green); }
.desp-legal p { font-size: 0.98rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.1rem; }
.desp-legal strong { color: var(--navy); }
.desp-legal a { color: var(--accent); font-weight: 600; }
.desp-pronto { display: inline-block; font-size: 0.72rem; font-weight: 700; color: var(--accent); background: rgba(0, 98, 253, 0.1); padding: 2px 8px; border-radius: 999px; margin-left: 4px; vertical-align: middle; white-space: nowrap; }
.desp-nota { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 1.8rem; }
@media (max-width: 760px) { .desp-compara { grid-template-columns: 1fr; } }

/* ---------- despachos.php reescrita (2026-09-20) ---------- */
.desp-hero-nota { font-size: 0.85rem; color: var(--muted); margin-top: 0.9rem; }
.desp-steps { grid-template-columns: repeat(4, 1fr); max-width: 1120px; }
.desp-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; max-width: 1100px; margin: 0 auto; }
.desp-rol { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem 1.7rem; }
.desp-rol-destacado { border-color: #c9dcff; background: #f2f6ff; }
.desp-rol-cab { display: flex; align-items: center; gap: 10px; margin-bottom: 0.3rem; }
.desp-rol-cab h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin: 0; }
.desp-rol-icono { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(0, 98, 253, 0.09); color: var(--accent); flex-shrink: 0; }
.desp-rol-icono svg { width: 20px; height: 20px; }
.desp-rol-quien { font-size: 0.86rem; color: var(--muted); margin-bottom: 0.9rem; }
.desp-rol ul { list-style: none; }
.desp-rol li { font-size: 0.92rem; color: var(--navy); line-height: 1.5; padding: 0.5rem 0 0.5rem 1.5rem; position: relative; border-top: 1px solid rgba(0, 18, 58, 0.07); }
.desp-rol li:first-child { border-top: 0; padding-top: 0; }
.desp-rol li::before { content: "✓"; position: absolute; left: 0; top: 0.5rem; color: var(--green); font-weight: 900; }
.desp-rol li:first-child::before { top: 0; }
.desp-dossier-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3rem; align-items: start; }
.desp-dossier-grid h2 { font-size: 2rem; letter-spacing: -0.02em; margin: 0.4rem 0 0.8rem; color: var(--navy); }
.desp-dossier-intro { color: var(--muted); font-size: 1.02rem; line-height: 1.65; margin-bottom: 1.4rem; }
.desp-dossier { list-style: none; counter-reset: pieza; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 0.6rem 1.5rem; }
.desp-dossier li { counter-increment: pieza; display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; padding: 0.85rem 0; border-top: 1px solid rgba(0, 18, 58, 0.07); }
.desp-dossier li:first-child { border-top: 0; }
.desp-dossier li::before { content: counter(pieza, decimal-leading-zero); font-weight: 900; color: var(--accent); font-size: 0.85rem; padding-top: 2px; grid-row: 1 / span 2; }
.desp-dossier li strong { color: var(--navy); font-size: 0.98rem; }
.desp-dossier li span { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.desp-precio { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.3rem; }
.desp-precio-principal, .desp-precio-pack { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 1.7rem 1.8rem; }
.desp-precio-principal { border-color: var(--accent); box-shadow: 0 12px 34px rgba(0, 98, 253, 0.12); }
.desp-precio-cifra { font-size: 2.2rem; font-weight: 900; letter-spacing: -0.03em; color: var(--navy); margin-bottom: 0.5rem; }
.desp-precio-cifra span { font-size: 0.9rem; font-weight: 700; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.desp-precio p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.desp-precio p strong { color: var(--navy); }
.desp-precio-ejemplo { grid-column: 1 / -1; text-align: center; font-size: 0.9rem; margin-top: 0.2rem; }
@media (max-width: 960px) { .desp-steps { grid-template-columns: repeat(2, 1fr); } .desp-roles { grid-template-columns: 1fr; } .desp-dossier-grid { grid-template-columns: 1fr; gap: 1.6rem; } }
@media (max-width: 760px) { .desp-steps { grid-template-columns: 1fr; } .desp-precio { grid-template-columns: 1fr; } }
.desp-precio-medida { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; background: rgba(0, 98, 253, 0.05); border: 1px dashed rgba(0, 98, 253, 0.35); border-radius: var(--radius-lg); padding: 1.1rem 1.4rem; margin-top: 0.4rem; }
.desp-precio-medida strong { display: block; color: var(--navy); margin-bottom: 4px; }
.desp-precio-medida p { font-size: 0.9rem; margin: 0; max-width: 620px; }
