:root {
  --cream: #f8f5e9;
  --cream-2: #efe8da;
  --white: #ffffff;
  --forest: #34452d;
  --olive: #4e5b31;
  --olive-soft: #687653;
  --sand: #d6bd8b;
  --brown: #5c4a3f;
  --ink: #302f29;
  --nav-height: 88px;
  --shadow: 0 20px 55px rgba(37, 45, 30, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Lato', sans-serif;
  color: var(--ink);
  background: var(--cream);
}

a {
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

section[id],
header[id],
footer[id] {
  scroll-margin-top: var(--nav-height);
}

.section-title,
.modal-title {
  font-family: 'Playfair Display', serif;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--olive);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #f1e6ce;
}

/* NAVBAR */
.navbar {
  height: var(--nav-height);
  padding: 0;
  background: linear-gradient(to bottom, rgba(15, 24, 12, .58), rgba(15, 24, 12, .06));
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
  z-index: 1030;
}

.navbar.scrolled {
  background: rgba(248, 245, 233, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(37, 45, 30, .09);
  border-bottom-color: rgba(78, 91, 49, .1);
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.logo-navbar {
  width: 180px;
  height: auto;
  object-fit: contain;
  transition: transform .3s ease;
}

.navbar-brand:hover .logo-navbar {
  transform: scale(1.025);
}

.logo-dark {
  display: none;
}

.navbar.scrolled .logo-white {
  display: none;
}

.navbar.scrolled .logo-dark {
  display: block;
}

.navbar-nav {
  gap: 4px;
}

.navbar .nav-link {
  position: relative;
  padding: .9rem .7rem !important;
  color: #fff !important;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .015em;
  transition: color .25s ease;
}

.navbar.scrolled .nav-link {
  color: var(--brown) !important;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  left: .7rem;
  right: .7rem;
  bottom: .55rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: 0;
  box-shadow: none !important;
}

.nav-item-contact {
  margin-left: 8px;
}

.navbar .btn-nav-contact {
  padding: .68rem 1.25rem !important;
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  box-shadow: none;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.navbar .btn-nav-contact::after {
  display: none;
}

.navbar .btn-nav-contact:hover,
.navbar .btn-nav-contact.active {
  background: rgba(255, 255, 255, .16);
  border-color: #fff;
  color: #fff !important;
  transform: translateY(-1px);
}

.navbar.scrolled .btn-nav-contact {
  background: var(--sand);
  color: var(--forest) !important;
  border-color: transparent;
}

.navbar.scrolled .btn-nav-contact:hover,
.navbar.scrolled .btn-nav-contact.active {
  background: #e4cfa2;
  border-color: transparent;
  color: var(--forest) !important;
}

/* BOTONES */
.btn {
  border-radius: 999px;
  padding: 12px 27px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary-brand {
  background: var(--olive);
  color: #fff;
  border: 1px solid var(--olive);
  box-shadow: 0 12px 28px rgba(52, 69, 45, .24);
}

.btn-primary-brand:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

.btn-primary-soft {
  background: rgba(248, 245, 233, .95);
  color: var(--forest);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

.btn-primary-soft:hover {
  background: #fff;
  color: var(--forest);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .72);
  backdrop-filter: blur(5px);
}

.btn-ghost-light:hover {
  background: #fff;
  color: var(--forest);
}

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #293324;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -1%;
  background: url('../img/fondo_casco.webp') center 53% / cover no-repeat;
  filter: saturate(1.16) brightness(1.15) contrast(1.01);
  transform: scale(1.025);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(18, 24, 14, .34) 0%, rgba(18, 24, 14, .14) 38%, rgba(18, 24, 14, .02) 74%),
    linear-gradient(180deg, rgba(9, 14, 8, .05), rgba(18, 24, 14, .08) 42%, rgba(18, 24, 14, .20));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  padding-top: 70px;
}

.hero-panel {
  max-width: 700px;
  padding: 26px 0 40px;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: #f3e2bf;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 20px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.15rem, 5vw, 5.15rem);
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.02em;
  text-wrap: balance;
  text-shadow: 0 6px 34px rgba(0, 0, 0, .28);
}

.hero-subtitle {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .93);
  font-size: 1.16rem;
  font-weight: 400;
  line-height: 1.72;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .22);
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .65);
  backdrop-filter: blur(5px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, .96);
  color: var(--forest);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 12px 18px;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  transform: translateX(-50%);
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .82);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
  transition: color .25s ease;
}

.scroll-indicator i {
  font-size: 1.15rem;
  animation: bob 1.8s ease-in-out infinite;
}

.scroll-indicator:hover {
  color: #fff;
}

@keyframes bob {
  50% {
    transform: translateY(5px);
  }
}

@keyframes heroDrift {
  to {
    transform: scale(1.07) translateY(-.4%);
  }
}

