/* ═══════════════════════════════════════════════════════════════
   MÁLAGA CAMPER — style.css
   Paleta: verde noche · arena · crema · marrón tierra
   ═══════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  --c-dark:       #1B3A2F;
  --c-dark-2:     #162E25;
  --c-green:      #3D5E36;
  --c-green-light:#5A8050;
  --c-brown:      #7A5230;
  --c-sand:       #EDE0C8;
  --c-sand-light: #F7F2EA;
  --c-cream:      #FDFAF6;
  --c-white:      #FFFFFF;
  --c-text:       #1A1A1A;
  --c-text-muted: #666;
  --c-border:     #D9CDB8;

  --f-display: 'Playfair Display', Georgia, serif;
  --f-body:    'DM Sans', system-ui, sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.375rem;
  --fs-xl:   clamp(1.8rem, 3vw, 2.5rem);
  --fs-2xl:  clamp(2.2rem, 4.5vw, 3.5rem);
  --fs-hero: clamp(2.6rem, 6vw, 5rem);

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;

  --radius:    6px;
  --radius-lg: 14px;
  --shadow:    0 4px 24px rgba(27,58,47,.10);
  --shadow-lg: 0 12px 48px rgba(27,58,47,.18);
  --trans:     all .28s cubic-bezier(.4,0,.2,1);
  --navbar-h:  68px;
}

/* ─── ACCESSIBILITY ──────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-body);
  font-size: var(--fs-base);
  color: var(--c-text);
  background: var(--c-cream);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; font-family: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, select, textarea {
  font-family: inherit;
  font-size: var(--fs-base);
}

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.container {
  width: min(1200px, 100% - 2 * var(--space-md));
  margin-inline: auto;
}

.section {
  padding: var(--space-xl) 0;
}
.section--dark   { background: var(--c-dark); color: var(--c-cream); }
.section--cream  { background: var(--c-cream); }
.section--white  { background: var(--c-white); }
.section--sand   { background: var(--c-sand); }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-green);
  background: rgba(61,94,54,.1);
  padding: .3em .9em;
  border-radius: 99px;
  margin-bottom: var(--space-sm);
}
.section-tag--light {
  color: var(--c-sand);
  background: rgba(237,224,200,.15);
}

.section-title {
  font-family: var(--f-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: var(--space-md);
  color: var(--c-dark);
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-brown);
}
.section-title .title-brand {
  font-style: normal;
  font-weight: 700;
  color: var(--c-brown);
}
.section-title--light      { color: var(--c-cream); }
.section-title--light em   { color: var(--c-sand); }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .75em 1.8em;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: var(--fs-sm);
  letter-spacing: .03em;
  transition: var(--trans);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-green);
  color: var(--c-white);
  border-color: var(--c-green);
}
.btn--primary:hover {
  background: var(--c-dark);
  border-color: var(--c-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn--ghost {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,.5);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--c-white);
}
.btn--outline {
  background: transparent;
  color: var(--c-green);
  border-color: var(--c-green);
}
.btn--outline:hover {
  background: var(--c-green);
  color: var(--c-white);
}
.btn--full { width: 100%; justify-content: center; }

/* ─── LANGUAGE SWITCHER ──────────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-right: .5rem;
}
.lang-btn {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255,255,255,.45);
  transition: color .2s, opacity .2s;
  padding: .2em .3em;
  border-radius: 3px;
  text-decoration: none;
}
.lang-btn:hover { color: rgba(255,255,255,.85); }
.lang-btn--active { color: #fff; opacity: 1; }
.lang-divider { font-size: .65rem; color: rgba(255,255,255,.2); }
@media (max-width: 768px) { .lang-switcher { margin-right: .25rem; } }

/* ─── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-md);
  transition: var(--trans);
}
.navbar.scrolled {
  background: rgba(27,58,47,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: .6em;
  font-weight: 600;
  color: var(--c-white);
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--c-green);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c-white);
  flex-shrink: 0;
  overflow: hidden;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius);
}
.logo-text { font-family: var(--f-display); font-size: 1.05rem; }

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.navbar__links a {
  color: rgba(255,255,255,.85);
  font-size: var(--fs-sm);
  transition: color .2s;
}
.navbar__links a:hover { color: var(--c-white); }
.btn-nav {
  background: var(--c-green);
  color: var(--c-white) !important;
  padding: .5em 1.2em;
  border-radius: var(--radius);
  transition: var(--trans) !important;
}
.btn-nav:hover {
  background: var(--c-green-light) !important;
  transform: translateY(-1px);
}

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.navbar__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: var(--trans);
}
.navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU ────────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 850;
  background: var(--c-dark-2);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { text-align: center; }
.mobile-menu li + li { margin-top: var(--space-md); }
.mobile-menu a {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: var(--c-cream);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--c-sand); }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: #1B3A2F;
}
.hero__bg {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.25) saturate(1.1);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(27,58,47,.72) 0%,
    rgba(27,58,47,.35) 50%,
    rgba(0,0,0,.15) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--navbar-h) + 6vh) var(--space-md) 0;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  color: var(--c-white);
  animation: heroFadeUp .9s ease both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__eyebrow {
  font-size: var(--fs-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-sand);
  margin-bottom: var(--space-sm);
  opacity: 0;
  animation: heroFadeUp .7s .2s ease forwards;
}
.hero__title {
  font-family: var(--f-display);
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: var(--space-sm);
  opacity: 0;
  animation: heroFadeUp .8s .35s ease forwards;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-sand);
}
.hero__sub {
  font-size: var(--fs-md);
  color: rgba(255,255,255,.82);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: heroFadeUp .8s .5s ease forwards;
}
.hero__ctas {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp .8s .65s ease forwards;
}

.hero__lang-flags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  margin-top: 1.25rem;
  opacity: 0;
  animation: heroFadeUp .8s .85s ease forwards;
}
.hero__flag {
  opacity: .4;
  transition: opacity .2s, transform .2s;
  text-decoration: none;
  display: block;
  line-height: 0;
  border-radius: 4px;
  overflow: hidden;
}
.hero__flag img {
  width: 36px;
  height: auto;
  display: block;
  border-radius: 4px;
}
.hero__flag:hover { opacity: .85; transform: scale(1.1); }
.hero__flag--active { opacity: 1; filter: drop-shadow(0 2px 8px rgba(0,0,0,.55)); }

.hero__scroll {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.5);
  animation: scrollPulse 1.6s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: .5; }
  50%      { transform: scaleY(.5); opacity: 1; }
}

/* ─── INTRO ──────────────────────────────────────────────────── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-lg);
  align-items: center;
}
.intro-text p {
  color: var(--c-text-muted);
  margin-bottom: var(--space-sm);
  max-width: 520px;
}
.intro-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.stat-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  min-width: 160px;
  box-shadow: var(--shadow);
  transition: var(--trans);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stat-num {
  display: block;
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-top: .3em;
}

/* ─── SECTION CTA ────────────────────────────────────────────── */
.section-cta {
  text-align: center;
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6em;
}
.section-cta--galeria { padding-bottom: var(--space-md); }
.section-cta--dark .btn--primary {
  background: var(--c-green-light);
  border-color: var(--c-green-light);
}
.section-cta--dark .btn--primary:hover {
  background: var(--c-sand);
  border-color: var(--c-sand);
  color: var(--c-dark);
}
.section-cta__sub {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}
.feature-card p small {
  display: block;
  margin-top: .4em;
  font-size: var(--fs-xs);
  color: rgba(237,224,200,.6);
  font-style: italic;
}

