/* Casa Índigo — demo hotel boutique (14-jul-2026)
   Estética: mediterráneo cálido. Arena + índigo + terracota. Lora + Inter.
   Fotografía inmersiva, ritmo lento, serif humanista. */

@font-face {
  font-family: 'Lora';
  src: url('/assets/fonts/lora-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --sand: #efe6d8;
  --sand-2: #e6dac6;
  --indigo: #2e4057;
  --indigo-soft: #5a6d84;
  --terra: #c96f4a;
  --white: #fbf7f0;
  --serif: 'Lora', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --r: 18px;
  --pad: clamp(20px, 5vw, 76px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--sand);
  color: var(--indigo);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--terra); color: var(--white); }
img, video, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- tipografía ---------- */
.kicker {
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--terra); font-weight: 600; margin-bottom: 18px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: .002em; }
h2 { font-size: clamp(32px, 4.4vw, 56px); }
h1 em, h2 em { font-style: italic; color: var(--terra); font-weight: 450; }
h3 { font-size: 25px; }

/* ---------- reveals ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px; border-radius: 4px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  transition: background .35s, color .35s, border-color .35s, transform .35s;
}
.btn:hover { transform: translateY(-2px); }
.btn-terra { background: var(--terra); color: var(--white); }
.btn-terra:hover { background: var(--indigo); }
.btn-ghost { border: 1.5px solid rgba(46, 64, 87, .35); color: var(--indigo); }
.btn-ghost:hover { border-color: var(--terra); color: var(--terra); }
.btn-lg { padding: 20px 40px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; gap: 36px;
  padding: 20px var(--pad);
  color: var(--white);
  transition: background .4s, color .4s, padding .4s, box-shadow .4s;
}
.nav.scrolled {
  background: rgba(239, 230, 216, .92);
  backdrop-filter: blur(12px);
  color: var(--indigo);
  padding-top: 13px; padding-bottom: 13px;
  box-shadow: 0 1px 0 rgba(46, 64, 87, .12);
}
.nav-logo { font-family: var(--serif); font-size: 24px; margin-right: auto; }
.nav-logo em { color: var(--terra); }
.nav.scrolled .nav-logo em { color: var(--terra); }
.nav-links { display: flex; gap: 30px; font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.nav-links a { opacity: .85; padding: 4px 0; position: relative; transition: opacity .3s; }
.nav-links a:hover { opacity: 1; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: currentColor; transition: width .35s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  border: 1.5px solid currentColor; border-radius: 4px;
  padding: 10px 22px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
}
.nav-cta:hover { background: var(--terra); border-color: var(--terra); color: var(--white); }
.burger { display: none; }

/* menú móvil */
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--sand);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: var(--pad);
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.menu.open { opacity: 1; pointer-events: auto; }
.menu-list li a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--serif); font-size: clamp(34px, 9vw, 52px); padding: 12px 0;
  color: var(--indigo);
}
.menu-list small { font-family: var(--sans); font-size: 13px; color: var(--terra); }
.menu-foot { margin-top: 40px; display: flex; flex-direction: column; gap: 8px; color: var(--indigo-soft); }
.menu-foot a { color: var(--terra); font-weight: 600; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(46,64,87,.38) 0%, transparent 34%, rgba(28,38,52,.66) 100%);
}
.hero-inner { position: relative; padding: 0 var(--pad) 30px; color: var(--white); }
.hero-title { font-size: clamp(40px, 6.8vw, 92px); font-weight: 450; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line i {
  display: block; font-style: normal;
  transform: translateY(112%);
  animation: rise 1.1s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-title .line:nth-child(2) i { animation-delay: .14s; }
.hero-title em { color: #f4c9a8; }
@keyframes rise { to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-title .line i { animation: none; transform: none; } }

/* barra de reserva */
.book {
  position: relative; margin: 26px var(--pad) 40px;
  display: grid; grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1px; align-items: stretch;
  background: rgba(251, 247, 240, .96);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(28, 38, 52, .55);
}
.book label {
  display: grid; gap: 4px;
  padding: 16px 22px;
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--indigo-soft);
  background: var(--white);
}
.book input, .book select {
  font: 500 16px var(--sans); color: var(--indigo);
  border: 0; background: transparent; outline: none; width: 100%;
}
.book .btn { border-radius: 0; height: 100%; }
.book-ok {
  grid-column: 1 / -1; background: var(--indigo); color: var(--white);
  font-size: 13.5px; padding: 12px 22px; text-align: center;
}

/* ---------- intro ---------- */
.intro { padding: clamp(80px, 13vh, 150px) var(--pad); text-align: center; }
.intro .kicker { margin-bottom: 26px; }
.intro-text {
  max-width: 46ch; margin: 0 auto;
  font-family: var(--serif); font-size: clamp(21px, 2.6vw, 31px); line-height: 1.5;
}

/* ---------- habitaciones ---------- */
.rooms { padding: clamp(60px, 10vh, 120px) 0; background: var(--sand-2); }
.rooms-head { padding: 0 var(--pad); margin-bottom: 46px; }
.rooms-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(430px, 78vw);
  gap: clamp(18px, 2.4vw, 30px);
  overflow-x: auto; padding: 6px var(--pad) 26px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--terra) transparent;
}
.room { scroll-snap-align: start; background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: 0 16px 44px -24px rgba(46, 64, 87, .35); }
.room-media { aspect-ratio: 4 / 3; overflow: hidden; }
.room-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.room:hover .room-media video { transform: scale(1.05); }
.room-info { padding: 26px 28px 24px; }
.room-info h3 { font-size: 27px; font-style: italic; }
.room-info p { margin-top: 8px; font-size: 14.5px; color: var(--indigo-soft); }
.room-info footer {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(46, 64, 87, .12);
}
.room-info b { font-family: var(--serif); font-size: 18px; color: var(--terra); }
.room-info footer span { font-size: 12.5px; color: var(--indigo-soft); }
.rooms-more { text-align: center; margin-top: 34px; }