/* NOSOTROS */
.story-section {
  min-height: calc(100svh - var(--nav-height));
  display: flex;
  align-items: center;
  padding: 82px 0;
  background: var(--cream);
}

.story-section .section-title {
  margin-bottom: 18px;
  color: var(--forest);
  font-size: 2.4rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}

.story-lead {
  color: var(--brown);
  font-family: 'Lato', sans-serif;
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.7;
}

.story-copy {
  margin: 18px 0 26px;
  color: #5c4a3f;
  font-size: 1rem;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--olive);
  font-weight: 700;
}

.text-link i {
  transition: transform .25s ease;
}

.text-link:hover {
  color: var(--forest);
}

.text-link:hover i {
  transform: translateX(5px);
}

.text-link-light {
  color: rgba(255, 255, 255, .96);
}

.text-link-light:hover {
  color: #fff;
}

.cta-inline {
  position: relative;
  padding: 0 0 4px;
  border: 0;
  background: transparent;
  font-size: 1rem;
  letter-spacing: .01em;
}

.cta-inline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: .7;
  transform-origin: left center;
  transition: transform .25s ease, opacity .25s ease;
  animation: ctaLineCue 3s ease-in-out infinite;
}

.cta-inline:hover::after {
  transform: scaleX(1.08);
  opacity: 1;
}

.modal-trigger-link {
  font-size: 1rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .2);
}

/* Señal visual sutil en los enlaces de navegación entre secciones */
.cta-inline i {
  animation: ctaArrowCue 3s ease-in-out infinite;
}

.cta-inline:hover i {
  animation: none;
  transform: translateX(5px);
}

.cta-inline:hover::after {
  animation: none;
  transform: scaleX(1.08);
  opacity: 1;
}

@keyframes ctaArrowCue {

  0%,
  76%,
  100% {
    transform: translateX(0);
  }

  82% {
    transform: translateX(5px);
  }

  88% {
    transform: translateX(0);
  }

  94% {
    transform: translateX(3px);
  }
}

@keyframes ctaLineCue {

  0%,
  76%,
  100% {
    opacity: .7;
    transform: scaleX(1);
  }

  84% {
    opacity: 1;
    transform: scaleX(1.08);
  }

  92% {
    opacity: .8;
    transform: scaleX(1.02);
  }
}

/* CTA PRIMARIO — acciones de conversión */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--sand);
  color: var(--forest);
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(12, 18, 10, .30);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.btn-cta i {
  font-size: .95em;
  transition: transform .25s ease;
}

.btn-cta:hover {
  background: #e7d2a5;
  color: #26331f;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(12, 18, 10, .36);
}

.btn-cta:hover i {
  transform: translateX(4px);
}

.btn-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.editorial-image {
  position: relative;
  margin-left: 38px;
}

.editorial-image::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 28px;
  width: 100%;
  height: 100%;
  border: 1px solid #ccb78f;
  z-index: 0;
}

.editorial-media {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #d8d1c2;
  box-shadow: var(--shadow);
  isolation: isolate;

  position: relative;
  border: 1px solid rgba(214, 189, 139, 0.45);
  border-radius: 6px;
  box-shadow:
    0 16px 38px rgba(37, 45, 30, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}



.essence-backdrop {
  position: absolute;
  inset: -4%;
  z-index: 1;
  background-color: #ddd6c8;
  background-size: cover;
  background-position: center;
  filter: blur(28px) saturate(.9) brightness(.9);
  transform: scale(1.12);
}

.essence-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: transparent;
}

.essence-media-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: var(--media-fit, cover);
  object-position: var(--media-pos-x, 50%) var(--media-pos-y, 50%);
  opacity: 0;
  transform: scale(var(--media-scale, 1));
  transform-origin: var(--media-pos-x, 50%) var(--media-pos-y, 50%);
  transition: opacity .65s ease;
  pointer-events: none;
  visibility: hidden;
}

.essence-media-item.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.essence-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: rgba(32, 41, 28, .28);
  color: #fff;
  backdrop-filter: blur(6px);
  transform: translateY(-50%);
  transition: background .25s ease, transform .25s ease;
}

.essence-nav:hover {
  background: rgba(255, 255, 255, .9);
  color: var(--forest);
  transform: translateY(-50%) scale(1.04);
}

.essence-nav.prev {
  left: 16px;
}

.essence-nav.next {
  right: 16px;
}

.essence-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 4;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.essence-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .46);
  box-shadow: 0 1px 7px rgba(0, 0, 0, .18);
}

.essence-dot.active {
  background: #fff;
  transform: scale(1.15);
}

/* PANELES FOTOGRÁFICOS */
.seccion-full {
  position: relative;
  width: 100%;
  height: 56.25vw;
  min-height: 720px;
  max-height: 1440px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #1d2919;
}

/* Relleno difuminado: evita bandas vacías cuando una foto se muestra
   completa (contain) en pantallas muy anchas. Con "cover" queda tapado. */
