/* ============================================================================
   PORTAL DE LA VILLA AJ  —  HOJA DE ESTILOS (styles.css)
   ----------------------------------------------------------------------------
   Los COLORES y FUENTES se controlan desde js/config.js (no aquí).
   Aquí puedes ajustar tamaños, espaciados y detalles de diseño avanzados.
   ========================================================================== */

/* -------------------------------------------------- VARIABLES (no editar aquí;
   se rellenan automáticamente desde config.js). Valores de respaldo: */
:root {
  --color-primary:  #2f6b3c;
  --color-secondary:#c8843b;
  --color-dark:     #1d2b22;
  --color-light:    #f7f4ee;
  --color-accent:   #e3b04b;
  --color-whatsapp: #25d366;
  --font-headings:  'Playfair Display', serif;
  --font-body:      'Poppins', sans-serif;
  --radius: 10px;
  --shadow: 0 14px 40px rgba(0,0,0,.12);
  --shadow-sm: 0 6px 18px rgba(0,0,0,.08);
  --maxw: 1200px;
}

/* ----------------------------------------------------------------- BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-light);
  line-height: 1.65;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-headings); line-height: 1.15; font-weight: 800; letter-spacing: -.5px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
section { position: relative; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Estructura de secciones */
.section { padding: 90px 0; }
.section-light { background: var(--color-light); }
.section-cream { background: #efe9df; }
.section-dark  { background: var(--color-dark); color: #fff; }
.section-head  { text-align: start; max-width: 780px; margin: 0 0 46px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: 2.5px;
  font-size: .8rem; font-weight: 800; color: var(--color-secondary); margin-bottom: 12px;
}
.section-tag::before { content: ''; width: 36px; height: 3px; background: var(--color-secondary); display: inline-block; }
.section-title { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-bottom: 14px; letter-spacing: -1px; text-transform: uppercase; }
.section-sub { color: #6a6a6a; font-size: 1.05rem; max-width: 620px; }
.section-dark .section-sub { color: #cfd8cf; }

/* Botones */
.btn {
  display: inline-block; padding: 15px 32px; border-radius: 6px; font-weight: 700;
  font-size: .85rem; cursor: pointer; border: none; transition: all .3s ease;
  letter-spacing: 1px; text-transform: uppercase;
}
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: 0 10px 24px rgba(47,107,60,.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(47,107,60,.45); }
.btn-outline-light { background: rgba(255,255,255,.12); color: #fff; border: 2px solid #fff; backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: #fff; color: var(--color-dark); transform: translateY(-3px); }
.btn-whatsapp { background: var(--color-whatsapp); color: #fff; }
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(37,211,102,.4); }

/* ================================================= PANTALLA DE BIENVENIDA */
#intro-screen{
  position:fixed; inset:0; z-index:5000; display:flex; flex-direction:column;
  align-items:center; justify-content:center; text-align:center; color:#fff;
  background:var(--color-dark); background-size:cover; background-position:center;
  transition:opacity .8s ease, visibility .8s ease;
}
#intro-screen::after{ content:''; position:absolute; inset:0; background:radial-gradient(circle at center, rgba(29,43,34,.45), rgba(10,16,12,.88)); z-index:1; }
#intro-screen.hide{ opacity:0; visibility:hidden; }
.intro-inner{ position:relative; z-index:2; padding:0 24px; animation:introIn 1.2s ease both; }
.intro-logo{ font-family:var(--font-headings); font-size:clamp(2rem,6vw,4rem); font-weight:700; letter-spacing:1px; text-shadow:0 0 30px rgba(227,176,75,.5), 0 4px 30px rgba(0,0,0,.6); }
.intro-line{ width:0; height:2px; margin:18px auto; background:linear-gradient(90deg,transparent,var(--color-accent),transparent); animation:introLine 1.6s .3s ease forwards; }
.intro-sub{ font-size:clamp(.95rem,2.4vw,1.3rem); font-weight:300; opacity:0; animation:fadeIn 1s 1s ease forwards; letter-spacing:.5px; }
.intro-loader{ display:flex; gap:8px; justify-content:center; margin-top:28px; opacity:0; animation:fadeIn 1s 1.4s ease forwards; }
.intro-loader span{ width:9px; height:9px; border-radius:50%; background:var(--color-accent); animation:introDot 1.4s infinite ease-in-out; }
.intro-loader span:nth-child(2){ animation-delay:.2s; } .intro-loader span:nth-child(3){ animation-delay:.4s; }
.intro-skip{ position:absolute; bottom:34px; z-index:2; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.4); color:#fff; padding:10px 26px; border-radius:50px; cursor:pointer; font-family:inherit; font-size:.9rem; font-weight:500; backdrop-filter:blur(4px); transition:all .3s; opacity:0; animation:fadeIn 1s 1.6s ease forwards; }
.intro-skip:hover{ background:var(--color-accent); border-color:var(--color-accent); transform:translateY(-2px); }
@keyframes introIn{ from{ opacity:0; transform:translateY(24px) scale(.96);} to{ opacity:1; transform:none;} }
@keyframes introLine{ to{ width:160px; } }
@keyframes introDot{ 0%,100%{ transform:scale(.6); opacity:.5;} 50%{ transform:scale(1.1); opacity:1;} }
body.intro-active{ overflow:hidden; }

/* ============================================================== NAVBAR */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 18px 0; transition: all .35s ease; background: transparent;
}
#navbar.scrolled { background: rgba(255,255,255,.97); box-shadow: var(--shadow-sm); padding: 12px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.brand-logo { font-family: var(--font-headings); font-size: 1.02rem; white-space:nowrap; flex-shrink:0; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: #fff; transition: color .35s; }
.brand-logo img { max-height: 46px; }
#navbar.scrolled .brand-logo { color: var(--color-primary); }
.nav-menu { display: flex; align-items: center; gap: 15px; list-style: none; }
.nav-menu a { color: #fff; font-size: .85rem; font-weight: 500; position: relative; transition: color .3s; }
.nav-menu a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--color-secondary); transition: width .3s; }
.nav-menu a:hover::after { width: 100%; }
#navbar.scrolled .nav-menu a { color: var(--color-dark); }

/* Botón de Recepción / Check-in en el menú */
.nav-reception{ background:var(--color-secondary); color:#fff !important; padding:6px 14px; border-radius:50px; font-weight:600; font-size:.8rem; white-space:nowrap; transition:all .3s; }
.nav-reception:hover{ filter:brightness(1.08); transform:translateY(-2px); }
.nav-reception::after{ display:none !important; }

/* CTA de recepción en la sección de disponibilidad */
.reception-cta{ display:block; text-align:center; margin-top:14px; color:#fff; font-size:.9rem; opacity:.85; transition:all .25s; }
.reception-cta:hover{ opacity:1; color:var(--color-accent); }

/* Selector de idioma */
.lang-switch { display: flex; gap: 6px; align-items: center; }
.lang-switch a {
  font-size: .8rem; font-weight: 600; padding: 5px 9px; border-radius: 6px;
  color: #fff; opacity: .7; transition: all .25s;
}
#navbar.scrolled .lang-switch a { color: var(--color-dark); }
.lang-switch a.active { background: var(--color-secondary); color: #fff !important; opacity: 1; }
.lang-switch a:hover { opacity: 1; }

/* Hamburguesa móvil */
#nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
#nav-toggle span { width: 26px; height: 2px; background: #fff; transition: all .3s; }
#navbar.scrolled #nav-toggle span { background: var(--color-dark); }
#nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle.open span:nth-child(2) { opacity: 0; }
#nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================================== HERO */
#hero {
  --hero-img: url('../assets/img/villa-hero-futurista.jpg');
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: start; color: #fff; position: relative; overflow: hidden;
}
/* Resplandor futurista sutil sobre el hero */
.hero-glow{ position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(ellipse at 50% 120%, rgba(227,176,75,.18), transparent 60%);
  mix-blend-mode:screen; }
.hero-bg {
  position: absolute; inset: -10% 0; z-index: -2;
  /* Dos capas: la imagen principal arriba y el respaldo incrustado debajo.
     Si la imagen principal no carga, se ve el respaldo (nunca queda gris). */
  background-image: var(--hero-img, none), var(--hero-fallback, none);
  background-size: cover, cover; background-position: center, center; background-repeat: no-repeat, no-repeat;
  will-change: transform;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
#hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,22,17,.35) 0%, rgba(15,22,17,.62) 100%); }
.hero-content { width: 100%; max-width: var(--maxw); margin-inline: auto; padding: 0 20px; animation: heroIn 1.2s ease both; }
.hero-content h1 { font-size: clamp(2.4rem, 6.6vw, 4.8rem); margin-bottom: 12px; text-shadow: 0 4px 24px rgba(0,0,0,.45); max-width: 820px; text-transform: uppercase; letter-spacing: -1.5px; }
.hero-content h1::after { content: ''; display: block; width: 90px; height: 5px; background: var(--color-secondary); margin-top: 24px; border-radius: 2px; }
.hero-content p { font-size: clamp(1.05rem, 2.4vw, 1.4rem); margin-bottom: 34px; margin-top: 24px; font-weight: 400; text-shadow: 0 2px 12px rgba(0,0,0,.4); max-width: 560px; }
.hero-btns { display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; }
.scroll-down { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 1.6rem; animation: bounce 2s infinite; z-index: 2; }
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,10px); } }

/* ========================================================== LA CABAÑA */
.cabin-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.cabin-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cabin-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.cabin-img:hover img { transform: scale(1.06); }
.cabin-features { display: grid; gap: 22px; }
.cabin-feature { display: flex; gap: 16px; align-items: flex-start; }
.cabin-feature .cf-ico { font-size: 1.6rem; background: #fff; width: 54px; height: 54px; min-width: 54px; border-radius: 14px; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.cabin-feature h3 { font-size: 1.15rem; margin-bottom: 4px; color: var(--color-primary); }
.cabin-feature p { font-size: .94rem; color: #5d5d5d; }

/* =========================================================== SERVICIOS */
#services-grid, #experiences-grid, #testimonials-grid, #rates-grid, #gallery-grid { display: flex; flex-wrap: wrap; }
.row-grid { display: flex; flex-wrap: wrap; margin: -12px; }
.row-grid > [class*="col-"] { padding: 12px; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
@media (min-width: 768px){ .col-md-4 { flex:0 0 33.333%; max-width:33.333%; } .col-md-6 { flex:0 0 50%; max-width:50%; } }
@media (min-width: 992px){ .col-lg-3 { flex:0 0 25%; max-width:25%; } .col-lg-4 { flex:0 0 33.333%; max-width:33.333%; } }

.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; transition: transform .4s, box-shadow .4s; border-top: 4px solid var(--color-secondary); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-img { height: 160px; background-size: cover; background-position: center; position: relative; }
.service-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.25)); }
.service-icon { position: absolute; bottom: -22px; right: 18px; width: 48px; height: 48px; background: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; box-shadow: var(--shadow-sm); z-index: 2; }
.service-body { padding: 30px 22px 26px; }
.service-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-body p { font-size: .9rem; color: #666; }

/* ============================================================ GALERÍA */
.gallery-filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.gallery-filters button {
  border: 1px solid #d8d2c6; background: #fff; padding: 9px 20px; border-radius: 50px;
  font-size: .85rem; font-weight: 500; cursor: pointer; transition: all .25s; color: var(--color-dark);
}
.gallery-filters button.active, .gallery-filters button:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.gallery-fig { position: relative; border-radius: 14px; overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm); height: 220px; }
.gallery-fig img, .gallery-fig video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-fig:hover img, .gallery-fig:hover video { transform: scale(1.1); }
.gallery-fig .play-ico {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.85);
  color: var(--color-primary); display: grid; place-items: center; font-size: 1.3rem;
  padding-left: 4px; pointer-events: none; transition: all .3s; z-index: 2;
}
.gallery-fig:hover .play-ico { background: #fff; transform: translate(-50%,-50%) scale(1.1); }
.gallery-fig figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px; color: #fff; font-size: .85rem; font-weight: 500;
  background: linear-gradient(transparent, rgba(0,0,0,.7)); display: flex; justify-content: space-between; align-items: center;
  opacity: 0; transform: translateY(8px); transition: all .3s;
}
.gallery-fig:hover figcaption { opacity: 1; transform: translateY(0); }
.zoom-ico { font-size: 1rem; }

/* Lightbox */
#lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 3000; display: none; align-items: center; justify-content: center; }
#lightbox.open { display: flex; animation: fadeIn .3s ease; }
#lightbox img, #lightbox video { max-width: 90vw; max-height: 80vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
#lightbox-caption { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: #fff; font-size: 1rem; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); border: none; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; transition: background .25s; }
.lb-btn:hover { background: rgba(255,255,255,.28); }
#lightbox-close { top: 24px; right: 24px; }
#lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
#lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ======================================================= EXPERIENCIAS */
.exp-card { height: 280px; border-radius: var(--radius); overflow: hidden; position: relative; background-size: cover; background-position: center; box-shadow: var(--shadow-sm); }
.exp-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(29,43,34,.85)); }
.exp-overlay { position: absolute; inset: auto 0 0 0; padding: 24px; color: #fff; z-index: 2; transition: transform .4s; }
.exp-icon { font-size: 1.8rem; }
.exp-overlay h3 { font-size: 1.25rem; margin: 8px 0; }
.exp-overlay p { font-size: .88rem; opacity: 0; max-height: 0; overflow: hidden; transition: all .4s; }
.exp-card:hover .exp-overlay p { opacity: 1; max-height: 120px; }

/* ========================================================= DISPONIBILIDAD */
.avail-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.calendar { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-header h3 { font-size: 1.2rem; }
.cal-nav { background: var(--color-light); border: none; width: 38px; height: 38px; border-radius: 10px; cursor: pointer; font-size: 1.1rem; transition: background .25s; }
.cal-nav:hover { background: var(--color-primary); color: #fff; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-wd { text-align: center; font-size: .72rem; font-weight: 700; color: #999; padding: 6px 0; }
.cal-day { aspect-ratio: 1; display: grid; place-items: center; border-radius: 9px; font-size: .85rem; font-weight: 500; position: relative; }
.cal-day.empty { background: transparent; }
.cal-day.available { background: #eef6ef; color: var(--color-primary); cursor: pointer; transition: all .2s; }
.cal-day.available:hover { background: var(--color-primary); color: #fff; transform: scale(1.05); }
.cal-day.occupied { background: #fbe9e7; color: #c0392b; text-decoration: line-through; }
.cal-day.reserved { background: #fff4e0; color: #b8860b; }
.cal-day.past { color: #ccc; }
.cal-day.sel-start, .cal-day.sel-end { background: var(--color-secondary) !important; color: #fff !important; }
.cal-day.in-range { background: #f3e2cb; color: var(--color-secondary); }

.cal-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-size: .78rem; }
.cal-legend span { display: flex; align-items: center; gap: 6px; }
.dot { width: 13px; height: 13px; border-radius: 4px; display: inline-block; }
.dot.available { background: #eef6ef; border: 1px solid var(--color-primary); }
.dot.occupied { background: #fbe9e7; border: 1px solid #c0392b; }
.dot.reserved { background: #fff4e0; border: 1px solid #b8860b; }
.dot.selected { background: var(--color-secondary); }

.booking-box { background: var(--color-dark); color: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.booking-box h3 { font-size: 1.4rem; margin-bottom: 14px; }
.booking-box p { color: #cfd8cf; font-size: .95rem; margin-bottom: 22px; }
#booking-summary { background: rgba(255,255,255,.08); border-radius: 12px; padding: 16px; font-size: .9rem; margin-bottom: 22px; min-height: 56px; display: flex; align-items: center; }
#booking-request.disabled { opacity: .5; pointer-events: none; }
.booking-box .btn { width: 100%; text-align: center; }

/* =============================================================== TARIFAS */
.rate-card { background: #fff; border-radius: var(--radius); padding: 38px 28px; text-align: center; box-shadow: var(--shadow-sm); height: 100%; transition: transform .4s; border: 2px solid transparent; }
.rate-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.rate-card.featured { border-color: var(--color-secondary); transform: scale(1.03); position: relative; }
.rate-card.featured::before { content: '★'; position: absolute; top: 16px; right: 18px; color: var(--color-accent); font-size: 1.2rem; }
.rate-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.rate-price { font-size: 2rem; font-family: var(--font-headings); color: var(--color-primary); margin-bottom: 18px; }
.rate-price small { display: block; font-size: .8rem; color: #999; font-family: var(--font-body); }
.rate-card ul { list-style: none; margin-bottom: 26px; }
.rate-card li { padding: 9px 0; border-bottom: 1px solid #f0ece4; font-size: .9rem; color: #555; }
.btn-rate { background: var(--color-primary); color: #fff; padding: 12px 28px; border-radius: 50px; font-size: .9rem; display: inline-block; transition: all .3s; }
.btn-rate:hover { background: var(--color-secondary); transform: translateY(-2px); }
.rates-note { text-align: center; font-size: .82rem; color: #999; margin-top: 30px; }

/* =========================================================== TESTIMONIOS */
.testi-card { background: #fff; border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow-sm); height: 100%; transition: transform .4s; }
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testi-stars { color: var(--color-accent); font-size: 1.05rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-text { font-style: italic; color: #555; margin-bottom: 22px; font-size: .96rem; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--color-primary); color: #fff; display: grid; place-items: center; font-weight: 700; overflow: hidden; }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-author span { font-weight: 600; font-size: .95rem; }

/* ============================================================ UBICACIÓN */
.map-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-frame { width: 100%; height: 440px; border: 0; }
.map-info { background: var(--color-primary); color: #fff; padding: 50px 44px; display: flex; flex-direction: column; justify-content: center; }
.map-info h3 { font-size: 1.8rem; margin-bottom: 18px; }
.map-info p { margin-bottom: 14px; opacity: .92; }
.map-info .btn { margin-top: 12px; align-self: flex-start; }

/* ============================================================== CONTACTO */
.contact-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 46px; }
.contact-form { display: grid; gap: 16px; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid #ddd6c9; border-radius: 12px;
  font-family: var(--font-body); font-size: .92rem; background: #fff; transition: border .25s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .btn { justify-self: start; }
.contact-side { background: #fff; border-radius: var(--radius); padding: 38px 32px; box-shadow: var(--shadow-sm); }
.contact-side h3 { font-size: 1.3rem; margin-bottom: 22px; }
.contact-line { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.contact-line .ci { width: 44px; height: 44px; min-width: 44px; border-radius: 12px; background: var(--color-light); display: grid; place-items: center; font-size: 1.2rem; }
.contact-line a, .contact-line span { font-size: .92rem; color: #555; word-break: break-word; }
.contact-line a:hover { color: var(--color-primary); }

/* ================================================================ FOOTER */
footer { background: var(--color-dark); color: #cfd8cf; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; font-family: var(--font-body); font-weight: 600; }
.footer-brand h3 { color: #fff; font-size: 1.5rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { font-size: .9rem; transition: color .25s; }
.footer-grid a:hover { color: var(--color-secondary); }
.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; font-size: 1.1rem; transition: all .3s; }
.footer-social a:hover { background: var(--color-secondary); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; text-align: center; font-size: .82rem; opacity: .8; }

/* ===================================== BOTONES FLOTANTES (WhatsApp + Top) */
.float-wa { position: fixed; bottom: 26px; right: 26px; z-index: 900; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.float-wa-main {
  width: 60px; height: 60px; border-radius: 50%; background: var(--color-whatsapp); color: #fff;
  display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 10px 30px rgba(37,211,102,.5);
  animation: pulse 2.4s infinite; transition: transform .3s;
}
.float-wa-main:hover { transform: scale(1.1); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
#to-top {
  position: fixed; bottom: 26px; left: 26px; z-index: 900; width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-primary); color: #fff; display: grid; place-items: center; font-size: 1.3rem;
  opacity: 0; visibility: hidden; transition: all .3s; box-shadow: var(--shadow-sm); border: none; cursor: pointer;
}
#to-top.show { opacity: 1; visibility: visible; }
#to-top:hover { background: var(--color-secondary); }

/* ===================================================== ANIMACIONES SCROLL */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================== RESPONSIVE */
@media (max-width: 991px) {
  .cabin-wrap, .avail-wrap, .map-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .map-frame { height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1200px) {
  #nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 78%; max-width: 320px; height: 100vh;
    background: #fff; flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 40px; gap: 22px; transition: right .4s ease; box-shadow: -10px 0 40px rgba(0,0,0,.15);
  }
  .nav-menu.open { right: 0; }
  .nav-menu a { color: var(--color-dark) !important; font-size: 1.05rem; }
  .lang-switch { margin-top: 14px; }
  .lang-switch a { color: var(--color-dark); border: 1px solid #ddd; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form .row2 { grid-template-columns: 1fr; }
  .float-wa-main { width: 54px; height: 54px; font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; }
}

/* ============================================= RESERVA EN LÍNEA (Google) */
.btn-google{ background:#fff; color:var(--color-primary); border:2px solid var(--color-primary); display:inline-flex; align-items:center; gap:8px; margin-top:12px; width:100%; justify-content:center; }
.btn-google:hover{ background:var(--color-primary); color:#fff; transform:translateY(-2px); }

/* ==================================================== AVISO DE COOKIES */
.cookie-bar{
  position:fixed; inset-inline:16px; inset-block-end:16px; z-index:2500; max-width:520px; margin-inline:auto;
  background:var(--color-dark); color:#fff; border-radius:12px; padding:18px 20px; box-shadow:0 16px 44px rgba(0,0,0,.35);
  display:flex; flex-direction:column; gap:12px; transform:translateY(140%); transition:transform .45s ease; border-top:4px solid var(--color-secondary);
}
.cookie-bar.show{ transform:translateY(0); }
.cookie-bar p{ margin:0; font-size:.86rem; line-height:1.5; color:#e8ede9; }
.cookie-btns{ display:flex; gap:10px; }
.cookie-btns button{ flex:1; border:none; border-radius:6px; padding:9px 14px; font-family:inherit; font-weight:700; font-size:.82rem; text-transform:uppercase; letter-spacing:.5px; cursor:pointer; transition:.2s; }
.cookie-accept{ background:var(--color-secondary); color:#fff; }
.cookie-accept:hover{ filter:brightness(1.08); }
.cookie-reject{ background:rgba(255,255,255,.14); color:#fff; }
.cookie-reject:hover{ background:rgba(255,255,255,.24); }
@media (min-width:560px){ .cookie-bar{ flex-direction:row; align-items:center; } .cookie-btns{ flex:0 0 auto; } .cookie-btns button{ flex:0 0 auto; } }

/* Accesibilidad: respeta usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