/* ─── INTRO VALUE CARDS ──────────────────────────────────────── */
.intro-value-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--trans);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5em;
  min-width: 160px;
}
.intro-value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.intro-value-card__icon { font-size: 2rem; line-height: 1; }
.intro-value-card__title {
  font-family: var(--f-display);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.2;
}
.intro-value-card__desc {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ─── FEATURES ───────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.feature-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: var(--trans);
}
.feature-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-3px);
}
.feature-icon {
  font-size: 1.8rem;
  margin-bottom: .6em;
  display: block;
}
.feature-card h3 {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  color: var(--c-sand);
  margin-bottom: .4em;
}
.feature-card h3 small {
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--c-sand);
  margin-left: .3em;
}
.feature-card p {
  font-size: var(--fs-sm);
  color: rgba(237,224,200,.7);
  line-height: 1.6;
}

/* ─── CAROUSEL ───────────────────────────────────────────────── */
.carousel {
  position: relative;
  width: min(900px, 94%);
  margin: var(--space-md) auto 0;
  user-select: none;
}
.carousel__track-wrap {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.carousel__track {
  display: flex;
  gap: 0;
  transition: transform .8s ease-in-out;
  will-change: transform;
}
.carousel__slide {
  flex: 0 0 100%;
  width: 100%;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border: none;
  background: #111;
  padding: 0;
  display: block;
  width: 100%;
  height: 560px;
  cursor: zoom-in;
  border-radius: 14px;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s ease;
  display: block;
}
.gallery__item:hover img { transform: scale(1.03); }
.gallery__zoom {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(27,58,47,.7);
  color: var(--c-white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity .4s ease;
  backdrop-filter: blur(4px);
}
.gallery__item:hover .gallery__zoom { opacity: 1; }

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(253,250,246,.88);
  color: var(--c-dark);
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background .3s ease, transform .3s ease;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 14px rgba(0,0,0,.22);
}
.carousel__btn:hover {
  background: var(--c-white);
  transform: translateY(-50%) scale(1.1);
}
.carousel__btn--prev { left: 12px; }
.carousel__btn--next { right: 12px; }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: .5em;
  margin-top: .9em;
  flex-wrap: wrap;
}
.carousel__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  background: var(--c-border);
  cursor: pointer;
  transition: background .4s ease, transform .4s ease;
  padding: 0;
}
.carousel__dot.active {
  background: var(--c-green);
  transform: scale(1.5);
}

