/* =====================================================================
   Sitio Web (demo, plantilla base) — pages/home.css
   Solo inicio: hero, cómo reservar, reseñas, ubicación, banda CTA.
   Estándar WEB AranduCAD: main.css (tokens, base, layout) · components.css (componentes) · pages/*.css (por página).
   ===================================================================== */

/* ---------- HERO (inicio) ---------- */
/* Módulo de acción inmediata: foto real + barra operativa sólida al pie (estado, dirección y botones directos) */
.hero { position: relative; min-height: 92svh; display: grid; align-items: center; padding: calc(var(--nav-h) + 2.5rem) 0 0; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to top, rgba(20, 20, 20, .88) 0%, rgba(20, 20, 20, .5) 45%, rgba(20, 20, 20, .22) 100%); }
.hero__content { display: grid; gap: 1.25rem; max-width: 760px; padding-bottom: clamp(7rem, 16vw, 9rem); color: #fff; }
.hero__content .lead { color: rgba(255, 255, 255, .86); }

/* Barra operativa: plato sólido al pie del hero, sin degradé ni transparencia */
.hero__bar { position: relative; z-index: 1; background: var(--ink); border-top: 3px solid var(--brass); }
.hero__bar-inner { display: grid; gap: 1rem; padding-block: 1.1rem; }
@media (min-width: 860px) { .hero__bar-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; } }
.hero__bar-addr { font-weight: 700; color: var(--bone-2); font-size: .95rem; }
.hero__bar-ctas { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero__bar-ctas .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .hero__bar-ctas .btn { flex: 0 0 auto; } }
@media (min-width: 900px) { .hero__media img { object-position: 70% 45%; } }

/* CTA directa bajo el H1 (fondo foto oscura: el botón secundario necesita texto/borde claros) */
.hero__content .btn--secondary { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .7); }
.hero__content .btn--secondary:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ---------- CÓMO RESERVAR ---------- */
.steps { display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 1.6rem 1.5rem 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); display: grid; gap: .6rem; align-content: start; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 2.6rem; font-weight: 500; line-height: 1; color: var(--brass-2); opacity: .85; }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted); font-size: .95rem; }
.how { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 960px) { .how { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.how__media { border-radius: var(--radius); overflow: hidden; }
.how__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.how__note { display: flex; gap: .75rem; align-items: start; padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: rgba(200, 16, 46, .06); border: 1px solid rgba(200, 16, 46, .25); font-size: .9rem; color: var(--bone); }

/* ---------- RESEÑAS ---------- */
.reviews { display: grid; gap: 1rem; }
@media (min-width: 760px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reviews { grid-template-columns: repeat(4, 1fr); } }
.review { padding: 1.5rem 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-dark); display: grid; gap: .9rem; align-content: start; }
.review__stars { color: #b8912f; letter-spacing: .1em; font-size: .9rem; }
.review__text { font-family: var(--font-display); font-variation-settings: 'opsz' 20; font-size: 1.1rem; line-height: 1.4; }
.review__meta { font-size: .82rem; color: var(--muted-2); display: grid; gap: .1rem; }
.review__meta strong { color: var(--bone); font-weight: 800; }
.reviews-head { display: grid; gap: 1rem; }
.rating { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; }
.rating__num { font-family: var(--font-display); font-size: 2rem; font-variation-settings: 'opsz' 48; }

/* ---------- UBICACIÓN ---------- */
.location { display: grid; gap: 2rem; }
@media (min-width: 960px) { .location { grid-template-columns: .9fr 1.1fr; align-items: stretch; } }
.location__info { display: grid; gap: 1.5rem; align-content: start; }
.hours { display: grid; gap: .5rem; }
.hours__row { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.hours__row.is-today { color: var(--brass); font-weight: 700; }
.location__map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px; background: var(--ink-2); border: 1px solid var(--line-dark); }
.location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }
.location__map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.location__map-link { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; }
.address { display: grid; gap: .3rem; font-size: 1.05rem; }
.address strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; }


/* ---------- MATRIZ DE AMENITIES (grilla técnica 3x2, sin sombras) ---------- */
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
@media (min-width: 760px) { .amenities { grid-template-columns: repeat(3, 1fr); } }
.amenity { background: var(--ink-2); display: grid; justify-items: center; gap: .85rem; padding: clamp(1.75rem, 3vw, 2.5rem) 1rem; text-align: center; }
.amenity svg { width: 40px; height: 40px; stroke-width: 2.2; color: var(--bone); }
.amenity:nth-child(odd) svg { color: var(--forest); }
.amenity span { font-weight: 700; font-size: .88rem; color: var(--bone); }

