/* ══════════════════════════════════════════════════════════════════
 *  Doble-R · Landing "Alquiler de casa rural en Ronda" (ES + EN)
 *  Solo la cargan /alquiler-casa-rural-ronda.php y
 *  /rural-guesthouse-ronda/holiday-rental-ronda.php ($page_css).
 *  Usa los colores y tipografías de style.css (:root).
 * ══════════════════════════════════════════════════════════════════ */

/* ─── Menú: arranca claro sobre el fondo crema ──────────────────── */
body.lp-page .nav:not(.scrolled) {
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
body.lp-page .brand,
body.lp-page .menu-btn { color: var(--ink); }
body.lp-page .lang-current,
body.lp-page .nav-pin { color: var(--ink); border-color: var(--line); }
body.lp-page .lang-current:hover,
body.lp-page .nav-pin:hover { background: var(--cream-deep); }
body.lp-page .nav:not(.scrolled) .brand,
body.lp-page .nav:not(.scrolled) .menu-btn,
body.lp-page .nav:not(.scrolled) .nav-pin,
body.lp-page .nav:not(.scrolled) .lang-current { text-shadow: none; }

.lp { overflow-x: clip; }
.lp h2 em,
.lp h1 em { font-style: italic; color: var(--bronze); }

/* ─── Botones y enlaces ─────────────────────────────────────────── */
.lp-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 30px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease, color 0.3s ease, box-shadow 0.35s ease;
}
.lp-btn .arrow { display: inline-block; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.3s ease; }
.lp-btn:hover { transform: translateY(-3px); }
.lp-btn:hover .arrow { transform: translateX(5px); }
.lp-btn-main {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 10px 28px rgba(20, 18, 15, 0.22), 0 2px 6px rgba(20, 18, 15, 0.12);
}
.lp-btn-main .arrow { color: var(--tan); }
.lp-btn-main:hover { background: var(--bronze); }
.lp-btn-main:hover .arrow { color: var(--cream); }
.lp-btn-wa {
  border: 1px solid var(--line);
  color: var(--ink);
  letter-spacing: 0.12em;
}
.lp-btn-wa svg { width: 20px; height: 20px; color: #25D366; flex-shrink: 0; }
.lp-btn-wa:hover { background: var(--cream-deep); }
.lp-btn-light { background: var(--cream); color: var(--ink); }
.lp-btn-light .arrow { color: var(--bronze); }
.lp-btn-light:hover { background: var(--sand-warm); }

.lp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  border-bottom: 1px solid rgba(139, 111, 71, 0.35);
  padding-bottom: 4px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.lp-link:hover { color: var(--ink); border-color: var(--ink); }

/* ─── Hero ──────────────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
  max-width: 1480px;
  min-height: min(100svh, 980px);
  margin: 0 auto;
  padding: clamp(118px, 14vh, 160px) var(--gutter) clamp(70px, 8vw, 120px);
}
.lp-hero::before {                       /* resplandor cálido detrás de la foto */
  content: "";
  position: absolute;
  top: 6%;
  right: 0;
  width: 58%;
  height: 86%;
  background: radial-gradient(closest-side, rgba(212, 194, 168, 0.5), rgba(212, 194, 168, 0));
  z-index: -1;
  pointer-events: none;
}
.lp-h1 {
  font-size: clamp(42px, 6vw, 94px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 24px 0 26px;
}
.lp-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 34ch;
}
.lp-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 34px;
  padding: 0;
}
.lp-chips li {
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}
.lp-chips li:nth-child(-n+2) { border-color: rgba(139, 111, 71, 0.4); color: var(--bronze-deep); font-weight: 400; }
.lp-reply { margin-top: 16px; font-size: 14px; }

.lp-hero-media { position: relative; height: min(76vh, 760px); }
.lp-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px 28px 28px 150px;
  box-shadow: 0 40px 80px -30px rgba(42, 38, 32, 0.45);
}
.lp-hero-img2 {
  position: absolute;
  left: -11%;
  bottom: -7%;
  width: 46%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  border: 8px solid var(--cream);
  box-shadow: 0 24px 50px -20px rgba(42, 38, 32, 0.4);
}
.lp-hero-card {
  position: absolute;
  top: 28px;
  right: -16px;
  display: grid;
  gap: 4px;
  max-width: 250px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(250, 246, 240, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -18px rgba(42, 38, 32, 0.35);
}
.lp-hero-card-stars { color: var(--tan); letter-spacing: 0.2em; font-size: 13px; }
.lp-hero-card strong { font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--ink); line-height: 1.15; }
.lp-hero-card span:last-child { font-size: 12.5px; color: var(--ink-soft); }

