/* ====== EL MEDI · Tokens ====== */
:root {
  --navy: #1F2A4D;
  --navy-deep: #161E3A;
  --navy-soft: #2A3660;
  --navy-rgb: 31, 42, 77;
  --navy-deep-rgb: 22, 30, 58;
  --cyan: #4FBED9;
  --cyan-soft: #7FD3E6;
  --cream: #F5F1E8;
  --cream-warm: #EEE8D9;
  --paper: #FBF8F1;
  --ink: #131826;
  --muted: #6B7287;
  --line: #E4DECD;

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: "Manrope", -apple-system, "Segoe UI", sans-serif;

  --max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ====== Typography utilities ====== */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.dark { color: var(--navy); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(48px, 7.5vw, 112px); }
h2 { font-size: clamp(40px, 5.5vw, 84px); }
h3 { font-size: clamp(28px, 3vw, 40px); }

p { text-wrap: pretty; }

/* ====== Buttons ====== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all .35s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn .arr { transition: transform .35s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary {
  background: var(--cyan);
  color: var(--navy);
}
.btn-primary:hover { background: var(--cyan-soft); transform: translateY(-1px); }
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.45);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.btn-outline {
  border: 1px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ====== Top nav ====== */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  padding: 22px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s ease, padding .35s ease, box-shadow .4s ease;
}
.nav.scrolled {
  background: rgba(var(--navy-rgb), 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 0;
  padding-bottom: 0;
  height: 105px;
  box-sizing: border-box;
  box-shadow: 0 8px 30px -20px rgba(0,0,0,0.4);
}
.nav-logo { display: flex; align-items: center; gap: 12px; color: #fff; }
.nav-logo img {
  width: 357px;
  height: 115px;
  max-width: 60vw;
  object-fit: contain;
  object-position: left center;
  transition: transform .35s ease;
}
.nav.scrolled .nav-logo img { transform: scale(0.62); transform-origin: left center; }

@media (max-width: 640px) {
  .nav-logo img { width: 170px; height: 58px; }
  .nav.scrolled .nav-logo img { transform: scale(0.85); }
}
.nav-links {
  display: flex; gap: 38px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--cyan);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.nav-links a:hover { color: var(--cyan-soft); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone { color: #fff; font-size: 13px; letter-spacing: 0.06em; opacity: 0.85; white-space: nowrap; }
.nav-phone:hover { opacity: 1; color: var(--cyan-soft); }

.nav-burger { display: none; }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-burger {
    display: flex; flex-direction: column; gap: 5px;
    padding: 8px;
  }
  .nav-burger span { display: block; width: 24px; height: 1.5px; background: #fff; }
}
@media (max-width: 640px) {
  .nav { padding: 14px 16px; align-items: flex-start; }
  .nav.scrolled { padding: 10px 16px; }
  .nav-cta {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }
  .nav-cta .btn-primary {
    padding: 10px 16px;
    font-size: 11px;
    letter-spacing: 0.12em;
    gap: 6px;
    order: 1;
  }
  .nav-phone {
    display: inline-block;
    font-size: 12px;
    color: #fff;
    opacity: 0.9;
    order: 2;
  }
  .nav-burger { padding: 4px; order: 3; margin-top: 2px; }
}

/* ====== Hero ====== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: 0 var(--gutter) clamp(60px, 8vh, 100px);
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--navy-deep-rgb), 0.55) 0%, rgba(var(--navy-deep-rgb), 0.35) 35%, rgba(var(--navy-deep-rgb), 0.9) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
}
.hero h1 {
  margin-top: 22px;
  color: #fff;
}
.hero h1 em { font-style: italic; color: var(--cyan-soft); font-weight: 300; }
.hero-sub {
  font-size: 17px;
  width: 0;
  min-width: 100%;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 28px;
}
.hero-aside-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  max-width: 100%;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-aside {
  display: flex; flex-direction: column; gap: 22px;
  justify-self: end;
  align-items: flex-end;
}
.hero-meta {
  text-align: right;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  opacity: 0.85;
}
.hero-meta strong { display: block; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; font-size: 11px; color: var(--cyan); margin-bottom: 6px; }

.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  opacity: 0.7;
}
.hero-scroll .line {
  width: 1px; height: 38px;
  background: linear-gradient(180deg, transparent, #fff);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-aside { justify-self: start; align-items: flex-start; width: 100%; }
  .hero-aside-group { width: 100%; max-width: 100%; }
  .hero-meta { text-align: left; }
}

@media (max-width: 640px) {
  .hero {
    padding-left: 20px;
    padding-right: 20px;
    align-items: flex-end;
  }
  .hero-inner { gap: 20px; }
  .hero h1 { font-size: clamp(40px, 12vw, 60px); letter-spacing: -0.6px !important; }
  .hero-sub { font-size: 15px; margin-bottom: 22px; }
  .hero-ctas { width: 100%; gap: 10px; }
  .hero-ctas .btn {
    flex: 1 1 auto;
    justify-content: center;
    padding: 14px 18px;
    font-size: 12px;
    letter-spacing: 0.12em;
  }
  .hero-meta { font-size: 12px; margin-top: 20px !important; }
}

/* ====== Sections ====== */
section { padding: clamp(80px, 10vw, 140px) var(--gutter); }
.container { max-width: var(--max); margin: 0 auto; }

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 70px;
}
.section-num {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--cyan);
  letter-spacing: 0.1em;
}
.section-num::before { content: "— "; }

/* ====== Restaurante ====== */
.restaurante { background: var(--paper); position: relative; overflow: hidden; }
.restaurante::before,
.restaurante::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  opacity: 0.22;
}
.restaurante::before {
  width: 760px; height: 760px;
  top: -280px; left: -240px;
  clip-path: polygon(0 0, 100% 0, 100% 60%, 60% 100%, 0 100%);
}
.restaurante::after {
  width: 560px; height: 560px;
  bottom: -200px; right: -180px;
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%, 0 40%);
}
.r-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
  opacity: 0.18;
}
.r-deco-1 {
  width: 340px; height: 340px;
  top: 38%; right: 6%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 40% 100%, 0 60%);
}
.r-deco-2 {
  width: 220px; height: 220px;
  bottom: 14%; left: 4%;
  clip-path: polygon(0 40%, 60% 0, 100% 0, 100% 100%, 0 100%);
}
.restaurante .container { position: relative; z-index: 1; }
.r-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.r-image {
  position: relative;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  overflow: hidden;
}
.r-image::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,0.2);
  margin: 16px;
  pointer-events: none;
}
.r-stamp {
  position: absolute;
  bottom: -36px; right: -36px;
  width: 210px; height: 210px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.3;
  padding: 24px;
  box-shadow: 0 18px 40px -20px rgba(var(--navy-rgb),0.4);
}
.r-text h2 { margin-bottom: 28px; }
.r-text h2 em { font-style: italic; color: var(--navy-soft); }
.r-text p { font-size: 17px; line-height: 1.7; color: #3A4055; margin-bottom: 18px; max-width: 520px; }
.r-text .signature {
  margin-top: 26px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--navy);
}

