/* ============================================================================
   DEVELOOP STUDIO · components.css
   Componentes reutilizables del sitio. Compón páginas combinando estas clases.
   Orden: botones · header/nav · menú móvil · footer · WhatsApp flotante ·
          cards · servicios · métricas · proceso · testimonio · faq ·
          casos · logos · formulario · placeholders · ilustraciones.
   ============================================================================ */

/* ===========================================================================
   1. BOTONES
   =========================================================================== */
.btn {
  --btn-bg: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--text);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-mid) var(--ease),
              background var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* Primario: gradiente de marca */
.btn--primary {
  background: var(--grad-warm);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0, 159, 227, 0.28);
}
.btn--primary:hover { box-shadow: 0 14px 36px rgba(0, 159, 227, 0.42); }

/* Secundario / fantasma */
.btn--ghost { background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.05); }

/* WhatsApp (verde de canal) */
.btn--wa {
  background: var(--wa);
  border-color: transparent;
  color: #06291a;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}
.btn--wa:hover { background: var(--wa-600); box-shadow: 0 14px 36px rgba(37, 211, 102, 0.45); }

.btn--lg { padding: 1.15rem 2rem; font-size: 1.0625rem; }
.btn--sm { padding: 0.7rem 1.15rem; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* Link con flecha que se desliza */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; color: var(--accent);
  transition: gap var(--t-mid) var(--ease);
}
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform var(--t-mid) var(--ease); }
.link-arrow:hover { gap: 0.7rem; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ===========================================================================
   2. HEADER / NAV (sticky + glassmorphism)
   =========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease),
              backdrop-filter var(--t-mid) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 14, 24, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

/* Logo "develoop studio" */
.logo {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
  letter-spacing: -0.02em; color: var(--text);
}
.logo__img {
  height: 32px; width: auto; display: block;
}
.logo__mark {
  width: 34px; height: 34px; flex: none;
  border-radius: 9px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  box-shadow: var(--glow-accent);
  position: relative;
}
.logo__mark svg { width: 20px; height: 20px; }
.logo b { font-weight: 600; }
.logo span { color: var(--accent); }

/* Navegación principal */
.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav__link {
  position: relative;
  padding: 0.55rem 0.9rem;
  font-size: 0.95rem; font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav__link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav__link.active { color: var(--text); }
.nav__link.active::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.3rem;
  height: 2px; border-radius: 2px; background: var(--grad-warm);
}

/* Dropdown de servicios */
.nav__item { position: relative; }
.nav__dd {
  position: absolute; top: calc(100% + 0.5rem); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 0.5rem;
  box-shadow: var(--shadow-hover);
  opacity: 0; visibility: hidden; transition: all var(--t-mid) var(--ease);
}
.nav__item:hover .nav__dd { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__dd a {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 0.8rem; border-radius: var(--r-sm);
  font-size: 0.92rem; color: var(--text-muted);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav__dd a:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.nav__dd a i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

.header__actions { display: flex; align-items: center; gap: 0.75rem; }

/* Botón hamburguesa (oculto en desktop) */
.hamburger {
  display: none; width: 44px; height: 44px;
  border-radius: var(--r-sm); border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  position: relative;
}
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 18px; height: 2px; background: var(--text); border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform var(--t-mid) var(--ease), opacity var(--t-fast);
}
.hamburger span::before { transform: translate(-50%, -7px); }
.hamburger span::after  { transform: translate(-50%, 5px); }
.hamburger.open span { background: transparent; }
.hamburger.open span::before { transform: translate(-50%, -50%) rotate(45deg); }
.hamburger.open span::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* ===========================================================================
   3. MENÚ MÓVIL (overlay)
   =========================================================================== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(10, 14, 24, 0.96);
  backdrop-filter: blur(18px);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; gap: 0.25rem;
  transform: translateX(100%);
  transition: transform var(--t-mid) var(--ease);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 500;
  padding: 0.7rem 0; color: var(--text);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu a svg { width: 24px; height: 24px; flex: none; color: var(--text-dim); }
.mobile-menu .btn--wa { margin-top: 1.5rem; }
.mobile-menu .btn--wa svg { width: 22px; height: 22px; color: inherit; }
.mobile-menu__sub { font-size: 1.05rem !important; color: var(--text-muted) !important; padding-left: 1rem !important; font-family: var(--font-sans) !important; border-bottom-color: transparent !important; }

body.menu-open { overflow: hidden; }

/* ===========================================================================
   4. FOOTER (4 columnas)
   =========================================================================== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
}
.footer__brand .logo { margin-bottom: 1.1rem; }
.footer__brand p { color: var(--text-muted); font-size: 0.95rem; max-width: 32ch; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.footer__social a {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  border: 1px solid var(--border); color: var(--text-muted);
  transition: all var(--t-fast) var(--ease);
}
.footer__social a:hover { color: var(--text); border-color: var(--border-strong); transform: translateY(-2px); background: rgba(255,255,255,0.04); }
.footer__col h4 {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 1.1rem; font-weight: 500;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col a, .footer__col li { color: var(--text-muted); font-size: 0.95rem; transition: color var(--t-fast); }
.footer__col a:hover { color: var(--accent); }
.footer__contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--text-dim); font-size: 0.85rem;
}

/* ===========================================================================
   5. BOTÓN FLOTANTE DE WHATSAPP
   =========================================================================== */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: var(--z-wa);
  display: inline-flex; align-items: center; gap: 0.7rem;
}
.wa-float__btn {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #06291a;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: transform var(--t-mid) var(--ease);
}
.wa-float__btn svg { width: 30px; height: 30px; }
.wa-float__btn:hover { transform: scale(1.08); }
/* Pulso sutil */
.wa-float__btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--wa); z-index: -1;
  animation: wa-pulse 2.4s var(--ease-soft) infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
