/* =========================================================================
   Playa Vida · refinamiento de noviembre 2026
   Se carga después de design.css, preview.css, coast.css y miraflores.css.
   Un solo sistema con las fuentes que ya usa playavidaproperties.com:
     · Fraunces (títulos de propiedad en el sitio actual) → todos los títulos
     · Myriad Pro (titulares Divi del sitio actual) → navegación, etiquetas, botones
     · Open Sans (texto del sitio actual) → cuerpo
   Lato y Myriad Pro Black dejan de usarse.
   ========================================================================= */

:root {
  --pv-display: Fraunces, Georgia, serif;
  --pv-ui: "Myriad Pro", "Open Sans", Arial, sans-serif;
  --pv-body: "Open Sans", Arial, sans-serif;
  --pv-ink: #12302f;
  --pv-ink-soft: #3d5250;
  --pv-teal: #064851;
  --pv-teal-hover: #0a5c66;
  --pv-gold: #8a6430;           /* dorado de marca oscurecido para texto: 5.2:1 sobre arena */
  --pv-sand: #f8f5ef;
  --pv-shell: #f1ebe0;
  --pv-paper: #fffdf9;
  --pv-line: #ddd4c4;
  --pv-line-strong: #c9bfac;
  --pv-radius: 14px;
  --pv-radius-control: 10px;
  --pv-max: 1200px;
  --pv-ease: cubic-bezier(.22, .68, .18, 1);
  --heading-font: var(--pv-display);
  --text-font: var(--pv-body);
}

/* ---------- Tipografía ---------- */
body { font-family: var(--pv-body); color: var(--pv-ink); }

h1, h2,
.catalog .collection-title h1, .services .hero h1, .contact-page .hero h1,
.services .service-panel h2, .property .availability h2, .contact-heading h2,
.home .feature-story h1, .home .places h2, .house-cover h1, .residence-lead h2,
.house-notes h2 {
  font-family: var(--pv-display) !important;
  font-optical-sizing: auto;
  font-weight: 380 !important;
  font-variation-settings: "SOFT" 30, "WONK" 0;
  letter-spacing: -.018em !important;
  line-height: 1.06;
  color: inherit;
}
h3, .catalog .card-body h3, .house-notes h3 {
  font-family: var(--pv-display) !important;
  font-optical-sizing: auto;
  font-weight: 460 !important;
  font-variation-settings: "SOFT" 30;
  letter-spacing: -.01em !important;
  line-height: 1.18;
}
.hero h1, .house-cover h1 { font-size: clamp(40px, 5.6vw, 72px) !important; font-weight: 340 !important; }
main h2 { font-size: clamp(30px, 3.4vw, 46px); }

/* Etiquetas, navegación y botones en Myriad Pro (regular: es el único peso fino que tiene la marca) */
header nav a, .eyebrow, .tabs a, .tabs a span:not(.service-icon), label > span, legend, .btn, button,
.service-enquiry, .stay-enquiry, .cover-dates, .glass-link, .place-action, .place-label small,
.card-body .eyebrow, .stay-counts, .photo-count, .coast-links a, .coast-access a,
.filters label, .filter-status, .clear-filters, .filter-more, .capability-num, .booking-calendar-head {
  font-family: var(--pv-ui) !important;
}
.eyebrow {
  font-size: 13px !important;
  letter-spacing: .16em !important;
  text-transform: uppercase;
  color: var(--pv-gold) !important;
  font-weight: 400 !important;
  margin: 0 0 14px !important;
}
/* La rayita dorada suelta desaparece: la jerarquía la marcan el eyebrow y el tamaño */
h1 + i, h2 + i { display: none !important; }

