/* Formación Facilitadora Dreamcare — estilos consolidados */

:root {
  --coral: #e07040;
  --coral-soft: #e89570;
  --coral-deep: #c25530;
  --azul: #90b0d0;
  --azul-deep: #5a7a98;
  --beige: #e0d0c0;
  --gris: #707070;
  --gris-soft: #9a9a9a;
  --crema: #f5efe7;
  --crema-warm: #efe5d6;
  --tinta: #2a2520;
  --tinta-soft: #4a413a;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
  --mono: 'DM Mono', 'Courier New', monospace;
}

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

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--crema);
  -webkit-font-smoothing: antialiased;
}

/* ===== UTILITARIOS ===== */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.wrap-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 500;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  font-variation-settings:
    'SOFT' 100,
    'WONK' 1;
  letter-spacing: -0.01em;
}

h1 em,
h2 em,
h3 em {
  font-style: italic;
  color: var(--coral);
  font-variation-settings:
    'SOFT' 100,
    'WONK' 1;
}

/* ===== BARRA SUPERIOR MÍNIMA ===== */
.topbar {
  background: var(--tinta);
  color: var(--crema);
  padding: 0.6rem 1.5rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.topbar strong {
  color: var(--coral-soft);
  font-weight: 500;
}

/* ===== HEADER MINIMAL (solo logo, sin nav) ===== */
header {
  padding: 1.2rem 1.5rem;
  background: var(--crema);
  border-bottom: 1px solid rgba(112, 112, 112, 0.1);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--tinta);
  text-decoration: none;
  font-variation-settings:
    'SOFT' 100,
    'WONK' 1;
}

.logo-mark {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral) 50%, var(--azul) 50%);
  vertical-align: middle;
  margin-right: 0.5rem;
}

.header-contact {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--gris);
}

.header-contact a {
  color: var(--azul-deep);
  text-decoration: none;
}

@media (max-width: 600px) {
  .header-contact {
    display: none;
  }
}

/* ===== HERO ===== */
.hero {
  padding: clamp(3rem, 7vw, 5.5rem) 1.5rem;
  background: var(--crema);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 112, 64, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 1.2rem 0 1.5rem;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--tinta-soft);
  margin-bottom: 2rem;
  max-width: 540px;
}

.price-block {
  background: white;
  border-radius: 8px;
  padding: 1.5rem 1.8rem;
  margin-bottom: 1.8rem;
  border-left: 4px solid var(--coral);
  display: inline-block;
}

.price-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gris);
  display: block;
  margin-bottom: 0.3rem;
}

.price-amount {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--tinta);
  line-height: 1;
}

.price-currency {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--gris);
  margin-left: 0.4rem;
}

.cohort-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--coral);
  color: white;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.cohort-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.hero-visual {
  position: relative;
}

.hero-visual-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  position: relative;
}

.hero-visual-card .badge-cert {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--coral);
  color: white;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(224, 112, 64, 0.3);
  font-weight: 500;
}

.hero-visual-card h4 {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 0.5rem;
}

.hero-visual-card .cert-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.hero-visual-card .cert-code {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--coral);
  margin-bottom: 1.2rem;
}

.cert-info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-top: 1px dashed rgba(112, 112, 112, 0.2);
  font-size: 0.9rem;
}

.cert-info-row span:first-child {
  color: var(--gris);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cert-info-row span:last-child {
  color: var(--tinta);
  font-weight: 500;
}

/* ===== BOTONES CTA ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.95rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--coral);
  color: white;
  box-shadow: 0 4px 14px rgba(224, 112, 64, 0.3);
}

.btn-primary:hover {
  background: var(--coral-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(224, 112, 64, 0.4);
}

.btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.08rem;
}

.btn-ghost {
  background: transparent;
  color: var(--azul-deep);
  border: 1.5px solid var(--azul-deep);
}

.btn-ghost:hover {
  background: var(--azul-deep);
  color: white;
}

.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.cta-note {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--gris);
  letter-spacing: 0.03em;
}

/* ===== SECCIÓN GENÉRICA ===== */
section {
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}

section.alt {
  background: white;
}

section.dark {
  background: var(--tinta);
  color: var(--crema);
}

section.dark .eyebrow {
  color: var(--coral-soft);
}
section.dark h2 {
  color: var(--crema);
}
section.dark p {
  color: rgba(245, 239, 231, 0.85);
}

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

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 1rem 0 1rem;
}

.section-head p {
  color: var(--tinta-soft);
  font-size: 1.05rem;
}

section.dark .section-head p {
  color: rgba(245, 239, 231, 0.75);
}

/* ===== "PARA QUIÉN" - perfiles ===== */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.profile-card {
  background: var(--crema);
  border-radius: 8px;
  padding: 1.8rem;
  border-top: 3px solid var(--coral);
  transition: all 0.2s;
}

