/* ============================================================
   Residencias Ramírez · crema + vinotinto + oro
   ============================================================ */
:root {
  --crema: #f7eedd;
  --crema-2: #f1e4cb;
  --papel: #fdf8ec;
  --vino: #6f1021;
  --vino-osc: #46091a;
  --vino-prof: #350612;
  --vino-claro: #8d1a30;
  --oro: #c09040;
  --oro-claro: #dcb96e;
  --oro-suave: #e9d9ae;
  --tinta: #38251d;
  --tinta-2: #6e5849;
  --blanco: #fffdf7;
  --sombra: 0 18px 50px -18px rgba(70, 9, 26, 0.28);
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--crema);
  color: var(--tinta);
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { font-family: "Cormorant Garamond", serif; font-weight: 600; line-height: 1.12; }

::selection { background: var(--vino); color: var(--crema); }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 4; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.24 0 0 0 0 0.14 0 0 0 0 0.1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-move 9s steps(6) infinite;
}
@keyframes grain-move {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -4%); }
  60% { transform: translate(-3%, -2%); }
  80% { transform: translate(4%, 3%); }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--vino-prof);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px;
  transition: opacity 0.6s ease, visibility 0.6s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-script {
  font-family: "Great Vibes", cursive;
  font-size: clamp(52px, 9vw, 84px);
  color: var(--oro-claro);
  animation: loader-in 0.9s ease both;
}
@keyframes loader-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.loader-line { width: 150px; height: 1px; background: rgba(220, 185, 110, 0.25); overflow: hidden; }
.loader-line i { display: block; height: 100%; width: 40%; background: var(--oro-claro); animation: loader-slide 1s ease-in-out infinite; }
@keyframes loader-slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.nav.scrolled {
  background: rgba(247, 238, 221, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -16px rgba(70, 9, 26, 0.35);
}
.nav-inner {
  max-width: 1220px; margin: 0 auto;
  padding: 10px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand-top {
  font-family: "Jost", sans-serif; font-weight: 500;
  font-size: 10px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--oro); margin-left: 34px;
}
.brand-script {
  font-family: "Great Vibes", cursive;
  font-size: 38px; color: var(--vino);
  margin-top: -2px;
}
.nav:not(.scrolled) .brand-script { color: var(--crema); }
.nav:not(.scrolled) .brand-top { color: var(--oro-claro); }
.brand-tag {
  font-size: 8px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--tinta-2); margin: 2px 0 0 4px;
}
.nav:not(.scrolled) .brand-tag { color: rgba(247, 238, 221, 0.75); }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  text-decoration: none; color: var(--tinta);
  font-size: 13.5px; font-weight: 400; letter-spacing: 0.06em;
  position: relative; padding: 4px 0;
}
.nav:not(.scrolled) .nav-links a { color: var(--crema); }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--oro);
  transition: width 0.35s ease;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--vino); color: var(--crema) !important;
  padding: 10px 20px; border-radius: 999px;
  font-weight: 500 !important;
  border: 1px solid transparent;
  transition: background 0.3s ease, transform 0.3s ease;
}
.nav-cta:hover { background: var(--vino-claro); transform: translateY(-1px); }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-burger span { width: 24px; height: 2px; background: var(--crema); transition: 0.3s; border-radius: 2px; }
.nav.scrolled .nav-burger span { background: var(--vino); }
.nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: hero-zoom 14s ease-out both;
}
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(53, 6, 18, 0.55) 0%, rgba(53, 6, 18, 0.18) 34%, rgba(53, 6, 18, 0.62) 74%, rgba(53, 6, 18, 0.9) 100%),
    radial-gradient(120% 90% at 20% 85%, rgba(111, 16, 33, 0.5), transparent 60%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1180px; margin: 0 auto;
  padding: 150px 22px 130px;
}
.hero h1 {
  color: var(--crema);
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 500;
  max-width: 17ch;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}
.hero h1 em {
  font-style: italic; color: var(--oro-claro); font-weight: 500;
}
.hero-sub {
  color: rgba(247, 238, 221, 0.85);
  max-width: 46ch; font-size: 16.5px;
  margin-top: 18px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-desde {
  margin-top: 26px;
  color: rgba(247, 238, 221, 0.7);
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
}
.hero-desde strong { color: var(--oro-claro); font-weight: 500; font-size: 15px; }

.kicker {
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--vino);
  display: inline-flex; align-items: center; gap: 14px;
}
.kicker-light { color: var(--oro-claro); }
.kicker-oro { color: var(--oro-claro); }

