/* CASA ALBADA — hotel boutique ficticio (web de ejemplo de PAGINAS S) */
:root {
  --sand: #F6F1E8;
  --sand-2: #ECE4D6;
  --olive: #55603F;
  --olive-2: #3E4630;
  --clay: #B66A45;
  --ink: #23261C;
  --muted: #6D6A5E;
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Geist", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad: clamp(20px, 5vw, 72px);
}
body { background: var(--sand); color: var(--ink); font: 400 16.5px/1.7 var(--sans); }
:focus-visible { outline: 1.5px solid var(--olive); outline-offset: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--olive); color: var(--sand); }
.skip:focus { top: 12px; }

.ho-kicker { font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--clay); margin-bottom: 22px; }
.ho-display { font: 400 clamp(3rem, 7vw, 6.4rem)/.95 var(--serif); letter-spacing: -.02em; }
.ho-display em, .ho-h2 em { font-style: italic; }
.ho-display-sm { font-size: clamp(2.4rem, 5.4vw, 4.6rem); max-width: 15ch; margin: 0 auto; }
.ho-h2 { font: 400 clamp(2.2rem, 4.4vw, 3.8rem)/1 var(--serif); letter-spacing: -.015em; }
.ho-h2 em { color: var(--olive); }

.ho-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 26px; border: 1px solid rgba(246,241,232,.7); color: var(--sand); background: transparent; text-decoration: none; font: 500 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background-color .4s, color .4s, border-color .4s; }
.ho-btn:hover { background: var(--sand); color: var(--ink); }
.ho-btn-solid { background: var(--olive); border-color: var(--olive); color: var(--sand); min-height: 56px; }
.ho-btn-solid:hover { background: var(--olive-2); color: var(--sand); }
.ho-btn-light { background: var(--sand); color: var(--olive-2); border-color: var(--sand); }
.ho-btn-light:hover { background: var(--sand-2); }

/* Cabecera: clara sobre la foto, sólida al desplazarse */
.ho-header { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 32px; padding: 22px var(--pad); color: var(--sand); transition: background-color .5s, color .5s, padding .5s; }
.ho-header.is-scrolled { background: rgba(246,241,232,.95); color: var(--ink); padding-top: 14px; padding-bottom: 14px; box-shadow: 0 1px 0 rgba(35,38,28,.08); }
.ho-header.is-scrolled .ho-btn { border-color: var(--olive); color: var(--olive); }
.ho-header.is-scrolled .ho-btn:hover { background: var(--olive); color: var(--sand); }
.ho-logo { display: flex; flex-direction: column; gap: 5px; text-decoration: none; font: 500 19px/1 var(--serif); letter-spacing: .26em; }
.ho-logo span { font: italic 400 12px/1 var(--serif); letter-spacing: .04em; opacity: .8; }
.ho-header nav { margin-left: auto; }
.ho-header ul { display: flex; gap: 30px; }
.ho-header nav a { font: 400 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; opacity: .85; }
.ho-header nav a:hover { opacity: 1; }
@media (max-width: 760px) { .ho-header nav { display: none; } .ho-header .ho-btn { margin-left: auto; min-height: 40px; padding: 0 16px; } }