.slider-bg-layer {
  position: absolute;
  inset: -4%;
  z-index: 0;
  background-color: #1d2919;
  background-size: cover;
  background-position: center;
  filter: blur(34px) saturate(.85) brightness(.62);
  transform: scale(1.14);
  opacity: 0;
  transition: opacity .85s ease;
}

.slider-bg-layer--active {
  opacity: 1;
}

.slider-fg-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: var(--media-fit, cover);
  object-position: var(--media-pos-x, 50%) var(--media-pos-y, 50%);
  opacity: 0;
  transform: scale(var(--media-scale, 1));
  transform-origin: var(--media-pos-x, 50%) var(--media-pos-y, 50%);
  transition: opacity .85s ease;
}

.slider-fg-layer--active {
  opacity: 1;
}

.photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.photo-overlay-left {
  background: linear-gradient(90deg, rgba(18, 26, 15, .62) 0%, rgba(18, 26, 15, .31) 43%, rgba(18, 26, 15, .05) 76%);
}

.photo-overlay-right {
  background: linear-gradient(270deg, rgba(18, 26, 15, .62) 0%, rgba(18, 26, 15, .31) 43%, rgba(18, 26, 15, .05) 76%);
}

.seccion-full .contenido {
  position: relative;
  z-index: 3;
  padding-left: 74px;
  padding-right: 74px;
}

.contenido-left {
  text-align: left;
}

.contenido-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.seccion-full h2 {
  max-width: 670px;
  margin-bottom: 18px;
  font-family: 'Lato', sans-serif;
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
  /*text-shadow: 0 3px 22px rgba(0,0,0,.18);*/
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
}

.seccion-full p {
  max-width: 550px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, .92);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.5;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.26);
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: rgba(20, 28, 16, .19);
  color: #fff;
  backdrop-filter: blur(5px);
  transform: translateY(-50%);
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, .94);
  color: var(--forest);
  transform: translateY(-50%) scale(1.055);
}

.slider-btn.prev {
  left: 24px;
}

.slider-btn.next {
  right: 24px;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 29px;
  z-index: 5;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.slider-dot {
  width: 26px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, .42);
  transition: width .25s ease, background .25s ease;
}

.slider-dot.active {
  width: 45px;
  background: #fff;
}

/* CONSULTAS */
.consultas-section {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--nav-height));
  padding-top: 38px;
  background: var(--cream-2);
}

.consultas-heading {
  max-width: 790px;
  margin: 0 auto 28px;
  padding: 0 24px;
  text-align: center;
}

.consultas-heading .eyebrow {
  margin-bottom: 9px;
}

.consultas-heading .section-title {
  margin-bottom: 12px;
  color: var(--forest);
  font-size: 2.4rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}

.consultas-heading p {
  margin: 0 auto;
  color: #74695e;
  font-size: 1rem;
  line-height: 1.7;
}

.consultas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1 1 auto;
  min-height: 0;
}

.consulta-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 440px;
  overflow: hidden;
  color: #fff;
}

.consulta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: var(--media-fit, cover);
  object-position: var(--media-pos-x, 50%) var(--media-pos-y, 50%);
  transform: scale(calc(var(--media-scale, 1) * 1.018));
  transform-origin: var(--media-pos-x, 50%) var(--media-pos-y, 50%);
  transition: transform .9s cubic-bezier(.2, .7, .2, 1), filter .5s ease;
}

.consulta-card:hover .consulta-bg {
  transform: scale(calc(var(--media-scale, 1) * 1.055));
  filter: saturate(1.04);
}

.consulta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /*background: linear-gradient(90deg, rgba(25,33,20,.77), rgba(25,33,20,.27) 15%, rgba(25,33,20,.08));*/
}

.consulta-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 650px;
  padding: 44px 9%;
}

.consulta-content-right {
  margin-left: auto;
  text-align: right;
}

.consulta-card h3 {
  margin-bottom: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}

.consulta-card p {
  max-width: 470px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .9);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.5;
}

.consulta-content-right p {
  margin-left: auto;
}

/* FOOTER */
.site-footer {
  padding: 64px 0 24px;
  background: #24311f;
  color: #fff;
}

.footer-main-row {
  align-items: center;
}

.footer-logo {
  width: 235px;
  margin-bottom: 14px;
}

.footer-location {
  color: #cfc7b7;
}

.footer-contact {
  text-align: right;
}

.footer-contact>span {
  display: block;
  margin-bottom: 14px;
  color: var(--sand);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px 22px;
  flex-wrap: wrap;
}

.footer-actions a {
  color: #fff;
  font-size: .95rem;
}

.footer-actions a:hover {
  color: var(--sand);
}

.footer-actions i {
  margin-right: 5px;
}

.footer-map-card {
  display: block;
  max-width: 340px;
  margin: 0 auto;
  padding: 16px 16px 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  border: 1px solid rgba(214, 189, 139, .16);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 18px 34px rgba(0, 0, 0, .12);
  color: #fff;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.footer-map-card:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 189, 139, .28);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  color: #fff;
}