.r-features {
  margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.r-feat {
  background: var(--paper);
  padding: 40px 28px;
}
.r-feat .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--cyan);
  margin-bottom: 14px;
}
.r-feat .r-icon {
  width: 52px;
  height: 52px;
  color: var(--cyan);
  margin-bottom: 18px;
}
.r-feat .r-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.r-feat h3 { font-size: 26px; margin-bottom: 10px; }
.r-feat p { font-size: 14.5px; color: var(--muted); }

.r-gallery {
  margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 90px;
  gap: 14px;
}
.r-gallery div {
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  filter: saturate(0.95);
  transition: transform .6s ease, filter .4s ease;
}
.r-gallery div:hover { filter: saturate(1.1) brightness(1.05); transform: scale(1.02); }
.g1 { grid-column: 1 / 6; grid-row: 1 / 5; }
.g2 { grid-column: 6 / 9; grid-row: 1 / 3; }
.g3 { grid-column: 9 / 13; grid-row: 1 / 4; }
.g4 { grid-column: 6 / 9; grid-row: 3 / 5; }
.g5 { grid-column: 9 / 13; grid-row: 4 / 6; }
.g6 { grid-column: 1 / 6; grid-row: 5 / 7; }
.g7 { grid-column: 6 / 9; grid-row: 5 / 7; }