/* ornament lines beside kickers */
.orn { width: 42px; height: 9px; position: relative; display: inline-block; }
.orn::before {
  content: ""; position: absolute; top: 4px; left: 0; right: 12px; height: 1px;
  background: currentColor; opacity: 0.55;
}
.orn::after {
  content: ""; position: absolute; top: 1.5px; right: 0;
  width: 6px; height: 6px; border: 1px solid currentColor;
  transform: rotate(45deg); opacity: 0.8;
}
.orn.flip { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  text-decoration: none;
  font-family: "Jost", sans-serif; font-size: 14px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 15px 32px; border-radius: 999px;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-vino {
  background: var(--vino); color: var(--crema);
  box-shadow: 0 14px 32px -14px rgba(70, 9, 26, 0.7);
}
.btn-vino:hover { background: var(--vino-claro); }
.btn-linea {
  border: 1px solid rgba(220, 185, 110, 0.65);
  color: var(--oro-claro);
  background: rgba(53, 6, 18, 0.25);
  backdrop-filter: blur(4px);
}
.btn-linea:hover { background: rgba(220, 185, 110, 0.14); }
.btn-oro {
  background: linear-gradient(120deg, var(--oro), var(--oro-claro));
  color: var(--vino-prof);
  box-shadow: 0 14px 32px -14px rgba(192, 144, 64, 0.8);
}
.btn-s { padding: 12px 26px; font-size: 12.5px; }

/* ---------- Features ---------- */
.features { position: relative; z-index: 5; margin-top: -76px; padding: 0 22px; }
.features-card {
  max-width: 1180px; margin: 0 auto;
  background: var(--papel);
  border: 1px solid rgba(192, 144, 64, 0.28);
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 34px 18px;
}
.feature {
  text-align: center; padding: 6px 14px;
  border-right: 1px solid rgba(192, 144, 64, 0.18);
}
.feature:last-child { border-right: 0; }
.f-ico { display: inline-flex; width: 44px; height: 44px; color: var(--vino); margin-bottom: 10px; }
.f-ico svg { width: 100%; height: 100%; }
.feature h3 { font-size: 19px; color: var(--vino); font-weight: 600; }
.feature p { font-size: 13px; color: var(--tinta-2); margin-top: 4px; line-height: 1.45; }

/* ---------- Section heads ---------- */
.sec-head { text-align: center; margin-bottom: 54px; }
.sec-head h2 {
  font-size: clamp(32px, 4.6vw, 52px);
  color: var(--tinta); font-weight: 600;
  margin-top: 14px;
}
.sec-head-light h2 { color: var(--crema); }
.sec-lead { color: var(--tinta-2); max-width: 54ch; margin: 12px auto 0; font-size: 15.5px; }
.sec-head-light .sec-lead { color: rgba(247, 238, 221, 0.7); }

/* ---------- Rooms ---------- */
.rooms { padding: 110px 0 40px; }
.room {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  padding: 44px 0;
}
.room-flip .room-img { order: 2; }
.room-flip .room-body { order: 1; }
.room-img { position: relative; }
.room-img img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
}
.room-img::before {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(247, 238, 221, 0.5);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}
.room-royal .room-img::before { border-color: rgba(220, 185, 110, 0.75); }
.room-tag {
  position: absolute; top: 26px; left: 26px;
  background: rgba(53, 6, 18, 0.78); color: var(--crema);
  backdrop-filter: blur(6px);
  font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
}
.room-tag.gold { background: linear-gradient(120deg, var(--oro), var(--oro-claro)); color: var(--vino-prof); font-weight: 500; }
.room-kicker {
  font-size: 11px; font-weight: 500; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--vino-claro);
}
.gold-text { color: var(--oro); }
.room-body h3 {
  font-size: clamp(40px, 5vw, 58px);
  color: var(--vino); font-weight: 600;
  letter-spacing: 0.06em;
  margin: 4px 0 12px;
}
.room-royal .room-body h3 { color: var(--vino); }
.room-p { color: var(--tinta-2); font-size: 15.5px; max-width: 48ch; }
.room-prices { display: flex; gap: 34px; margin-top: 22px; }
.room-prices div { display: flex; flex-direction: column; }
.room-prices span {
  font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--tinta-2);
}
.room-prices strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 34px; font-weight: 700; color: var(--tinta);
  line-height: 1.15;
}
.room-prices.small strong { font-size: 26px; }
.room-alt {
  margin-top: 18px; padding: 16px 20px;
  background: var(--crema-2);
  border: 1px solid rgba(192, 144, 64, 0.25);
  border-radius: 14px;
  display: inline-block;
}
.pill {
  display: inline-block;
  background: var(--vino); color: var(--crema);
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 10px;
}
.room .btn { margin-top: 26px; }

