/* ==========================================================================
   EmpreHispana — Tema "Desert Rose"
   Paleta: Dusty Rose #d4a5a5 · Clay #b87d6d · Sand #e8d5c4 · Deep Burgundy #5d2e46
   Tipografía: Fraunces (headers) + Poppins (body) — equivalentes web cálidos
   al pairing FreeSans Bold / FreeSans del tema original, elegidos por mejor
   soporte y legibilidad en navegadores.
   ========================================================================== */

:root {
  --rose: #d4a5a5;
  --rose-dark: #c48f8f;
  --clay: #b87d6d;
  --sand: #e8d5c4;
  --sand-light: #f7efe6;
  --burgundy: #5d2e46;
  --burgundy-light: #7a4361;
  --cream: #fffaf6;
  --ink: #3a2530;
  --ink-soft: #6b5560;
  --white: #ffffff;
  --success: #4a7c59;
  --shadow: 0 10px 30px rgba(93, 46, 70, 0.12);
  --shadow-sm: 0 4px 14px rgba(93, 46, 70, 0.10);
  --radius: 18px;
  --radius-sm: 10px;
  --max-width: 1180px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
section { padding: 88px 0; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--burgundy);
  line-height: 1.18;
  margin: 0 0 18px;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 16px; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--clay);
  background: var(--sand-light);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head {
  max-width: 700px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head p { font-size: 1.08rem; }

/* Skip link (accesibilidad) */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--burgundy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* Foco visible accesible en toda la página */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--burgundy);
  outline-offset: 3px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-height: 48px;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--burgundy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--burgundy-light); }
.btn-secondary {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}
.btn-secondary:hover { background: var(--burgundy); color: var(--white); }
.btn-light {
  background: var(--white);
  color: var(--burgundy);
}
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}
.btn-whatsapp:hover { background: #1ebd5a; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 246, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(93, 46, 70, 0.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--burgundy);
}
.logo img { height: 38px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { color: var(--burgundy); border-color: var(--rose); }

.nav-cta { display: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--burgundy);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 28px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 60px 0 90px;
  background: linear-gradient(180deg, var(--sand-light) 0%, var(--cream) 70%);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.hero-copy .eyebrow { background: var(--sand); }
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.hero-trust {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.hero-trust svg { width: 22px; height: 22px; color: var(--clay); flex-shrink: 0; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }

@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 320px; margin: 0 auto; }
}

/* ---------- Franja de identificación (para ti) ---------- */
.identify-strip {
  background: var(--burgundy);
  color: var(--white);
  padding: 22px 0;
}
.identify-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
  text-align: center;
  font-family: var(--font-head);
  font-size: 1.05rem;
}
.identify-strip span { opacity: 0.55; }

/* ---------- Tarjetas de desafíos ---------- */
.section-alt { background: var(--sand-light); }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
@media (max-width: 880px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(93, 46, 70, 0.06);
  height: 100%;
}
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 28px; height: 28px; color: var(--burgundy); }
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 0.97rem; }

/* ---------- Pilares / Qué es EmpreHispana ---------- */
.pillars .card { text-align: left; }

/* ---------- Plan de 3 pasos ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  counter-reset: step;
  margin-top: 10px;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 34px 26px 26px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(93, 46, 70, 0.08);
  box-shadow: var(--shadow-sm);
}
.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

/* ---------- Programa / oferta ---------- */
.program-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(93, 46, 70, 0.08);
}
@media (max-width: 880px) { .program-card { grid-template-columns: 1fr; } }
.program-info {
  padding: 46px 44px;
}
.program-side {
  background: var(--burgundy);
  color: var(--white);
  padding: 46px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.program-side h3 { color: var(--white); }
.program-side .price {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  margin: 6px 0 4px;
}
.program-side .price-note { font-size: 0.85rem; opacity: 0.75; margin-bottom: 26px; }
.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.96rem;
}
.check-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--rose); }
.placeholder-note {
  display: inline-block;
  margin-top: 22px;
  font-size: 0.78rem;
  background: rgba(255,255,255,0.14);
  border: 1px dashed rgba(255,255,255,0.5);
  padding: 8px 12px;
  border-radius: 8px;
}

/* ---------- Fundadora ---------- */
.founder {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 880px) { .founder { grid-template-columns: 1fr; } }
.founder-photo {
  background: var(--sand);
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.founder-photo svg { width: 62%; height: auto; }
.photo-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(93,46,70,0.88);
  color: var(--white);
  font-size: 0.75rem;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
}
.founder-quote {
  border-left: 3px solid var(--rose);
  padding-left: 20px;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--burgundy);
  margin: 22px 0;
}
.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.credentials li {
  background: var(--sand-light);
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
}

/* ---------- Comunidad ---------- */
.community {
  background: var(--burgundy);
  color: var(--white);
  border-radius: 28px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 880px) { .community { grid-template-columns: 1fr; padding: 40px 26px; } }
.community h2 { color: var(--white); }
.community p { color: rgba(255,255,255,0.82); }
.community-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--rose);
}
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.75); }
.community-art svg { width: 100%; height: auto; }

/* ---------- Testimonios ---------- */
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(93, 46, 70, 0.06);
  height: 100%;
}
.testi-stars { color: var(--clay); margin-bottom: 12px; letter-spacing: 2px; }
.testi-quote { font-style: italic; color: var(--ink); }
.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.testi-role { font-size: 0.8rem; color: var(--ink-soft); }
.testi-flag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.72rem;
  color: var(--clay);
  background: var(--sand-light);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(93, 46, 70, 0.1);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 600;
  color: var(--burgundy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--clay);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--ink-soft); }

/* ---------- CTA final ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--rose) 0%, var(--clay) 100%);
  border-radius: 28px;
  padding: 66px 40px;
  text-align: center;
  color: var(--burgundy);
}
.final-cta h2 { color: var(--burgundy); }
.final-cta .btn-primary { background: var(--burgundy); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--burgundy);
  color: rgba(255,255,255,0.82);
  padding: 60px 0 26px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); font-family: var(--font-body); font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--rose); }
.footer-logo { color: var(--white); font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 12px; display: block; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.social-row svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  z-index: 150;
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.07); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Utilidades ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.text-center { text-align: center; }

@media (max-width: 480px) {
  section { padding: 60px 0; }
  .program-info, .program-side { padding: 32px 26px; }
  .community { padding: 34px 20px; }
}