/* ---------- CTA BAND ---------- */
.cta-band { border-radius: var(--radius); padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem); background: var(--ink-2); border: 1px solid var(--line-dark); border-left: 4px solid var(--brass); display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- BANNER B2B / FLOTAS Y UBICACIÓN EN SANTANÍ (franja sólida verde bosque) ---------- */
.b2b-band { background: var(--forest); color: #fff; border-radius: var(--radius); padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 3.5rem); display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .b2b-band { grid-template-columns: 1.3fr auto; align-items: center; } }
.b2b-band .lead { color: rgba(255, 255, 255, .82); max-width: 52ch; }
.b2b-band__contact { color: rgba(255, 255, 255, .85); font-size: .92rem; font-weight: 600; }
.b2b-band__contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.b2b-band .btn--secondary { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .55); }
.b2b-band .btn--secondary:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* HERO MOVIL: contraste */
@media (max-width: 899px) {
  .hero__shade { background: linear-gradient(to top, rgba(16, 16, 16, .96) 0%, rgba(16, 16, 16, .85) 45%, rgba(16, 16, 16, .7) 75%, rgba(16, 16, 16, .55) 100%); }
  .hero__content { text-shadow: 0 1px 14px rgba(0, 0, 0, .5); }
}

/* =====================================================================
   Inicio v3 (corrección 21/11, referencia de ritmo: wawa.com) — bloques partidos foto + color sólido,
   sin degradados, sin sombras, bordes rectos. Solo inicio.
   ===================================================================== */
.btn--white { --btn-bg: #fff; --btn-fg: var(--brass); }
.btn--white:hover { background: #f3f3f3; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--bone); }
.btn--light:hover { background: #ececec; }
.btn--line { --btn-bg: transparent; --btn-fg: var(--bone); --btn-bd: var(--bone); border: 2px solid var(--bone); }
.btn--line:hover { background: var(--bone); color: #fff; }

/* Hero: foto real a todo el ancho + panel sólido rojo con el titular */
.hero { min-height: auto; display: block; padding: var(--nav-h) 0 0; }
.hero__media { position: relative; inset: auto; z-index: 0; height: clamp(280px, 52vw, 620px); }
.hero__wrap { position: relative; margin-top: clamp(-9rem, -12vw, -3rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero__panel { background: var(--brass); color: #fff; padding: clamp(1.5rem, 4vw, 3rem); max-width: 760px; display: grid; gap: 1rem; border-radius: var(--radius); }
.hero__panel h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1; }
.hero__panel p { font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 52ch; }
.hero__panel .btn:not(.btn--light) { --btn-bg: var(--bone); --btn-fg: #fff; }
.hero__panel .btn:not(.btn--light):hover { background: #000; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }

/* Promos: mitad foto, mitad color sólido; alternan lados */
.promos { display: grid; }
.promo { display: grid; scroll-margin-top: var(--nav-h); border-radius: 0; }
.promo__media { aspect-ratio: 4 / 3; overflow: hidden; }
.promo__media img { width: 100%; height: 100%; object-fit: cover; }
.promo__media--solid { display: grid; place-items: center; background: var(--brass); color: #fff; }
.promo__media--solid svg { width: min(46%, 220px); height: auto; }
.promo__body { display: grid; gap: 1rem; align-content: center; justify-items: start; padding: clamp(2rem, 6vw, 5rem) var(--gutter); }
.promo__body h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); max-width: 18ch; }
.promo__body p { font-size: 1.08rem; max-width: 42ch; }
.promo--red .promo__body { background: var(--brass); color: #fff; }
.promo--cream .promo__body { background: var(--ink-2); color: var(--bone); }
.promo--ink .promo__body { background: var(--bone); color: #fff; }
.amenities { gap: 0; background: none; border-right: 0; border-bottom: 0; }
@media (min-width: 900px) {
  .promo { grid-template-columns: 1fr 1fr; min-height: 480px; }
  .promo__media { aspect-ratio: auto; height: 100%; }
  .promo--flip .promo__media { order: 2; }
  .promo__body { padding-inline: clamp(2.5rem, 6vw, 6rem); }
}

/* Comodidades: fila de íconos de trazo grueso y etiqueta corta */
.amen-title { text-align: center; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--bone); border-left: 2px solid var(--bone); }
.amenity { display: grid; justify-items: center; gap: .7rem; padding: 1.5rem .75rem; text-align: center; font-weight: 800; border-right: 2px solid var(--bone); border-bottom: 2px solid var(--bone); background: #fff; }
.amenity svg { width: 48px; height: 48px; color: var(--brass); }
@media (min-width: 700px) { .amenities { grid-template-columns: repeat(4, 1fr); } }

/* Flotas y ubicación */
.corp { background: var(--ink-2); padding-block: clamp(3.5rem, 8vw, 6rem); scroll-margin-top: var(--nav-h); }
.corp__grid { display: grid; gap: 2rem; }
.corp__info { display: grid; gap: 1.25rem; align-content: start; scroll-margin-top: calc(var(--nav-h) + 2rem); }
.corp__info > p { font-size: 1.08rem; max-width: 52ch; }
.corp__data { display: grid; gap: 0; border-top: 2px solid var(--bone); }
.corp__data > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line-dark); }
.corp__data dt { font-weight: 800; }
.corp__data a { color: var(--brass); font-weight: 700; }
.corp__map { position: relative; min-height: 340px; background: var(--ink-3); border: 2px solid var(--bone); }
.corp__map iframe, .corp__map img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
@media (min-width: 960px) { .corp__grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }
