/* ============================================================
   FOURTH BOUTIQUE HOTEL — styles.css
   Archetype 02: Editorial Dark Warm
   ============================================================ */

/* ---- RESET & TOKENS ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #FAFAF8;
  --bg-2:     #F2EFE9;
  --bg-3:     #EDEAE2;
  --cream:    #1A1714;
  --cream-2:  #3A3530;
  --cream-3:  #7A7268;
  --accent:   #8B6914;
  --accent-2: #6D5210;
  --line:     rgba(26,23,20,.10);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.83,0,.17,1);
  --nav-h:    72px;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: clip;
  cursor: none;
}

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
  box-shadow: 0 4px 20px rgba(139,105,20,.35);
  cursor: none;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.back-to-top svg {
  width: 18px; height: 18px;
  stroke: #fff;
  stroke-width: 2.2;
  fill: none;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { cursor: none; font-family: inherit; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; line-height: 1.05; }
em { font-style: italic; color: var(--accent); }

/* ---- SPLASH ---- */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: #FAFAF8;
  display: flex; align-items: center; justify-content: center;
  animation: splashSafety .01s 4.5s forwards;
}
@keyframes splashSafety { to { opacity: 0; pointer-events: none; } }
.splash.is-out { opacity: 0; pointer-events: none; transition: opacity .7s var(--ease-out); }

.splash-inner { text-align: center; }
.splash-logo {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto 2.5rem;
}

/* Animación de dibujo SVG */
.splash-svg-1 {
  stroke-dasharray: 290;
  stroke-dashoffset: 290;
  animation: drawPath .9s .1s var(--ease-out) forwards;
}
.splash-svg-2 {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawPath .8s .6s var(--ease-out) forwards;
}
.splash-svg-3 {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: drawPath .5s 1s var(--ease-out) forwards;
}
.splash-svg-4 {
  opacity: 0;
  animation: fadeIn .4s 1.2s var(--ease-out) forwards;
}

@keyframes drawPath {
  to { stroke-dashoffset: 0; }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
.splash-bar {
  width: 160px; height: 1px;
  background: var(--line);
  margin: 0 auto;
  overflow: hidden;
}
.splash-bar-fill {
  height: 100%;
  background: var(--accent);
  animation: splashFill 1.6s var(--ease-out) forwards;
}
@keyframes splashFill { from { width: 0 } to { width: 100% } }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  gap: 2rem;
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  /* Sobre el hero: texto claro */
  --nav-text: #F2EBDA;
  --nav-text-soft: rgba(242,235,218,.75);
}
.nav.is-solid {
  background: rgba(250,250,248,.93);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  letter-spacing: .15em;
  color: var(--nav-text);
  flex-shrink: 0;
  transition: color .4s;
}
.nav.is-solid .nav-brand { color: var(--cream); }

.nav-links {
  display: flex; gap: 2.5rem;
  margin-left: auto;
}
.nav-links a {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--nav-text-soft);
  transition: color .25s;
}
.nav.is-solid .nav-links a { color: var(--cream-2); }
.nav-links a:hover { color: var(--accent); }