/* ---------- Botones: una sola forma en todo el sitio ---------- */
.btn, .service-enquiry, .stay-enquiry, .form button[type="submit"], .form button,
.studio-contact .form button, .cover-dates, .availability-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 50px;
  padding: 0 26px !important;
  border-radius: 999px !important;
  border: 1px solid var(--pv-teal) !important;
  background: var(--pv-teal) !important;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  letter-spacing: .02em !important;
  text-decoration: none !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 22px -14px rgba(6,72,81,.75);
  transition: background .25s var(--pv-ease), transform .25s var(--pv-ease), box-shadow .25s var(--pv-ease);
  width: auto;
  cursor: pointer;
}
.btn:hover, .service-enquiry:hover, .stay-enquiry:hover, .form button:hover, .cover-dates:hover {
  background: var(--pv-teal-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 14px 26px -14px rgba(6,72,81,.8);
}
/* Botones sin flecha (Carlos, 24 nov) */
.btn::after, .service-enquiry::after, .stay-enquiry::after, .card-details::after { content: none !important; }
.btn-ghost, .stay-enquiry {
  background: transparent !important;
  color: var(--pv-teal) !important;
  box-shadow: none !important;
}
.btn-ghost:hover, .stay-enquiry:hover { background: rgba(6,72,81,.07) !important; }
.btn-ghost::after { content: none; }
/* Sobre foto: vidrio, como el botón del video que Carlos aprobó */
.cover-dates, .glass-link {
  background: rgba(10, 30, 32, .32) !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  color: #fff !important;
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-radius: 999px !important;
  text-decoration: none !important;
  min-height: 48px;
  padding: 0 24px !important;
  display: inline-flex !important;
  align-items: center;
  font-size: 16px !important;
  letter-spacing: .03em !important;
}
.cover-dates:hover, .glass-link:hover { background: rgba(10,30,32,.5) !important; }
:is(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--pv-teal); outline-offset: 3px; }