@media (max-width: 768px) {
  .carousel { width: 96%; }
  .gallery__item { height: 420px; }
}
@media (max-width: 480px) {
  .carousel { width: 100%; }
  .gallery__item { height: 280px; border-radius: var(--radius); }
  .carousel__btn--prev { left: 8px; }
  .carousel__btn--next { right: 8px; }
}

/* ─── LIGHTBOX ───────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10,20,15,.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: lbFade .25s ease;
}
@keyframes lbFade {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox__close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 1.6rem;
  transition: color .2s;
}
.lightbox__close:hover { color: var(--c-white); }
.lightbox__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: var(--c-white);
  font-size: 2.2rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: var(--trans);
}
.lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* ─── PRICING ────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  align-items: start;
}
.price-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-md) var(--space-lg);
  position: relative;
  background: var(--c-white);
  transition: var(--trans);
}
.price-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.price-card--featured {
  border-color: var(--c-green);
  border-width: 2px;
  box-shadow: var(--shadow);
}
.price-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--c-green);
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3em 1em;
  border-radius: 99px;
  white-space: nowrap;
}
.price-season {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: .2em;
}
.price-months {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  margin-bottom: var(--space-md);
  letter-spacing: .04em;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: .3em;
  margin-bottom: var(--space-md);
}
.price-num {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--c-green);
  line-height: 1;
}
.price-unit {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}
.price-includes {
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: .45em;
}
.price-includes li {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  padding-left: 1.2em;
  position: relative;
}
.price-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-green);
  font-weight: 700;
}
.pricing-note {
  margin-top: var(--space-md);
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  text-align: center;
}

/* ─── RESERVA ────────────────────────────────────────────────── */
.reserva-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-lg);
  align-items: center;
}
.reserva-desc {
  color: rgba(237,224,200,.8);
  margin-bottom: var(--space-md);
  max-width: 380px;
}
.reserva-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.contact-item {
  display: flex;
  align-items: center;
  gap: .7em;
  font-size: var(--fs-sm);
  color: rgba(237,224,200,.75);
}
.contact-icon { font-size: 1.1rem; }

.reserva-form-wrap {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
}
.reserva-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .35em;
}
.form-group label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: .7em 1em;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-cream);
  color: var(--c-text);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(61,94,54,.15);
}
.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #c0392b;
}
.form-error {
  font-size: var(--fs-xs);
  color: #c0392b;
  min-height: 1em;
}
.price-estimate {
  background: var(--c-sand-light);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: .8em 1em;
  font-size: var(--fs-sm);
  color: var(--c-dark);
  font-weight: 500;
  text-align: center;
  min-height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.price-estimate strong { color: var(--c-green); }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  gap: 1.1rem;
}
.form-success[hidden] { display: none; }

.success-anim { width: 88px; height: 88px; }
.success-svg { width: 100%; height: 100%; }
.success-svg__circle {
  stroke: var(--c-green);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-miterlimit: 10;
  animation: draw-circle .65s cubic-bezier(.65,0,.45,1) .1s forwards;
}
.success-svg__tick {
  stroke: var(--c-green);
  stroke-width: 2.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: draw-tick .32s cubic-bezier(.65,0,.45,1) .78s forwards;
}
@keyframes draw-circle { 100% { stroke-dashoffset: 0; } }
@keyframes draw-tick   { 100% { stroke-dashoffset: 0; } }

.success-title {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  color: var(--c-dark);
  margin: 0;
}
.success-msg {
  color: var(--c-text-muted);
  font-size: var(--fs-md);
  max-width: 340px;
  line-height: 1.65;
  margin: 0;
}
.success-msg strong { color: var(--c-dark); }
.success-close-btn { margin-top: .4rem; }

/* Flatpickr overrides */
.flatpickr-calendar {
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-lg) !important;
  font-family: var(--f-body) !important;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--c-green) !important;
  border-color: var(--c-green) !important;
}
.flatpickr-day.inRange {
  background: rgba(61,94,54,.15) !important;
  border-color: transparent !important;
}

