/* ═══════════════════════════════════════════════════════════
   PRONIDUS · CSS unificado · v2.0 · oct-2026
   Tipografía: Poppins en todo — headings, body, nav, botones
   Paleta: naranja acento, fondos completamente claros
   Inspiración visual: sqmlist.com · Colores: pronidus.mx
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ── Variables ── */
:root {
  /* Acento naranja — solo en detalles, nunca como fondo grande */
  --ox:   #b84a0a;
  --ox-d: #8a3206;
  --ox-l: #d4845a;
  --ox-p: rgba(184,74,10,.09);
  --ox-b: rgba(184,74,10,.18);

  /* Texto */
  --tx:   #3a3028;    /* tinta pronidus — principal */
  --mu:   #6b6259;    /* secundario */
  --gr:   #9a9088;    /* terciario / pie de página */

  /* Fondos — solo claros */
  --w:    #ffffff;    /* blanco base */
  --s:    #fdf8f2;    /* crema muy suave — secciones alternas */
  --t:    #f8f2ea;    /* crema — fondos de tarjetas especiales */

  /* Bordes */
  --b:    rgba(184,74,10,.18);
  --b2:   rgba(58,48,40,.10);

  /* Líneas del papel rayado */
  --rule: rgba(58,48,40,.06);

  /* Tipografía — Poppins en todo */
  --font: 'Poppins', system-ui, sans-serif;

  /* Escala — especificada por Adán oct-2026 */
  --display: clamp(2.6rem, 6vw, 4.2rem);    /* h1: 41–67px */
  --h2-size: clamp(1.9rem, 3.4vw, 2.6rem);  /* h2: 30–42px */
  --h3-size: 1.35rem;                        /* h3: ~22px */
  --lead:    1.25rem;                        /* bajada: ~20px */
  --body:    1.125rem;                       /* cuerpo: 18px */
  --small:   .9375rem;                       /* mínimo: 15px */
  --eyebrow: .72rem;                         /* excepción: ~11.5px */

  /* Layout */
  --max-w: 1200px;
  --gap:   clamp(2rem, 5vw, 3.5rem);
  --section-py: clamp(5rem, 8.33vw, 7.5rem); /* 80–120px */
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--body);
  color: var(--tx);
  background: var(--w);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ox); text-decoration: none; }
a:hover { color: var(--ox-d); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }
h1, h2, h3, h4 { font-family: var(--font); }

/* ── Contenedor ── */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

/* ══════════════════════════════
   HEADER — claro
══════════════════════════════ */
.site-header {
  background: var(--w);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--b2);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 160px;
  gap: 1.5rem;
}
.site-logo img { height: 128px; width: auto; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.site-nav a {
  color: var(--tx);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  padding: .45rem .9rem;
  border-radius: 6px;
  transition: color .18s, background .18s;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--ox);
  background: var(--ox-p);
}
.site-nav a.nav-cta {
  background: var(--ox);
  color: #fff;
  font-weight: 600;
  margin-left: .5rem;
  padding: .5rem 1.25rem;
}
.site-nav a.nav-cta:hover { background: var(--ox-d); color: #fff; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--tx);
  border-radius: 2px;
  transition: all .3s;
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 160px; left: 0; right: 0;
    background: var(--w);
    border-top: 1px solid var(--b2);
    padding: 1rem 0;
    box-shadow: 0 8px 24px rgba(58,48,40,.08);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: block; padding: .85rem 1.5rem; border-radius: 0; }
  .site-nav a.nav-cta { margin: .5rem 1.5rem 0; border-radius: 6px; }
}