@media (max-width: 920px) {
  .r-split { grid-template-columns: 1fr; }
  .r-stamp { width: 130px; height: 130px; font-size: 15px; bottom: -20px; right: -10px; }
  .r-features { grid-template-columns: 1fr; }
  .r-gallery {
    margin-top: 60px;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }
  .r-gallery div {
    grid-column: auto !important;
    grid-row: auto !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
  }
  .g1 {
    grid-column: 1 / -1 !important;
    aspect-ratio: 16 / 10;
  }
}

/* ====== Carta ====== */
.carta {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
  position: relative;
  overflow: hidden;
}
.carta::before,
.carta::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  opacity: 0.22;
}
.carta::before {
  width: 680px; height: 680px;
  top: 6%; right: -260px;
  clip-path: polygon(0 30%, 60% 0, 100% 0, 100% 100%, 0 100%);
}
.carta::after {
  width: 500px; height: 500px;
  bottom: -180px; left: -160px;
  clip-path: polygon(0 0, 100% 0, 100% 60%, 60% 100%, 0 100%);
}
.c-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
  opacity: 0.18;
}
.c-deco-1 {
  width: 300px; height: 300px;
  top: 18%; left: 5%;
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%, 0 40%);
}
.c-deco-2 {
  width: 240px; height: 240px;
  bottom: 28%; right: 7%;
  clip-path: polygon(0 0, 60% 0, 100% 40%, 100% 100%, 0 100%);
}
.carta .container { position: relative; z-index: 1; }
.carta-head { text-align: center; max-width: 760px; margin: 0 auto 70px; }
.carta-head .eyebrow { color: var(--navy-soft); justify-content: center; }
.carta-head h2 em { font-style: italic; color: var(--navy-soft); }
.carta-head p { font-size: 18px; color: #3A4055; max-width: 580px; margin: 22px auto 0; }

.dishes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.dish {
  background: var(--paper);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .5s ease, box-shadow .5s ease;
  display: flex; flex-direction: column;
}
.dish:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(var(--navy-rgb),0.3); }
.dish-img {
  aspect-ratio: 5/4;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.dish-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(var(--navy-deep-rgb),0.35));
}
.dish-tag {
  position: absolute;
  top: 18px; left: 18px;
  background: rgba(251,248,241,0.94);
  color: var(--navy);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  z-index: 2;
}
.dish-body {
  padding: 30px 28px 34px;
  display: flex; flex-direction: column;
  flex: 1;
}
.dish-body h3 { font-size: 28px; margin-bottom: 12px; }
.dish-body h3 em { font-style: italic; color: var(--cyan); font-weight: 300; }
.dish-body p { font-size: 14.5px; color: var(--muted); line-height: 1.65; flex: 1; }
.dish-meta {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  color: var(--navy);
}

.carta-actions {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}
.carta-actions .btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.carta-actions .btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

.carta-note {
  margin-top: 80px;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
  min-height: 380px;
  display: flex;
  align-items: center;
  color: #fff;
}
.carta-note-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.02);
  transition: transform .8s ease;
}
.carta-note:hover .carta-note-bg { transform: scale(1.06); }
.carta-note-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(var(--navy-deep-rgb), 0.92) 0%, rgba(var(--navy-deep-rgb), 0.78) 45%, rgba(var(--navy-deep-rgb), 0.35) 100%);
  z-index: 1;
}
.carta-note-inner {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 6vw, 70px);
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 40px;
  width: 100%;
}
.carta-note h3 { font-size: clamp(34px, 4vw, 54px); margin-bottom: 16px; max-width: 540px; }
.carta-note h3 em { font-style: italic; color: var(--cyan-soft); }
.carta-note p { opacity: 0.88; font-size: 17px; max-width: 480px; line-height: 1.65; }
.carta-note-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  min-width: 240px;
}
.carta-note-ctas .btn { justify-content: center; }

@media (max-width: 920px) {
  .carta-note-inner { grid-template-columns: 1fr; gap: 28px; }
  .carta-note-ctas { align-items: flex-start; min-width: 0; }
  .carta-note-ctas .btn { justify-content: flex-start; }
}