/* Inline calendar */
.flatpickr-calendar.inline {
  box-shadow: none !important;
  border: 1px solid rgba(0,0,0,.09) !important;
  border-radius: var(--radius-lg) !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: .75rem;
}
.flatpickr-calendar.inline .dayContainer {
  width: 100% !important;
  min-width: unset !important;
  max-width: unset !important;
}
.flatpickr-calendar.inline .flatpickr-days {
  width: 100% !important;
}
.flatpickr-calendar.inline .flatpickr-day {
  max-width: unset !important;
  flex-basis: 14.2857% !important;
}
.calc-dates-input { display: none !important; }
.calc-dates-wrap  { flex-direction: column; align-items: flex-start; }
.calc-days-count  { margin-top: .5rem; }


/* ─── WEBCAMS ────────────────────────────────────────────────── */
.webcams-desc {
  color: var(--c-text-muted);
  max-width: 680px;
  margin-bottom: var(--space-md);
  line-height: 1.75;
}
.webcams-btn-all { display: block; width: fit-content; margin: 0 auto var(--space-lg); }
.webcams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.webcam-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  gap: .9em;
  align-items: flex-start;
  box-shadow: var(--shadow);
  transition: var(--trans);
}
.webcam-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-green-light);
}
.webcam-card__icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: .1em;
}
.webcam-card__body { display: flex; flex-direction: column; gap: .35em; }
.webcam-card h3 {
  font-family: var(--f-display);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.3;
}
.webcam-card p {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.55;
  margin: 0;
}
.webcam-card__link {
  display: inline-block;
  margin-top: .4em;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-green);
  transition: color .2s, gap .2s;
}
.webcam-card__link:hover { color: var(--c-dark); }

.webcams-more {
  background: var(--c-sand);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}
.webcams-more p {
  color: var(--c-dark);
  font-size: var(--fs-md);
  max-width: 520px;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .webcams-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .webcams-grid { grid-template-columns: 1fr; }
}

/* ─── TESTIMONIOS ────────────────────────────────────────────── */
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  transition: transform .4s ease;
}
@media (max-width: 900px) {
  .testimonials-track {
    grid-template-columns: 1fr;
    overflow: hidden;
  }
  .testimonial-card { display: none; }
  .testimonial-card.active { display: block; }
}
.testimonial-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow);
  transition: var(--trans);
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.testimonial-quote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--fs-md);
  color: var(--c-dark);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.testimonial-quote::before { content: '"'; color: var(--c-green); font-size: 2rem; line-height: 0; vertical-align: -.4em; margin-right: .1em; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .8em;
  margin-bottom: .5em;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  background: var(--c-green);
  color: var(--c-white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .05em;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: var(--fs-sm); color: var(--c-dark); }
.testimonial-author span  { font-size: var(--fs-xs); color: var(--c-text-muted); }
.testimonial-stars { color: #D4A017; font-size: var(--fs-sm); letter-spacing: .1em; }

.testimonials-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
@media (max-width: 900px) { .testimonials-nav { display: flex; } }
.t-btn {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  color: var(--c-dark);
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  transition: var(--trans);
}
.t-btn:hover { background: var(--c-dark); color: var(--c-white); }
.t-dots { display: flex; gap: .4em; }
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-border);
  transition: background .25s;
  border: none;
  cursor: pointer;
  padding: 0;
}
.t-dot.active { background: var(--c-green); }

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq-container .section-title { margin-bottom: 0; }

/* ─── RESERVA SOCIAL ─────────────────────────────────────────── */
.reserva-social-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-self: center;
}
.reserva-social__intro {
  color: rgba(237,224,200,.8);
  font-size: var(--fs-md);
  line-height: 1.6;
}
.reserva-divider {
  width: 48px;
  height: 2px;
  background: #d2b98c;
  margin: var(--space-sm) 0;
}
.reserva-social__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
.rsocial-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}
.rsocial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.rsocial-card__left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.rsocial-card__left svg { flex-shrink: 0; }
.rsocial-card__text {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.rsocial-card__handle {
  font-family: var(--f-display);
  font-size: var(--fs-md);
  font-weight: 700;
}
.rsocial-card__sub {
  font-size: var(--fs-sm);
  opacity: .8;
}
.rsocial-card__arrow {
  font-size: 1.4rem;
  opacity: .7;
}
.rsocial-card--ig {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.rsocial-card--tt {
  background: #000000;
  border: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 540px) {
  .rsocial-card { padding: 20px; }
}

/* ─── MAPA ───────────────────────────────────────────────────── */
.mapa-section .container { margin-bottom: var(--space-md); }
.mapa-desc {
  color: rgba(237,224,200,.75);
  max-width: 520px;
  margin-top: -.5em;
}
.mapa-embed {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  filter: grayscale(20%);
}
.mapa-embed iframe { display: block; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--c-dark-2);
  color: rgba(237,224,200,.75);
  padding: var(--space-lg) 0 var(--space-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo-mark {
  margin-bottom: var(--space-sm);
  width: 44px; height: 44px;
  font-size: var(--fs-sm);
}
.footer-slogan {
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--fs-md);
  color: var(--c-sand);
  line-height: 1.5;
}
.footer-links h4 {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--c-sand);
  margin-bottom: var(--space-sm);
}
.footer-links li + li { margin-top: .5em; }
.footer-links a {
  font-size: var(--fs-sm);
  transition: color .2s;
}
.footer-links a:hover { color: var(--c-white); }
.footer-social h4 {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--c-sand);
  margin-bottom: var(--space-sm);
}
.social-links {
  display: flex;
  flex-direction: column;
  gap: .5em;
}
.social-links a {
  font-size: var(--fs-sm);
  transition: color .2s;
}
.social-links a:hover { color: var(--c-white); }
.footer-bottom {
  text-align: center;
  padding-top: var(--space-sm);
  font-size: var(--fs-xs);
  color: rgba(237,224,200,.4);
}

