/* ==========================================================================
   YMOA — Landing de Anuncios (Meta Ads)
   Hoja de estilos principal
   ========================================================================== */

* { box-sizing: border-box; }
html, body { margin: 0; background: #ffffff; }

body {
  font-family: 'Fustat', system-ui, sans-serif;
  color: #2B2F33;
  background: #FFFFFF;
  width: 100%;
}

h1, h2, h3, .headfont {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  margin: 0;
}

p { margin: 0; }
a { color: #5596BE; text-decoration: none; }
a:hover { color: #3d7ea3; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; }
button { font: inherit; cursor: pointer; }

.section { padding: 44px 20px 48px; }
.section-tint { background: #F3F7F9; }

.eyebrow {
  font-family: 'Fustat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #55919B;
  margin-bottom: 10px;
}

.h2 { font-size: 27px; line-height: 1.25; color: #23272b; }
.body-text { font-size: 15.5px; line-height: 1.6; color: #454b50; }

/* ---- Botón CTA (WhatsApp) ---- */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #5596BE;
  color: #ffffff;
  font-family: 'Fustat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 20px;
  border: none;
  border-radius: 999px;
  width: 100%;
  margin-top: 26px;
}
.cta:hover { background: #457da0; color: #fff; }
.cta svg { flex-shrink: 0; }
.cta--tight { margin-top: 0; }

.icon-wa { fill: currentColor; stroke: none; }

/* ==========================================================================
   1. HERO
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(12,26,36,0.42) 0%,
    rgba(15,25,34,0.06) 22%,
    rgba(15,32,44,0.55) 68%,
    rgba(12,26,36,0.82) 100%);
}
.hero__logo-row {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}
.hero__logo {
  width: 42px;
  height: 42px;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.45));
}
.hero__text-pad {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 22px 34px;
}
.hero-copy { max-width: 760px; margin: 0 auto; }
.hero__title { font-size: 33px; line-height: 1.18; color: #ffffff; }
.hero__subtitle {
  font-family: 'Fustat', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #EAF2F6;
  margin-top: 14px;
}

/* ==========================================================================
   2. EXPERIENCIA (paso a paso)
   ========================================================================== */

.steps { margin-top: 22px; display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #EEF2F3;
}
.step:last-child { border-bottom: none; }
.step__number {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #EAF2F6;
  color: #3d7ea3;
  font-family: 'Fustat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__text { flex-grow: 1; }
.step__text strong { color: #23272b; }
.step__thumb {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
}

.video-embed { max-width: 230px; margin: 26px auto 0; }
.video-embed__frame {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.video-embed__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-embed__caption {
  font-size: 11.5px;
  color: #7b8085;
  text-align: center;
  margin-top: 7px;
  line-height: 1.4;
}

/* ==========================================================================
   3. PREPARACIÓN
   ========================================================================== */

.checklist { display: flex; flex-direction: column; gap: 18px; margin-top: 22px; }
.checklist__item { display: flex; gap: 12px; }
.checklist__icon { flex-shrink: 0; margin-top: 1px; color: #55919B; }
.checklist__icon--warn { color: #c0392b; }
.checklist__item strong { color: #23272b; }

/* ==========================================================================
   4 & 6. ACORDEONES (Contraindicaciones / FAQ)
   ========================================================================== */

.accordion { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }

.accordion-item {
  border: 1px solid #E3E8EA;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
}
.accordion-item--danger { border-color: #F0D5D0; background: #FBF2F0; }
.accordion-item--info { border-color: #DCE6EA; background: #F3F7F9; }

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: inherit;
}

.accordion-question {
  font-family: 'Fustat', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: #23272b;
}
.accordion-item--danger .accordion-question { color: #8f3f26; font-weight: 700; }
.accordion-item--info .accordion-question { color: #2c5b74; font-weight: 700; }

.accordion-question-row { display: flex; align-items: center; gap: 9px; }

.accordion-chevron {
  flex-shrink: 0;
  color: #7b8085;
  transition: transform 0.25s ease;
}
.accordion-item--danger .accordion-chevron { color: #B5502F; }
.accordion-item--info .accordion-chevron { color: #3d7ea3; }
.accordion-item.is-open .accordion-chevron { transform: rotate(180deg); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-item.is-open .accordion-panel { max-height: 900px; }

.accordion-panel-inner { padding: 0 16px 16px; }

.accordion-list { display: flex; flex-direction: column; gap: 7px; margin-top: 11px; }
.accordion-list li { font-size: 15.5px; line-height: 1.6; color: #454b50; }

.faq-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
  max-width: 200px;
}
.faq-photos figure { margin: 0; }
.faq-photos img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.faq-photos figcaption { font-size: 10px; color: #7b8085; margin-top: 4px; }

/* ==========================================================================
   5. TESTIMONIOS (carrusel)
   ========================================================================== */

.testimonial-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin-top: 22px;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.testimonial-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid #E3E8EA;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.testimonial-card__stars {
  display: flex;
  gap: 2px;
  color: #E3A83B;
  margin-bottom: 10px;
}
.testimonial-card__quote {
  font-size: 13px;
  line-height: 1.5;
  color: #454b50;
}
.testimonial-card__name {
  font-size: 12.5px;
  color: #7b8085;
  margin-top: auto;
  padding-top: 12px;
}
.testimonial-hint { font-size: 11.5px; color: #9096a0; margin-top: 8px; }

/* ==========================================================================
   7. CIERRE
   ========================================================================== */

.cierre-grid { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
.cierre-card {
  background: #ffffff;
  border: 1px solid #E3E8EA;
  border-radius: 12px;
  padding: 16px;
}
.cierre-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 12px;
}
.cierre-card__title {
  font-family: 'Fustat', sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  color: #23272b;
  margin-bottom: 12px;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */

.site-footer {
  background: #EDF2F4;
  padding: 32px 20px 30px;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.site-footer__logo { width: 40px; height: 40px; }
.site-footer__contacts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.site-footer__phone {
  font-family: 'Fustat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #23272b;
}
.site-footer__icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #DCE6EA;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3d7ea3;
}
.site-footer__address {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6b7075;
  font-size: 13px;
}

/* ==========================================================================
   Responsive — desde 860px se centra una columna de lectura cómoda.
   El layout mobile de arriba queda intacto; estas reglas solo aplican
   a partir de 860px.
   ========================================================================== */

@media (min-width: 860px) {
  .section {
    padding-left: calc(50% - 380px);
    padding-right: calc(50% - 380px);
  }
  .hero__text-pad {
    padding-left: calc(50% - 380px) !important;
    padding-right: calc(50% - 380px) !important;
  }
  .cierre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .cta {
    display: inline-flex;
    width: auto;
    padding-left: 34px;
    padding-right: 34px;
  }
  .cierre-grid .cta { width: 100%; }
}