/* ---------- Formularios: un solo componente ---------- */
.form { gap: 18px 20px !important; }
.form label { display: flex !important; flex-direction: column; gap: 8px; margin: 0 !important; }
.form label > span {
  position: static !important; clip-path: none !important;
  width: auto !important; height: auto !important; clip: auto !important; overflow: visible !important; font-weight: 400 !important;
  font-size: 15px !important;
  letter-spacing: .02em;
  color: var(--pv-ink-soft);
}
.form label > span em { font-style: normal; color: #6f7b77; }
.form input, .form select, .form textarea, .filters select, .filters input {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 52px;
  padding: 13px 16px !important;
  border: 1px solid var(--pv-line-strong) !important;
  border-radius: var(--pv-radius-control) !important;
  background-color: var(--pv-paper) !important;
  color: var(--pv-ink);
  font: 16px/1.4 var(--pv-body) !important;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: none;
}
.form textarea { min-height: 140px; resize: vertical; }
.form select, .filters select {
  padding-right: 46px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%23064851' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  cursor: pointer;
}
.form input:hover, .form select:hover, .form textarea:hover { border-color: #a99f8a !important; }
.form input:focus, .form select:focus, .form textarea:focus, .filters select:focus {
  outline: none;
  border-color: var(--pv-teal) !important;
  box-shadow: 0 0 0 4px rgba(6,72,81,.13) !important;
}
.form button { justify-self: start !important; margin: 6px 0 0 !important; min-width: 210px; }
.form output:not(:empty) { font-family: var(--pv-ui); color: var(--pv-teal); }

/* Bloque de contacto (portada, servicios, contacto) */
.studio-contact { background: var(--pv-shell) !important; }
.studio-contact .contact-inner { max-width: var(--pv-max); margin-inline: auto; gap: clamp(32px, 6vw, 96px) !important; }
.contact-heading h2 { font-size: clamp(34px, 4vw, 54px) !important; margin-bottom: 14px; }
.contact-heading h2 + p { font-size: 17px; color: var(--pv-ink-soft); max-width: 34ch; }
.enquiry-type { border: 0 !important; padding: 0 !important; margin: 26px 0 0 !important; display: grid; gap: 10px; }
.enquiry-type legend { font-size: 15px; color: var(--pv-ink-soft); margin-bottom: 8px; padding: 0; }
.enquiry-type label {
  display: flex !important; align-items: center; gap: 12px;
  padding: 14px 18px; border: 1px solid var(--pv-line-strong); border-radius: var(--pv-radius-control);
  background: var(--pv-paper); cursor: pointer; transition: border-color .2s, background .2s;
  font-family: var(--pv-ui); font-size: 17px;
}
.enquiry-type label:has(input:checked) { border-color: var(--pv-teal); background: #eef4f2; box-shadow: inset 0 0 0 1px var(--pv-teal); }
.enquiry-type input { accent-color: var(--pv-teal); width: 18px; height: 18px; margin: 0; }
.contact-aside { margin-top: 34px; display: grid; gap: 12px; }
.contact-path {
  display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--pv-radius-control);
  text-decoration: none; color: var(--pv-ink); border-left: 3px solid var(--pv-gold);
  background: rgba(255,255,255,.45); transition: background .2s, transform .25s var(--pv-ease);
}
.contact-path:hover { background: rgba(255,255,255,.8); transform: translateX(3px); }
.contact-path strong { font-family: var(--pv-display); font-weight: 460; font-size: 20px; }
.contact-path span { font-size: 15px; color: var(--pv-ink-soft); line-height: 1.5; }
.contact-channels { display: flex; gap: 22px; margin-top: 10px; font-family: var(--pv-ui); }
.contact-channels a { display: inline-flex; align-items: center; gap: 8px; color: var(--pv-teal); text-decoration: none; font-size: 16px; }
.contact-channels img { filter: invert(19%) sepia(42%) saturate(1500%) hue-rotate(155deg) brightness(.85); }
.contact-page .hero p, .hero-contact p { color: rgba(255,255,255,.92); font-size: clamp(17px, 1.4vw, 20px); max-width: 52ch; margin-top: 14px; }

/* ---------- Servicios ---------- */
.services .hero h1 { max-width: 15ch; }
.services .hero { padding-bottom: 92px !important; min-height: clamp(300px, 34vw, 440px) !important; display: flex; flex-direction: column; justify-content: flex-end; }
.services .hero p { font-family: var(--pv-body) !important; font-size: clamp(16px,1.3vw,19px); margin-top: 12px; }
.hero-services { background-position: center 62% !important; }
.tabs {
  width: min(var(--pv-max), calc(100% - 40px));
  max-width: none !important;
  margin: -48px auto 0 !important;
  position: relative;
  z-index: 3;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 6px;
  padding: 8px !important;
  background: rgba(255,253,249,.92) !important;
  border: 1px solid var(--pv-line) !important;
  border-radius: 18px;
  box-shadow: 0 24px 48px -30px rgba(17,46,52,.45);
  backdrop-filter: blur(14px);
}
.tabs a {
  min-height: 92px !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 14px 10px !important;
  border: 0 !important;
  border-radius: 12px;
  color: var(--pv-ink-soft) !important;
  font-size: 16px !important;
  letter-spacing: .01em;
  background: transparent !important;
  transition: background .25s var(--pv-ease), color .25s var(--pv-ease);
}
.tabs a::after { display: none !important; }
.tabs a .service-icon { font-size: 28px !important; line-height: 1; color: var(--pv-gold); transition: color .25s, transform .3s var(--pv-ease); }
.tabs a:hover { background: var(--pv-shell) !important; color: var(--pv-ink) !important; }
.tabs a:hover .service-icon { transform: translateY(-2px); }
.tabs a.on, .tabs a[aria-selected="true"] { background: var(--pv-teal) !important; color: #fff !important; box-shadow: 0 10px 22px -14px rgba(6,72,81,.9); }
.tabs a.on .service-icon, .tabs a[aria-selected="true"] .service-icon { color: #e6c98f; }

.service-panel {
  max-width: var(--pv-max) !important;
  margin: 0 auto !important;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 4vw, 40px) clamp(56px, 7vw, 96px) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) !important;
  gap: clamp(28px, 5vw, 72px) !important;
  align-items: center !important;
  animation: pv-rise .5s var(--pv-ease) both;
}
.service-panel[hidden] { display: none !important; }
.service-panel > div:first-child h2 { font-size: clamp(34px, 3.8vw, 52px) !important; margin-bottom: 18px; }
.service-panel > div:first-child > p { font-size: 18px; color: var(--pv-ink-soft); max-width: 44ch; margin-bottom: 28px; }
.service-panel picture { margin: 0 !important; align-self: stretch; }
.service-panel picture img {
  width: 100%; height: 100%; min-height: 340px; max-height: 520px; object-fit: cover;
  border-radius: var(--pv-radius); box-shadow: 0 30px 60px -38px rgba(17,46,52,.6);
}
.service-panel .capabilities[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.service-panel .capabilities {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: clamp(4px, 2vw, 20px);
}
.service-panel:not(:has(picture)) { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) !important; align-items: start !important; }
.service-panel:not(:has(picture)) .capabilities { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: 1fr; margin-top: 0; }
.capability {
  position: relative;
  padding: 26px 26px 24px;
  background: var(--pv-paper);
  border: 1px solid var(--pv-line);
  border-radius: var(--pv-radius);
  transition: transform .35s var(--pv-ease), box-shadow .35s var(--pv-ease), border-color .35s;
}
.capability:hover { transform: translateY(-3px); border-color: var(--pv-line-strong); box-shadow: 0 22px 40px -30px rgba(17,46,52,.5); }
.capability-num { display: block; font-size: 13px; letter-spacing: .16em; color: var(--pv-gold); margin-bottom: 10px; }
.capability h3 { font-size: 23px !important; margin: 0 0 14px; color: var(--pv-ink); }
.capability h4 { font: 400 14px/1.3 var(--pv-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--pv-ink-soft); margin: 18px 0 8px; }
.capability h3 + h4 { margin-top: 0; }
.capability p { font-size: 16px; line-height: 1.6; color: var(--pv-ink-soft); margin: 0 0 10px; }
.capability ul, .service-checklist { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 10px; }
.capability li, .service-checklist li {
  position: relative; padding-left: 28px; font-size: 16px; line-height: 1.55; color: var(--pv-ink);
}
.capability li::before, .service-checklist li::before {
  content: ""; position: absolute; left: 0; top: .38em; width: 16px; height: 16px; border-radius: 50%;
  background: #e5efe9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1.2' fill='none' stroke='%23064851' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat;
}
.service-checklist { margin: 4px 0 28px; }
.service-description { grid-column: 1 / -1; max-width: 860px; font-size: 17px; line-height: 1.7; color: var(--pv-ink-soft); border-top: 1px solid var(--pv-line); padding-top: 28px; }
.service-description p + p { margin-top: 12px; }
.service-topics, .topic-tabs { display: none !important; }

/* ---------- Ficha: bloque de reserva ---------- */
.booking-band {
  max-width: var(--pv-max) !important;
  margin: clamp(40px, 6vw, 80px) auto !important;
  padding: clamp(28px, 4vw, 56px) !important;
  display: grid !important;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  background: linear-gradient(160deg, #0a4c55 0%, #063a42 100%) !important;
  color: #f6f1e7;
  border-radius: 22px;
  box-shadow: 0 40px 80px -50px rgba(6,58,66,.9);
  position: relative;
  overflow: hidden;
  scroll-margin-top: 96px;
}
.booking-band::before {
  content: ""; position: absolute; inset: auto -10% -60% auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(230,201,143,.16), transparent 62%); pointer-events: none;
}
.booking-intro { position: sticky; top: 110px; }
.booking-intro .eyebrow { color: #e6c98f !important; }
.booking-intro h2 { font-size: clamp(30px, 3.2vw, 44px) !important; color: #fff; margin-bottom: 16px; }
.booking-intro > p { color: rgba(246,241,231,.86); font-size: 17px; line-height: 1.6; max-width: 40ch; }
.booking-facts { margin: 24px 0 30px; padding: 18px 0; border-block: 1px solid rgba(255,255,255,.16); }
.booking-facts ul { display: flex !important; flex-wrap: wrap; gap: 10px 22px; margin: 0 !important; padding: 0 !important; list-style: none; }
.booking-facts li { display: inline-flex !important; align-items: center; gap: 8px; color: #fff; font-family: var(--pv-ui); font-size: 17px; }
.booking-facts .stay-icon { color: #e6c98f !important; }
.booking-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.booking-band .btn { background: #f6f1e7 !important; border-color: #f6f1e7 !important; color: var(--pv-teal) !important; box-shadow: 0 12px 28px -16px rgba(0,0,0,.6); }
.booking-band .btn:hover { background: #fff !important; }
.booking-band .btn-ghost { background: transparent !important; border-color: rgba(255,255,255,.55) !important; color: #fff !important; box-shadow: none; }
.booking-band .btn-ghost:hover { background: rgba(255,255,255,.1) !important; }
.booking-calendar {
  position: relative; z-index: 1;
  background: #fff; color: var(--pv-ink); border-radius: 16px; padding: 18px;
  box-shadow: 0 30px 60px -36px rgba(0,0,0,.65);
}
.booking-calendar-head { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 6px 14px; border-bottom: 1px solid #ece6da; margin-bottom: 14px; }
.booking-calendar-head span { font-size: 17px; color: var(--pv-ink); }
.booking-calendar-head small { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #3c7d63; display: inline-flex; align-items: center; gap: 7px; }
.booking-calendar-head small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3c9d73; box-shadow: 0 0 0 4px rgba(60,157,115,.18); animation: pv-pulse 2.4s ease-in-out infinite; }
.booking-preview { display: block; border-radius: 10px; overflow: hidden; }
.booking-snapshot { width: 100%; height: auto; display: block; transition: transform .6s var(--pv-ease); }
.booking-preview:hover .booking-snapshot { transform: scale(1.01); }
.has-widget.widget-ready .booking-preview { display: none; }
.booking-note { font-size: 13px; color: #6a7672; margin: 12px 6px 0; line-height: 1.45; }

/* Descripción que viene de OwnerRez, con mejor lectura */
.desc-tags { list-style: none; padding: 0; margin: 4px 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.desc-tags li { font-family: var(--pv-ui); font-size: 15px; padding: 7px 14px; border-radius: 999px; background: var(--pv-shell); border: 1px solid var(--pv-line); color: var(--pv-ink); }
.desc-list { list-style: none; padding: 0; margin: 10px 0 18px; display: grid; gap: 8px; }
.desc-list li { position: relative; padding-left: 22px; }
.desc-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--pv-gold); }
.house-notes h3 { font-size: clamp(22px, 2vw, 27px) !important; margin-top: 36px !important; }

/* ---------- Portada ---------- */
.home .feature-story h1 { font-size: clamp(36px, 4.2vw, 60px) !important; }
.home .feature-story h1 a { color: inherit; text-decoration: none; }
.places-grid, .home .places .grid, .home .places > div:last-child { gap: 14px !important; }
.place { border-radius: var(--pv-radius) !important; overflow: hidden; }
.place .place-photo img { transition: transform 1.2s var(--pv-ease); }
.place:hover .place-photo img { transform: scale(1.05); }
.place-label strong { font-family: var(--pv-display) !important; font-weight: 400 !important; letter-spacing: -.01em; }

/* ---------- Listado ---------- */
.catalog .collection-title h1 { font-size: clamp(40px, 5vw, 64px) !important; }
.catalog .card-body h3 { font-size: 24px !important; }
.catalog .card-body h3 a { text-decoration: none; color: inherit; }

/* ---------- Footer: mismo orden que el menú ---------- */
.coast-links a, .coast-access a { font-size: 16px !important; letter-spacing: .02em; }

/* ---------- Movimiento ---------- */
@keyframes pv-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pv-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(60,157,115,.18); } 50% { box-shadow: 0 0 0 7px rgba(60,157,115,.05); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  .service-panel, .service-panel:not(:has(picture)) { grid-template-columns: 1fr !important; }
  .service-panel:not(:has(picture)) .capabilities { grid-column: 1; grid-row: auto; }
  .booking-band { grid-template-columns: 1fr; margin-inline: 16px !important; }
  .booking-intro { position: static; }
}

/* ---------- Móvil ---------- */
@media (max-width: 700px) {
  .tabs {
    margin: 0 !important;
    border-radius: 0;
    border-inline: 0 !important;
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 6px;
    padding: 10px 14px !important;
    mask-image: linear-gradient(90deg, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a {
    flex: 0 0 auto !important;
    flex-direction: row !important;
    min-height: 46px !important;
    padding: 10px 16px !important;
    gap: 8px !important;
    font-size: 15px !important;
    scroll-snap-align: start;
    border: 1px solid var(--pv-line) !important;
    border-radius: 999px;
    grid-column: auto !important;
  }
  .tabs a .service-icon { font-size: 20px !important; }
  .tabs a span { max-width: none !important; white-space: nowrap; }
  .service-panel { padding: 36px 20px 48px !important; gap: 24px !important; }
  .service-panel picture { order: -1; }
  .service-panel picture img { min-height: 220px; max-height: 280px; }
  .capability { padding: 22px 20px; }
  .booking-band { margin: 32px 12px !important; padding: 26px 18px !important; border-radius: 18px; }
  .booking-calendar { padding: 12px; }
  .booking-actions .btn { flex: 1 1 100%; }
  .form button { width: 100% !important; justify-self: stretch !important; }
  .contact-channels { flex-wrap: wrap; }
}
/* El widget real carga oculto pero con medidas (display:none dejaría su iframe en 0 px y nunca se daría por listo);
   cuando OwnerRez responde, reemplaza a la captura. */
.has-widget { position: relative; }
.has-widget:not(.widget-ready) .booking-live { position: absolute; inset: 0 0 auto 0; visibility: hidden; pointer-events: none; overflow: hidden; height: 0; }
.has-widget:not(.widget-ready) .booking-live iframe { min-width: 100%; }
.has-widget.widget-ready .booking-live { display: block; }
@media (min-width: 981px) {
  .service-panel:not(:has(picture)) > div:first-child { position: sticky; top: 120px; align-self: start; }
}
.booking-form-head { margin-top: 22px; border-top: 1px solid #ece6da; padding-top: 18px; }
.booking-form-head small::before { content: none !important; }
.booking-form-head small { color: #6a7672 !important; }
h1, h2, h3 { text-wrap: balance; }
.tour-caption span, .tour-caption > span { font-family: var(--pv-display) !important; font-weight: 400 !important; letter-spacing: -.01em; }
.tour-caption small { font-family: var(--pv-ui) !important; letter-spacing: .06em; }
header nav a[href*="ownerrez"] { border-radius: 999px !important; padding-inline: 20px !important; }
@media (max-width: 700px) {
  .booking-band .btn-ghost { display: none !important; }
  .booking-form-head small { display: none; }
  .booking-intro h2 { font-size: 30px !important; }
}
.enquiry-type legend { font-weight: 400 !important; font-family: var(--pv-ui) !important; }
.service-checklist li, .capability li { list-style: none; margin-bottom: 0 !important; } .service-checklist li::marker, .capability li::marker { content: none; }

/* ---------- Movimiento ---------- */
.pv-motion .pv-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--pv-ease) var(--pv-delay, 0ms), transform .9s var(--pv-ease) var(--pv-delay, 0ms); }
.pv-motion .pv-reveal.pv-in { opacity: 1; transform: none; }
.pv-motion .booking-band.pv-reveal { transform: translateY(34px) scale(.985); }
.pv-motion .booking-band.pv-in { transform: none; }
/* Entrada de portadas */
.hero h1, .hero p, .house-cover > div > *, .tour-caption > * { animation: pv-rise .9s var(--pv-ease) both; }
.hero p, .house-cover .cover-subtitle { animation-delay: .12s; }
.house-cover .cover-dates, .tour-caption > a { animation-delay: .24s; }
/* Fotos: acercamiento lento al pasar el cursor */
.card-media img, .feature figure img, .service-panel picture img { transition: transform 1.1s var(--pv-ease), filter .6s; }
.card-media:hover img, .feature figure:hover img, .service-panel picture:hover img { transform: scale(1.035); }
.card-media, .feature figure { overflow: hidden; }
/* Agua del footer: video en loop sobre la foto; aparece con un fundido cuando ya está reproduciendo */
.coast-shore.has-video { position: relative; overflow: hidden; }
.coast-shore .shore-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 86%;
  opacity: 0; transition: opacity .8s ease; pointer-events: none;
}
.coast-shore.is-playing .shore-video { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .pv-motion .pv-reveal { opacity: 1; transform: none; } }

/* ---------- Ficha: bloque de reserva v2 (un llamado, calendario a lo ancho) ---------- */
.booking-band { display: block !important; padding: clamp(28px, 4.5vw, 64px) !important; }
.booking-head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(24px, 3vw, 40px); position: relative; z-index: 1; }
.booking-head .eyebrow { color: #e6c98f !important; }
.booking-head h2 { font-size: clamp(34px, 4vw, 56px) !important; color: #fff; margin: 0; }
.booking-head-aside > p { color: rgba(246,241,231,.86); font-size: 17px; line-height: 1.6; margin: 0; max-width: 52ch; }
.booking-head .booking-facts { margin: 18px 0 0; padding: 14px 0 0; border-bottom: 0; }
.booking-card { position: relative; z-index: 1; background: #fff; color: var(--pv-ink); border-radius: 16px; padding: clamp(14px, 2vw, 26px); box-shadow: 0 30px 60px -36px rgba(0,0,0,.65); }
.booking-card + .booking-card { margin-top: 16px; }
.booking-form { max-width: 760px; margin-inline: auto; }
.booking-card-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px 14px; margin-bottom: 16px; border-bottom: 1px solid #ece6da; font-family: var(--pv-ui); }
.booking-card-head span { font-size: 18px; color: var(--pv-ink); }
.booking-card-head small { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #3c7d63; display: inline-flex; align-items: center; gap: 8px; }
.booking-card-head small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3c9d73; animation: pv-pulse 2.4s ease-in-out infinite; }
.booking-calendar .booking-snapshot { max-width: 1000px; margin-inline: auto; }
.booking-foot { position: relative; z-index: 1; margin: 22px 0 0; text-align: center; color: rgba(246,241,231,.85); font-size: 16px; display: grid; gap: 6px; }
.booking-foot a { color: #fff; text-underline-offset: 5px; text-decoration-color: rgba(230,201,143,.8); }
.booking-foot a:hover { text-decoration-color: #fff; }
.booking-foot span { font-size: 13px; color: rgba(246,241,231,.55); }
.booking-intro, .booking-actions, .booking-note { display: none !important; }
@media (max-width: 860px) {
  .booking-head { grid-template-columns: 1fr; }
}

/* ---------- Pasada final tras el juez ciego ---------- */
/* Bandas de borde a borde en monitores grandes; el contenido sigue en su marco de lectura. */
@media (min-width: 1100px) {
  html { background: var(--pv-sand) !important; }
  body { max-inline-size: none !important; }
}
/* Portada de la home: video más alto, promesa clara y un solo CTA sólido. */
.home .tour { height: clamp(520px, 78svh, 860px) !important; max-height: none !important; }
.tour-caption { align-items: end !important; padding: 120px max(20px, calc((100% - 1200px) / 2)) clamp(32px, 5vw, 64px) !important; background: linear-gradient(transparent, rgba(6,23,24,.82)) !important; }
.tour-copy { display: grid; gap: 10px; max-width: 760px; }
.tour-copy .eyebrow { color: #e6c98f !important; margin: 0; }
.tour-caption .tour-copy > span { font: 340 clamp(40px, 5.6vw, 80px)/1.02 var(--pv-display) !important; letter-spacing: -.025em; color: #fff; text-wrap: balance; }
.tour-caption .tour-copy small { font: 400 clamp(15px, 1.2vw, 18px)/1.5 var(--pv-body) !important; letter-spacing: 0 !important; color: rgba(255,253,247,.86); margin: 0; }
.tour-caption .btn { flex: none; background: #fff !important; color: var(--pv-teal) !important; }
.tour-caption .btn:hover { background: #f1ebe0 !important; }
@media (max-width: 700px) {
  .home .tour { height: clamp(520px, 82svh, 700px) !important; }
  .tour-caption { flex-direction: column; align-items: stretch !important; gap: 22px; padding: 90px 20px 28px !important; }
  .tour-caption .btn { justify-content: center; width: 100%; }
}
/* Portada de la ficha: más presencia sin empujar demasiado fotos y detalles. */
.house-cover { min-height: clamp(300px, 44svh, 500px) !important; }
@media (max-width: 700px) { .house-cover { min-height: clamp(240px, 38svh, 320px) !important; } }
/* Reseñas: el widget es una columna; se centra a su ancho real en vez de flotar en una caja enorme. */
.property .reviews { text-align: center; }
.property .reviews .widget-preview { max-width: 720px; margin-inline: auto !important; text-align: left; background: #fff; border-radius: 16px; padding: clamp(16px, 2.4vw, 32px); box-shadow: 0 24px 50px -38px rgba(18,48,47,.5); }
.property .reviews .widget-preview img { max-width: 560px; margin-inline: auto; display: block; }
/* Reserva en móvil: más ancho útil para el calendario y el formulario. */
@media (max-width: 700px) {
  .booking-band { padding: 26px 14px 22px !important; border-radius: 16px !important; }
  .booking-card { padding: 10px !important; border-radius: 12px; }
  .booking-head h2 { font-size: 34px !important; }
}
.coast-legal { grid-column: 1 / -1; flex-basis: 100%; margin: 26px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font: 400 13px/1.5 var(--pv-ui); letter-spacing: .02em; color: rgba(246,241,231,.55); }
/* Services: pestañas, título y contenido sobre el mismo marco de 1200. */
@media (min-width: 861px) {
  .services .service-panel { padding-inline: 0 !important; }
  .services .hero { padding-inline: max(20px, calc((100% - 1200px) / 2)) !important; }
}
@media (max-width: 860px) {
  .services .tabs { padding-inline: 20px !important; scroll-padding-inline: 20px; width: 100% !important; }
}

/* Amenidades de la casa destacada (Carlos, 24 nov): ningún ítem se parte ni se monta.
   Se decide por el ancho real del bloque (container queries), no por el de la pantalla:
   - los dos grupos van lado a lado solo cuando ambos caben en una línea por ítem;
   - «Inside the home» pasa a dos columnas solo cuando sus textos más largos caben. */
.home .feature { container: pv-feature / inline-size; }
.home .feature-facts { grid-template-columns: minmax(0,1fr) !important; gap: 30px !important; }
.home .feature-facts > div { container: pv-facts / inline-size; min-width: 0; }
.home .feature-facts > div:first-child ul { grid-template-columns: minmax(0,1fr) !important; column-gap: 32px !important; }
@container pv-facts (min-width: 500px) {
  .home .feature-facts > div:first-child ul { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@container pv-feature (min-width: 1000px) {
  .home .feature-facts { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr) !important; gap: 56px !important; }
}

/* ---------- Barrido de columnas apretadas (24 nov) ---------- */
/* Camas: una por línea; en dos columnas quedaban parejas desiguales y angostas */
.house-beds { grid-template-columns: minmax(0,1fr) !important; gap: 6px !important; }
/* Ficha: entre 761 y 1023 px la columna de texto quedaba en ~290 px; se apila como en móvil */
@media (min-width: 761px) and (max-width: 1023px) {
  .property .residence-lead { display: flex !important; flex-direction: column-reverse; align-items: stretch !important; gap: 28px !important; padding: 36px 0 32px !important; }
  .property .residence-lead > :not(.property-gallery):not(.card-media) { padding-inline: var(--edge); max-width: 820px; box-sizing: border-box; }
  .property .residence-lead .gallery-thumbs { margin-inline: var(--edge); }
  .property .residence-lead .gallery-control { margin-inline: var(--edge); }
}
/* Pestañas de Services: íconos y etiquetas alineados arriba aunque una etiqueta ocupe dos líneas */
@media (min-width: 701px) { .tabs a { justify-content: flex-start !important; padding-top: 20px !important; } .tabs a span { max-width: 14ch !important; text-wrap: balance; } }
@media (min-width: 1240px) { .tabs a span { max-width: none !important; } }
/* La foto del footer es el primer cuadro del video, con el mismo encuadre: el paso a video no se nota */
.coast-footer .coast-shore { background-image: url('assets/olas-inicio.webp') !important; background-position: 50% 86% !important; background-size: cover !important; }
@media (min-width: 1400px), (min-width: 700px) and (min-resolution: 2dppx) { .coast-footer .coast-shore { background-image: url('assets/olas-inicio-1080.webp') !important; } }
/* Filtros del listado: una sola flecha (quedaban la del fondo y la del ::after superpuestas) */
.filters .select-field::after { content: none !important; }
/* Portada de ficha: el botón de fechas siempre con el mismo aire bajo el título o el subtítulo */
.house-cover .cover-dates { margin-top: clamp(18px, 2vw, 26px) !important; }
.house-cover { padding-bottom: clamp(26px, 3.5vw, 48px) !important; }
.filter-summary { margin-top: 14px !important; margin-bottom: 18px !important; }
.booking-preview:hover .booking-snapshot { transform: none; }