/* ---------- Rates ---------- */
.rates { padding: 90px 0 100px; }
.rates-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; align-items: stretch;
}
.rate-card {
  background: var(--papel);
  border: 1px solid rgba(192, 144, 64, 0.3);
  border-radius: var(--radius);
  padding: 40px 30px 34px;
  text-align: center;
  position: relative;
  box-shadow: 0 12px 36px -22px rgba(70, 9, 26, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex; flex-direction: column;
}
.rate-row.big:first-of-type { margin-top: auto; }
.rate-row.big:last-of-type { margin-bottom: auto; }
.rate-card:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.rate-royal { border: 1.5px solid var(--oro); }
.rate-royal::before {
  content: attr(data-badge);
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(120deg, var(--oro), var(--oro-claro));
  color: var(--vino-prof);
  font-size: 10px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.flourish {
  display: block; width: 120px; height: 14px; margin: 0 auto 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cg fill='none' stroke='%23c09040' stroke-width='1'%3E%3Cpath d='M4 7h38M78 7h38'/%3E%3Cpath d='M60 2l4.5 5-4.5 5-4.5-5z'/%3E%3Ccircle cx='48' cy='7' r='1.6' fill='%23c09040'/%3E%3Ccircle cx='72' cy='7' r='1.6' fill='%23c09040'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.rate-card h3 {
  font-size: 34px; font-weight: 600; color: var(--tinta);
  letter-spacing: 0.34em; text-transform: uppercase;
  margin-left: 0.34em;
}
.rate-sub {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--tinta-2); margin: 6px 0 24px;
}
.rate-row {
  display: flex; align-items: baseline; gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(192, 144, 64, 0.18);
}
.rate-row:last-child { border-bottom: 0; }
.rate-row span { font-size: 12px; letter-spacing: 0.2em; color: var(--tinta-2); }
.rate-row i { flex: 1; border-bottom: 1px dotted rgba(110, 88, 73, 0.4); transform: translateY(-4px); }
.rate-row strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px; font-weight: 700; color: var(--tinta);
}
.rate-row.big strong { font-size: 32px; }
.rate-royal .rate-row strong { color: var(--vino); }
.rate-pill {
  display: inline-block;
  background: var(--vino); color: var(--crema);
  font-size: 10px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px;
  margin: 18px 0 6px;
}

/* ---------- Promo ---------- */
.promo {
  margin-top: 54px;
  background: linear-gradient(115deg, var(--vino-prof), var(--vino) 55%, var(--vino-prof));
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  display: flex; align-items: center; justify-content: center;
  gap: clamp(20px, 5vw, 60px);
  padding: 40px clamp(22px, 5vw, 60px);
  position: relative; overflow: hidden;
}
.promo::before {
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(220, 185, 110, 0.3);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
}
.promo-item { display: flex; align-items: center; gap: 18px; }
.p-ico { width: 52px; height: 52px; color: var(--oro-claro); flex-shrink: 0; }
.p-ico svg { width: 100%; height: 100%; }
.promo-item strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(20px, 2.6vw, 27px); font-weight: 600;
  color: var(--crema); letter-spacing: 0.04em;
  text-transform: uppercase;
}
.promo-item span { font-size: 13px; color: rgba(247, 238, 221, 0.65); }
.promo-div { width: 1px; align-self: stretch; background: rgba(220, 185, 110, 0.35); }

/* ---------- Menu / Carta ---------- */
.menu {
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(141, 26, 48, 0.55), transparent 70%),
    var(--vino-prof);
  padding: 110px 0 70px;
  position: relative;
}
.menu::before, .menu::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 185, 110, 0.5), transparent);
}
.menu::before { top: 0; }
.menu::after { bottom: 0; }
.menu-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(26px, 4vw, 48px);
}
.menu-col h3 {
  font-size: 24px; font-weight: 600; color: var(--oro-claro);
  padding-bottom: 12px; margin-bottom: 14px;
  border-bottom: 1px solid rgba(220, 185, 110, 0.3);
  letter-spacing: 0.04em;
}
.m-row {
  display: flex; align-items: baseline; gap: 8px;
  padding: 6.5px 0;
  font-size: 14px;
}
.m-row span { color: rgba(247, 238, 221, 0.88); }
.m-row i { flex: 1; border-bottom: 1px dotted rgba(220, 185, 110, 0.3); transform: translateY(-3px); }
.m-row b { color: var(--oro-claro); font-weight: 500; white-space: nowrap; }
.menu-note {
  text-align: center; margin-top: 44px;
  color: rgba(247, 238, 221, 0.45);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
}