/* Tooltip que aparece */
.wa-float__label {
  background: var(--surface); border: 1px solid var(--border);
  padding: 0.6rem 0.95rem; border-radius: var(--r-pill);
  font-size: 0.88rem; font-weight: 500; white-space: nowrap;
  box-shadow: var(--shadow-card);
  opacity: 0; transform: translateX(10px);
  transition: all var(--t-mid) var(--ease);
}
.wa-float:hover .wa-float__label { opacity: 1; transform: translateX(0); }
@media (prefers-reduced-motion: reduce) { .wa-float__btn::after { animation: none; } }
@media (max-width: 560px) { .wa-float__label { display: none; } }

/* ===========================================================================
   6. CARDS (genéricas)
   =========================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: transform var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease),
              background var(--t-mid) var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}

/* Ícono cuadrado con gradiente suave */
.icon-box {
  width: 54px; height: 54px; border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 159, 227, 0.25);
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.icon-box svg { width: 26px; height: 26px; }
.icon-box--iris { background: var(--iris-soft); border-color: rgba(31, 184, 181,0.3); color: var(--iris); }

/* Feature/pilar */
.feature h3 { font-size: var(--fs-h3); margin-bottom: 0.6rem; }
.feature p { color: var(--text-muted); }

/* ===========================================================================
   7. SERVICIOS (cards grandes con lista de entregables)
   =========================================================================== */
.service-card { display: flex; flex-direction: column; padding: 0; }
.service-card__media {
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.service-card__body { padding: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column; flex: 1; }
.service-card__tag {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.7rem;
}
.service-card h3 { font-size: var(--fs-h3); margin-bottom: 0.6rem; }
.service-card p { color: var(--text-muted); margin-bottom: 1.2rem; }
.service-card .check-list { margin-bottom: 1.5rem; }
.service-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }

/* Lista con checks verdes */
.check-list { display: flex; flex-direction: column; gap: 0.7rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.65rem; color: var(--text-muted); font-size: 0.95rem; }
.check-list li svg { width: 20px; height: 20px; flex: none; color: var(--wa); margin-top: 1px; }

/* ===========================================================================
   8. MÉTRICAS (contadores)
   =========================================================================== */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 2rem); }
.metric { text-align: center; padding: 1rem; }
.metric__num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.6rem, 1.5rem + 4vw, 4.5rem);
  line-height: 1; letter-spacing: -0.03em;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.metric__label { margin-top: 0.6rem; color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 560px) { .metrics { grid-template-columns: repeat(2, 1fr); } }

/* ===========================================================================
   9. PROCESO (4 pasos con línea conectora)
   =========================================================================== */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 3vw, 2rem); position: relative; }
.process__line {
  position: absolute; top: 38px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--iris));
  opacity: 0.4; z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step__circle {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1.3rem;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border-strong);
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
  color: var(--text); position: relative;
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.step:hover .step__circle { transform: translateY(-4px); box-shadow: var(--glow-accent); border-color: var(--accent); }
.step__circle span {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process__line { display: none; }
}
@media (max-width: 460px) { .process { grid-template-columns: 1fr; } }

/* ===========================================================================
   10. TESTIMONIO destacado
   =========================================================================== */
.testimonial {
  max-width: 880px; margin-inline: auto; text-align: center;
}
.testimonial__stars { display: flex; gap: 0.25rem; justify-content: center; margin-bottom: 1.5rem; color: #E0B65C; }
.testimonial__stars svg { width: 22px; height: 22px; }
.testimonial blockquote {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 1rem + 2.2vw, 2.4rem); line-height: 1.3;
  letter-spacing: -0.02em; margin-bottom: 2rem; text-wrap: balance;
}
.testimonial blockquote .text-gradient { font-weight: 600; }
.testimonial__author { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.testimonial__avatar {
  width: 60px; height: 60px; border-radius: 50%; overflow: hidden; flex: none;
  border: 2px solid var(--border-strong);
}
.testimonial__meta { text-align: left; }
.testimonial__meta strong { display: block; font-weight: 600; }
.testimonial__meta span { color: var(--text-muted); font-size: 0.9rem; }

/* ===========================================================================
   11. CASOS DE ÉXITO
   =========================================================================== */
.case-card { padding: 0; display: flex; flex-direction: column; }
.case-card__media { aspect-ratio: 4 / 3; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.case-card__body { padding: 1.6rem; }
.case-card__cat {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--iris); margin-bottom: 0.6rem;
}
.case-card h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.case-card__metric {
  font-family: var(--font-display); font-weight: 600; font-size: 2.4rem; line-height: 1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin: 0.8rem 0 0.3rem;
}
.case-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ===========================================================================
   12. BANDA DE LOGOS DE CLIENTES
   =========================================================================== */
.logo-band { border-block: 1px solid var(--border); }
.logo-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding-block: 2.2rem;
}
.logo-band__item {
  height: 30px; display: flex; align-items: center; gap: 0.5rem;
  color: var(--text-dim); opacity: 0.6;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em;
  transition: opacity var(--t-mid) var(--ease), color var(--t-mid) var(--ease);
  filter: grayscale(1);
}
.logo-band__item:hover { opacity: 1; color: var(--text-muted); }
.logo-band__item svg { width: 26px; height: 26px; }

