/* ============================================================
   Las Portillas — style.css
   Para cambiar colores: edita las variables en :root
   Para cambiar fuentes: edita font-family en :root
   ============================================================ */

/* ---- VARIABLES ---- */
:root {
  --cream:       #F7F3EE;
  --cream-mid:   #EDE5D8;
  --sand:        #C9A87C;
  --sand-light:  #E8D5B0;
  --green-dark:  #2A4A1A;
  --green-mid:   #3D6B24;
  --green-light: #5A8E36;
  --chestnut:    #6B3A2A;
  --text-dark:   #1A1A18;
  --text-mid:    #4A4A44;
  --text-light:  #7A7A72;
  --white:       #FFFFFF;
  --shadow-sm:   0 2px 8px rgba(42,74,26,0.08);
  --shadow-md:   0 8px 32px rgba(42,74,26,0.12);
  --shadow-lg:   0 20px 60px rgba(42,74,26,0.18);
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --nav-h:       72px;
  --transition:  0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select {
  font: inherit;
  border: 1.5px solid var(--cream-mid);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  width: 100%;
  background: var(--white);
  color: var(--text-dark);
  transition: border-color var(--transition);
  outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--green-mid); box-shadow: 0 0 0 3px rgba(61,107,36,0.12); }
textarea { resize: vertical; min-height: 100px; }

/* ---- UTILIDADES ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }
.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.75rem;
}
.heading-serif {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}
.section-intro {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 580px;
  margin-bottom: 3rem;
}

/* ---- SCROLL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Seguridad — si JS falla, el contenido sigue visible */
.reveal[data-split] { opacity: 1; transform: none; }

/* ---- BOTONES ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--green-dark);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(6px);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-secondary:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--green-dark);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--green-dark);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-outline:hover { background: var(--green-dark); color: var(--white); transform: translateY(-2px); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-mid);
  border: 1.5px solid var(--green-mid);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  transition: background var(--transition), color var(--transition);
}
.btn-map:hover { background: var(--green-mid); color: var(--white); }
.btn-wa-large {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-wa-large svg { width: 22px; height: 22px; }
.btn-wa-large:hover { background: #1eb358; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, calc(100vw - 32px));
  background: var(--text-dark);
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.cookie-banner.hidden { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(20px); }
.cookie-content p { margin-bottom: 12px; }
.cookie-content a { color: var(--sand-light); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-cookie-reject {
  padding: 0.5rem 1.25rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
  background: transparent; color: rgba(255,255,255,0.7); border: 1.5px solid rgba(255,255,255,0.3);
  transition: background var(--transition);
}
.btn-cookie-reject:hover { background: rgba(255,255,255,0.1); }
.btn-cookie-accept {
  padding: 0.5rem 1.25rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
  background: var(--green-mid); color: var(--white);
  transition: background var(--transition);
}
.btn-cookie-accept:hover { background: var(--green-light); }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.solid {
  background: rgba(247,243,238,0.97);
  box-shadow: 0 2px 20px rgba(42,74,26,0.1);
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition);
}
.navbar.solid .nav-logo-text { color: var(--green-dark); }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: var(--sand);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-link:hover::after { transform: scaleX(1); }
.navbar.solid .nav-link { color: var(--text-mid); }
.nav-link.nav-cta {
  background: var(--green-dark);
  color: var(--white);
  padding: 0.45rem 1.25rem;
  border-radius: 50px;
}
.nav-link.nav-cta::after { display: none; }
.navbar.solid .nav-link.nav-cta { color: var(--white); }
.nav-link.nav-cta:hover { background: var(--green-mid); color: var(--white); }

/* Lang switcher */
.lang-switcher { display: flex; align-items: center; gap: 0.4rem; }
.lang-btn {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6); padding: 0.2rem 0.4rem; border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.navbar.solid .lang-btn { color: var(--text-light); }
.lang-btn.active, .lang-btn:hover { color: var(--white); background: rgba(255,255,255,0.15); }
.navbar.solid .lang-btn.active, .navbar.solid .lang-btn:hover { color: var(--green-dark); background: var(--cream-mid); }

/* Mobile nav toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.navbar.solid .nav-toggle span { background: var(--text-dark); }

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  animation: kenburns 20s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,34,12,0.4) 0%,
    rgba(20,34,12,0.5) 50%,
    rgba(20,34,12,0.7) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
  max-width: 800px;
}
.hero-subtitle {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand-light);
  margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-style: italic;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* Hero reveal timing */
.hero .reveal { transition-delay: 0s; }
.hero .reveal:nth-child(1) { transition-delay: 0.2s; }
.hero .reveal:nth-child(2) { transition-delay: 0.4s; }
.hero .reveal:nth-child(3) { transition-delay: 0.6s; }
.hero .reveal:nth-child(4) { transition-delay: 0.8s; }