/* ─── Cifras ────────────────────────────────────────────────────── */
.lp-facts { padding: 0; background: var(--ink); }   /* sin el padding general de <section> */
.lp-facts ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding-block: clamp(34px, 4vw, 54px);
}
.lp-facts li {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  padding: 0 12px;
  border-left: 1px solid rgba(250, 246, 240, 0.14);
}
.lp-facts li:first-child { border-left: 0; }
.lp-facts strong { font-family: var(--serif); font-size: clamp(36px, 4vw, 58px); font-weight: 300; line-height: 1; color: var(--cream); }
.lp-facts span { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sand-warm); }

/* ─── Secciones ─────────────────────────────────────────────────── */
.lp-section {
  padding-block: var(--section-y);
  content-visibility: auto;              /* no se pinta hasta acercarse */
  contain-intrinsic-size: auto 1000px;
}
.lp-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.lp-head .section-title { margin-top: 20px; }
.lp-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; }
.lp-intro { margin-top: 22px; font-size: 17px; line-height: 1.75; max-width: 62ch; }

/* Para quién */
.lp-groups { background: var(--cream-deep); }
.lp-group-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 36px); }
.lp-group {
  display: flex;
  flex-direction: column;
  padding-bottom: 28px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--cream);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease;
}
.lp-group:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(42, 38, 32, 0.35); }
.lp-group-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.lp-group-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.lp-group:hover .lp-group-media img { transform: scale(1.04); }
.lp-group-num {
  position: absolute;
  left: 22px;
  bottom: -1px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 18px 0;
  border-radius: 16px 16px 0 0;
  background: var(--cream);
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  color: var(--bronze);
}
.lp-group-num small { font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.lp-group h3 { font-size: 31px; margin: 18px 28px 10px; }
.lp-group p { flex: 1; margin: 0 28px 22px; font-size: 15.5px; line-height: 1.7; }
.lp-group .lp-link { align-self: flex-start; margin: 0 28px; }

/* Por qué */
.lp-why-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--line);
}
.lp-why-grid li { padding: clamp(24px, 2.6vw, 38px); background: var(--cream); }
.lp-why-ico {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--bronze);
}
.lp-why-ico svg { width: 26px; height: 26px; }
.lp-why-grid h3 { font-size: 25px; margin-bottom: 8px; }
.lp-why-grid p { font-size: 15px; line-height: 1.65; }

/* Galería */
.lp-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 16vw, 240px);
  grid-auto-flow: dense;
  gap: clamp(10px, 1.2vw, 16px);
}
.lp-tile { margin: 0; overflow: hidden; border-radius: 16px; background: var(--sand); }
.lp-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.lp-tile:hover img { transform: scale(1.05); }
.lp-tile-1 { grid-column: span 2; grid-row: span 2; }
.lp-tile-2 { grid-row: span 2; }
.lp-tile-5 { grid-row: span 2; }
.lp-tile-6 { grid-row: span 2; }
.lp-tile-7 { grid-column: span 2; grid-row: span 2; }

/* Reseñas */
.lp-reviews { background: var(--ink); }
.lp-reviews .section-title { color: var(--cream); }
.lp-reviews h2 em { color: var(--sand-warm); }
.lp-reviews .eyebrow { color: var(--tan); }
.lp-reviews .eyebrow::before { background: var(--tan); }
.lp-reviews .lp-intro { color: var(--sand); }
.lp-scores { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: clamp(36px, 4vw, 56px); }
.lp-score {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  align-items: center;
  min-width: 270px;
  padding: 22px 28px;
  border: 1px solid rgba(250, 246, 240, 0.16);
  border-radius: 18px;
  transition: background 0.3s ease;
}
.lp-score:hover { background: rgba(250, 246, 240, 0.06); }
.lp-score strong { grid-row: span 2; font-family: var(--serif); font-size: 60px; font-weight: 300; line-height: 1; color: var(--cream); }
.lp-score strong small { font-size: 22px; color: var(--sand-warm); }
.lp-score span { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--tan); }
.lp-score em { font-style: normal; font-size: 14px; color: var(--sand); }
.lp-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.lp-quote {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding: 30px;
  border: 1px solid rgba(250, 246, 240, 0.1);
  border-radius: 20px;
  background: rgba(250, 246, 240, 0.05);
}
.lp-quote p { flex: 1; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.5; color: var(--cream); }
.lp-quote-by { display: grid; gap: 4px; }
.lp-quote-by strong { font-weight: 500; color: var(--cream); }
.lp-quote-by span { font-size: 13px; color: var(--sand-warm); }

