/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Montserrat', system-ui, sans-serif;
  color: #2b2b2b;
  background: #3f6b46;
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }
a { color: inherit; }
img { height: auto; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page { width: 100%; overflow-x: hidden; background-color: #819d75; }

/* ---------- Utilidades de maquetación ---------- */
.wrap-1100 { max-width: 1100px; margin: 0 auto; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.center-item { display: grid; place-items: center; }
.badge { width: 180px; max-width: 100%; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  border: none;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn--light { background: #fff; color: #2b2b2b; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12); }
.btn--dark { background: #374232; color: #fff; }
.btn--lg { font-size: 12px; padding: 14px 32px; }
.btn--lg.btn--dark { padding: 12px 32px; }
.btn--sm { font-size: 11px; padding: 12px 26px; }
.btn--sm.btn--dark { padding: 10px 26px; }
.btn--step { font-size: 11px; padding: 13px 24px; }
.btn--lift { transition: transform .15s ease; }
.btn--lift:hover { transform: translateY(-1px); }
.btn--fade { transition: opacity .2s ease; }
.btn--fade:hover { opacity: 0.85; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 24px 120px;
  overflow: hidden;
  background: #819d75 url('../img/hero-5.webp') top center / cover no-repeat;
}
.hero .wrap-1100 { position: relative; }
.hero__copy { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero__headline { width: 100%; max-width: 520px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.hero-img-desk { width: 100%; max-width: 520px; object-fit: contain; }
.hero-img-mobile { width: 100%; max-width: 340px; object-fit: contain; display: none; }

/* ---------- Secciones 2 + 3 ---------- */
.trees { background: #819d75 url('../img/fondo-arboles.webp') center center / cover no-repeat; }

.promo { position: relative; padding: 0 24px 80px; }
.promo__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.promo__title {
  margin: 0;
  color: #374232;
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 700;
  line-height: 1.1;
}
.promo__text {
  margin: 0;
  color: #374232d9;
  font-size: 16px;
  line-height: 1.6;
  max-width: 380px;
  font-weight: 500;
}
.promo__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.promo__img { width: 100%; max-width: 460px; object-fit: contain; }

.golf { position: relative; padding: 0 24px 120px; }
.golf__grid {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 60px;
  align-items: center;
}
.golf__img { width: 100%; max-width: 420px; object-fit: contain; }
.golf__copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.golf__title { width: 243px; max-width: 460px; height: 104px; }
.golf__text {
  margin: 0;
  color: #374232e0;
  font-size: 14px;
  line-height: 1.7;
  max-width: 460px;
  font-weight: 500;
}
.btn--sm.btn--dark.golf__cta { padding: 12px 28px; margin-top: 8px; }
.golf__path {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 80px;
  background: linear-gradient(to bottom, transparent 0%, #c9a574 30%, #c9a574 100%);
  clip-path: polygon(0 30%, 8% 20%, 22% 45%, 35% 25%, 50% 50%, 62% 30%, 78% 55%, 90% 25%, 100% 40%, 100% 100%, 0 100%);
}

/* ---------- ¿Cómo funciona? ---------- */
.steps { position: relative; background: #fff; padding: 60px 24px 80px; }
.steps__title {
  text-align: center;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: #2b2b2b;
  margin: 0 0 48px;
  letter-spacing: 0.5px;
}
.steps__list {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.step { display: grid; gap: 60px; align-items: center; }
.step--media-first { grid-template-columns: 3fr 2fr; }
.step--media-last { grid-template-columns: 2fr 3fr; }
.step-image { width: 100%; max-width: 480px; object-fit: contain; }
.step__body { display: flex; gap: 24px; align-items: flex-start; }
.step-number {
  font-family: 'Caveat', cursive;
  font-size: 80px;
  color: #6ea073;
  line-height: 0.8;
  font-weight: 700;
  flex: none;
}
.step__title {
  margin: 0 0 16px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #374232;
}
.step__title--mb20 { margin-bottom: 20px; }
.step__title--mb24 { margin-bottom: 24px; }
.step__title--dark { color: #2b2b2b; }
.step__points { display: flex; flex-direction: column; gap: 16px; }
.step__point { display: flex; gap: 12px; align-items: flex-start; }
.step__point img { width: 40px; height: 40px; flex: none; object-fit: contain; }
.step__point p { margin: 0; font-size: 14px; line-height: 1.55; color: #2b2b2b; }

.step-options { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.step-option__icon { width: 48px; height: 48px; object-fit: contain; }
.step-option__title {
  margin: 12px 0 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #374232;
}
.step-option__text { margin: 0; font-size: 13px; line-height: 1.55; color: #374232; }
.step-option__text--soft { color: #3d3d3d; font-weight: 400; }
.step-option__example {
  margin-top: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  color: #374232;
  line-height: 1.7;
  white-space: nowrap;
}

.step__icons { width: 100%; max-width: 280px; object-fit: contain; margin-bottom: 14px; }
.step__activities {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.5;
  color: #819d75;
  font-weight: 700;
}

/* Condiciones */
.info-bar-wrap { max-width: 1000px; margin: 0 auto 60px; padding: 0 24px; }
.info-bar {
  border-top: 1px solid #d4ddd4;
  border-bottom: 1px solid #d4ddd4;
  padding: 24px 0;
  display: flex;
  gap: 60px;
  align-items: center;
  flex-wrap: wrap;
}
.info-bar__fee { flex: none; font-size: 13px; }
.info-bar__fee-title { margin: 0 0 6px; font-weight: 800; color: #2b2b2b; }
.info-bar__fee-line { margin: 0 0 2px; color: #374232; }
.info-bar__fee-line:last-child { margin-bottom: 0; }
.info-bar__divider { width: 1px; height: 60px; background: #d4ddd4; flex: none; }
.info-bar__duration { display: flex; gap: 18px; align-items: center; flex: 1; min-width: 220px; }
.info-bar__duration p { margin: 0; font-size: 14px; line-height: 1.55; color: #374232; }

.calendar {
  flex: none;
  width: 52px;
  height: 52px;
  border: 2px solid #2e5a3e;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.calendar__ring {
  position: absolute;
  top: -6px;
  width: 5px;
  height: 10px;
  background: #2e5a3e;
  border-radius: 2px;
}
.calendar__ring--left { left: 10px; }
.calendar__ring--right { right: 10px; }
.calendar__band { width: 100%; height: 10px; background: #2e5a3e; position: absolute; top: 8px; }
.calendar__day { font-size: 22px; font-weight: 800; color: #2e5a3e; margin-top: 12px; line-height: 1; }

/* ---------- Cielo: FAQ + formulario ---------- */
.sky { position: relative; background: #b8dbed; padding: 0 24px 180px; overflow: visible; }
.sky__clouds { display: block; width: 100%; margin-bottom: 40px; pointer-events: none; }
.sky__trees {
  display: block;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.faq { max-width: 720px; margin: 0 auto 60px; }
.faq__title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: #2b2b2b;
  margin: 0 0 32px;
  letter-spacing: 0.5px;
}
.faq details { border-bottom: 1px solid rgba(44, 74, 52, 0.18); }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 4px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  color: #2b2b2b;
  letter-spacing: 0.3px;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { margin: 0 0 18px; padding: 0 4px; font-size: 13px; line-height: 1.65; color: #374232; }

.contact {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.contact__title {
  margin: 0;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: #374232;
  text-align: center;
}
.contact__kicker { font-size: 13px; letter-spacing: 3px; font-weight: 700; color: #6ea073; }

.form-grid { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid input:not([type="checkbox"]) {
  background: #fff;
  border: none;
  padding: 14px 16px;
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: 1px;
  color: #6b7575;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
/* Campo trampa antispam: fuera de pantalla, no display:none, para que los bots lo rellenen */
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; }
.form-consent input { margin-top: 2px; accent-color: #2e5a3e; width: 16px; height: 16px; flex: none; cursor: pointer; }
.form-consent label { font-size: 11px; color: #2b2b2b; line-height: 1.5; cursor: pointer; }
.form-consent a { color: #2e5a3e; font-weight: 700; text-decoration: underline; }
.form-submit { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.form-submit button {
  background: #2b2b2b;
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
}
.form-submit button:hover { background: #000; }

@keyframes floatUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.notice {
  margin-top: 8px;
  color: #fff;
  padding: 14px 18px;
  border-radius: 2px;
  font-size: 13px;
  text-align: center;
  width: 100%;
  animation: floatUp .4s ease;
}
.notice--ok { background: #2e5a3e; }
.notice--error { background: #a83232; }

.contact-row { width: 100%; margin-top: 30px; display: flex; align-items: flex-start; gap: 40px; }
.contact-row__ways { flex: none; }
.contact-row__title { margin: 0 0 18px; font-size: 17px; font-weight: 600; color: #374232; line-height: 1.4; }
.contact-row__list { display: flex; flex-direction: column; gap: 10px; color: #6ea073; font-weight: 600; }
.contact-row__item { display: flex; gap: 10px; align-items: center; }
.contact-row__item > span:last-child { color: #374232; }
.contact-row__at { font-size: 18px; line-height: 1; }
.contact-row__img {
  flex: 1;
  width: 0;
  min-width: 0;
  max-width: 500px;
  object-fit: contain;
  margin-bottom: -236px;
  position: relative;
  z-index: 1;
}

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 0; background: #374332; color: #d8e3da; padding: 50px 24px 24px; }
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: start;
}
.footer__logo { display: flex; align-items: center; }
.footer__logo img { height: 60px; width: auto; }
.footer__contact { font-size: 12px; line-height: 1.8; }
.footer__heading { font-weight: 700; color: #fff; margin-bottom: 4px; }
.footer__legal {
  max-width: 1100px;
  margin: 36px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 10px;
  opacity: 0.75;
  justify-content: center;
}
.footer__legal a { color: inherit; text-decoration: none; }

/* ---------- Móvil ---------- */
@media (max-width: 760px) {
  .hero, .promo, .golf, .steps, .sky { padding-left: 25px; padding-right: 25px; }

  .two-col,
  .step,
  .golf__grid { grid-template-columns: 1fr; gap: 24px; }

  /* Hero: cambia de ilustración */
  .hero-img-desk { display: none; }
  .hero-img-mobile { display: block; }

  /* Golf: primero el texto */
  .golf__media { order: 2; }
  .golf__copy { order: 1; }

  /* Paso 2: primero la imagen */
  .step--media-last > :first-child { order: 2; }
  .step--media-last > :last-child { order: 1; }

  .step-number { font-size: 56px; }
  .step-image { max-width: 260px; margin: 0 auto; display: block; }
  .step-options { grid-template-columns: 1fr; gap: 20px; }

  .info-bar-wrap { margin-top: 60px; padding-left: 0; padding-right: 0; }
  .info-bar { gap: 24px; }
  .info-bar__divider { display: none; }

  .form-grid { grid-template-columns: 1fr; }
  .contact-row { flex-direction: column; align-items: flex-start; }
  .contact-row__img { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