/* ---- BIENVENIDA ---- */
.welcome { background: var(--cream); }
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.welcome-text { max-width: 520px; }
.welcome-text p { color: var(--text-mid); margin-bottom: 1rem; font-size: 1.05rem; }
.welcome-text .btn-outline { margin-top: 0.5rem; }
.welcome-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  width: 100%;
  height: 480px;
  transition: transform 0.5s ease;
}
.welcome-img img:hover { transform: scale(1.02); }

/* ---- DESTACADOS ---- */
.highlights { background: var(--cream-mid); }
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.highlight-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.highlight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.highlight-icon {
  width: 52px; height: 52px;
  background: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  color: var(--green-mid);
}
.highlight-icon svg { width: 28px; height: 28px; }
.highlight-num {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.highlight-unit { font-size: 1.4rem; font-weight: 500; }
.highlight-label { font-size: 0.88rem; color: var(--text-mid); font-weight: 500; }

/* ---- GALERÍA ---- */
.gallery { background: var(--cream); }
.gallery .container { margin-bottom: 2.5rem; }
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 12px;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-item { overflow: hidden; border-radius: var(--radius-md); }
.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }
.gallery-btn {
  width: 100%; height: 100%;
  position: relative;
  overflow: hidden;
  display: block;
}
.gallery-btn img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-btn:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1rem 0.75rem;
  background: linear-gradient(transparent, rgba(20,34,12,0.7));
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-btn:hover .gallery-caption { opacity: 1; }

/* ---- LIGHTBOX ---- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox-inner { max-width: 92vw; max-height: 90vh; text-align: center; }
.lightbox-inner img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox-cap { color: rgba(255,255,255,0.7); font-size: 0.88rem; margin-top: 0.75rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed;
  color: var(--white);
  font-size: 2.5rem;
  line-height: 1;
  padding: 0.5rem;
  opacity: 0.8;
  transition: opacity var(--transition);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-close { top: 20px; right: 24px; font-size: 2rem; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---- ESPACIOS ---- */
.spaces { background: var(--cream-mid); overflow: hidden; }
.spaces-list { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; gap: 5rem; }
.space-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.space-item--reverse { direction: rtl; }
.space-item--reverse > * { direction: ltr; }
.space-img img {
  width: 100%; height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.5s ease;
}
.space-img img:hover { transform: scale(1.02); }
.space-text h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.space-text p { color: var(--text-mid); font-size: 1.05rem; }

/* ---- EQUIPAMIENTO (parallax) ---- */
.amenities {
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
}
.parallax-section::before {
  content: '';
  position: absolute;
  inset: -20%;
  background-image: url('../img/hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  will-change: transform;
}
.amenities-overlay {
  position: absolute;
  inset: 0;
  background: var(--green-dark);
  opacity: 0.85;
}
.amenities .container { position: relative; z-index: 1; }
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.amenity-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: background var(--transition), transform var(--transition);
}
.amenity-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.amenity-icon { color: var(--sand-light); }
.amenity-icon svg { width: 32px; height: 32px; }

/* ---- ENTORNO ---- */
.surroundings { background: var(--cream); }
.places-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.place-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.place-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.place-img { height: 200px; overflow: hidden; }
.place-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.place-card:hover .place-img img { transform: scale(1.06); }
.place-body { padding: 1.25rem; }
.place-dist { font-size: 0.78rem; font-weight: 600; color: var(--green-mid); margin-bottom: 0.4rem; }
.place-body h3 { font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 0.5rem; }
.place-body p { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 1rem; line-height: 1.55; }
.place-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.place-tel { font-size: 0.82rem; color: var(--green-mid); font-weight: 500; }
.place-tel:hover { text-decoration: underline; }

/* ---- PLAYAS ---- */
.beaches { background: var(--cream-mid); }
.beaches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.beach-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.beach-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.beach-img { height: 220px; overflow: hidden; }
.beach-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.beach-card:hover .beach-img img { transform: scale(1.06); }
.beach-body { padding: 1.25rem; }
.beach-body h3 { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 0.3rem; }
.beach-dist { font-size: 0.8rem; color: var(--sand); font-weight: 600; margin-bottom: 0.5rem; }
.beach-body p { font-size: 0.9rem; color: var(--text-mid); }

/* ---- ACTIVIDADES ---- */
.activities { background: var(--cream); }
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.activity-block {
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--green-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.activity-block:hover { transform: translateY(-4px); }
.activity-icon { color: var(--green-mid); margin-bottom: 1rem; }
.activity-icon svg { width: 40px; height: 40px; }
.activity-block h3 { font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 0.75rem; }
.activity-block p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; }

/* ---- RESTAURANTES ---- */
.restaurants { background: var(--cream-mid); }
.restaurants-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.rest-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-left: 4px solid var(--sand);
}
.rest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.rest-body { padding: 1.5rem; }
.rest-body h3 { font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: 0.3rem; }
.rest-location { font-size: 0.8rem; color: var(--text-light); margin-bottom: 0.4rem; }
.rest-type { font-size: 0.88rem; color: var(--chestnut); font-weight: 500; margin-bottom: 0.75rem; }
.rest-tel { font-size: 0.88rem; color: var(--green-mid); font-weight: 600; }
.rest-tel:hover { text-decoration: underline; }