.footer-map-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--sand);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-map-visual {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .07), transparent 55%), rgba(0, 0, 0, .07);
}

.footer-map-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.footer-map-label {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, 22px);
  padding: 6px 12px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(248, 245, 233, .92);
  color: #24311f;
  font-size: .78rem;
  letter-spacing: .03em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
}

.footer-map-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  color: #cfc7b7;
  font-size: .84rem;
}

.footer-map-meta strong {
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
}

.footer-map-meta span {
  color: var(--sand);
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: #aaa99f;
  font-size: .8rem;
}

/* MODAL */
.modal-dialog {
  max-width: 880px;
}

.modal-content {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 2rem);
}

.modal-body {
  overflow-y: auto;
  padding-bottom: 1.15rem;
}

.modal-granadilla {
  overflow: hidden;
  background: rgba(251, 248, 240, .98);
  border: 1px solid rgba(92, 74, 63, .08);
  border-radius: 30px;
  box-shadow: 0 30px 90px rgba(20, 21, 18, .22);
}

.modal-granadilla-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 28px 12px;
  background: transparent;
  color: var(--ink);
  border: 0;
}

.modal-title-wrap {
  max-width: 560px;
}

.modal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 7px 12px;
  background: rgba(233, 220, 201, .72);
  color: var(--brown);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.modal-granadilla-header .modal-title {
  color: var(--forest);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.1;
}

.modal-subtitle {
  margin-top: 6px;
  color: #6f665d;
  font-size: .98rem;
  line-height: 1.6;
  opacity: 1;
}

.modal-granadilla .btn-close {
  margin: 0;
  padding: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(233, 220, 201, .68);
  opacity: 1;
  box-shadow: none;
}

.modal-granadilla .btn-close:hover {
  background-color: rgba(233, 220, 201, .95);
}

.modal-surface {
  padding: 10px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .42));
  border: 1px solid rgba(255, 255, 255, .65);
}

.modal-tabs {
  gap: 10px;
  padding: 6px;
  background: rgba(233, 220, 201, .46);
  border-radius: 999px;
}

.modal-tabs .nav-link {
  padding: 11px 18px;
  border-radius: 999px;
  background: transparent;
  color: #6f665d;
  font-weight: 700;
}

.modal-tabs .nav-link.active {
  background: #fff;
  color: var(--forest);
  box-shadow: 0 10px 24px rgba(52, 69, 45, .12);
}

.modal-help-text {
  color: #716754;
  font-size: .9rem;
  line-height: 1.6;
}

.modal-granadilla .form-label {
  color: var(--brown) !important;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.modal-granadilla .form-control {
  min-height: 52px;
  padding: .8rem 1rem;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(92, 74, 63, .14);
  border-radius: 16px;
  color: var(--ink);
}

.modal-granadilla textarea.form-control {
  min-height: 112px;
  resize: vertical;
}

.modal-granadilla .form-control::placeholder {
  color: #a09588;
}

.modal-granadilla .form-control:focus {
  border-color: rgba(78, 91, 49, .38);
  box-shadow: 0 0 0 .22rem rgba(78, 91, 49, .08);
}

.modal-granadilla input[type="number"] {
  text-align: center;
}

.form-error {
  margin-bottom: 14px;
  padding: 12px 14px;
  background: #fff5db;
  color: #77580a;
  border: 1px solid rgba(119, 88, 10, .18);
  border-radius: 16px;
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
}

.btn-modal-action {
  min-width: 220px;
  padding: 13px 24px;
  background: var(--olive);
  color: #fff;
  border: 1px solid var(--olive);
  box-shadow: 0 14px 30px rgba(52, 69, 45, .18);
}

.btn-modal-action:hover {
  background: var(--forest);
  color: #fff;
}

#btnEmail {
  background: #5d7398;
  border-color: #5d7398;
}

.input-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  margin-bottom: 15px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(92, 74, 63, .14);
  border-radius: 16px;
}

.stepper-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  background: rgba(233, 220, 201, .45);
  border: 0;
  border-radius: 50%;
  color: var(--olive);
  font-size: 18px;
}

.stepper-btn:hover {
  background: rgba(233, 220, 201, .78);
}