/* ══════════════════════════════
   HERO — blanco con papel rayado
══════════════════════════════ */
.hero {
  background: var(--w);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 31px,
    var(--rule) 31px 32px
  );
}
.hero::before {
  content: '';
  position: absolute;
  inset: -20% -5% auto 45%;
  height: 110%;
  background: radial-gradient(closest-side, rgba(184,74,10,.07), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-inner { max-width: 760px; }

/* ── Eyebrow ── */
.eyebrow {
  display: inline-block;
  font-family: var(--font);
  font-size: var(--eyebrow);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ox);
  margin-bottom: 1.25rem;
}

/* ── Display h1 ── */
.display {
  font-family: var(--font);
  font-size: var(--display);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.04;
  color: var(--tx);
  margin-bottom: 1.5rem;
}
.display em { font-style: normal; color: var(--ox); }

/* ── Lead ── */
.lead {
  font-size: var(--lead);
  color: var(--mu);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* ══════════════════════════════
   BOTONES
══════════════════════════════ */
.btn-group { display: flex; flex-wrap: wrap; gap: .75rem; }

.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  padding: .75rem 1.75rem;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s;
  line-height: 1;
  cursor: pointer;
}
.btn-primary {
  background: var(--ox);
  color: #fff;
  border-color: var(--ox);
}
.btn-primary:hover {
  background: var(--ox-d);
  border-color: var(--ox-d);
  color: #fff;
  box-shadow: 0 4px 16px rgba(184,74,10,.22);
}
.btn-ghost {
  background: transparent;
  color: var(--tx);
  border-color: var(--b2);
}
.btn-ghost:hover {
  background: var(--s);
  border-color: var(--ox-b);
  color: var(--ox);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--ox);
  border-color: var(--ox-b);
}
.btn-ghost-dark:hover {
  background: var(--ox);
  color: #fff;
  border-color: var(--ox);
}

/* ══════════════════════════════
   SECCIONES
══════════════════════════════ */
.section { padding: var(--section-py) 0; }
.section-alt { background: var(--s); }

.section-tag {
  display: inline-block;
  font-family: var(--font);
  font-size: var(--eyebrow);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ox);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font);
  font-size: var(--h2-size);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--tx);
  margin-bottom: 1rem;
}
.section-lead {
  font-size: var(--lead);
  color: var(--mu);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: var(--gap);
}
.section-divider {
  height: 1px;
  background: var(--b2);
  margin: 0;
  border: none;
}

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.cards-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }

.card {
  background: var(--w);
  border: 1px solid var(--b2);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  box-shadow: 0 1px 4px rgba(58,48,40,.05), 0 4px 16px rgba(58,48,40,.04);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover {
  border-color: var(--ox-b);
  box-shadow: 0 4px 20px rgba(58,48,40,.10);
  transform: translateY(-2px);
}
.card-tag {
  font-family: var(--font);
  font-size: var(--eyebrow);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ox);
}
.card h3 {
  font-family: var(--font);
  font-size: var(--h3-size);
  font-weight: 700;
  color: var(--tx);
  line-height: 1.25;
}
.card p {
  font-size: var(--small);
  color: var(--mu);
  line-height: 1.65;
  flex: 1;
}
.card-link {
  font-family: var(--font);
  font-size: var(--small);
  font-weight: 600;
  color: var(--ox);
  margin-top: .25rem;
}
.card-link:hover { color: var(--ox-d); }
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 7px;
  margin-bottom: .25rem;
}

/* ── Features list ── */
.features { display: flex; flex-direction: column; gap: 1.75rem; }
.feature {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  align-items: flex-start;
}
.feature-num {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ox);
  line-height: 1;
  padding-top: .1rem;
}
.feature h4 {
  font-family: var(--font);
  font-size: var(--h3-size);
  font-weight: 700;
  color: var(--tx);
  margin-bottom: .35rem;
  line-height: 1.25;
}
.feature p {
  font-size: var(--small);
  color: var(--mu);
  line-height: 1.65;
}