/* ---------- manifiesto ---------- */
.manifesto { min-height: 150vh; position: relative; }
.manifesto-sticky {
  position: sticky; top: 0; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 0 var(--pad);
}
.manifesto-text {
  max-width: 22ch;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(30px, 5.2vw, 60px); line-height: 1.3;
}
.manifesto-text .w { color: rgba(46, 64, 87, .18); transition: color .4s; }
.manifesto-text .w.lit { color: var(--indigo); }

/* ---------- 3D mar ---------- */
.sea {
  display: grid; grid-template-columns: 1fr 1.15fr; align-items: center;
  gap: clamp(30px, 4vw, 70px);
  padding: clamp(70px, 11vh, 130px) var(--pad);
  background: var(--indigo);
  color: var(--white);
}
.sea .kicker { color: #f4c9a8; }
.sea h2 em { color: #f4c9a8; }
.sea-copy > p { margin-top: 20px; color: rgba(251, 247, 240, .78); }
.sea-stage { position: relative; aspect-ratio: 1.25; }
.sea-stage canvas { width: 100%; height: 100%; cursor: grab; }
.sea-stage canvas:active { cursor: grabbing; }
.sea-hint {
  position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%);
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(251, 247, 240, .6);
}
.sea-list { margin-top: 22px; display: grid; gap: 12px; }
.sea-list li { padding-left: 26px; position: relative; color: rgba(251, 247, 240, .78); font-size: 15px; }
.sea-list li::before { content: '~'; position: absolute; left: 0; color: #f4c9a8; font-weight: 700; }

/* ---------- experiencias ---------- */
.exp { padding: clamp(70px, 11vh, 130px) var(--pad) clamp(50px, 8vh, 90px); }
.exp .rooms-head { padding: 0; }
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.ecard-media { aspect-ratio: 4 / 3.4; overflow: hidden; border-radius: var(--r); }
.ecard-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.ecard:hover .ecard-media video { transform: scale(1.05); }
.ecard h3 { margin: 20px 0 8px; font-style: italic; }
.ecard p { font-size: 14.5px; color: var(--indigo-soft); }

/* ---------- opiniones ---------- */
.quotes { padding: clamp(50px, 8vh, 90px) var(--pad); }
.quotes-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 30px); }
.quotes blockquote {
  background: var(--white); border-radius: var(--r); padding: 36px 34px;
  box-shadow: 0 16px 44px -26px rgba(46, 64, 87, .3);
}
.quotes blockquote p { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.45; }
.quotes blockquote footer { margin-top: 16px; font-size: 13px; letter-spacing: .06em; color: var(--terra); font-weight: 600; }

/* ---------- CTA ---------- */
.cta { padding: clamp(80px, 13vh, 150px) var(--pad); text-align: center; background: var(--sand-2); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 36px 0 22px; }
.cta-note { font-size: 13.5px; color: var(--indigo-soft); max-width: 60ch; margin-inline: auto; }