.stepper-input {
  width: 42px;
  background: transparent;
  border: 0;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

.stepper-input:focus {
  outline: 0;
}

.stepper-input::-webkit-outer-spin-button,
.stepper-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.modal-action-wrap {
  position: sticky;
  bottom: -1px;
  padding: 18px 0 4px;
  background: linear-gradient(180deg, rgba(251, 248, 240, 0), rgba(251, 248, 240, .86) 28%, rgba(251, 248, 240, .98));
}

.field-error {
  display: none;
  margin-top: 7px;
  color: #a13c34;
  font-size: .82rem;
  line-height: 1.4;
}

.field-error.visible {
  display: block;
}

.modal-granadilla .form-control.is-invalid,
.modal-granadilla .input-stepper.is-invalid {
  border-color: rgba(161, 60, 52, .45) !important;
  box-shadow: 0 0 0 .18rem rgba(161, 60, 52, .08);
}

/* FLOTANTES */
.floating-buttons {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fab {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: rgba(248, 245, 233, .93);
  color: var(--olive);
  border: 1px solid rgba(78, 91, 49, .22);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .13);
  transition: transform .25s ease, background .25s ease, color .25s ease, opacity .25s ease;
}

.fab:hover {
  background: var(--olive);
  color: #fff;
  transform: translateY(-3px);
}

.fab-top {
  opacity: 0;
  pointer-events: none;
}

.fab-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Al llegar al footer se ocultan WhatsApp, Instagram y Facebook.
   El botón "Volver arriba" permanece visible. */
.floating-buttons.footer-visible .fab:not(.fab-top) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(12px) scale(.94);
}

/* ENTRADAS SUAVES */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: .09s;
}

.reveal-delay-2 {
  transition-delay: .18s;
}

.reveal-delay-3 {
  transition-delay: .27s;
}

@media (min-width: 1600px) {
  .seccion-full {
    min-height: 900px;
  }

  .story-section .container {
    max-width: 1460px;
  }

  .editorial-media {
    aspect-ratio: 3 / 2;
  }
}

@media (min-width: 2200px) {
  .seccion-full {
    height: 56.25vw;
    min-height: 1080px;
    max-height: 1440px;
  }
}

@media (max-width: 991.98px) {
  :root {
    --nav-height: 76px;
  }

  .navbar {
    min-height: var(--nav-height);
    height: auto;
    padding: 5px 0;
    background: rgba(248, 245, 233, .96);
    backdrop-filter: blur(14px);
  }

  .logo-white {
    display: none;
  }

  .logo-dark {
    display: block;
  }

  .logo-navbar {
    width: 156px;
  }

  .navbar .nav-link {
    color: var(--brown) !important;
    padding: 10px 13px !important;
    text-align: center;
  }

  .navbar-collapse {
    margin-top: 8px;
    padding: 12px 0 19px;
  }

  .btn-nav-contact {
    display: block;
    width: max-content;
    margin: 5px auto 0;
  }

  .hero-content {
    padding-top: 94px;
  }

  .nav-item-contact {
    margin-left: 0;
  }

  .navbar .btn-nav-contact {
    justify-content: center;
    min-width: 132px;
  }

  .story-section {
    padding: 76px 0;
  }

  .editorial-image {
    margin-left: 0;
  }

  .editorial-image::before {
    display: none;
  }

  .editorial-media {
    aspect-ratio: 3 / 2;
  }

  .seccion-full {
    height: max(650px, 66vw);
    min-height: 650px;
    max-height: 820px;
    padding: 88px 0;
  }

  .seccion-full .contenido {
    padding: 0 72px;
  }

  .contenido-right {
    align-items: flex-start;
    text-align: left;
  }

  .photo-overlay-right {
    background: linear-gradient(90deg, rgba(18, 26, 15, .72), rgba(18, 26, 15, .31) 66%, rgba(18, 26, 15, .09));
  }

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

  .consulta-card {
    min-height: 470px;
  }

  .consulta-content-right {
    margin-left: 0;
    text-align: left;
  }

  .consulta-content-right p {
    margin-left: 0;
  }

  .consulta-empresas .consulta-overlay {
    background: linear-gradient(90deg, rgba(25, 33, 20, .78), rgba(25, 33, 20, .29) 70%, rgba(25, 33, 20, .08));
  }

  .esencia-alojamiento-link {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 94svh;
  }

  .hero::before {
    background-position: center 46%;
  }

  .hero-content {
    justify-content: center;
    text-align: center;
  }

  .hero-panel {
    max-width: 620px;
  }

  .hero h1 {
    margin: 0 auto 18px;
    font-size: 2.95rem;
  }

  .hero-subtitle {
    margin: 0 auto;
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: min(315px, 100%);
  }

  .scroll-indicator {
    bottom: 18px;
  }

  .story-section {
    padding: 66px 0;
  }

  .story-section .section-title {
    font-size: 2.25rem;
  }

  .editorial-media {
    aspect-ratio: 4 / 3;
  }

  .seccion-full {
    height: max(570px, 112vw);
    min-height: 570px;
    max-height: 760px;
    padding: 76px 0;
  }

  .seccion-full .contenido {
    padding: 0 28px;
  }

  .seccion-full h2 {
    font-size: 2.75rem;
  }

  .slider-btn {
    width: 41px;
    height: 41px;
    top: auto;
    bottom: 20px;
    transform: none;
  }

  .slider-btn:hover {
    transform: scale(1.04);
  }

  .slider-btn.prev {
    left: 18px;
  }

  .slider-btn.next {
    right: 18px;
  }

  .slider-dots {
    bottom: 38px;
  }

  .consultas-section {
    min-height: 0;
    padding-top: 42px;
  }

  .consultas-heading {
    margin-bottom: 30px;
  }

  .consultas-heading .section-title {
    font-size: 2.25rem;
  }

  .consulta-card {
    min-height: 410px;
  }

  .consulta-content {
    padding: 44px 26px;
  }

  .consulta-card h3 {
    font-size: 2rem;
  }

  .footer-map-card {
    max-width: 420px;
    margin: 4px 0;
  }

  .footer-contact {
    text-align: left;
  }

  .footer-actions {
    justify-content: flex-start;
  }

  .footer-map-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .floating-buttons {
    right: 14px;
    bottom: 16px;
  }

  .fab {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    padding: 0;
    background: rgba(248, 245, 233, .93);
    color: var(--olive);
    border: 1px solid rgba(78, 91, 49, .22);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .13);
    transition:
      transform .25s ease,
      background .25s ease,
      color .25s ease,
      opacity .25s ease,
      visibility .25s ease;
  }

  .modal-dialog {
    max-width: calc(100vw - 18px);
    margin: 9px;
  }

  .modal-content {
    max-height: 92vh;
  }

  .modal-granadilla-header {
    padding: 22px 20px 10px;
  }

  .modal-granadilla-header .modal-title {
    font-size: 1.55rem;
  }

  .modal-surface {
    padding: 4px;
  }

  .modal-tabs {
    border-radius: 22px;
  }

  .modal-tabs .nav-link {
    width: 100%;
  }

  .btn-modal-action {
    width: min(100%, 320px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* EDITOR DE RECORTES */
.crop-editor-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .72);
  font-size: .82rem;
}