section.alt .profile-card {
  background: var(--crema-warm);
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.profile-card .profile-icon {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.6rem;
}

.profile-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.profile-card p {
  font-size: 0.93rem;
  color: var(--tinta-soft);
  line-height: 1.55;
}

/* ===== "QUÉ INCLUYE" ===== */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.include-item {
  position: relative;
  padding-left: 2.2rem;
}

.include-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.include-item::after {
  content: '✓';
  position: absolute;
  left: 0.45rem;
  top: 0.3rem;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
}

.include-item h3 {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
  color: var(--tinta);
}

.include-item p {
  font-size: 0.93rem;
  color: var(--tinta-soft);
  line-height: 1.55;
}

/* ===== FUNDAMENTO CIENTÍFICO ===== */
.science-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.science-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

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

.science-stat .stat-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--coral-soft);
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}

.science-stat .stat-label {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(245, 239, 231, 0.7);
}

/* ===== METODOLOGÍA ===== */
.method-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.method-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--beige);
}

.method-step {
  position: relative;
  padding-left: 4rem;
  padding-bottom: 2.5rem;
}

.method-step:last-child {
  padding-bottom: 0;
}

.method-step .step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: var(--coral);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  z-index: 2;
}

.method-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.method-step .step-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.6rem;
}

.method-step p {
  color: var(--tinta-soft);
  font-size: 0.95rem;
}

/* ===== TESTIMONIO / VOCERA ===== */
.vocera-block {
  background: var(--coral);
  color: white;
  padding: clamp(3rem, 6vw, 4.5rem) 2rem;
  border-radius: 8px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vocera-block::before {
  content: '"';
  position: absolute;
  top: -80px;
  left: 20px;
  font-family: var(--serif);
  font-size: 16rem;
  color: rgba(255, 255, 255, 0.1);
  font-weight: 600;
  line-height: 1;
}

.vocera-quote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  font-variation-settings:
    'SOFT' 100,
    'WONK' 1;
}

.vocera-attribution {
  font-family: var(--mono);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.vocera-attribution strong {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  letter-spacing: 0;
}

/* ===== CTA INTERMEDIO Y FINAL ===== */
.cta-section {
  background: var(--azul-deep);
  color: white;
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}

.cta-section h2 {
  color: white;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 1rem;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.cta-section .price-inline {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: block;
}

.cta-section .price-inline small {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  display: block;
  margin-bottom: 0.5rem;
}

.cta-section .btn-primary {
  background: var(--coral);
  font-size: 1.1rem;
  padding: 1.2rem 2.5rem;
}

.cta-section .btn-primary:hover {
  background: white;
  color: var(--coral);
}

.urgency-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.urgency-bar::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--coral-soft);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(112, 112, 112, 0.15);
  padding: 1.4rem 0;
}

.faq-item summary {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--tinta);
  font-variation-settings:
    'SOFT' 100,
    'WONK' 1;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--coral);
  font-weight: 300;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 1rem;
  color: var(--tinta-soft);
  font-size: 0.97rem;
  line-height: 1.65;
}

/* ===== FORMULARIO CAPTACIÓN ===== */
.form-section {
  background: var(--crema-warm);
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}

.form-card {
  max-width: 560px;
  margin: 0 auto;
  background: white;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.form-card h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.form-card .form-lead {
  color: var(--tinta-soft);
  margin-bottom: 2rem;
  font-size: 0.97rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 1rem;
  border: 1.5px solid rgba(112, 112, 112, 0.2);
  border-radius: 4px;
  background: white;
  color: var(--tinta);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--coral);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--tinta-soft);
  margin: 1.2rem 0 1.5rem;
}

.form-checkbox input {
  margin-top: 0.2rem;
}

.form-checkbox a {
  color: var(--azul-deep);
}

.form-card .btn {
  width: 100%;
  padding: 1.1rem;
  font-size: 1.05rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--tinta);
  color: rgba(245, 239, 231, 0.7);
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: center;
  font-size: 0.88rem;
}

footer .footer-logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--crema);
  margin-bottom: 0.5rem;
  display: inline-block;
  font-variation-settings:
    'SOFT' 100,
    'WONK' 1;
}

footer .footer-links {
  margin: 1rem 0;
}

footer .footer-links a {
  color: rgba(245, 239, 231, 0.7);
  text-decoration: none;
  margin: 0 0.6rem;
  cursor: pointer;
}

footer .footer-links a:hover {
  color: var(--coral-soft);
}

footer .footer-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: rgba(245, 239, 231, 0.5);
  margin-top: 1rem;
}

/* ===== MODALS LEGALES ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(42, 37, 32, 0.95);
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: var(--crema);
  margin: 3% auto;
  width: 90%;
  max-width: 720px;
  border-radius: 8px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideDown 0.3s;
}

@keyframes slideDown {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  padding: 1.5rem 2rem;
  background: var(--azul-deep);
  color: var(--crema);
  border-radius: 8px 8px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.4rem;
  color: white;
}

.modal-close {
  background: none;
  border: none;
  color: var(--crema);
  font-size: 1.8rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.modal-body {
  padding: 2rem;
  line-height: 1.65;
  color: var(--tinta);
  font-size: 0.95rem;
}

.modal-body h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.6rem;
  color: var(--azul-deep);
  font-family: var(--serif);
}

.modal-body p {
  margin-bottom: 0.8rem;
}
.modal-body ul {
  margin: 0.6rem 0 1rem 1.5rem;
}