.btn-nav {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .55rem 1.4rem;
  border: 1px solid rgba(242,235,218,.6);
  color: var(--nav-text);
  border-radius: 2px;
  transition: background .25s, color .25s, border-color .4s;
  flex-shrink: 0;
}
.nav.is-solid .btn-nav { border-color: var(--accent); color: var(--accent); }
.btn-nav:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 1px; background: var(--cream); transition: transform .3s, opacity .3s; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .8rem 2rem;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background .25s, color .25s, border-color .25s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #F2EBDA; border-color: rgba(242,235,218,.55); }
.btn-ghost:hover { border-color: #F2EBDA; color: #fff; }
.btn-outline { background: transparent; color: var(--cream); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline-light { background: transparent; color: var(--cream); border-color: rgba(242,235,218,.4); }
.btn-outline-light:hover { border-color: var(--cream); }
.btn-sm { padding: .5rem 1.2rem; font-size: .72rem; }

/* ---- SECTION TAGS ---- */
.section-tag {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.section-tag--light { color: var(--cream-2); }

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Safety: prevent data-split elements from hiding */
.reveal[data-split] { opacity: 1; transform: none; }

/* ---- CURSOR ---- */
.cursor { position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-ready { opacity: 1; }
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  transform: translate(-50%,-50%);
}
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: width .25s, height .25s, border-color .25s;
}
.cursor-ring.is-hover { width: 52px; height: 52px; border-color: var(--cream-2); }
.cursor-ring.is-text  { width: 64px; height: 64px; background: rgba(139,105,20,.06); border-color: var(--accent); }

/* ================================================
   SECTION 1: HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(3rem, 8vh, 6rem);
  overflow: clip;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}
.hero-tint {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,8,5,.90) 0%,
    rgba(10,8,5,.40) 50%,
    rgba(10,8,5,.20) 100%
  );
}

.hero-mesh {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(196,154,91,.12), transparent 65%),
    radial-gradient(ellipse 40% 35% at 10% 80%, rgba(196,154,91,.08), transparent 60%);
  animation: meshPulse 8s ease-in-out infinite alternate;
}
@keyframes meshPulse {
  from { opacity: .6; }
  to   { opacity: 1; }
}

.hero-grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: .5;
}

.hero-inner {
  position: relative; z-index: 3;
  padding: 0 clamp(1.5rem, 6vw, 7rem);
  max-width: 900px;
  /* Hero siempre con texto claro, independiente del tema */
  --hero-text:      #F2EBDA;
  --hero-text-soft: #DDD2BC;
  --hero-text-mute: #B0A898;
}

.hero-kicker {
  display: flex; align-items: center; gap: .75rem;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--hero-text-soft);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp .8s .5s var(--ease-out) forwards;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.0;
  text-wrap: balance;
  max-width: 14ch;
  color: var(--hero-text);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp .9s .7s var(--ease-out) forwards;
}

.hero-sub {
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
  color: var(--hero-text-soft);
  max-width: 48ch;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp .8s .9s var(--ease-out) forwards;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp .8s 1.1s var(--ease-out) forwards;
}

.hero-rating {
  display: flex; align-items: center; gap: .6rem;
  font-size: .8rem; color: var(--hero-text-mute);
  opacity: 0;
  animation: fadeUp .8s 1.25s var(--ease-out) forwards;
}
.rating-stars { color: var(--accent); letter-spacing: -.1em; }
.rating-num { color: var(--hero-text-soft); font-weight: 500; }

.hero-scroll {
  position: absolute; bottom: 2rem; right: 5vw; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  opacity: 0; animation: fadeUp .8s 1.5s var(--ease-out) forwards;
}
.scroll-line {
  display: block; width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100%{ transform: scaleY(0); transform-origin: top; }
  50%{ transform: scaleY(1); transform-origin: top; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ================================================
   SECTION 2: CONCEPT
   ================================================ */
.concept {
  padding: clamp(5rem, 12vh, 9rem) clamp(1.5rem, 6vw, 7rem);
  background: var(--bg-2);
  position: relative;
}
.concept-tag {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 3rem;
}

.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.concept-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1.8rem;
  color: var(--cream);
}

.concept-body {
  font-size: 1rem;
  color: var(--cream-2);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.concept-pillars {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem;
}
.concept-pillars li {
  font-size: .85rem; color: var(--cream-3);
  border-top: 1px solid var(--line);
  padding-top: .75rem;
  transition-delay: .1s;
}
.concept-pillars li strong { color: var(--accent); font-size: 1.4rem; display: block; margin-bottom: .2rem; font-weight: 400; }

.concept-figure {
  position: relative; overflow: hidden; border-radius: 2px;
  aspect-ratio: 3/2;
  max-height: 480px;
  align-self: center;
}
.concept-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.concept-figure:hover img { transform: scale(1.04); }
.concept-figure figcaption {
  position: absolute; bottom: 1rem; left: 1.2rem;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cream-3);
}

/* ================================================
   SECTION 3: ROOMS
   ================================================ */
.rooms {
  padding: clamp(5rem, 12vh, 9rem) clamp(1.5rem, 6vw, 7rem);
  background: var(--bg);
}
.rooms-header { margin-bottom: 3.5rem; }
.rooms-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.1;
  max-width: 20ch;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.room-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.12), 0 0 0 1px var(--line);
}

.room-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.room-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.room-card:hover .room-img-wrap img { transform: scale(1.05); }