.crop-editor-link:hover {
  color: var(--sand);
}

/* =========================================================
   FIX DESKTOP: una sección fotográfica = una ventana
   Mantiene el recorte configurable sin agrandar el layout.
========================================================= */
@media (min-width: 992px) {
  .seccion-full {
    width: 100%;
    height: calc(100svh - var(--nav-height));
    min-height: 0;
    max-height: none;
    padding: 0;
  }
}

@supports not (height: 100svh) {
  @media (min-width: 992px) {
    .seccion-full {
      height: calc(100vh - var(--nav-height));
    }
  }
}


/* =========================================================
   RESPONSIVE FINAL — navegación, tablet y celular
   - El menú móvil no modifica el offset de los anclajes.
   - Mejora área táctil, jerarquía y lectura sobre fotografías.
   - No fuerza scroll-snap: el desplazamiento sigue siendo natural.
========================================================= */
@media (max-width: 991.98px) {
  .navbar {
    padding: 0;
  }

  .navbar>.container-fluid {
    min-height: var(--nav-height);
    padding-left: 18px;
    padding-right: 18px;
  }

  .navbar:not(.scrolled) .btn-nav-contact {
    border-color: rgba(214, 189, 139, 0.95);
  }

  .navbar:not(.scrolled) .btn-nav-contact:hover,
  .navbar:not(.scrolled) .btn-nav-contact:focus {
    border-color: #d6bd8b;
  }

  .navbar-toggler {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
  }

  .navbar-collapse {
    flex-basis: calc(100% + 36px);
    width: calc(100% + 36px);
    max-height: calc(100svh - var(--nav-height));
    margin: 0 -18px;
    padding: 10px 18px 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(248, 245, 233, .985);
    border-top: 1px solid rgba(78, 91, 49, .08);
    box-shadow: 0 18px 30px rgba(37, 45, 30, .08);
  }

  .navbar-nav {
    gap: 2px;
  }

  .navbar .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px !important;
    border-radius: 12px;
    font-size: .96rem;
  }

  .navbar .nav-link::after {
    display: none;
  }

  .navbar .nav-link.active:not(.btn-nav-contact) {
    color: var(--forest) !important;
    background: rgba(78, 91, 49, .08);
  }

  .navbar .btn-nav-contact {
    min-width: 170px;
    margin-top: 6px;
  }

  body.nav-menu-open {
    overflow: hidden;
  }

  .story-section {
    min-height: 0;
    padding: 68px 0 72px;
  }

  .story-section .row {
    --bs-gutter-y: 2.25rem;
  }

  .story-lead {
    font-size: 1.08rem;
  }

  .story-copy {
    margin-top: 14px;
  }

  .seccion-full .contenido {
    width: 100%;
    padding-left: clamp(38px, 8vw, 72px);
    padding-right: clamp(38px, 8vw, 72px);
  }

  .seccion-full h2 {
    max-width: 620px;
    font-size: clamp(2.7rem, 6vw, 3.25rem);
  }

  .seccion-full p {
    max-width: 530px;
    font-size: 1.13rem;
  }

  .photo-overlay-left,
  .photo-overlay-right {
    background: linear-gradient(90deg, rgba(18, 26, 15, .70) 0%, rgba(18, 26, 15, .40) 52%, rgba(18, 26, 15, .10) 86%);
  }

  .consultas-heading {
    max-width: 700px;
    padding-left: 28px;
    padding-right: 28px;
  }

  .consulta-card {
    min-height: 450px;
  }

  .consulta-content {
    max-width: 620px;
    padding-left: clamp(34px, 8vw, 68px);
    padding-right: clamp(34px, 8vw, 68px);
  }

  .consulta-content-right {
    margin-left: 0;
    text-align: left;
  }

  .consulta-content-right p {
    margin-left: 0;
  }

  .site-footer {
    padding-top: 54px;
  }

  .footer-main-row {
    text-align: center;
  }

  .footer-map-card {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-actions {
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding-top: calc(var(--nav-height) + 18px);
    padding-bottom: 56px;
  }

  .hero-panel {
    padding: 14px 0 30px;
  }

  .hero-kicker {
    margin-bottom: 13px;
    font-size: .7rem;
    letter-spacing: .17em;
  }

  .hero h1 {
    max-width: 540px;
    font-size: clamp(2.55rem, 12vw, 3rem);
    line-height: 1.02;
  }

  .hero-subtitle {
    max-width: 520px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .story-section {
    padding: 54px 0 62px;
  }

  .story-section .section-title {
    font-size: clamp(2.05rem, 9vw, 2.35rem);
  }

  .story-lead {
    font-size: 1.03rem;
    line-height: 1.62;
  }

  .story-copy {
    font-size: .96rem;
    line-height: 1.62;
  }

  .editorial-media {
    border-radius: 5px;
  }

  .essence-nav {
    width: 40px;
    height: 40px;
  }

  .seccion-full .contenido {
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 54px;
  }

  .seccion-full h2 {
    max-width: 520px;
    margin-bottom: 14px;
    font-size: clamp(2.15rem, 10vw, 2.65rem);
    line-height: 1.08;
  }

  .seccion-full p {
    max-width: 480px;
    margin-bottom: 22px;
    font-size: 1.04rem;
    line-height: 1.48;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    bottom: 17px;
  }

  .slider-btn.prev {
    left: 16px;
  }

  .slider-btn.next {
    right: 16px;
  }

  .slider-dots {
    bottom: 32px;
  }

  .consultas-section {
    padding-top: 36px;
  }

  .consultas-heading {
    margin-bottom: 25px;
    padding: 0 20px;
  }

  .consultas-heading .section-title {
    font-size: clamp(2rem, 9vw, 2.3rem);
  }

  .consultas-heading p {
    font-size: .96rem;
    line-height: 1.55;
  }

  .consulta-card {
    min-height: 390px;
  }

  .consulta-content {
    padding: 38px 24px 48px;
  }

  .consulta-card h3 {
    font-size: 1.85rem;
  }

  .consulta-card p {
    margin-bottom: 20px;
    font-size: 1.05rem;
  }

  .btn-cta {
    padding: 13px 22px;
    font-size: .96rem;
  }

  .site-footer {
    padding: 50px 0 22px;
  }

  .footer-logo {
    width: min(220px, 72vw);
  }

  .footer-main-row {
    --bs-gutter-y: 2rem;
  }

  .footer-map-card {
    width: min(100%, 380px);
  }

  .footer-actions {
    gap: 12px 18px;
  }

  .footer-bottom {
    align-items: center;
    text-align: center;
    margin-top: 36px;
  }

  .modal-dialog {
    width: auto;
    max-width: none;
    margin: 10px;
  }

  .modal-granadilla {
    border-radius: 22px;
  }

  .modal-granadilla-header {
    padding: 20px 18px 10px;
  }

  #modalConsulta .modal-body {
    padding: 12px 14px 18px !important;
  }

  .modal-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .modal-tabs .nav-item {
    flex: 1 1 0;
  }

  .modal-tabs .nav-link {
    width: 100%;
    padding: 10px 8px;
  }

  .floating-buttons {
    right: 12px;
    bottom: 14px;
  }
}