/* ── Split layout ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}
@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
  .split-img-first { order: -1; }
}
.split-img img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(58,48,40,.10);
}

/* ── CTA band — crema con acento, sin naranja de fondo ── */
.cta-band {
  background: var(--s);
  border-top: 1px solid var(--b2);
  border-bottom: 1px solid var(--b2);
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  text-align: center;
}
.cta-band .section-title { color: var(--tx); margin-bottom: 1rem; }
.cta-band .section-lead { color: var(--mu); margin-inline: auto; margin-bottom: 2rem; }

/* ── Info box ── */
.info-box {
  background: var(--s);
  border: 1px solid var(--b2);
  border-left: 3px solid var(--ox);
  border-radius: 0 8px 8px 0;
  padding: 1.5rem 1.75rem;
  font-size: var(--small);
  color: var(--mu);
  line-height: 1.7;
}
.info-box strong { color: var(--tx); font-weight: 600; }

/* ── Pill ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--ox-p);
  border: 1px solid var(--ox-b);
  border-radius: 20px;
  padding: .3rem .9rem;
  font-family: var(--font);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ox-d);
}
.pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ox);
  flex-shrink: 0;
}

/* ══════════════════════════════
   FORMULARIO
══════════════════════════════ */
.form-section {
  background: var(--w);
  border: 1px solid var(--b2);
  border-radius: 10px;
  padding: clamp(1.75rem, 5vw, 3rem);
  box-shadow: 0 2px 8px rgba(58,48,40,.05);
}
.form-note {
  font-size: var(--small);
  color: var(--mu);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--b2);
  line-height: 1.65;
}
.form-grid { display: grid; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field label {
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mu);
}
.field input,
.field textarea,
.field select {
  border: 1px solid var(--b2);
  border-radius: 6px;
  padding: .8rem 1rem;
  font-size: 1rem;
  font-family: var(--font);
  color: var(--tx);
  background: var(--w);
  transition: border-color .18s, box-shadow .18s;
  width: 100%;
  outline: none;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--ox);
  box-shadow: 0 0 0 3px var(--ox-p);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-full { grid-column: 1 / -1; }
.field-honey { display: none !important; }

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--b2);
}
.form-legal { font-size: .85rem; color: var(--gr); line-height: 1.5; }

.alert {
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  font-size: var(--small);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
.alert-ok  { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-err { background: var(--ox-p); border: 1px solid var(--ox-b); color: var(--ox-d); }

/* ══════════════════════════════
   FOOTER — claro
══════════════════════════════ */
.site-footer {
  background: var(--s);
  color: var(--mu);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 2rem;
  border-top: 1px solid var(--b2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--gap);
  margin-bottom: 3rem;
}
@media (max-width: 680px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo img { height: 48px; width: auto; margin-bottom: 1rem; }
.footer-tagline {
  font-size: var(--small);
  color: var(--mu);
  line-height: 1.65;
  max-width: 260px;
}
.footer-col h4 {
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tx);
  margin-bottom: .85rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a {
  font-size: var(--small);
  color: var(--mu);
  transition: color .18s;
}
.footer-col a:hover { color: var(--ox); }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--b2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-copy { font-size: .875rem; color: var(--gr); }

/* ══════════════════════════════
   UTILIDADES
══════════════════════════════ */
.text-center { text-align: center; }
.text-center .section-lead,
.text-center .lead { margin-inline: auto; }
.mt-1 { margin-top: .75rem; }
.mt-2 { margin-top: 1.25rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 2.75rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ── Hero con imagen ── */
.hero-with-image .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}
.hero-with-image .hero-img img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(58,48,40,.12);
}
@media (max-width: 720px) {
  .hero-with-image .wrap { grid-template-columns: 1fr; }
  .hero-with-image .hero-img { display: none; }
}

/* ── Banner de preview (solo _preview/) ── */
.preview-bar {
  background: #1a1209;
  color: rgba(253,248,242,.55);
  font-size: .7rem;
  text-align: center;
  padding: .4rem 1rem;
  letter-spacing: .06em;
  font-family: var(--font);
}