.room-badge {
  position: absolute; top: 1rem; left: 1rem;
  font-size: .65rem; letter-spacing: .15em; text-transform: uppercase;
  background: rgba(250,250,248,.88);
  backdrop-filter: blur(8px);
  padding: .3rem .8rem;
  border-radius: 2px;
  color: var(--accent);
  border: 1px solid rgba(139,105,20,.25);
}

.room-info { padding: 1.4rem; }
.room-info h3 { font-size: 1.2rem; color: var(--cream); margin-bottom: .5rem; }
.room-info p  { font-size: .8rem; color: var(--cream-3); line-height: 1.5; margin-bottom: 1.2rem; }
.room-foot    { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.room-price   { font-size: .8rem; color: var(--cream-3); }
.room-price strong { color: var(--cream); font-weight: 500; font-size: 1rem; }

.rooms-cta { margin-top: 2.5rem; text-align: center; }

/* ================================================
   SECTION 4: DINING
   ================================================ */
.dining {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  background: var(--bg-2);
}

.dining-img-wrap {
  position: relative; overflow: hidden;
}
.dining-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.dining-img-wrap:hover img { transform: scale(1.03); }

.dining-content {
  padding: clamp(4rem, 10vh, 7rem) clamp(2.5rem, 5vw, 5rem);
  display: flex; flex-direction: column; justify-content: center;
}

.dining-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.dining-body {
  font-size: 1rem;
  color: var(--cream-2);
  line-height: 1.75;
  max-width: 46ch;
  margin-bottom: 2rem;
}
.dining-spaces {
  list-style: none;
  display: flex; flex-direction: column; gap: .75rem;
  margin-bottom: 2.5rem;
}
.dining-spaces li {
  font-size: .85rem; color: var(--cream-3);
  padding-left: 1.2rem;
  position: relative;
}
.dining-spaces li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--accent);
}
.dining-spaces li strong { color: var(--cream-2); }

/* ================================================
   SECTION 5: SPA
   ================================================ */
.spa {
  background: var(--bg-3);
  padding: clamp(5rem, 12vh, 9rem) clamp(1.5rem, 6vw, 7rem);
  position: relative;
}
.spa-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.spa-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.spa-body {
  font-size: 1rem; color: var(--cream-2); line-height: 1.75;
  max-width: 46ch; margin-bottom: 2.5rem;
}

.spa-features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-bottom: 2.5rem;
}
.spa-feat { border-top: 1px solid var(--line); padding-top: 1rem; }
.feat-num {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 2.2rem; color: var(--accent);
  margin-bottom: .3rem;
}
.feat-label { font-size: .75rem; color: var(--cream-3); line-height: 1.3; }

.spa-img-wrap {
  position: relative; overflow: hidden; border-radius: 2px;
  aspect-ratio: 4/5;
}
.spa-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.spa-img-wrap:hover img { transform: scale(1.04); }

/* ================================================
   SECTION 6: GALLERY
   ================================================ */
.gallery {
  padding: clamp(5rem, 12vh, 9rem) clamp(1.5rem, 6vw, 7rem);
  background: var(--bg);
}
.gallery-header { margin-bottom: 3rem; }
.gallery-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.05;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px;
  gap: 1rem;
}
.gallery-item {
  overflow: hidden; border-radius: 2px; position: relative;
  cursor: none;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease-out), filter .4s;
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.15) brightness(1.05);
}
.gallery-item--tall {
  grid-row: span 2;
  grid-column: 2;
  grid-row-start: 1;
}
.gallery-item--wide {
  grid-column: span 2;
}

/* ================================================
   SECTION 7: TESTIMONIALS
   ================================================ */
.testimonials {
  background: var(--bg-2);
  padding: clamp(5rem, 12vh, 8rem) clamp(1.5rem, 6vw, 7rem);
}
.testimonials-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-track { min-height: 200px; position: relative; }

.testimonial {
  position: absolute; top: 0; left: 0; right: 0;
  opacity: 0; transform: translateY(16px);
  pointer-events: none;
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.testimonial.is-active {
  opacity: 1; transform: none;
  position: relative;
  pointer-events: auto;
}

.testimonial-quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--cream);
  margin-bottom: 2rem;
}
.testimonial-author {
  display: flex; flex-direction: column; gap: .3rem;
}
.author-name { font-size: .85rem; color: var(--cream-2); font-weight: 500; }
.author-origin { font-size: .75rem; color: var(--cream-3); letter-spacing: .08em; }