@media (max-width: 575.98px) {
  :root {
    --nav-height: 72px;
  }

  .navbar>.container-fluid {
    padding-left: 14px;
    padding-right: 14px;
  }

  .navbar-collapse {
    flex-basis: calc(100% + 28px);
    width: calc(100% + 28px);
    margin-left: -14px;
    margin-right: -14px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .logo-navbar {
    width: 145px;
  }

  .scroll-indicator {
    bottom: 12px;
  }

  .seccion-full .eyebrow {
    margin-bottom: 10px;
  }

  .seccion-full .contenido {
    padding-left: 20px;
    padding-right: 20px;
  }

  .consulta-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .consulta-card h3 {
    font-size: 1.75rem;
  }

  .footer-location {
    font-size: .92rem;
  }

  .footer-actions a {
    font-size: .9rem;
  }

  .fab {
    width: 42px;
    height: 42px;
  }
}

/* Ajustes de interacción táctil para la salida a producción */
button,
a {
  touch-action: manipulation;
}

@media (max-width: 991.98px) {

  .consulta-overlay,
  .consulta-empresas .consulta-overlay {
    background: linear-gradient(90deg, rgba(20, 28, 16, .58) 0%, rgba(20, 28, 16, .30) 58%, rgba(20, 28, 16, .10) 100%);
  }

  .consulta-card h3,
  .consulta-card p,
  .consulta-card .eyebrow {
    text-shadow: 0 2px 8px rgba(0, 0, 0, .28);
  }
}

@media (max-width: 767.98px) {

  .essence-nav,
  .slider-btn {
    width: 44px;
    height: 44px;
  }

  .stepper-btn {
    width: 42px;
    height: 42px;
  }

  .stepper-input {
    font-size: 1rem;
  }
}

@media (hover: none) {

  .btn:hover,
  .fab:hover {
    transform: none;
  }

  .consulta-card:hover .consulta-bg {
    transform: scale(calc(var(--media-scale, 1) * 1.018));
    filter: none;
  }
}

/* =========================================================
   RESPONSIVE V3 — altura real de viewport y espaciado compacto
   Objetivo:
   - Hero: ocupar exactamente la ventana visible.
   - Nuestra esencia: reducir aire superior en tablet/celular.
   - Alojamiento/Actividades: una sección = área visible bajo navbar.
========================================================= */
@media (max-width: 991.98px) {
  .hero {
    height: 100dvh;
    min-height: 100svh;
  }

  .story-section {
    padding: 46px 0 54px;
  }

  .story-section .row {
    --bs-gutter-y: 1.75rem;
  }

  .seccion-full {
    height: calc(100dvh - var(--nav-height));
    min-height: 0;
    max-height: none;
    padding: 0;
  }

  .seccion-full .contenido {
    padding-top: 0;
    padding-bottom: 0;
  }

  .consultas-section {
    padding-top: 34px;
  }

  .consulta-card {
    min-height: 410px;
  }
}

@media (max-width: 767.98px) {
  .hero {
    height: 100dvh;
    min-height: 100svh;
  }

  .hero-content {
    padding-top: calc(var(--nav-height) + 8px);
    padding-bottom: 34px;
  }

  .hero-panel {
    padding-top: 8px;
    padding-bottom: 22px;
  }

  .story-section {
    padding: 32px 0 42px;
  }

  .story-section .row {
    --bs-gutter-y: 1.5rem;
  }

  .seccion-full {
    height: calc(100dvh - var(--nav-height));
    min-height: 0;
    max-height: none;
    padding: 0;
  }

  .seccion-full .contenido {
    padding-top: 0;
    padding-bottom: 0;
  }

  .consultas-section {
    padding-top: 28px;
  }

  .consultas-heading {
    margin-bottom: 20px;
  }

  .consulta-card {
    min-height: 350px;
  }

  .consulta-content {
    padding-top: 32px;
    padding-bottom: 38px;
  }
}

/* Fallback para navegadores sin unidades dinámicas */
@supports not (height: 100dvh) {
  @media (max-width: 991.98px) {
    .hero {
      height: 100vh;
      min-height: 100vh;
    }

    .seccion-full {
      height: calc(100vh - var(--nav-height));
    }
  }
}

/* En pantallas bajas/horizontales priorizamos que el contenido nunca se corte. */
@media (max-width: 991.98px) and (max-height: 620px) {
  .seccion-full {
    height: auto;
    min-height: 540px;
    padding: 46px 0;
  }
}

@media (max-width: 991.98px) {
  .editorial-media {
    height: clamp(300px, 52vw, 420px);
    aspect-ratio: auto;
  }
}

@media (max-width: 767.98px) {
  .editorial-media {
    height: clamp(240px, 68vw, 330px);
    aspect-ratio: auto;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991.98px) {
  #essenceSlider video.essence-media-item {
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
  }
}

/* Celular */
@media (max-width: 767.98px) {
  #essenceSlider video.essence-media-item {
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
  }
}

/* ============================================
   SCROLL SUAVE ENTRE SECCIONES
   ============================================ */

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scroll-padding-top: var(--nav-height);
}

/* Secciones principales */
.hero,
#nosotros,
#habitaciones,
#actividades,
#consultas {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

#habitaciones,
#actividades,
#nosotros,
#consultas {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

@media (max-width: 991.98px) {
  html {
    scroll-snap-type: y proximity;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }
}

.guest-age-note {
  margin-top: -15px;
  font-size: .76rem;
  font-style: italic;
  line-height: 1.35;
  color: rgba(65, 73, 55, .68);
}

@media (max-width: 767.98px) {
  .guest-age-note {
    margin-bottom: 10px;
    font-size: .74rem;
  }
}