/* ══════════════════════════════════════════════════════════════════
   SHARED.CSS — cabaniacercadelmar.com
   Usado por: index.html, propiedad-cerca.html, propiedad-geco.html, propiedad-bella.html
   Contiene: reset, navbar, hero, tarjetas propiedad, mapa general, secciones
   de propiedad (tour/galería/servicios/calendario), reseñas, footer, modal
   de reservas, lightbox, widget de disponibilidad, cookie banner.
   ══════════════════════════════════════════════════════════════════ */

/* ══ RESET & BASE ══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy:    #006494;
  --blue:    #0099cc;
  --blue2:   #00b4d8;
  --sky:     #d0f4ff;
  --sand:    #fffbf0;
  --sand2:   #fff3d6;
  --white:   #ffffff;
  --text:    #0f3045;
  --muted:   #5a7d90;
  --border:  #aadfee;
  --coral:   #ff6b35;
  --coral-bg:#fff0eb;
  --green:   #00a86b;
  --green-bg:#d4f7ec;
  --orange:  #ff6b35;
  --r:       14px;
  --nav-h:   68px;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: #fff; overflow-x: hidden; }
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
section { scroll-margin-top: var(--nav-h); }

/* ══ UTILITIES ══ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.badge { display: inline-flex; align-items: center; gap: 5px; background: var(--green-bg); color: #065f46; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.sec-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue2); margin-bottom: 10px; }
.sec-title { font-size: clamp(26px, 4vw, 38px); color: var(--navy); line-height: 1.2; margin-bottom: 14px; }
.sec-sub { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 600px; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ══ NAVBAR ══ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s;
  background: transparent;
}
#navbar.scrolled {
  background: rgba(0,100,148,.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,.15);
}
#navbar .nav-inner {
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; flex-direction: column; gap: 0;
  cursor: pointer;
}
.nav-logo-main { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: #fff; line-height: 1; }
.nav-logo-sub { font-size: 10px; font-weight: 500; color: rgba(255,255,255,.7); letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: rgba(255,255,255,.9); font-size: 13px; font-weight: 500;
  padding: 7px 12px; border-radius: 8px;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: rgba(255,255,255,.15); color: #fff; }

.nav-links .nav-cta {
  background: #fff; color: var(--navy);
  padding: 8px 18px; border-radius: 20px;
  font-weight: 700; font-size: 13px;
  transition: background .15s, transform .15s;
}
.nav-links .nav-cta:hover { background: var(--sky); transform: translateY(-1px); }
/* Selector de idioma */
.lang-switcher { position: relative; margin-right: 6px; }
.lang-btn {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  color: #fff; border-radius: 20px; padding: 6px 12px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  transition: background .15s;
}
.lang-btn:hover { background: rgba(255,255,255,.25); }
.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
  overflow: hidden; z-index: 9999; min-width: 130px;
}
.lang-dropdown.open { display: block; }
.lang-option {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; font-size: 13px; font-weight: 600;
  color: #1a2b4a; cursor: pointer; transition: background .12s;
  border-bottom: 1px solid #f0f2f5;
}
.lang-option:last-child { border-bottom: none; }
.lang-option:hover { background: #f0f7ff; }
.lang-option.active { color: #ff6b35; }
.lang-flag { font-size: 16px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-burger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }
#nav-mobile {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(0,100,148,.96); backdrop-filter: blur(10px);
  padding: 16px 24px 24px; z-index: 999; flex-direction: column; gap: 4px;
  border-top: 1px solid rgba(255,255,255,.1);
}
#nav-mobile.open { display: flex; }
#nav-mobile a { color: rgba(255,255,255,.9); font-size: 15px; font-weight: 500; padding: 12px 16px; border-radius: 10px; }
#nav-mobile a:hover { background: rgba(255,255,255,.1); }

/* ══ HERO ══ */
#inicio {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(0,50,80,.55) 0%, rgba(0,100,148,.35) 55%, rgba(255,107,53,.15) 100%);
}
/* Indicadores del slideshow */
.hero-dots {
  position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4); border: none; cursor: pointer;
  transition: background .3s, transform .3s; padding: 0;
}
.hero-dot.active { background: #fff; transform: scale(1.3); }
.hero-content {
  position: relative; z-index: 2; text-align: center; color: #fff;
  padding: 0 24px; max-width: 780px;
}
.hero-badge { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 16px; border-radius: 20px; display: inline-block; margin-bottom: 22px; letter-spacing: .04em; }
.hero-title { font-size: clamp(34px, 6vw, 64px); font-weight: 700; line-height: 1.1; margin-bottom: 18px; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero-title span { color: #93c5fd; }
.hero-sub { font-size: clamp(15px, 2vw, 19px); font-weight: 300; opacity: .9; line-height: 1.6; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-hero-primary { background: var(--coral); color: #fff; font-size: 15px; font-weight: 700; padding: 14px 30px; border-radius: 30px; border: none; cursor: pointer; transition: all .2s; box-shadow: 0 4px 24px rgba(255,107,53,.45); }
.btn-hero-primary:hover { background: #ff8554; transform: translateY(-2px); box-shadow: 0 6px 28px rgba(255,107,53,.5); }
.btn-hero-ghost { background: transparent; color: #fff; font-size: 15px; font-weight: 600; padding: 13px 28px; border-radius: 30px; border: 2px solid rgba(255,255,255,.7); cursor: pointer; transition: all .2s; }
.btn-hero-ghost:hover { background: rgba(255,255,255,.18); border-color: #fff; }

/* ══ HERO REVIEW STRIP ══ */
.hero-review-strip {
  position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 4px;
  pointer-events: none;
}
.hero-review-stars { color: #d4e80a; font-size: 18px; letter-spacing: 3px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.hero-review-text  { color: #d4e80a; font-size: 18px; font-family: 'Pirata One', cursive; letter-spacing: .05em; text-shadow: 0 1px 8px rgba(0,0,0,.6); white-space: nowrap; }

/* ══ HERO BOOKING WIDGET ══ */
.hero-reserva-wrap { position: relative; display: inline-block; margin-top: 32px; }
@media(max-width: 640px) { .hero-reserva-wrap { margin-top: 110px; } }
.hw-btn {
  padding: 14px 32px; border-radius: 30px; border: none; cursor: pointer;
  font-size: 16px; font-weight: 800;
  background: linear-gradient(135deg, #ff6b35, #ff4500);
  color: #fff; box-shadow: 0 4px 22px rgba(255,107,53,.55);
  transition: all .2s; white-space: nowrap;
  animation: pulse-reservar 2s ease-in-out infinite;
}
.hw-btn:hover { animation: none; transform: translateY(-2px); box-shadow: 0 6px 28px rgba(255,107,53,.7); }
.hw-dropdown {
  display: none; position: absolute; bottom: calc(100% + 12px); left: 50%;
  transform: translateX(-50%);
  background: #fff; border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.22);
  min-width: 260px; overflow: hidden; z-index: 9999;
}
.hw-dropdown.open { display: block; }
.hw-dropdown a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; text-decoration: none; color: #1a2b4a;
  font-size: 14px; font-weight: 700;
  border-bottom: 1px solid #f0f2f5; transition: background .15s;
}
.hw-dropdown a:last-child { border-bottom: none; }
.hw-dropdown a:hover { background: #fff7f3; color: #ff6b35; }
.hw-prop-thumb {
  width: 48px; height: 38px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
}
.hw-prop-info { display: flex; flex-direction: column; }
.hw-prop-name { font-size: 13px; font-weight: 700; color: #1a2b4a; }
.hw-prop-sub  { font-size: 11px; color: #64748b; font-weight: 500; margin-top: 1px; }
.hero-scroll { position: absolute; bottom: 28px; z-index: 2; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 13px; display: flex; flex-direction: column; align-items: center; gap: 8px; animation: bounce 2s infinite; }
.hero-scroll::after { content: '↓'; font-size: 18px; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ══ PROPIEDADES CARDS (home) ══ */
#propiedades { background: var(--sand); padding: 80px 0; }
.props-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.props-swipe-hint { display: none; }
.prop-card {
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(12,74,110,.10);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.prop-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(12,74,110,.18); }
.prop-card-img { position: relative; height: 240px; overflow: hidden; }
.prop-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.prop-card:hover .prop-card-img img { transform: scale(1.06); }
.prop-card-badge { position: absolute; top: 14px; left: 14px; background: rgba(12,74,110,.85); backdrop-filter: blur(6px); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.prop-card-saving { position: absolute; top: 14px; right: 14px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.prop-card-dist { position: absolute; bottom: 12px; left: 12px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 20px; display: flex; align-items: center; gap: 5px; }
/* Badge "tour virtual" — pill chico, esquina inferior derecha de la foto */
.prop-card-tour {
  position: absolute; bottom: 12px; right: 12px;
  background: linear-gradient(135deg, var(--coral) 0%, #ff4500 100%);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 20px;
  display: flex; align-items: center; gap: 5px;
  box-shadow: 0 3px 12px rgba(255,107,53,.5);
  animation: tourPulse 2.2s ease-in-out infinite;
  z-index: 2;
}
@keyframes tourPulse {
  0%, 100%  { box-shadow: 0 3px 12px rgba(255,107,53,.5); }
  50%       { box-shadow: 0 3px 16px rgba(255,107,53,.75), 0 0 0 5px rgba(255,107,53,.15); }
}
.prop-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; }
.prop-card-name { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.prop-card-loc { font-size: 13px; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 5px; }
.prop-card-desc { font-size: 14px; color: #475569; line-height: 1.6; margin-bottom: 16px; }
.prop-card-features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.prop-feat { font-size: 11px; padding: 3px 10px; border-radius: 20px; background: var(--sky); color: var(--blue); font-weight: 600; border: 1px solid var(--border); }
.prop-card-price { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.prop-card-price strong { font-size: 20px; color: var(--navy); font-weight: 700; }
.prop-card-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px; margin-top: auto;
  background: linear-gradient(135deg, var(--coral) 0%, #ff4500 100%);
  color: #fff; border-radius: 10px; font-size: 14px; font-weight: 700;
  border: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 3px 14px rgba(255,107,53,.35);
  animation: cardBtnPulse 2.4s ease-in-out infinite;
}
.prop-card-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 18px rgba(255,107,53,.5); }
@keyframes cardBtnPulse {
  0%, 100% { box-shadow: 0 3px 14px rgba(255,107,53,.35); }
  50%      { box-shadow: 0 5px 20px rgba(255,107,53,.55); }
}

/* Botón reservar directo — grande y pulsante */
@keyframes pulse-reservar {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,107,53,.7), 0 6px 24px rgba(255,107,53,.45); transform: scale(1); }
  50%      { box-shadow: 0 0 0 12px rgba(255,107,53,0), 0 8px 32px rgba(255,107,53,.6); transform: scale(1.03); }
}
.btn-reservar-directo {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 36px; font-size: 17px; font-weight: 800; border: none; cursor: pointer;
  background: linear-gradient(135deg, #ff6b35 0%, #ff4500 100%);
  color: #fff; border-radius: 50px;
  animation: pulse-reservar 2s ease-in-out infinite;
  transition: transform .15s;
  margin-top: 24px; width: 100%; max-width: 340px;
  letter-spacing: .01em;
}
.btn-reservar-directo:hover { animation: none; transform: scale(1.04); background: linear-gradient(135deg,#ff8554,#ff6b35); box-shadow: 0 8px 32px rgba(255,107,53,.6); }

/* ══ MAPA GENERAL ══ */
#ubicaciones { background: #fff; padding: 80px 0; }
.map-general-wrap { margin-top: 36px; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,100,148,.14); height: 420px; position: relative; }
#main-map { width: 100%; height: 100%; }
.leaflet-tooltip.prop-tip {
  background: #fff; border: none; border-radius: 8px; padding: 4px 10px;
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700;
  color: #006494; box-shadow: 0 2px 8px rgba(0,0,0,.2); white-space: nowrap;
}
.leaflet-tooltip.prop-tip::before { display: none; }
.map-open-btn {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  display: flex; align-items: center; gap: 7px;
  background: var(--coral); color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 9px 16px; border-radius: 20px;
  border: none; cursor: pointer; text-decoration: none;
  box-shadow: 0 3px 16px rgba(255,107,53,.45);
  transition: all .2s;
}
.map-open-btn:hover { background: #ff8554; transform: translateY(-2px); box-shadow: 0 5px 20px rgba(255,107,53,.5); }

/* Tarjeta de propiedad — estilo Google Maps */
.map-prop-card {
  position: absolute; top: 10px; left: 10px; z-index: 1000;
  background: #fff; border-radius: 14px;
  box-shadow: 0 6px 30px rgba(0,0,0,.28);
  width: 272px; overflow: hidden;
  opacity: 0; pointer-events: none;
  transform: translateX(-12px) scale(.97);
  transition: opacity .3s ease, transform .3s ease;
}
.map-prop-card.visible {
  opacity: 1; pointer-events: all;
  transform: translateX(0) scale(1);
}
/* foto + botón cerrar */
.map-card-img-wrap { position: relative; }
.map-card-img { width: 100%; height: 110px; object-fit: cover; display: block; }
.map-card-close {
  position: absolute; top: 8px; right: 8px;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,0,0,.45); border: none; cursor: pointer;
  color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.map-card-close:hover { background: rgba(0,0,0,.65); }
/* cuerpo */
.map-card-body { padding: 9px 12px 2px; }
.map-card-name { font-size: 17px; font-weight: 700; color: #1a1a1a; margin-bottom: 2px; font-family: 'Inter', sans-serif; }
.map-card-type { font-size: 12px; color: #666; margin-bottom: 6px; }
/* rating row */
.map-card-rating {
  display: flex; align-items: center; gap: 5px;
  margin-bottom: 10px;
}
.map-card-score { font-size: 14px; font-weight: 700; color: #1a1a1a; }
.map-card-stars { color: #f59e0b; font-size: 13px; letter-spacing: 1px; }
.map-card-rev { font-size: 12px; color: #1a73e8; text-decoration: underline; cursor: pointer; }
/* botones circulares estilo maps */
.map-card-btns {
  display: flex; justify-content: space-around;
  padding: 4px 0 8px; border-bottom: 1px solid #e8e8e8;
  margin-bottom: 6px;
}
.map-card-circ {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-decoration: none; cursor: pointer; background: none; border: none;
}
.map-card-circ-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: transform .15s;
}
.map-card-circ:hover .map-card-circ-icon { transform: scale(1.1); }
.map-card-circ-icon.blue  { background: #e8f0fe; }
.map-card-circ-icon.green { background: #e6f4ea; }
.map-card-circ-icon.orange{ background: #fce8e6; }
.map-card-circ span { font-size: 10px; color: #444; font-weight: 500; }
/* info rows */
.map-card-info { padding: 0 12px 10px; }
.map-card-info-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; color: #444; padding: 5px 0;
  border-bottom: 1px solid #f0f0f0; line-height: 1.4;
}
.map-card-info-row:last-child { border-bottom: none; }
.map-card-info-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }

/* Botones de ubicación */
.map-btns-row { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.map-loc-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 14px;
  border: 2px solid var(--border); background: #fff;
  cursor: pointer; transition: all .2s;
  flex: 1; min-width: 200px;
}
.map-loc-btn:hover { border-color: var(--blue2); background: var(--sky); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,153,204,.15); }
.map-loc-btn.active { border-color: var(--blue); background: var(--sky); box-shadow: 0 4px 16px rgba(0,153,204,.2); }
.map-loc-dot { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(255,255,255,.8), 0 0 0 5px currentColor; }
.map-loc-info { text-align: left; }
.map-loc-name { font-size: 14px; font-weight: 700; color: var(--navy); display: block; }
.map-loc-sub { font-size: 11px; color: var(--muted); display: block; margin-top: 1px; }
.map-loc-btn.active .map-loc-name { color: var(--blue); }
.map-loc-arrow { margin-left: auto; font-size: 16px; color: var(--muted); transition: transform .2s; }
.map-loc-btn:hover .map-loc-arrow, .map-loc-btn.active .map-loc-arrow { transform: translateX(3px); color: var(--blue); }

/* ══ PROPERTY SECTION (individual) ══ */
.property-section { padding: 90px 0; }
.property-section:nth-child(odd) { background: var(--sand); }
.property-section:nth-child(even) { background: #fff; }
.prop-hero { position: relative; height: 400px; border-radius: 20px; overflow: hidden; margin-bottom: 48px; }
.prop-hero img { width: 100%; height: 100%; object-fit: cover; }
.prop-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,74,110,.7) 0%, transparent 50%); display: flex; align-items: flex-end; padding: 32px; }
.prop-hero-info { color: #fff; }
.prop-hero-info h2 { font-size: 36px; margin-bottom: 6px; }
.prop-hero-info p { font-size: 15px; opacity: .9; }

/* Tour + mapa + galería */
.prop-tour { margin-bottom: 40px; }
.prop-tour-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.tour-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.ttab { padding: 7px 16px; border-radius: 20px; border: 1.5px solid var(--border); font-size: 13px; font-weight: 600; cursor: pointer; color: var(--muted); background: #fff; transition: all .15s; }
.ttab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.tour-frame { border-radius: 14px; overflow: hidden; background: #111; height: 360px; }
.tour-frame iframe { width: 100%; height: 100%; border: none; }
@media(max-width:600px) { .tour-frame { height: 240px; } }

.prop-mid-grid { display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: 24px; margin-bottom: 40px; }
.prop-mid-grid > div { min-width: 0; overflow: hidden; }
.prop-map-panel { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; }
.prop-map-header { background: var(--sky); padding: 10px 16px; font-size: 13px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 6px; }
.prop-map-panel iframe { flex: 1; height: 280px; border: none; }
.prop-map-footer { background: var(--sky); padding: 10px 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.map-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; padding: 7px 14px;
  border-radius: 20px; text-decoration: none; transition: all .15s;
}
.map-btn-maps { background: var(--coral); color: #fff; box-shadow: 0 2px 10px rgba(255,107,53,.35); }
.map-btn-maps:hover { background: #ff8554; transform: translateY(-1px); }
.map-btn-reservar { background: var(--sky); color: var(--blue); border: 1.5px solid var(--border); }
.map-btn-reservar:hover { background: var(--border); }

/* Galería — foto principal + tira de miniaturas */
.gal-wrap { display: flex; flex-direction: column; gap: 6px; }
.gal-main {
  width: 100%; height: 260px; border-radius: 10px; overflow: hidden;
  cursor: pointer; position: relative;
}
.gal-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.gal-main:hover img { transform: scale(1.03); }
.gal-main-count {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: 20px; pointer-events: none;
}
.gal-hint {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(0,0,0,.45); color: #fff;
  font-size: 10px; padding: 3px 8px; border-radius: 20px;
  pointer-events: none; opacity: 0; transition: opacity .3s;
}
.gal-main:hover .gal-hint { opacity: 1; }
.gal-strip {
  display: flex; gap: 5px; flex-shrink: 0;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: 2px; height: 60px; width: 100%; max-width: 100%;
}
.gal-strip::-webkit-scrollbar { display: none; }
.gal-thumb {
  flex-shrink: 0; width: 80px; height: 60px;
  border-radius: 6px; overflow: hidden; cursor: pointer;
  scroll-snap-align: start;
  border: 2px solid transparent; transition: border-color .15s;
}
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal-thumb.active { border-color: var(--coral); }
.gal-thumb:hover { border-color: var(--blue2); }

/* Streaming badges */
.srv-streaming {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.streaming-row { display: none; }
.streaming-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.sbadge {
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px;
  white-space: nowrap; letter-spacing: .02em;
}
.sbadge-netflix  { background: #e50914; color: #fff; }
.sbadge-prime    { background: #00a8e0; color: #fff; }
.sbadge-disney   { background: #113ccf; color: #fff; }
.sbadge-movistar { background: #019df4; color: #fff; }
.sbadge-flow     { background: #f47920; color: #fff; }
.ikea-badge {
  display: inline-block; background: #fff; color: #003DA5;
  border: 1.5px solid #003DA5;
  font-weight: 900; font-size: 9px; padding: 1px 5px; border-radius: 2px;
  letter-spacing: .5px; vertical-align: middle; margin-left: 4px;
  font-family: Arial, sans-serif;
}
.srv-ropa-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* Servicios de propiedad */
.prop-services { background: #fff; border-radius: 16px; padding: 28px; margin-bottom: 32px; border: 1px solid var(--border); }
.prop-services-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.services-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.srv { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #475569; }
.srv-icon { font-size: 20px; flex-shrink: 0; }

/* Cómo reservar */
.how-to-section { margin-bottom: 32px; }
.how-to-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.how-step { background: var(--sky); border-radius: 12px; padding: 18px 14px; text-align: center; }
.how-num { width: 32px; height: 32px; background: var(--navy); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; margin: 0 auto 10px; }
.how-step p { font-size: 12px; color: var(--muted); line-height: 1.5; }
.how-step strong { display: block; font-size: 13px; color: var(--navy); margin-bottom: 4px; }

/* Plataformas */
.platforms-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.platform-badge { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--border); border-radius: 10px; padding: 9px 16px; font-size: 13px; font-weight: 600; color: var(--muted); background: #fff; transition: border-color .15s, color .15s; }
.platform-badge:hover { border-color: var(--blue); color: var(--blue); }
.platform-logo { font-size: 18px; }
.platform-note { font-size: 13px; color: var(--muted); }
.direct-badge { background: var(--green-bg); border: 1.5px solid #6ee7b7; color: #065f46; padding: 9px 16px; border-radius: 10px; font-size: 13px; font-weight: 700; }

/* ══ SERVICIOS GENERALES ══ */
#servicios { padding: 90px 0; background: linear-gradient(135deg, #0077a8 0%, #00b4d8 60%, #48cae4 100%); color: #fff; }
#servicios .sec-tag { color: #ffe599; letter-spacing: .12em; }
#servicios .sec-title { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.15); }
#servicios .sec-sub { color: rgba(255,255,255,.88); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 48px; }
.service-card { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: 16px; padding: 28px 24px; transition: background .2s, transform .2s; backdrop-filter: blur(4px); }
.service-card:hover { background: rgba(255,255,255,.22); transform: translateY(-3px); }
.service-card-icon { font-size: 36px; margin-bottom: 14px; }
.service-card h4 { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.service-card p { font-size: 13px; color: rgba(255,255,255,.8); line-height: 1.6; }

/* ══ RESEÑAS ══ */
#resenas { padding: 90px 0; background: var(--sand); }
/* Grilla de 2 filas fijas — al superarse se sigue en columnas hacia la
   derecha (scroll horizontal) en vez de agregar más filas hacia abajo. */
.reviews-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, 1fr);
  grid-auto-columns: minmax(300px, 340px);
  gap: 22px; margin-top: 48px;
  overflow-x: auto; scroll-snap-type: x proximity;
  padding-bottom: 8px; scrollbar-width: thin;
}
.reviews-grid::-webkit-scrollbar { height: 8px; }
.reviews-grid::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
.review-card { background: #fff; border-radius: 16px; padding: 26px; box-shadow: 0 2px 16px rgba(12,74,110,.07); overflow: hidden; scroll-snap-align: start; }
.review-prop-photo { width: calc(100% + 52px); height: 120px; object-fit: cover; border-radius: 16px 16px 0 0; margin: -26px -26px 18px; display: block; background: var(--border); }
.reviews-group { margin-bottom: 46px; }
.reviews-group:last-child { margin-bottom: 0; }
.reviews-group-title { font-size: 15px; font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: 8px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.review-stars { font-size: 16px; margin-bottom: 12px; color: #f59e0b; }
.review-text { font-size: 14px; color: #475569; line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; flex-shrink: 0; }
.review-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.review-meta { font-size: 12px; color: var(--muted); }
.review-src { font-size: 11px; font-weight: 700; color: var(--blue2); margin-top: 2px; }

.btn-write-review {
  background: linear-gradient(135deg, #ffb703, var(--coral));
  color: #fff; border: none; font-size: 16px; font-weight: 800;
  padding: 15px 34px; border-radius: 30px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 26px rgba(255,107,53,.4);
  transition: transform .2s, box-shadow .2s;
  animation: reviewBtnPulse 2.4s ease-in-out infinite;
}
.btn-write-review:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 34px rgba(255,107,53,.55);
}
.btn-write-review-icon { font-size: 19px; display: inline-block; animation: reviewStarSpin 2.4s ease-in-out infinite; }
@keyframes reviewBtnPulse {
  0%, 100% { box-shadow: 0 8px 26px rgba(255,107,53,.4); }
  50%      { box-shadow: 0 8px 34px rgba(255,183,3,.6); }
}
@keyframes reviewStarSpin {
  0%, 70%, 100% { transform: rotate(0deg) scale(1); }
  80% { transform: rotate(-18deg) scale(1.15); }
  90% { transform: rotate(14deg) scale(1.15); }
}

/* ══ MODAL: DEJAR RESEÑA ══ */
.review-form-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.65); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 16px;
}
.review-form-overlay.open { display: flex; }
.review-form-box {
  position: relative; background: #fff; width: 100%; max-width: 460px;
  max-height: 92vh; overflow-y: auto; border-radius: 20px; padding: 30px 26px;
  box-shadow: 0 28px 80px rgba(0,0,0,.45);
}
.review-form-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px;
  border-radius: 50%; border: none; background: #f1f5f9; color: var(--navy);
  font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.review-form-title { font-family: 'Playfair Display', serif; font-size: 21px; color: var(--navy); margin-bottom: 4px; }
.review-form-sub { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.review-form-label { display: block; font-size: 12px; font-weight: 700; color: var(--navy); margin: 14px 0 8px; }
.review-form-props { display: flex; gap: 8px; flex-wrap: wrap; }
.rf-prop-btn {
  padding: 9px 14px; border-radius: 20px; border: 1.5px solid var(--border);
  background: #fff; color: var(--muted); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .15s;
}
.rf-prop-btn.selected { background: var(--navy); border-color: var(--navy); color: #fff; }
.review-form-stars { font-size: 30px; color: #d1d5db; letter-spacing: 4px; cursor: pointer; user-select: none; }
.review-form-stars span.active { color: #f59e0b; }
.review-form-input, .review-form-textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 10px;
  padding: 10px 12px; font-size: 14px; font-family: inherit; color: var(--navy);
}
.review-form-textarea { min-height: 90px; resize: vertical; }
.review-form-error { color: #dc2626; font-size: 12px; margin-top: 10px; min-height: 16px; }
.review-form-submit {
  width: 100%; margin-top: 16px; background: var(--coral); color: #fff;
  font-size: 15px; font-weight: 800; padding: 13px; border-radius: 30px;
  border: none; cursor: pointer; transition: all .2s;
}
.review-form-submit:hover { background: #ff8554; }

/* ══ FOOTER ══ */
footer { background: #00425e; color: rgba(255,255,255,.75); padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 22px; color: #fff; margin-bottom: 10px; }
.footer-tagline { font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.footer-contact a { display: flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 8px; transition: color .15s; }
.footer-contact a:hover { color: #fff; }
.footer-col h5 { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
/* Footer dropdown */
.footer-dropdown { position: relative; margin-bottom: 10px; }
.footer-dropdown-btn {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,.7); cursor: pointer;
  background: none; border: none; padding: 0; width: 100%;
  font-family: 'Inter', sans-serif; transition: color .15s;
}
.footer-dropdown-btn:hover { color: #fff; }
.footer-dropdown-btn .arr { font-size: 10px; transition: transform .2s; }
.footer-dropdown.open .arr { transform: rotate(180deg); }
.footer-dropdown-menu {
  display: none; position: absolute; bottom: 100%; left: 0;
  background: #003a52; border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 8px 0; min-width: 180px;
  box-shadow: 0 -8px 24px rgba(0,0,0,.3); z-index: 100; margin-bottom: 6px;
}
.footer-dropdown.open .footer-dropdown-menu { display: block; }
.footer-dropdown-menu a {
  display: block; padding: 8px 16px; font-size: 12px;
  color: rgba(255,255,255,.75); margin-bottom: 0;
  white-space: nowrap; transition: background .15s, color .15s;
}
.footer-dropdown-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.footer-wa { display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #fff; padding: 10px 20px; border-radius: 20px; font-size: 13px; font-weight: 700; transition: opacity .15s; }
.footer-wa:hover { opacity: .88; }

/* ══ STICKY BOOKING BAR ══ */
#booking-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: linear-gradient(90deg, #005f8a 0%, #0099cc 100%);
  padding: 0;
  box-shadow: 0 -4px 24px rgba(0,0,0,.25);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
#booking-bar.visible { transform: translateY(0); }
.booking-bar-inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.booking-bar-text { color: #fff; }
.booking-bar-text strong { font-size: 15px; font-weight: 700; display: block; }
.booking-bar-text span { font-size: 12px; color: rgba(255,255,255,.75); }
.booking-bar-saving { background: var(--green); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.booking-bar-actions { display: flex; gap: 10px; align-items: center; }
.btn-open-widget { background: var(--coral); color: #fff; font-size: 14px; font-weight: 800; padding: 11px 28px; border-radius: 30px; border: none; cursor: pointer; transition: all .2s; box-shadow: 0 3px 16px rgba(255,107,53,.45); white-space: nowrap; }
.btn-open-widget:hover { background: #ff8554; transform: translateY(-1px); }

/* ══ BOOKING MODAL ══ */
#booking-modal {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.72); backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
  padding: 16px;
}
#booking-modal.open { display: flex; }
.modal-container {
  background: #fff; width: 100%; max-width: 840px;
  height: min(92vh, 820px);
  border-radius: 20px;
  display: flex; flex-direction: column;
  box-shadow: 0 28px 80px rgba(0,0,0,.45);
  animation: modalIn .28s cubic-bezier(.2,.8,.4,1);
  overflow: hidden;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.95) translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px 14px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.modal-title { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--navy); }
.modal-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.modal-close {
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: #f1f5f9; color: var(--navy); font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s; flex-shrink: 0;
}
.modal-close:hover { background: #e2e8f0; }
.modal-property-tabs { display: flex; gap: 6px; padding: 12px 22px 8px; flex-shrink: 0; flex-wrap: wrap; }
.mprop-tab { padding: 7px 14px; border-radius: 20px; border: 1.5px solid var(--border); font-size: 12px; font-weight: 600; cursor: pointer; color: var(--muted); background: #fff; transition: all .12s; }
.mprop-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.modal-body { flex: 1; min-height: 0; overflow: hidden; }
.modal-body iframe { width: 100%; height: 100%; border: none; display: block; }

/* Modal responsive — mobile: bottom sheet */
@media (max-width: 640px) {
  #booking-modal { padding: 0; align-items: flex-end; }
  .modal-container {
    max-width: 100%; height: 93vh;
    border-radius: 20px 20px 0 0;
    animation: slideUp .3s cubic-bezier(.2,.8,.4,1);
  }
  @keyframes slideUp { from{transform:translateY(100%)} to{transform:translateY(0)} }
}

/* ══ LIGHTBOX ══ */
#lightbox {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.92); align-items: center; justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 6px; object-fit: contain; }
.lb-close { position: absolute; top: 20px; right: 24px; color: #fff; font-size: 32px; cursor: pointer; background: none; border: none; line-height: 1; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 32px; cursor: pointer; background: rgba(255,255,255,.1); border: none; border-radius: 50%; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.2); }

/* ══ RESPONSIVE ══ */
@media(max-width: 900px) {
  .props-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .prop-mid-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .reviews-grid { display: flex; flex-direction: column; grid-auto-flow: unset; overflow-x: visible; max-width: 500px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  /* Carrusel horizontal de tarjetas — en vez de columna apilada */
  .props-grid {
    display: flex; max-width: none;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-left: -24px; margin-right: -24px; margin-bottom: 6px;
    padding: 4px 24px 14px; gap: 16px;
  }
  .props-grid::-webkit-scrollbar { display: none; }
  .prop-card { flex: 0 0 82%; scroll-snap-align: center; }
  .props-swipe-hint {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 12px; font-weight: 700; color: var(--muted);
    margin-top: -8px; animation: swipeHint 1.5s ease-in-out infinite;
  }
  .how-steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .booking-bar-text strong { font-size: 13px; }
  .booking-bar-saving { display: none; }
}
@keyframes swipeHint {
  0%, 100% { transform: translateX(0); opacity: .65; }
  50%      { transform: translateX(7px); opacity: 1; }
}
@media(max-width: 500px) {
  .prop-hero { height: 280px; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ─── Widget Disponibilidad ─────────────────────────────────────────── */
.avail-widget{margin:28px 0 0;background:#fff;border-radius:16px;border:1.5px solid #e5e7eb;overflow:hidden}
.avail-hdr{display:flex;align-items:center;gap:12px;padding:16px 18px 12px;border-bottom:1px solid #f3f4f6}
.avail-hdr-icon{font-size:28px}
.avail-hdr-title{font-size:15px;font-weight:800;color:var(--navy)}
.avail-hdr-sub{font-size:11px;color:#6b7280;margin-top:2px}
.avail-tabs{display:flex;gap:6px;padding:10px 14px 6px}
.avail-tab{flex:1;padding:7px 4px;border:1.5px solid #e5e7eb;border-radius:10px;background:none;cursor:pointer;font-size:11px;font-weight:700;color:#6b7280;text-align:center;transition:all .15s;-webkit-tap-highlight-color:transparent}
.avail-tab.active{border-color:var(--orange);background:#fff3ee;color:var(--orange)}
.avail-body{padding:12px 14px}
.avail-loading{text-align:center;padding:24px;font-size:13px;color:#9ca3af}
.avail-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.avail-month-lbl{font-size:14px;font-weight:700;color:var(--navy)}
.avail-arr{width:32px;height:32px;border-radius:50%;border:1.5px solid #e5e7eb;background:none;cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;color:var(--navy);transition:all .15s}
.avail-arr:hover{background:#fff3ee;border-color:var(--orange);color:var(--orange)}
.avail-wds{display:grid;grid-template-columns:repeat(7,1fr);margin-bottom:4px}
.avail-wd{text-align:center;font-size:9px;font-weight:700;color:#9ca3af;padding:2px 0;text-transform:uppercase}
.avail-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.avail-day{aspect-ratio:1;min-height:36px;border-radius:7px;border:none;background:none;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;color:var(--navy);transition:background .1s;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.avail-day.empty,.avail-day.past{color:#d1d5db;cursor:default;background:none!important}
.avail-day.avail{background:#dcfce7;color:#15803d}
.avail-day.avail:hover{background:#bbf7d0;color:#166534}
.avail-day.blocked{background:#fee2e2;color:#dc2626;cursor:not-allowed;text-decoration:line-through;font-weight:600}
.avail-day.aci{background:#2563eb;color:#fff;border-radius:7px 0 0 7px;font-weight:800;box-shadow:inset 0 0 0 2px #1d4ed8}
.avail-day.aco{background:#2563eb;color:#fff;border-radius:0 7px 7px 0;font-weight:800;box-shadow:inset 0 0 0 2px #1d4ed8}
.avail-day.ainr{background:#bfdbfe;color:#1e40af;border-radius:0}
.avail-day.asd{border-radius:7px!important}
.avail-day.atoday:not(.aci):not(.aco):not(.ainr){font-weight:800;color:#2563eb}
.avail-legend{display:flex;gap:12px;margin-top:10px;flex-wrap:wrap}
.avail-leg{display:flex;align-items:center;gap:4px;font-size:10px;color:#6b7280}
.avail-leg-dot{width:10px;height:10px;border-radius:3px;flex-shrink:0}
.avail-dbar{gap:8px;margin:4px 14px 8px;padding:10px 12px;background:#f9fafb;border-radius:10px;align-items:center;border:1px solid #e5e7eb;display:none}
.avail-dbox{flex:1;text-align:center}
.avail-dbox-lbl{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#9ca3af}
.avail-dbox-val{font-size:13px;font-weight:700;color:var(--navy);margin-top:2px}
.avail-status{margin:6px 14px;padding:11px 14px;border-radius:11px;font-size:13px;font-weight:600;line-height:1.4;display:none}
.avail-status.hint{background:#fff3ee;color:#e85a25;display:block}
.avail-status.ok{background:#f0fdf4;color:#065f46;border:1.5px solid #bbf7d0;display:block}
.avail-status.err{background:#fef2f2;color:#b91c1c;border:1.5px solid #fecaca;display:block}
.avail-cta-btn{display:none;width:calc(100% - 28px);margin:10px 14px 16px;padding:15px;background:linear-gradient(135deg,#ff6b35,#e85a25);color:#fff;border:none;border-radius:12px;font-size:15px;font-weight:800;cursor:pointer;text-align:center;transition:opacity .15s,transform .15s;box-shadow:0 4px 20px rgba(255,107,53,.45);letter-spacing:.01em}
.avail-cta-btn:hover{opacity:.92;transform:translateY(-1px)}
.avail-cta-btn.show{display:block;animation:ctaPulse 1.8s ease-in-out 2}
@keyframes ctaPulse{0%,100%{box-shadow:0 4px 20px rgba(255,107,53,.45)}50%{box-shadow:0 6px 28px rgba(255,107,53,.75)}}

/* ─── Layout combinado Calendario + Servicios (60/40) ─── */
.prop-cal-srv{display:grid;grid-template-columns:59% 1fr;gap:20px;margin:24px 0 0;align-items:start}
.prop-cal-srv .avail-widget{margin:0}
.prop-cal-srv .prop-services{margin:0;height:100%;box-sizing:border-box;padding:18px 20px}
/* Calendario compacto */
.prop-cal-srv .avail-hdr{padding:12px 14px 10px}
.prop-cal-srv .avail-tabs{padding:8px 10px 4px}
.prop-cal-srv .avail-body{padding:8px 10px}
.prop-cal-srv .avail-day{min-height:34px;font-size:16px;border-radius:6px}
.prop-cal-srv .avail-arr{width:27px;height:27px;font-size:14px}
.prop-cal-srv .avail-month-lbl{font-size:13px}
.prop-cal-srv .avail-wd{font-size:8px;padding:1px 0}
.prop-cal-srv .avail-legend{margin-top:6px}
.prop-cal-srv .avail-dbar{margin:2px 10px 5px}
.prop-cal-srv .avail-status{margin:4px 10px;font-size:12px;padding:9px 12px}
.prop-cal-srv .avail-cta-btn{width:calc(100% - 20px);margin:8px 10px 14px;font-size:14px;padding:14px}
/* Servicios en columna derecha: lista vertical */
.prop-cal-srv .services-icons{grid-template-columns:1fr;gap:9px}
.prop-cal-srv .srv{font-size:12px;gap:8px}
.prop-cal-srv .srv-icon{font-size:16px}
.prop-cal-srv .prop-services-title{font-size:14px;margin-bottom:12px}
/* Mobile: apilado — calendario arriba, servicios abajo */
@media(max-width:768px){.prop-cal-srv{grid-template-columns:1fr;gap:14px}.prop-cal-srv .services-icons{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}}

/* ══ COOKIE BANNER ══ */
#cookie-banner {
  position: fixed; bottom: 20px; left: 20px; z-index: 99999;
  background: rgba(15,30,55,.35); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.12);
  color: #cbd5e1; border-radius: 14px;
  padding: 14px 16px; max-width: 300px;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  opacity: 0; transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
#cookie-banner.show { opacity: 1; transform: translateY(0); pointer-events: all; }
.cookie-text { font-size: 12px; line-height: 1.5; margin-bottom: 12px; }
.cookie-text a { color: #93c5fd; text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; }
.btn-cookie-accept {
  background: #ff6b35; color: #fff; border: none; border-radius: 20px;
  padding: 7px 16px; font-size: 12px; font-weight: 700; cursor: pointer;
  transition: background .15s; flex: 1;
}
.btn-cookie-accept:hover { background: #ff8554; }
.btn-cookie-reject {
  background: transparent; color: #64748b; border: 1px solid #334155;
  border-radius: 20px; padding: 7px 12px; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .15s; white-space: nowrap;
}
.btn-cookie-reject:hover { color: #94a3b8; border-color: #475569; }