/* Ubicación */
.lp-loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.lp-loc-media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 150px 28px 28px 28px; }
.lp-loc-text p { margin-top: 22px; font-size: 17px; line-height: 1.75; }
.lp-dist-title { margin: 34px 0 10px; font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase; color: var(--bronze); }
.lp-dist { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.lp-dist li { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.lp-dist strong { font-family: var(--serif); font-size: 23px; font-weight: 500; color: var(--ink); }
.lp-loc-text .lp-loc-links { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 30px; }

/* Preguntas */
.lp-faq { background: var(--cream-deep); }
.lp-faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 5vw, 84px); align-items: start; }
.lp-faq-grid .lp-head { position: sticky; top: 120px; }
.lp-faq-item { border-bottom: 1px solid var(--line); }
.lp-faq-item:first-child { border-top: 1px solid var(--line); }
.lp-faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.25;
  color: var(--ink);
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 300;
  color: var(--bronze);
  transition: transform 0.3s ease;
}
.lp-faq-item[open] summary::after { transform: rotate(45deg); }
.lp-faq-item p { max-width: 62ch; padding: 0 0 24px; font-size: 16px; line-height: 1.75; }

/* Reserva (fondo: se descarga al acercarse, ver main.js) */
.lp-final {
  position: relative;
  isolation: isolate;
  padding-block: clamp(110px, 14vw, 190px);
  text-align: center;
  background: var(--ink) url('../../images/dobler1.webp') center / cover no-repeat;
}
.lp-final:not(.bg-ready) { background-image: none; }
.lp-final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(30, 26, 22, 0.68), rgba(30, 26, 22, 0.82));
}
.lp-final h2 { max-width: 16ch; margin: 0 auto; font-size: clamp(40px, 6vw, 88px); color: var(--cream); }
.lp-final h2 em { color: var(--sand-warm); }
.lp-final p { max-width: 52ch; margin: 24px auto 0; font-size: 18px; line-height: 1.7; color: var(--cream-deep); }
.lp-ctas-center { justify-content: center; margin-top: 40px; }
.lp-final .lp-btn-wa { color: var(--cream); border-color: rgba(250, 246, 240, 0.4); }
.lp-final .lp-btn-wa:hover { background: rgba(250, 246, 240, 0.1); }
.lp-final .lp-final-foot { margin-top: 44px; font-size: 13px; color: var(--sand-warm); }
.lp-final-foot a { border-bottom: 1px solid rgba(250, 246, 240, 0.35); }

/* ─── Tablet ────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .lp-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 112px; }
  .lp-hero::before { width: 100%; top: 45%; height: 55%; }
  .lp-hero-media { height: auto; margin: 0 6px 30px; }
  .lp-hero-img { height: auto; aspect-ratio: 4 / 5; border-radius: 22px 22px 22px 100px; }
  .lp-hero-img2 { left: -6px; bottom: -30px; width: 44%; border-width: 6px; }
  .lp-hero-card { top: 16px; right: 16px; }

  .lp-group-grid { grid-template-columns: 1fr; max-width: 560px; }
  .lp-why-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-quotes { grid-template-columns: 1fr; }
  .lp-loc-grid { grid-template-columns: 1fr; }
  .lp-loc-media img { aspect-ratio: 16 / 11; border-radius: 100px 22px 22px 22px; }
  .lp-faq-grid { grid-template-columns: 1fr; }
  .lp-faq-grid .lp-head { position: static; }
}

/* ─── Móvil ─────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .lp-hero { padding-top: 104px; gap: 30px; }
  .lp-hero-card { max-width: 190px; padding: 12px 14px; }
  .lp-hero-card strong { font-size: 17px; }
  .lp-chips { margin: 22px 0 26px; gap: 8px; }
  .lp-chips li { font-size: 12px; padding: 7px 12px; }
  .lp-ctas { flex-direction: column; align-items: stretch; }
  .lp-btn { padding: 17px 22px; font-size: 13px; }

  .lp-facts ul { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .lp-facts li { border-left: 0; padding: 0 4px; }
  .lp-facts span { font-size: 10px; letter-spacing: 0.16em; }

  .lp-why-grid { grid-template-columns: 1fr; }
  .lp-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .lp-tile-1, .lp-tile-7 { grid-column: span 2; grid-row: span 2; }
  .lp-tile-2 { grid-row: span 2; }
  .lp-tile-5, .lp-tile-6 { grid-row: auto; }
  .lp-score { min-width: 0; flex: 1 1 100%; }
  .lp-quote { padding: 24px; }
  .lp-quote p { font-size: 19px; }
}