/* Portada */
.ho-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px var(--pad) 40px; color: var(--sand); overflow: hidden; }
.ho-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js .ho-hero-img { animation: hoZoom 12s var(--ease) both; }
@keyframes hoZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.ho-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,38,28,.45) 0%, rgba(35,38,28,.05) 35%, rgba(35,38,28,.65) 100%), linear-gradient(90deg, rgba(35,38,28,.45), rgba(35,38,28,0) 60%); }
.ho-hero-copy { position: relative; max-width: 760px; margin-bottom: 48px; }
.ho-hero .ho-kicker { color: #F0D9C4; }
.ho-lead { margin-top: 22px; font-size: 1.1rem; max-width: 40ch; }
.js .ho-hero-copy > * { animation: hoUp 1.2s var(--ease) both; }
.js .ho-hero-copy > *:nth-child(2) { animation-delay: .12s; } .js .ho-hero-copy > *:nth-child(3) { animation-delay: .24s; }
@keyframes hoUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.ho-booking { position: relative; display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 0; background: var(--sand); color: var(--ink); max-width: 980px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.ho-field { display: flex; flex-direction: column; gap: 6px; padding: 16px 22px; border-right: 1px solid rgba(35,38,28,.12); }
.ho-field span { font: 500 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ho-field strong { font: 400 1.35rem/1.1 var(--serif); }
.ho-booking-note { position: absolute; left: 0; top: calc(100% + 10px); font-size: 12px; letter-spacing: .06em; color: rgba(246,241,232,.85); }
@media (max-width: 760px) { .ho-booking { grid-template-columns: 1fr 1fr; } .ho-booking .ho-btn-solid { grid-column: 1 / -1; } .ho-field:nth-child(2) { border-right: 0; } .ho-field:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid rgba(35,38,28,.12); border-right: 0; } }

/* Introducción */
.ho-intro { padding: clamp(110px, 13vw, 180px) var(--pad); text-align: center; max-width: 980px; margin: 0 auto; }
.ho-intro .ho-h2 { margin: 0 auto; max-width: 18ch; }
.ho-intro-text { margin: 28px auto 0; max-width: 46ch; color: var(--muted); font-size: 1.08rem; }

/* Habitaciones */
.ho-rooms { padding: 0 var(--pad) clamp(110px, 13vw, 170px); }
.ho-section-head { margin-bottom: 52px; }
.ho-room-grid { display: grid; gap: 40px; }
.ho-room figure { overflow: hidden; }
.ho-room img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.4s var(--ease); }
.ho-room:hover img { transform: scale(1.04); }
.ho-room h3 { margin-top: 20px; font: 400 1.9rem/1.1 var(--serif); }
.ho-room p { margin-top: 6px; color: var(--muted); font-size: .95rem; }
.ho-price { display: inline-block; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(35,38,28,.16); font: italic 400 1.05rem/1 var(--serif); color: var(--olive); }
@media (min-width: 860px) { .ho-room-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } .ho-room:nth-child(2) { margin-top: 64px; } }

/* Experiencias */
.ho-exp { display: grid; gap: 48px; align-items: center; padding: clamp(100px, 12vw, 160px) var(--pad); background: var(--sand-2); }
.ho-exp-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ho-exp-list { margin-top: 36px; border-top: 1px solid rgba(35,38,28,.16); }
.ho-exp-list li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(35,38,28,.16); font-size: 1.05rem; }
.ho-exp-list span { font: italic 400 1rem/1.6 var(--serif); color: var(--clay); }
@media (min-width: 900px) { .ho-exp { grid-template-columns: .9fr 1.1fr; gap: 96px; } }

/* Ubicación */
.ho-place { position: relative; padding: 0 0 clamp(100px, 12vw, 160px); }
.ho-place img { width: 100%; height: clamp(360px, 60vh, 640px); object-fit: cover; }
.ho-place-card { position: relative; margin: -120px var(--pad) 0; max-width: 520px; padding: 40px; background: var(--sand); box-shadow: 0 30px 60px -40px rgba(35,38,28,.4); }
.ho-place-card p:last-child { margin-top: 18px; color: var(--muted); }

/* Reserva */
.ho-book { padding: clamp(120px, 15vw, 190px) var(--pad); background: var(--olive-2); color: var(--sand); text-align: center; }
.ho-book .ho-kicker { color: #E8C9AE; }
.ho-book .ho-display em { color: #E8C9AE; }
.ho-demo-note { margin: 28px auto 40px; max-width: 50ch; color: #D6D2BF; }
.ho-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px var(--pad); background: #2E3424; color: #B7B3A0; font-size: 13px; }
.ho-footer > span:first-child { font: 500 15px/1 var(--serif); letter-spacing: .26em; color: var(--sand); }
.ho-footer a { color: var(--sand); }

@media (prefers-reduced-motion: reduce) { .js .ho-hero-img, .js .ho-hero-copy > * { animation: none; } }
