/* ==========================================================================
   Lagunas del Peñón — Eco Park · brand overrides
   Loaded AFTER main.css. Retargets the template's HSL design tokens to the
   LDP palette, so every page rebrands from this one file.
   Palette + type source: LDP-Branding-Brandbook.pdf (Brand Guidelines 2026)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;500;600;700&family=Barlow+Semi+Condensed:wght@300;400;500;600&display=swap');

:root {
  /* --- Typography -------------------------------------------------------
     Brand font is Avenir Next Condensed (Bold / DemiBold). It ships with
     macOS/iOS, so Apple visitors get the real thing; everyone else gets
     Barlow Condensed, the closest free match. */
  --heading-font: 'Avenir Next Condensed', 'Barlow Condensed', 'Oswald', sans-serif;
  --body-font: 'Avenir Next', 'Barlow Semi Condensed', system-ui, -apple-system, sans-serif;

  /* --- Paleta principal -------------------------------------------------
     main       #C9BE97  arena          — accent / button fill (dark text on it)
     main-two   #203323  verde profundo — dark sections, headings
     main-three #636B2F  verde oliva    — secondary accent                 */
  --main-h: 47;
  --main-s: 32%;
  --main-l: 69%;

  --main-two-h: 129;
  --main-two-s: 23%;
  --main-two-l: 16%;

  --main-three-h: 68;
  --main-three-s: 39%;
  --main-three-l: 30%;

  /* headings = verde profundo #203323, body = verde grisáceo suave */
  --black: 129 23% 16%;
  --body: 80 8% 34%;

  /* Neutrals used as page / card backgrounds */
  --neutral-300: #fcefc7; /* crema */
  --neutral-400: #f0f8e1; /* fondo brandbook */
  --neutral-800: #c9be97; /* arena */

  /* Condensed faces run narrow — nudge display sizes back up so headlines
     keep the presence they had with Marcellus. */
  --heading-one: clamp(2.25rem, 0.1rem + 6.9vw, 4.75rem);
  --heading-two: clamp(1.9rem, 0.75rem + 3.1vw, 3.25rem);
}

/* --- Brand typographic feel: condensed caps with air ---------------------- */
.font-heading,
h1, h2, h3, h4, h5, h6 {
  letter-spacing: 0.01em;
}

.text-uppercase,
[class*='subtitle'] {
  letter-spacing: 0.18em;
}

/* --- Photo backgrounds ---------------------------------------------------
   .background-img is only a JS hook — the template ships no CSS for it, and
   main.js used to write the `background` shorthand, so these sections tiled
   on any screen bigger than the source photo. main.js now writes
   background-image; these are the sizing rules it relies on. */
.background-img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

/* --- Hero -----------------------------------------------------------------
   Minimal cover: logo lockup centred, scroll cue at the bottom, deep veil.
   Bottom padding leaves room for the reservation bar, which .checkout-area
   pulls up over the hero with margin-top:-80px. */
.banner-ldp {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 170px 0 200px;
}

/* Deep veil — a centre-out vignette over an even wash. Dark enough that the
   photo reads as atmosphere behind the mark rather than as the subject. */
.banner-ldp::before {
  background:
    radial-gradient(115% 85% at 50% 48%, rgba(32, 51, 35, 0.44) 0%, rgba(20, 32, 22, 0.82) 100%),
    linear-gradient(
      180deg,
      rgba(20, 32, 22, 0.62) 0%,
      rgba(20, 32, 22, 0.48) 40%,
      rgba(20, 32, 22, 0.66) 100%
    );
}

.banner-logo {
  display: block;
  width: clamp(250px, 32vw, 500px);
  height: auto;
  margin-inline: auto;
}

/* Cue clears the reservation bar that overlaps the bottom of the hero. */
.banner-scroll-cue {
  margin-bottom: 112px;
}

.banner-scroll-word {
  letter-spacing: 0.24em;
  opacity: 0.9;
}

.banner-scroll-line {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  animation: ldp-scroll-cue 2.2s ease-in-out infinite;
}

@keyframes ldp-scroll-cue {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
  50%      { transform: scaleY(1);   opacity: 1;   transform-origin: top; }
}

@media (max-width: 767px) {
  /* portrait crop for phones — main.js writes the desktop shot into an
     inline background-image, so this needs !important to win. */
  .banner-ldp {
    background-image: url('../images/ldp/hero-mobile.jpg') !important;
    min-height: 100svh;
    padding: 130px 0 150px;
  }

  .banner-logo { width: min(72vw, 300px); }
  .banner-scroll-cue { margin-bottom: 96px; }
}

/* --- Reusing a small photo set across many slots -------------------------
   The template sized every card from its placeholder's intrinsic ratio.
   Pinning aspect-ratio + object-fit lets any LDP photo drop into any slot
   without the layout shifting. */
.advance-thumb img { aspect-ratio: 272 / 344; }
.offer-wrapper img { aspect-ratio: 450 / 501; }
.about-thumb > div:first-child img { aspect-ratio: 408 / 550; }
.about-thumb-2 { max-width: 300px; }
.about-thumb-2 img { aspect-ratio: 381 / 523; }
.service-thumb img { aspect-ratio: 423 / 308; }

.advance-thumb img,
.offer-wrapper img,
.about-thumb img,
.service-thumb img {
  width: 100%;
  object-fit: cover;
}

/* Date input inside the reservation bar should read like the nice-select
   siblings next to it. */
.checkout-date {
  outline: none;
  color: hsl(var(--black));
}

/* Phosphor glyphs replacing the template's hotel-amenity icon set. */
.feature-glyph {
  font-size: 64px;
  line-height: 1;
  color: var(--main-three-600);
  display: inline-block;
}

/* Checklist ticks on Tarifas ship as #00BA00 — off-palette next to the olives. */
.relaxing-list ul li span {
  background: var(--main-three-600);
}

/* .feature-item caps at 298px — right for a two-word label, far too narrow for
   the Misión / Visión paragraphs on El Parque. */
.feature-item--wide {
  max-width: 480px;
}

.feature-item--wide .feature-icon {
  margin-bottom: 2.5rem !important;
}

/* The marquee capitalises every word, which mangles the slogan. */
.marquee-title {
  text-transform: none !important;
}

/* Footer bottom-bar lockup has no wrapper class of its own. */
.footer-bottom-wrap > div:first-child img {
  height: 52px;
  width: auto;
}

/* --- Logo lockup ---------------------------------------------------------
   Stacked mark over wordmark (1.65:1), so it needs height to read. The nav
   row is 112px tall (nav links carry 44px block padding); staying under that
   means a bigger logo costs no extra header height.
   max-w-200-px on the header <img> would cap the width — override it. */
.logo img,
.search_logo img {
  height: 100px;
  width: auto;
  max-width: none;
}

/* 992–1199px: nav is still horizontal here and gets tight, so ease off. */
@media (max-width: 1199px) {
  .logo img { height: 82px; }
}

/* Below 992px the desktop nav collapses to the burger, freeing the whole row. */
@media (max-width: 991px) {
  .logo img { height: 80px; }
}

@media (max-width: 575px) {
  .logo img { height: 72px; }
}