.testimonials-dots {
  display: flex; gap: .75rem; justify-content: center; margin-top: 2.5rem;
}
.t-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--line);
  border: none;
  transition: background .3s, transform .3s;
}
.t-dot.is-active { background: var(--accent); transform: scale(1.4); }

/* ================================================
   SECTION 8: BOOKING
   ================================================ */
.booking {
  position: relative;
  background: var(--bg);
  padding: clamp(5rem, 12vh, 9rem) clamp(1.5rem, 6vw, 7rem);
  overflow: clip;
}
.booking-mesh {
  position: absolute; inset: -20% 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(196,154,91,.07), transparent 70%);
}
.booking-inner { position: relative; max-width: 800px; margin: 0 auto; }

.booking-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.booking-sub {
  font-size: .9rem; color: var(--cream-3);
  margin-bottom: 2.5rem;
}

.booking-form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-row--contact { grid-template-columns: 1fr 1fr; }

.form-field { display: flex; flex-direction: column; gap: .5rem; }
.form-field label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-3); }
.form-field input,
.form-field select {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: .75rem 1rem;
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .25s;
  cursor: none;
}
.form-field input:focus,
.form-field select:focus { border-color: var(--accent); }
.form-field select option { background: var(--bg-3); }

.btn-submit {
  width: 100%;
  margin-top: 1.5rem;
  justify-content: center;
  font-size: .85rem;
  padding: 1rem 2rem;
  position: relative;
  overflow: hidden;
}
.submit-sending, .submit-ok { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .5rem; opacity: 0; transition: opacity .3s; }
.submit-ok svg { width: 18px; height: 18px; }

.booking-form.is-sending .submit-text { opacity: 0; }
.booking-form.is-sending .submit-sending { opacity: 1; }
.booking-form.is-sent .submit-text { opacity: 0; }
.booking-form.is-sent .submit-ok { opacity: 1; }

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 8vh, 6rem) clamp(1.5rem, 6vw, 7rem) 2rem;
}
.footer-top {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 4rem; margin-bottom: 3rem;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 2rem; letter-spacing: .2em;
  color: var(--cream);
  display: block; margin-bottom: .75rem;
}
.footer-tagline { font-size: .8rem; color: var(--cream-3); max-width: 30ch; line-height: 1.6; }

.footer-nav { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.footer-col { display: flex; flex-direction: column; gap: .65rem; }
.footer-col-title {
  font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--cream-3); margin-bottom: .4rem;
}
.footer-col a { font-size: .85rem; color: var(--cream-2); transition: color .2s; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: .75rem; color: var(--cream-3); }
.footer-credits-note a { font-size: .72rem; color: var(--cream-3); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.footer-credits-note a:hover { color: var(--accent); }

/* ================================================
   SPLIT TEXT
   ================================================ */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.split-word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform .7s var(--ease-out);
}
.is-visible .split-word-inner,
.split-active .split-word-inner { transform: none; }

/* ================================================
   TILT CARDS
   ================================================ */
[data-tilt] { transform-style: preserve-3d; }
.tilt-halo {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(196,154,91,.15), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
[data-tilt]:hover .tilt-halo { opacity: 1; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-item--tall { grid-row: span 1; grid-column: auto; }
  .gallery-item--wide { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .concept-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .concept-figure { aspect-ratio: 16/9; }
  .concept-figure:nth-child(1) { order: -1; }

  .rooms-grid { grid-template-columns: 1fr; }

  .dining { grid-template-columns: 1fr; }
  .dining-img-wrap { aspect-ratio: 16/9; }

  .spa-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .spa-img-wrap { aspect-ratio: 16/9; }

  .gallery-strip { grid-template-columns: 1fr 1fr; }
  .gallery-item--wide { grid-column: span 2; }

  .form-row { grid-template-columns: 1fr 1fr; }
  .form-row .form-field:last-child { grid-column: span 2; }
  .form-row--contact { grid-template-columns: 1fr; }

  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  body { cursor: auto; }
  .cursor { display: none; }
  button { cursor: pointer; }
  a { cursor: pointer; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .gallery-strip { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .form-row .form-field:last-child { grid-column: span 1; }
  .spa-features { grid-template-columns: 1fr 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
}