/* ---------- Gallery ---------- */
.gallery { padding: 100px 0 60px; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-grid figure {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 12px 36px -22px rgba(70, 9, 26, 0.4);
}
.gallery-grid img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.gallery-grid figure::after {
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(247, 238, 221, 0);
  border-radius: calc(var(--radius) - 6px);
  transition: border-color 0.5s ease;
  pointer-events: none;
}
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figure:hover::after { border-color: rgba(247, 238, 221, 0.6); }
.gallery-note {
  text-align: center; margin-top: 18px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--tinta-2); opacity: 0.7;
}

/* ---------- Contact ---------- */
.contact { padding: 70px 0 110px; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 26px; align-items: stretch;
}
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
.c-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--papel);
  border: 1px solid rgba(192, 144, 64, 0.28);
  border-radius: 14px;
  padding: 18px 22px;
  text-decoration: none; color: var(--tinta);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.c-card:not(.c-card-static):hover {
  transform: translateY(-3px);
  box-shadow: var(--sombra);
  border-color: rgba(192, 144, 64, 0.6);
}
.c-ico { width: 40px; height: 40px; color: var(--vino); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.c-ico svg { width: 100%; height: 100%; max-width: 28px; max-height: 28px; }
.c-card span { display: block; font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--tinta-2); }
.c-card strong { font-family: "Cormorant Garamond", serif; font-size: 22px; font-weight: 600; color: var(--tinta); }

.map {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(192, 144, 64, 0.3);
  box-shadow: var(--sombra);
  min-height: 340px;
}
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-label {
  position: absolute; left: 20px; bottom: 20px;
  background: var(--papel);
  border: 1px solid rgba(192, 144, 64, 0.35);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 12px 30px -14px rgba(70, 9, 26, 0.4);
  display: flex; flex-direction: column; gap: 3px;
}
.map-label strong { font-family: "Cormorant Garamond", serif; font-size: 21px; color: var(--vino); }
.map-label > span { font-size: 13px; color: var(--tinta-2); }
.map-label .btn { margin-top: 12px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--vino-prof);
  color: rgba(247, 238, 221, 0.75);
  padding: 70px 0 0;
  position: relative;
}
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 185, 110, 0.5), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 50px;
}
.footer-brand { display: flex; flex-direction: column; }
.footer-brand .brand-top { color: var(--oro-claro); }
.footer-brand .brand-script { color: var(--crema); font-size: 44px; }
.footer-brand .brand-tag { color: rgba(247, 238, 221, 0.5); }
.footer-brand p { font-size: 13.5px; margin-top: 16px; max-width: 30ch; color: rgba(247, 238, 221, 0.6); }
.footer-col h4 {
  font-family: "Jost", sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--oro-claro); margin-bottom: 16px;
}
.footer-col a, .footer-col span {
  display: block; font-size: 14px;
  color: rgba(247, 238, 221, 0.72);
  text-decoration: none; padding: 4px 0;
}
.footer-col a:hover { color: var(--oro-claro); }
.footer-base {
  border-top: 1px solid rgba(220, 185, 110, 0.16);
  text-align: center;
  padding: 22px;
  font-size: 12.5px;
  color: rgba(247, 238, 221, 0.45);
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px;
  background: #25d366; color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.3s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(1.55); opacity: 0; }
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }
.d-1 { transition-delay: 0.12s; }
.d-2 { transition-delay: 0.24s; }
.d-3 { transition-delay: 0.36s; }
.d-4 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; }
  .grain { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1020px) {
  .features-card { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .feature:nth-child(3) { border-right: 0; }
  .feature:nth-child(4) { border-right: 1px solid rgba(192, 144, 64, 0.18); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .rates-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; gap: 30px; }
}

@media (max-width: 880px) {
  .nav-links {
    position: fixed; inset: 0;
    background: var(--vino-prof);
    flex-direction: column; justify-content: center;
    gap: 30px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; }
  .nav-links a { color: var(--crema) !important; font-size: 19px; }
  .nav-burger { display: flex; position: relative; z-index: 5; }
  .room { grid-template-columns: 1fr; gap: 26px; padding: 34px 0; }
  .room-flip .room-img { order: 0; }
  .room-flip .room-body { order: 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .promo { flex-direction: column; align-items: flex-start; gap: 24px; }
  .promo-div { width: 100%; height: 1px; align-self: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .features { margin-top: -56px; }
  .features-card { grid-template-columns: 1fr 1fr; padding: 24px 14px; }
  .feature { border-right: 0 !important; padding: 12px 8px; }
  .feature:last-child { grid-column: 1 / -1; }
  .menu-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-content { padding: 130px 22px 110px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .brand-script { font-size: 32px; }
  .room-prices { gap: 24px; }
  .room-prices strong { font-size: 29px; }
}
