/* ==========================================================================
   PÁGINA «DISEÑO WEB PARA HOTELES» (/diseno-web-hoteles/)
   Reutiliza los componentes de sector de restaurantes.css (migas, alcance, precios,
   mantenimiento, preguntas, llamada final). Aquí solo lo propio de hoteles, con prefijo .ht-.
   Composición centrada y vertical («la ventana»): más aire, tono de hotel boutique.
   ========================================================================== */

/* ---------- Portada: la ventana ---------- */
.ht-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(28px, 3.6vw, 56px)) 0 clamp(72px, 8vw, 120px);
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(224, 190, 163, .38), transparent 72%),
    radial-gradient(40% 40% at 100% 0%, rgba(224, 190, 163, .3), transparent 70%),
    var(--cream); }
.ht-hero-copy { text-align: center; }
.ht-crumbs ol { justify-content: center; }
.ht-title { max-width: 17ch; margin: 20px auto 0; font-size: clamp(2.7rem, min(6.2vw, 10.5vh), 6rem); }
.ht-title em { display: block; }
.ht-hero-foot { display: grid; gap: 28px; justify-items: center; margin-top: clamp(26px, 3vw, 36px); }
.ht-hero-foot .hero-lead { max-width: 60ch; margin: 0 auto; }
.ht-hero-foot .hero-actions { justify-content: center; margin-top: 0; }

.ht-window { position: relative; max-width: 1080px; margin: clamp(48px, 5vw, 72px) auto 0; }
.ht-browser { position: relative; border-radius: 12px; overflow: hidden; background: var(--white);
  border: 1px solid rgba(59, 33, 23, .14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 60px 110px -50px rgba(59, 33, 23, .55), 0 18px 40px -24px rgba(59, 33, 23, .3); }
.ht-browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #F4E9DF; border-bottom: 1px solid var(--line); }
.ht-browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(59, 33, 23, .18); }
.ht-browser-bar i { margin: 0 auto; padding: 3px 16px; border-radius: 20px; background: var(--white); font-style: normal; font-size: 11px; letter-spacing: .04em; color: var(--muted); }
/* Ventana 16:10 a través de la que se recorre la web completa */
.ht-browser-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #2B3A2A; }
.ht-first, .ht-first img { display: block; width: 100%; height: auto; }
/* Captura larga: se coloca encima de la inicial (sus primeros píxeles son idénticos) y se recorre al bajar */
.ht-long { position: absolute; left: 0; top: 0; display: block; width: 100%; height: auto; transform: translate3d(0, var(--ht-y, 0px), 0); will-change: transform; }
.ht-phone { position: absolute; right: clamp(-48px, -3vw, -16px); bottom: clamp(-56px, -4vw, -28px); width: 22%; min-width: 108px; max-width: 220px;
  padding: 6px; border-radius: 30px; background: #1F1611;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 40px 70px -28px rgba(31, 22, 17, .7); }
.ht-phone img { display: block; width: 100%; height: auto; border-radius: 24px; }
/* Etiqueta tipo llave de hotel */
.ht-key { position: absolute; left: clamp(-20px, -1.5vw, 0px); bottom: clamp(-22px, -2vw, -14px); display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 18px 11px 12px; border-radius: 100px; background: var(--deep); color: var(--ivory); font-size: 10.5px;
  box-shadow: 0 20px 40px -20px rgba(31, 22, 17, .7); }
.ht-key-ring { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--camel); box-shadow: inset 0 0 0 3px var(--deep), inset 0 0 0 5px var(--camel); }

@media (max-width: 719px) {
  .ht-hero-copy { text-align: left; }
  .ht-crumbs ol { justify-content: flex-start; }
  .ht-title { margin-left: 0; }
  .ht-hero-foot { justify-items: start; }
  .ht-hero-foot .hero-actions { justify-content: flex-start; }
  .ht-window { margin-top: 48px; margin-right: 28px; }
  .ht-browser-bar { height: 26px; }
  .ht-browser-bar i { font-size: 9.5px; padding: 2px 10px; }
  .ht-phone { right: -28px; bottom: 40px; width: 30%; border-radius: 20px; padding: 4px; }
  .ht-phone img { border-radius: 16px; }
  .ht-key { position: static; margin-top: 56px; max-width: calc(100% - 40px); line-height: 1.5; }
}

