/* Sitio público de Crecimiento Saludable */

.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.top__in { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.top__nav { display: flex; gap: 22px; margin-left: auto; }
.top__nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.top__nav a:hover { color: var(--teal); }

/* Portada con el cielo de papel */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f2f9fa 0%, #fff 100%); }
.hero__sky { position: absolute; inset: 0; background: url("../assets/arte/cielo.svg") center top / cover no-repeat; opacity: .9; }
.hero__sky::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 55%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.75) 55%, rgba(255,255,255,0) 100%); }
.hero__in { position: relative; text-align: center; padding: clamp(64px, 11vw, 132px) 0 clamp(72px, 10vw, 120px); max-width: 820px; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); color: var(--teal-dark); margin-bottom: 16px; }
.hero__lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--text); max-width: 620px; margin: 0 auto 28px; }
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.eyebrow--light { color: #ffd9c4; }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--soft { background: var(--sky); }
.section__title { font-size: clamp(28px, 4vw, 40px); text-align: center; }
.section__lead { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 32px; font-size: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
.feature { padding: 28px 24px; }
.feature__icon { font-size: 30px; width: 58px; height: 58px; display: grid; place-items: center; background: var(--orange-soft); border-radius: 16px; margin-bottom: 16px; }
.feature h3 { font-size: 23px; }
.feature p { color: var(--muted); margin: 0; }

.chips { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 820px; }
.chips li { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 15px; }

/* Agenda */
.booking { max-width: 860px; margin: 0 auto; overflow: hidden; }
.steps { display: flex; list-style: none; margin: 0; padding: 0; background: var(--teal-soft); }
.steps__item { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 8px; font-weight: 600; color: var(--muted); font-size: 15px; }
.steps__item span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--border); font-size: 13px; }
.steps__item.is-active { color: var(--teal-dark); }
.steps__item.is-active span { background: var(--teal); border-color: var(--teal); color: #fff; }
.steps__item.is-done span { background: var(--orange); border-color: var(--orange); color: #fff; }
.booking__body { padding: clamp(18px, 4vw, 32px); }
.bstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.bstep__title { font: 700 22px/1.2 var(--display); color: var(--teal-dark); margin-bottom: 14px; padding: 0; }
.bstep__sub { font: 600 16px var(--font); color: var(--orange); margin-left: 6px; }
.bstep__actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; margin-top: 8px; }

.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 12px;
  border: 1.5px solid var(--border); background: #fff; cursor: pointer; font: inherit; color: var(--text);
}
.day__dow { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.day__num { font: 700 24px/1.1 var(--display); }
.day__mon { font-size: 12px; color: var(--muted); }
.day__n { font-size: 11px; color: var(--ok); font-weight: 600; }
.day:hover:not([disabled]) { border-color: var(--teal); }
.day[aria-checked="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.day[aria-checked="true"] .day__dow, .day[aria-checked="true"] .day__mon, .day[aria-checked="true"] .day__n { color: #e3f1f2; }
.day[disabled] { opacity: .45; cursor: not-allowed; background: #f4f7f7; }
.days__nav { display: flex; justify-content: space-between; margin-top: 12px; }

.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.time { padding: 12px 8px; border-radius: 10px; border: 1.5px solid var(--border); background: #fff; font: 600 16px var(--font); color: var(--text); cursor: pointer; }
.time:hover { border-color: var(--orange); }
.time[aria-checked="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }

.resumen { background: var(--orange-soft); color: var(--orange-dark); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.done { text-align: center; padding: 12px 0; }
.done__icon { font-size: 46px; margin-bottom: 6px; }
.done__when { font: 700 22px var(--display); color: var(--orange); }
.urgencias { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }

/* Canal */
.section--canal { background: var(--teal); color: #fff; }
.section--canal h2 { color: #fff; font-size: clamp(28px, 4vw, 38px); }
.canal { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.canal > div { max-width: 640px; }
.canal p { color: #e3f1f2; margin: 0; font-size: 17px; }

/* Pie con el mar de papel */
.foot { position: relative; background: #fff; }
.foot__sea { height: clamp(90px, 14vw, 170px); background: url("../assets/arte/mar.svg") center bottom / cover no-repeat; }
.foot__in { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px 0 26px; font-size: 14px; color: var(--muted); }
.foot__in p { margin: 0; }
.foot__in nav { display: flex; gap: 18px; }
.foot__staff { color: var(--muted); }

@media (max-width: 860px) {
  .top__nav { display: none; }
  .top__in > .btn { margin-left: auto; }
  .grid3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid2 { grid-template-columns: 1fr; }
  .days { grid-template-columns: repeat(4, 1fr); }
  .steps__item { font-size: 13px; }
  .logo span { font-size: 19px; }
  .bstep__actions .btn { flex: 1; }
}
.top__in > .btn, .logo span { white-space: nowrap; }
@media (max-width: 380px) { .logo span { font-size: 17px; } .top__in > .btn { padding-inline: 12px; } }
#acciones { display:flex; gap:10px; flex-wrap:wrap; } #acciones #confirmar { width:100%; }

/* Pantalla «¡Listo!»: confirmar o cancelar */
.done__acciones { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 6px 0 14px; }
.done__seguro { background: var(--warn-bg); color: var(--warn); border-radius: 12px; padding: 12px 16px; max-width: 460px; margin: 0 auto 14px; }
.done__seguro p { margin: 0 0 10px; font-weight: 600; }
.done__seguro .btn { margin: 0 4px; }
.done__estado { max-width: 460px; margin: 0 auto 14px; }
.done__nota { font-size: 14px; font-weight: 600; color: var(--orange-dark); background: var(--orange-soft); display: inline-block; padding: 6px 14px; border-radius: 999px; }
.done__link { font-size: 14px; color: var(--muted); }
.done__when.is-cancelada { text-decoration: line-through; color: var(--muted); }