/* ─── PRIVACIDAD Y COOKIES ───────────────────────────────────── */

/* Banner cookies */
.cookies-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1800;
  background: var(--c-dark);
  color: var(--c-cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 1rem var(--space-md);
  box-shadow: 0 -4px 24px rgba(0,0,0,.25);
  animation: cookieSlideUp .4s ease;
}
.cookies-banner[hidden] { display: none; }
.cookies-banner--hide { animation: cookieSlideDown .4s ease forwards; }
@keyframes cookieSlideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
@keyframes cookieSlideDown {
  from { transform: translateY(0); }
  to   { transform: translateY(100%); }
}
.cookies-banner p {
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin: 0;
  max-width: 800px;
}
.cookies-banner a {
  color: var(--c-sand);
  text-decoration: underline;
  transition: color .2s;
}
.cookies-banner a:hover { color: var(--c-white); }
.cookies-banner__btn {
  background: var(--c-sand);
  color: var(--c-dark);
  border: none;
  padding: .55em 1.4em;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--fs-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--trans);
  flex-shrink: 0;
}
.cookies-banner__btn:hover { background: var(--c-white); }

/* Página de privacidad */
.privacidad-section { padding-top: calc(var(--navbar-h) + var(--space-xl)); }
.privacidad-container { max-width: 820px; }
.privacidad-responsable {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin: var(--space-md) 0 var(--space-lg);
  box-shadow: var(--shadow);
}
.privacidad-responsable__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .4em;
  margin-top: .6em;
}
.privacidad-responsable__list li { font-size: var(--fs-sm); color: var(--c-text-muted); }
.privacidad-responsable__list strong { color: var(--c-dark); }
.privacidad-blocks {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.privacidad-block {
  border-left: 3px solid var(--c-green);
  padding-left: var(--space-md);
}
.privacidad-block__title {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: .5em;
}
.privacidad-block p,
.privacidad-block li {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.75;
}
.privacidad-block ul {
  list-style: disc;
  padding-left: 1.4em;
  display: flex;
  flex-direction: column;
  gap: .3em;
}
.privacidad-block a { color: var(--c-green); text-decoration: underline; }
.privacidad-fecha {
  margin-top: var(--space-lg);
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  font-style: italic;
}
.footer-bottom a {
  color: rgba(237,224,200,.5);
  transition: color .2s;
}
.footer-bottom a:hover { color: var(--c-sand); }

@media (max-width: 480px) {
  .cookies-banner { flex-direction: column; align-items: flex-start; gap: .8em; }
}

/* ─── CHATBOT ────────────────────────────────────────────────── */
.chatbot {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  font-family: var(--f-body);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Burbuja */
.chatbot__bubble {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--c-green);
  border: none;
  cursor: pointer;
  font-size: 28px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 24px rgba(27,58,47,.4);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  flex-shrink: 0;
}
.chatbot__bubble:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(27,58,47,.5); }
.chatbot__badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 12px; height: 12px;
  background: #e53935;
  border-radius: 50%;
  border: 2px solid var(--c-white);
}

/* Ventana */
.chatbot__window {
  width: 340px;
  height: 480px;
  background: var(--c-cream);
  border-radius: 14px;
  box-shadow: 0 12px 48px rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: chatOpen .25s cubic-bezier(.4,0,.2,1);
}
.chatbot__window[hidden] { display: none; }
@keyframes chatOpen {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

/* Cabecera */
.chatbot__header {
  background: var(--c-dark);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.chatbot__header-info { display: flex; flex-direction: column; gap: 2px; }
.chatbot__header-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-sand);
}
.chatbot__header-sub {
  font-size: var(--fs-xs);
  color: rgba(237,224,200,.6);
}
.chatbot__header-close {
  background: none;
  border: none;
  color: rgba(237,224,200,.7);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color .2s;
}
.chatbot__header-close:hover { color: var(--c-sand); }