/* Entrada: la ventana se abre despacio (solo con JS y sin «reducir movimiento») */
@media (prefers-reduced-motion: no-preference) {
  .js .ht-browser-view { animation: htOpen 1.4s cubic-bezier(.65, 0, .25, 1) .25s backwards; }
  .js .ht-first img { animation: htSettle 2s cubic-bezier(.2, .7, .2, 1) .25s backwards; }
  .js .ht-phone { animation: htRise 1.2s var(--ease) .9s backwards; }
  .js .ht-key { animation: htFade .8s var(--ease) 1.3s backwards; }
}
@keyframes htOpen { from { clip-path: inset(0 0 100% 0); } }
@keyframes htSettle { from { scale: 1.06; } }
@keyframes htRise { from { opacity: 0; translate: 0 36px; } }
@keyframes htFade { from { opacity: 0; } }

/* ---------- El recorrido del huésped ---------- */
.ht-steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; counter-reset: s; }
.ht-steps li { position: relative; padding: clamp(28px, 3vw, 40px); background: var(--ivory); transition: background-color .5s var(--ease); }
.ht-steps li:hover { background: var(--cream); }
.ht-step-n { position: absolute; top: clamp(24px, 3vw, 36px); right: clamp(24px, 3vw, 36px); font-family: var(--f-serif); font-style: italic; font-size: 1.5rem; color: var(--terra); }
.ht-steps svg { width: 26px; height: 26px; margin-bottom: 26px; fill: none; stroke: var(--cacao); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ht-steps h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.45rem, 1.9vw, 1.7rem); line-height: 1.15; margin-bottom: 12px; }
.ht-steps p { color: var(--muted); font-size: 15.5px; }
@media (min-width: 700px) { .ht-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .ht-steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Habitaciones ---------- */
.ht-split { display: grid; gap: clamp(44px, 6vw, 88px); align-items: center; }
.ht-split-copy .lead { margin-top: 24px; }
.ht-shot { margin: 0; }
.ht-shot img, .ht-card img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line);
  box-shadow: 0 40px 80px -46px rgba(59, 33, 23, .5); }
.ht-shot figcaption, .ht-albada-visual figcaption { margin-top: 16px; font-size: 11px; color: var(--muted); }
.ht-list { display: grid; margin-top: 32px; border-top: 1px solid var(--line); }
.ht-list li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.ht-list svg { flex: none; width: 16px; height: 16px; margin-top: 5px; color: var(--terra); }
@media (min-width: 980px) { .ht-split { grid-template-columns: 1.15fr .85fr; } }

/* ---------- Experiencia y entorno ---------- */
.ht-duo { display: grid; gap: clamp(32px, 4vw, 48px); }
.ht-card { margin: 0; }
.ht-card figcaption { margin-top: 26px; max-width: 46ch; }
.ht-card h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.5rem, 2vw, 1.8rem); margin-bottom: 10px; }
.ht-card p { color: var(--muted); }
.ht-card img { transition: transform 1.2s var(--ease); }
.ht-card:hover img { transform: translateY(-4px); }
@media (min-width: 860px) { .ht-duo { grid-template-columns: 1fr 1fr; } .ht-duo .ht-card:nth-child(2) { margin-top: clamp(48px, 6vw, 96px); } }