/* ---- INFO PRÁCTICA ---- */
.info-section { background: var(--cream); }
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 2.5rem;
}
.info-group-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid var(--cream-mid);
}
.info-list { display: flex; flex-direction: column; gap: 1rem; }
.info-list li { display: flex; flex-direction: column; gap: 0.15rem; }
.info-name { font-size: 0.88rem; color: var(--text-mid); }
.info-meta { font-size: 0.78rem; color: var(--text-light); }
.info-tel { font-weight: 700; color: var(--green-dark); font-size: 1rem; }
.info-tel:hover { text-decoration: underline; }
.info-tel--sos { font-size: 1.5rem; color: #D42B2B; }

/* ---- RESERVAS ---- */
.booking { background: var(--green-dark); }
.booking-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.booking-text .label { color: var(--sand-light); }
.booking-text p { max-width: 500px; }
.booking-btns { display: flex; flex-direction: column; gap: 1rem; align-items: center; }

/* ---- CONTACTO ---- */
.contact { background: var(--cream-mid); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-info .heading-serif { margin-top: 0.5rem; }
.contact-info p { color: var(--text-mid); font-size: 1.05rem; margin-bottom: 1.5rem; }
.contact-address { font-size: 0.95rem; color: var(--text-mid); line-height: 2; }
.contact-address a { color: var(--green-dark); font-weight: 600; }
.contact-address a:hover { text-decoration: underline; }
.contact-form { background: var(--white); padding: 2.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.25rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.form-check { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 1.5rem; }
.form-check input[type="checkbox"] { width: auto; margin-top: 3px; flex-shrink: 0; }
.form-check label { font-size: 0.85rem; color: var(--text-mid); }
.form-check a { color: var(--green-mid); text-decoration: underline; }
.btn-submit { width: 100%; }
.form-feedback { padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; margin-top: 1rem; }
.form-feedback--ok { background: #EBF5E5; color: #2A5A14; border: 1px solid #A8D08C; }
.form-feedback--err { background: #FDE8E8; color: #8B1A1A; border: 1px solid #F0B0B0; }

/* ---- FOOTER ---- */
.footer { background: var(--text-dark); color: rgba(255,255,255,0.75); padding: 4rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.footer-tagline { font-size: 0.82rem; color: var(--sand); letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer-address { font-size: 0.85rem; line-height: 1.9; }
.footer-address a { color: var(--sand-light); }
.footer h3 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.footer-links nav { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-legal { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-legal a { font-size: 0.9rem; color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-legal a:hover { color: var(--white); }
.footer-lang { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.5rem; }
.footer-lang .lang-btn { color: rgba(255,255,255,0.5); font-size: 0.78rem; }
.footer-lang .lang-btn.active, .footer-lang .lang-btn:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.35); }

/* ---- WHATSAPP FLOTANTE ---- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px; height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
/* No aparece cuando el banner de cookies está visible */
.cookie-banner:not(.hidden) ~ .whatsapp-float { bottom: 120px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .places-grid { grid-template-columns: repeat(2, 1fr); }
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .restaurants-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-inner { grid-template-columns: 1fr; }
  .booking-btns { flex-direction: row; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section-pad { padding: 64px 0; }
  .section-pad-sm { padding: 48px 0; }

  /* Nav mobile */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(247,243,238,0.98);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0 2rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    transition: transform var(--transition);
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-link { color: var(--text-dark); padding: 0.9rem 2rem; width: 100%; }
  .nav-link.nav-cta { margin: 0.5rem 2rem; width: calc(100% - 4rem); text-align: center; }
  .lang-switcher { padding: 0.5rem 2rem; }

  .welcome-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .welcome-img img { height: 320px; }

  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-item--tall { grid-row: span 1; }
  .gallery-item--wide { grid-column: span 1; }

  .spaces-list { gap: 3rem; }
  .space-item { grid-template-columns: 1fr; gap: 1.5rem; }
  .space-item--reverse { direction: ltr; }
  .space-img img { height: 280px; }

  .places-grid { grid-template-columns: 1fr; }
  .beaches-grid { grid-template-columns: 1fr; }
  .activities-grid { grid-template-columns: 1fr; }
  .restaurants-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; gap: 2rem; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .hero-btns { flex-direction: column; align-items: center; }
  .booking-btns { flex-direction: column; width: 100%; }
  .booking-btns .btn-primary, .booking-btns .btn-wa-large { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .gallery-masonry { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .contact-form { padding: 1.5rem; }
}

/* ---- FOCUS VISIBLE (accesibilidad) ---- */
:focus-visible {
  outline: 3px solid var(--green-mid);
  outline-offset: 3px;
  border-radius: 3px;
}