/* Mensajes */
.chatbot__messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.chat-msg {
  max-width: 82%;
  padding: 9px 13px;
  font-size: var(--fs-sm);
  line-height: 1.55;
  animation: msgIn .2s ease;
  word-break: break-word;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.chat-msg--user {
  align-self: flex-end;
  background: var(--c-green);
  color: var(--c-white);
  border-radius: 14px 4px 4px 14px;
}
.chat-msg--bot {
  align-self: flex-start;
  background: var(--c-white);
  color: var(--c-text);
  border: 1px solid var(--c-border);
  border-radius: 4px 14px 14px 4px;
}

/* Puntos "escribiendo" */
.chat-msg--typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 12px 16px;
}
.chat-msg--typing span {
  display: block;
  width: 7px; height: 7px;
  background: var(--c-text-muted);
  border-radius: 50%;
  animation: typingDot 1.2s infinite;
}
.chat-msg--typing span:nth-child(2) { animation-delay: .2s; }
.chat-msg--typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot {
  0%,80%,100% { transform: scale(1); opacity: .5; }
  40%         { transform: scale(1.3); opacity: 1; }
}

/* Input */
.chatbot__input-wrap {
  display: flex;
  border-top: 1px solid var(--c-border);
  background: var(--c-white);
  flex-shrink: 0;
}
.chatbot__input {
  flex: 1;
  border: none;
  padding: 11px 14px;
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  background: transparent;
  color: var(--c-text);
  outline: none;
}
.chatbot__input::placeholder { color: var(--c-text-muted); }
.chatbot__send {
  background: var(--c-green);
  border: none;
  color: var(--c-white);
  width: 46px;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}
.chatbot__send:hover { background: var(--c-dark); }

@media (max-width: 480px) {
  .chatbot { bottom: 16px; right: 16px; }
  .chatbot__window {
    position: fixed;
    bottom: 0; right: 0; left: 0;
    width: 100%;
    height: 75vh;
    border-radius: 14px 14px 0 0;
  }
}

/* ─── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .intro-grid      { grid-template-columns: 1fr; }
  .intro-stats     { flex-direction: row; justify-content: flex-start; }
  .features-grid   { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid    { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 4.5rem;
    --space-lg: 2.5rem;
  }
  .navbar__links   { display: none; }
  .navbar__burger  { display: flex; }


  .reserva-grid    { grid-template-columns: 1fr; }
  .form-row        { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .intro-stats     { flex-direction: column; }
  .features-grid   { grid-template-columns: 1fr; }
  .hero__ctas      { flex-direction: column; align-items: center; }
}

/* ─── CARACTERÍSTICAS ADICIONALES ───────────────────────────── */
.extra-features {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.extra-features__title {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-sand);
  margin-bottom: var(--space-md);
}

/* Parte A */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}
.vehicle-item {
  display: flex;
  gap: .85em;
  align-items: flex-start;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: var(--space-sm) var(--space-md);
  transition: var(--trans);
}
.vehicle-item:hover { background: rgba(255,255,255,.1); }
.vehicle-item__icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: .1em;
}
.vehicle-item strong {
  display: block;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-sand);
  margin-bottom: .25em;
}
.vehicle-item p {
  font-size: var(--fs-sm);
  color: rgba(237,224,200,.7);
  line-height: 1.55;
  margin: 0;
}

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

/* ─── CALCULADOR DE PRECIO ───────────────────────────────────── */
.calc-wrapper {
  max-width: 780px;
  margin: var(--space-lg) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.calc-step { display: flex; flex-direction: column; gap: .8em; }
.calc-step__label {
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--c-dark);
  display: flex;
  align-items: center;
  gap: .55em;
}
.calc-step__label small {
  font-weight: 400;
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}
.calc-step__num {
  display: inline-flex;
  width: 24px; height: 24px;
  background: var(--c-green);
  color: var(--c-white);
  border-radius: 50%;
  font-size: var(--fs-xs);
  font-weight: 700;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Paquetes */
.calc-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}
.pkg-card {
  border: 2px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  cursor: pointer;
  background: var(--c-white);
  transition: var(--trans);
  display: flex;
  flex-direction: column;
  gap: .4em;
}
.pkg-card:hover { border-color: var(--c-green-light); box-shadow: var(--shadow); }
.pkg-card.selected {
  border-color: var(--c-green);
  background: rgba(61,94,54,.06);
  box-shadow: var(--shadow);
}
.pkg-card__name {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-dark);
}
.pkg-card__price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-green);
  line-height: 1;
}
.pkg-card__price small { font-size: var(--fs-sm); font-weight: 400; color: var(--c-text-muted); }
.pkg-card__info {
  margin-top: .3em;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .2em;
}
.pkg-card__info li {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  padding-left: 1em;
  position: relative;
}
.pkg-card__info li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--c-green);
  font-weight: 700;
}