/* ---------- footer ---------- */
.footer { padding: 70px var(--pad) 32px; background: var(--indigo); color: rgba(251, 247, 240, .85); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(26px, 4vw, 60px); margin-bottom: 54px; }
.footer-logo { font-family: var(--serif); font-size: 25px; color: var(--white); }
.footer-logo em { color: #f4c9a8; }
.footer-brand p { margin-top: 14px; font-size: 14px; color: rgba(251, 247, 240, .6); max-width: 36ch; }
.footer-col h4 {
  font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  color: #f4c9a8; margin-bottom: 16px; font-weight: 600;
}
.footer-col li { font-size: 14.5px; color: rgba(251, 247, 240, .72); padding: 4px 0; }
.footer-col a:hover { color: var(--white); }
.footer-legal {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid rgba(251, 247, 240, .16);
  font-size: 12.5px; color: rgba(251, 247, 240, .55);
}
.footer-legal a:hover { color: var(--white); }

/* ---------- interiores ---------- */
.page-hero { padding: clamp(140px, 22vh, 210px) var(--pad) clamp(40px, 7vh, 70px); max-width: 940px; }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 84px); margin: 8px 0 20px; }
.page-hero p { color: var(--indigo-soft); font-size: 17.5px; max-width: 54ch; }
body.subpage .nav { color: var(--indigo); }

.rlist { padding: 20px var(--pad) clamp(70px, 10vh, 110px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }

.elist { padding: 20px var(--pad) clamp(70px, 10vh, 110px); display: grid; gap: clamp(40px, 6vh, 70px); }
.erow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.erow:nth-child(even) .erow-media { order: 2; }
.erow-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); }
.erow-media video { width: 100%; height: 100%; object-fit: cover; }
.erow h3 { font-size: clamp(26px, 3vw, 38px); font-style: italic; margin-bottom: 12px; }
.erow p { color: var(--indigo-soft); max-width: 56ch; }
.erow small { display: block; margin-top: 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--terra); font-weight: 700; }

/* reservar */
.contact { padding: 20px var(--pad) clamp(70px, 10vh, 110px); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px, 4vw, 64px); align-items: start; }
.cform { background: var(--white); border-radius: var(--r); padding: clamp(28px, 4vw, 48px); display: grid; gap: 18px; box-shadow: 0 24px 60px -30px rgba(46, 64, 87, .4); }
.cform label { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--indigo-soft); display: grid; gap: 8px; }
.cform input, .cform select, .cform textarea {
  font: 500 16px var(--sans); color: var(--indigo);
  background: var(--sand); border: 1.5px solid transparent; border-radius: 8px;
  padding: 13px 15px; outline: none; transition: border-color .3s; width: 100%;
}
.cform input:focus, .cform select:focus, .cform textarea:focus { border-color: var(--terra); }
.cform button { border: 0; cursor: pointer; }
.form-ok { text-align: center; padding: 40px 10px; }
.form-ok b { font-family: var(--serif); font-style: italic; font-size: 28px; display: block; margin-bottom: 10px; color: var(--terra); }
.form-ok p { color: var(--indigo-soft); }
.cinfo { display: grid; gap: 20px; }
.cinfo-card { background: var(--sand-2); border-radius: var(--r); padding: 28px 30px; }
.cinfo-card h3 { font-size: 20px; font-style: italic; margin-bottom: 8px; }
.cinfo-card p, .cinfo-card li { font-size: 14.5px; color: var(--indigo-soft); }
.cinfo-card a { color: var(--terra); font-weight: 600; }

/* legal */
.legal-body { padding: 10px var(--pad) clamp(70px, 10vh, 110px); max-width: 760px; color: var(--indigo-soft); display: grid; gap: 16px; }
.legal-body h2 { font-size: 26px; margin-top: 18px; color: var(--indigo); }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .exp-grid, .rlist { grid-template-columns: 1fr 1fr; }
  .quotes-row { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .burger {
    display: block; position: relative;
    width: 46px; height: 46px; border: 1.5px solid currentColor; border-radius: 50%;
    background: transparent; cursor: pointer; z-index: 61; color: inherit;
  }
  .burger i {
    position: absolute; left: 50%; top: 50%;
    width: 18px; height: 1.5px; margin: -1px 0 0 -9px;
    background: currentColor;
    transition: transform .35s; display: block;
  }
  .burger i:first-child { transform: translateY(-3px); }
  .burger i:last-child { transform: translateY(3px); }
  .burger.active i:first-child { transform: rotate(45deg); }
  .burger.active i:last-child { transform: rotate(-45deg); }
  .menu.open ~ * .burger, .menu.open + header .burger { color: var(--indigo); }

  .book { grid-template-columns: 1fr 1fr; }
  .book .btn { grid-column: 1 / -1; padding: 18px; }
  .sea { grid-template-columns: 1fr; }
  .sea-stage { max-width: 480px; margin: 0 auto; }
  .contact { grid-template-columns: 1fr; }
  .erow, .erow:nth-child(even) { grid-template-columns: 1fr; }
  .erow:nth-child(even) .erow-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .exp-grid, .rlist, .footer-grid { grid-template-columns: 1fr; }
  .book { margin-inline: 16px; }
}