/* ===========================================================================
   13. FAQ (acordeón)
   =========================================================================== */
.faq { max-width: 800px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0.25rem; font-family: var(--font-display);
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem); font-weight: 500; color: var(--text);
  transition: color var(--t-fast);
}
.faq__q:hover { color: var(--accent); }
.faq__icon { width: 34px; height: 34px; flex: none; position: relative; border-radius: 50%; border: 1px solid var(--border-strong); transition: background var(--t-mid), border-color var(--t-mid); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--accent);
  transform: translate(-50%, -50%); transition: transform var(--t-mid) var(--ease);
}
.faq__icon::before { width: 13px; height: 2px; }
.faq__icon::after  { width: 2px; height: 13px; }
.faq__item.open .faq__icon { background: var(--accent-soft); border-color: var(--accent); }
.faq__item.open .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-slow) var(--ease); }
.faq__item.open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a p { color: var(--text-muted); padding: 0 3rem 1.6rem 0.25rem; }

/* ===========================================================================
   14. FORMULARIO
   =========================================================================== */
.form { display: flex; flex-direction: column; gap: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: 0.88rem; font-weight: 500; color: var(--text-muted); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.9rem 1.05rem;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-sm); color: var(--text); font-size: 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft); background: var(--surface);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A8A8B6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.field--error input, .field--error select, .field--error textarea { border-color: var(--error); }
.field__msg { font-size: 0.82rem; color: var(--error); min-height: 1em; }
.field--error .field__msg { display: block; }
.form__success {
  display: none; align-items: center; gap: 0.8rem;
  padding: 1.1rem 1.3rem; border-radius: var(--r-md);
  background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.4);
  color: var(--ok);
}
.form__success.show { display: flex; }
.form__success svg { width: 22px; height: 22px; flex: none; }

/* ===========================================================================
   15. PLACEHOLDERS (fotos a reemplazar) + MARCO DE MOCKUP
   =========================================================================== */
.ph {
  width: 100%; height: 100%;
  display: grid; place-items: center; text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, var(--surface-2), var(--surface));
  color: var(--text-dim);
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: inherit;
}
.ph__inner { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; padding: 1rem; }
.ph svg { width: 34px; height: 34px; opacity: 0.5; }
.ph--accent { background: linear-gradient(135deg, rgba(0, 159, 227,0.12), rgba(31, 184, 181,0.12)); color: var(--text-muted); }

/* ===========================================================================
   16. CTA destacado (banda final)
   =========================================================================== */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #103439, #0a1f28);
  border: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}
.cta-band h2 { font-size: var(--fs-h2); margin-bottom: 1rem; max-width: 18ch; margin-inline: auto; }
.cta-band p { color: var(--text-muted); font-size: var(--fs-lead); max-width: 52ch; margin: 0 auto 2rem; }
.cta-band__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* La banda CTA es una tarjeta OSCURA auto-contenida (degradado fijo). Sobre
   secciones claras (section--light / section--pale) sus textos y bordes
   heredarían los tokens claros y quedarían ilegibles: se restablecen los
   tokens oscuros SOLO dentro de la banda para conservar el contraste. */
.section--light .cta-band,
.section--pale .cta-band {
  --text:          #EAF1F5;
  --text-muted:    #9DB0BC;
  --text-dim:      #61788A;
  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(60, 180, 215, 0.22);
}

/* ===========================================================================
   17. PAGE HERO (cabecera de páginas internas)
   =========================================================================== */
.page-hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); padding-bottom: clamp(2rem, 5vw, 4rem); position: relative; overflow: hidden; }
.page-hero .breadcrumb { display: flex; gap: 0.5rem; align-items: center; color: var(--text-dim); font-size: 0.85rem; margin-bottom: 1.5rem; font-family: var(--font-mono); }
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero h1 { font-size: var(--fs-h1); margin-bottom: 1.2rem; }
.page-hero p { color: var(--text-muted); font-size: var(--fs-lead); max-width: 60ch; }

/* ===========================================================================
   RESPONSIVE — header/footer
   =========================================================================== */
@media (max-width: 940px) {
  .nav, .header__actions .btn--wa span { display: none; }
  .hamburger { display: block; }
  .header__actions .btn--wa { padding: 0.7rem; width: 44px; height: 44px; }
}
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}