/* Extras */
.calc-extras {
  display: flex;
  flex-wrap: wrap;
  gap: .7em;
}
.extra-check {
  display: flex;
  align-items: center;
  gap: .55em;
  cursor: pointer;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  padding: .55em .9em;
  background: var(--c-white);
  transition: var(--trans);
  user-select: none;
}
.extra-check:hover { border-color: var(--c-green-light); }
.extra-check input:checked ~ .extra-check__box { background: var(--c-green); border-color: var(--c-green); }
.extra-check input:checked ~ .extra-check__box::after { opacity: 1; }
.extra-check input:checked ~ * { color: var(--c-dark); }
.extra-check__box {
  width: 18px; height: 18px;
  border: 2px solid var(--c-border);
  border-radius: 4px;
  background: var(--c-cream);
  flex-shrink: 0;
  transition: var(--trans);
  position: relative;
}
.extra-check__box::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 6px; height: 9px;
  border: 2px solid var(--c-white);
  border-top: 0; border-left: 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity .15s;
}
.extra-check__text { font-size: var(--fs-sm); color: var(--c-text-muted); }
.extra-check__price { font-size: var(--fs-sm); font-weight: 600; color: var(--c-green); margin-left: .2em; }

/* Días */
.calc-days-wrap {
  display: flex;
  align-items: center;
  gap: .7em;
}
.calc-days-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--c-border);
  background: var(--c-white);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-dark);
  display: grid;
  place-items: center;
  transition: var(--trans);
  cursor: pointer;
}
.calc-days-btn:hover { border-color: var(--c-green); background: var(--c-green); color: var(--c-white); }
.calc-days-input {
  width: 64px;
  text-align: center;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  padding: .45em .5em;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-dark);
  background: var(--c-cream);
  outline: none;
}
.calc-days-input:focus { border-color: var(--c-green); box-shadow: 0 0 0 3px rgba(61,94,54,.12); }
.calc-days-unit { font-size: var(--fs-sm); color: var(--c-text-muted); }

/* Resumen */
.calc-summary {
  background: var(--c-sand-light);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}
.calc-summary__placeholder { color: var(--c-text-muted); font-size: var(--fs-sm); }
.calc-summary__rows {
  display: flex;
  flex-direction: column;
  gap: .4em;
  margin-bottom: var(--space-sm);
}
.calc-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}
.calc-row strong { color: var(--c-dark); font-weight: 600; }
.calc-row--section {
  border-top: 1px solid var(--c-border);
  padding-top: .4em;
  margin-top: .2em;
  font-weight: 600;
  color: var(--c-dark);
  font-size: var(--fs-base);
}
.calc-total {
  border-top: 2px solid var(--c-green);
  padding-top: var(--space-sm);
  margin-top: var(--space-sm);
}
.calc-total__breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.calc-total__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--c-text-muted);
}
.calc-total__row--final {
  border-top: 1px solid rgba(0,0,0,0.15);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-dark);
}
.calc-total__label {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-dark);
}
.calc-total__final-amount {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-dark);
}
.calc-note {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  margin-top: var(--space-sm);
}
.calc-note--warning {
  margin-top: 0.25rem;
  font-style: italic;
  opacity: 0.85;
}
.calc-fianza {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.04);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.calc-fianza__amount {
  font-weight: 600;
}
.calc-cta { margin-top: .5em; }
.calc-cta:disabled { opacity: .45; cursor: not-allowed; }

@media (max-width: 640px) {
  .calc-packages { grid-template-columns: 1fr; }
  .calc-extras   { flex-direction: column; }
}

/* ─── POPUP CONDICIONES ALQUILER ────────────────────────────── */
.calc-header-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: var(--space-sm);
}
.btn--conditions {
  font-size: var(--fs-base);
  font-weight: 600;
  padding: .7em 1.6em;
  border-width: 2px;
  border-color: var(--c-green);
  color: var(--c-green);
  background: rgba(61,94,54,.07);
  letter-spacing: .01em;
}
.btn--conditions:hover {
  background: var(--c-green);
  color: var(--c-white);
}
.calc-season-note {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  margin-top: .5em;
}
.pkg-card__prices {
  display: flex;
  flex-direction: column;
  gap: .15em;
  margin: .2em 0;
}
.pkg-card__price--alta {
  color: var(--c-brown);
}
.calc-dates-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}
.calc-dates-input {
  flex: 1;
  min-width: 220px;
  padding: .7em 1em;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-cream);
  color: var(--c-text);
  font-size: var(--fs-base);
  cursor: pointer;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.calc-dates-input:focus {
  border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(61,94,54,.12);
}
.calc-days-count {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-green);
  white-space: nowrap;
}