@media (max-width: 920px) {
  .dishes { grid-template-columns: 1fr; }
}

/* ====== Contacto ====== */
.contacto {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contacto::before {
  content: "";
  position: absolute;
  left: -10%; bottom: -30%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79,190,217,0.13), transparent 65%);
  pointer-events: none;
}
.contacto .section-head .section-num { color: var(--cyan-soft); }
.contacto .eyebrow { color: var(--cyan); }
.contacto h2 em { font-style: italic; color: var(--cyan-soft); }

.c-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  position: relative;
  z-index: 1;
}
.c-form { display: flex; flex-direction: column; gap: 22px; }
.c-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cyan-soft);
}
.field input, .field select, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding: 12px 0 14px;
  color: #fff;
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color .25s;
  border-radius: 0;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.35); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%234FBED9' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; }
.field select option { background: var(--navy); color: #fff; }
.field textarea { resize: vertical; min-height: 90px; }
.c-submit { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 12px; flex-wrap: wrap; }
.c-submit .tiny { font-size: 12px; opacity: 0.55; max-width: 280px; line-height: 1.5; }

.c-info { display: flex; flex-direction: column; gap: 36px; }
.c-info-block .label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 10px;
}
.c-info-block .value {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
}
.c-info-block .value.small { font-size: 17px; font-family: var(--sans); font-weight: 400; line-height: 1.7; }
.c-info-block a:hover { color: var(--cyan-soft); }

.success {
  background: rgba(79,190,217,0.12);
  border: 1px solid rgba(79,190,217,0.4);
  color: var(--cyan-soft);
  padding: 22px 24px;
  border-radius: 4px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.success svg { flex-shrink: 0; margin-top: 2px; }
.success strong { display: block; color: #fff; margin-bottom: 4px; font-size: 16px; }
.success span { font-size: 14px; line-height: 1.5; }

@media (max-width: 920px) {
  .c-grid { grid-template-columns: 1fr; gap: 50px; }
  .c-row { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 40px; }
}

/* ====== Footer ====== */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 50px var(--gutter) 30px;
  font-size: 13px;
}
.footer .row {
  max-width: var(--max);
  margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer img { height: 90px; width: auto; max-width: 280px; object-fit: contain; }
.footer-links { display: flex; gap: 28px; letter-spacing: 0.08em; font-size: 12px; text-transform: uppercase; }
.footer-links a:hover { color: var(--cyan-soft); }
.footer-copy { width: 100%; text-align: center; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 12px; opacity: 0.55; }

/* ====== Floating reserve pill ====== */
.float-cta {
  position: fixed;
  right: 24px; bottom: 104px;
  z-index: 40;
  opacity: 0; pointer-events: none;
  transform: translateY(20px);
  transition: opacity .4s ease, transform .4s ease;
}
.float-cta.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ====== Floating WhatsApp ====== */
.whatsapp-float {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 45;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 14px 36px -10px rgba(37, 211, 102, 0.55),
    0 6px 18px -6px rgba(0, 0, 0, 0.28);
  transition: transform .25s ease, box-shadow .25s ease;
}
.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 18px 40px -10px rgba(37, 211, 102, 0.7),
    0 8px 22px -6px rgba(0, 0, 0, 0.3);
}
.whatsapp-float svg { width: 32px; height: 32px; display: block; }
.whatsapp-float .pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0   rgba(37, 211, 102, 0); }
}
@media (max-width: 640px) {
  .whatsapp-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
  .float-cta { right: 16px; bottom: 90px; }
}

/* ====== Reveal on scroll ====== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ====== Mobile menu ====== */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--navy-deep);
  z-index: 55;
  display: flex; flex-direction: column;
  padding: 80px var(--gutter) 40px;
  transform: translateX(100%);
  transition: transform .4s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(26px, 7vw, 38px);
  color: #fff;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-close {
  position: absolute;
  top: 22px; right: var(--gutter);
  color: #fff;
  font-size: 28px;
}

/* Hacer visible el icono del selector de fecha sobre el fondo oscuro */
#fecha::-webkit-calendar-picker-indicator {
  filter: invert(1);
}