/* ---------- Reservas ---------- */
.ht-book-inner { display: grid; gap: clamp(40px, 5vw, 64px); }
.ht-book-head .lead { margin-top: 24px; }
.ht-paths { display: grid; border-top: 1px solid var(--line); }
.ht-paths li { display: grid; grid-template-columns: 28px 1fr; gap: 6px 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.ht-paths svg { grid-row: span 2; width: 24px; height: 24px; margin-top: 4px; fill: none; stroke: var(--terra); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ht-paths h3 { font-family: var(--f-serif); font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
.ht-paths p { color: var(--muted); font-size: 15.5px; }
.ht-honest { display: grid; gap: 8px; padding: 22px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); font-size: 15px; color: var(--ink-2); }
.ht-honest .mono { color: var(--terra); font-size: 11px; }
@media (min-width: 980px) {
  .ht-book-inner { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .ht-honest { grid-column: 2; }
}

/* ---------- Ejemplo: Casa Albada (verde de la propia demo, sin dorados de Bruma) ---------- */
.ht-albada { background: radial-gradient(60% 70% at 85% 30%, rgba(160, 172, 120, .14), transparent 70%), #1E241B; }
.ht-albada-inner { display: grid; gap: clamp(56px, 7vw, 88px); align-items: center; }
.ht-albada .h2 em { color: #CFC9A4; }
.ht-albada-copy .lead { margin-top: 28px; }
.ht-albada .rs-concept { border-color: rgba(207, 201, 164, .32); background: rgba(207, 201, 164, .05); }
.ht-albada .rs-concept .mono { color: #CFC9A4; }
.ht-albada .btn-accent { background: var(--ivory); color: #1E241B; }
.ht-albada .btn-accent::before { background: #CFC9A4; }
.ht-albada-visual { margin: 0; }
.ht-albada-shot { display: block; border-radius: 10px; overflow: hidden; border: 1px solid rgba(207, 201, 164, .25); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8); }
.ht-albada-shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s var(--ease); }
.ht-albada-shot:hover img { transform: scale(1.03); }
.ht-albada-shot:focus-visible { outline-color: #CFC9A4; outline-offset: 4px; }
.ht-albada-visual figcaption { color: #CFC9A4; }
@media (min-width: 980px) { .ht-albada-inner { grid-template-columns: .95fr 1.05fr; } }

/* ---------- Tipos de alojamiento ---------- */
.ht-types-list { display: grid; border-top: 1px solid var(--line); }
.ht-types-list article { display: grid; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.ht-types-list h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.1; color: var(--cacao); transition: color .4s var(--ease), translate .5s var(--ease); }
.ht-types-list article:hover h3 { color: var(--terra); translate: 6px 0; }
.ht-types-list p { color: var(--muted); max-width: 58ch; }
@media (min-width: 860px) { .ht-types-list article { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px; align-items: baseline; } }

@media (prefers-reduced-motion: reduce) {
  .ht-card img, .ht-albada-shot img, .ht-types-list h3 { transition: none; }
}
.ht-crumbs { margin-bottom: 22px; }

/* ---------- Tu web y Booking ---------- */
.ht-ota-grid { display: grid; gap: 20px; align-items: stretch; max-width: 1040px; margin: 0 auto; }
.ht-ota-col { padding: clamp(30px, 3.5vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream); }
.ht-ota-own { background: var(--deep); border-color: var(--deep); color: var(--ivory); }
.ht-ota-col h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 1.95rem); line-height: 1.1; margin-bottom: 22px; }
.ht-ota-own h3 { color: var(--ivory); }
.ht-ota-col li { position: relative; padding: 14px 0 14px 22px; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.ht-ota-own li { border-top-color: var(--line-dark); color: #EBD8CA; }
.ht-ota-col li::before { content: ""; position: absolute; left: 0; top: 23px; width: 8px; height: 1px; background: var(--terra); }
.ht-ota-own li::before { background: var(--camel); }
.ht-ota-link { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--terra); }
.ht-ota-link i { flex: 1; height: 1px; max-width: 60px; background: var(--line-strong); }
.ht-ota-link b { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--terra); border-radius: 50%; font: 400 1.2rem/1 var(--f-serif); }
.ht-ota-note { max-width: 62ch; margin: 30px auto 0; text-align: center; font-size: 14.5px; color: var(--muted); }
@media (min-width: 860px) {
  .ht-ota-grid { grid-template-columns: 1fr 56px 1fr; gap: 0; }
  .ht-ota-link { flex-direction: column; }
  .ht-ota-link i { width: 1px; height: auto; max-width: none; max-height: 60px; }
}
/* Cuando la captura completa ya está encima, la inicial se oculta (sin volver a descargarse) */
.ht-window.has-long .ht-first { visibility: hidden; }