.popup--condiciones { max-width: 740px; }
.popup__condiciones-title {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: var(--space-md);
  padding-right: 2rem;
}
.cond-block { margin-bottom: var(--space-md); }
.cond-block__title {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: .8em;
}
.cond-divider {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: var(--space-md) 0;
}
.cond-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .7em;
}
.cond-item {
  display: flex;
  gap: .7em;
  align-items: flex-start;
  background: var(--c-sand-light);
  border-radius: var(--radius);
  padding: .7em .9em;
}
.cond-item--full { grid-column: span 2; }
.cond-item__icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .1em; }
.cond-item strong { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--c-dark); margin-bottom: .2em; }
.cond-item p { font-size: var(--fs-xs); color: var(--c-text-muted); margin: 0; line-height: 1.5; }

.cond-cancel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6em;
}
.cond-cancel-list li {
  display: flex;
  align-items: center;
  gap: .7em;
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  background: var(--c-sand-light);
  border-radius: var(--radius);
  padding: .6em .9em;
}
.cond-cancel__pct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: .2em .5em;
  border-radius: 99px;
  font-size: var(--fs-xs);
  font-weight: 700;
  flex-shrink: 0;
}
.cond-cancel__pct--full  { background: #d4edda; color: #1a5e2e; }
.cond-cancel__pct--half  { background: #fff3cd; color: #856404; }
.cond-cancel__pct--none  { background: #f8d7da; color: #842029; }
.cond-cancel__pct--change { background: rgba(61,94,54,.12); color: var(--c-green); }

@media (max-width: 560px) {
  .cond-grid { grid-template-columns: 1fr; }
  .cond-item--full { grid-column: auto; }
}

/* ─── POPUP RESERVA ──────────────────────────────────────────── */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(10,20,15,.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  animation: popupFadeIn .25s ease;
}
.popup-overlay[hidden] { display: none; }
@keyframes popupFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.popup {
  background: var(--c-cream);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-md) var(--space-md) var(--space-lg);
  position: relative;
  animation: popupSlideUp .3s cubic-bezier(.4,0,.2,1);
}
@keyframes popupSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.popup__close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--c-text-muted);
  cursor: pointer;
  transition: color .2s;
  line-height: 1;
  padding: 4px;
}
.popup__close:hover { color: var(--c-dark); }

.popup__summary {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-md);
}
.popup__summary-title {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: .6em;
}
.popup__summary-rows {
  display: flex;
  flex-direction: column;
  gap: .35em;
  margin-bottom: .6em;
}
.popup__summary-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}
.popup__summary-row strong { color: var(--c-dark); }
.popup__summary-total {
  border-top: 2px solid var(--c-green);
  padding-top: .6em;
  font-size: var(--fs-base);
  color: var(--c-dark);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
.popup__summary-total strong {
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--c-dark);
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

@media (max-width: 560px) {
  .popup { padding: var(--space-sm); border-radius: var(--radius); max-height: 95vh; }
  .popup-overlay { padding: .5rem; align-items: flex-end; }

  /* X siempre visible en móvil — flota en la esquina inferior derecha */
  .popup__close {
    position: fixed !important;
    top: auto !important;
    right: 1.25rem !important;
    bottom: 1.5rem !important;
    width: 46px !important;
    height: 46px !important;
    background: var(--c-green) !important;
    color: #fff !important;
    border-radius: 50% !important;
    font-size: 1.1rem !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0,0,0,.35) !important;
    z-index: 1200 !important;
  }

  /* Calendario inline: 1 mes en móvil */
  .flatpickr-calendar.inline { margin-top: .5rem; }
}

/* ─── PÁGINA GRACIAS ─────────────────────────────────────────── */
.gracias-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--navbar-h) + var(--space-xl));
}
.gracias-container {
  max-width: 540px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}
.gracias-container .success-icon {
  margin: 0 0 var(--space-sm);
}
.gracias-container .section-title {
  margin-bottom: 0;
}
.gracias-lead {
  font-size: var(--fs-md);
  color: var(--c-text);
  margin: 0;
}
.gracias-lead strong { color: var(--c-green); }
.gracias-sub {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin: 0 0 var(--space-sm);
}
