/* ============================================================
   Casa Olivia — Rediseño · Naturaleza & Sierras
   ============================================================ */

:root {
  --paper:    #F2F1E9;
  --paper-2:  #EAE8DC;
  --paper-3:  #E2DFD0;
  --forest:   #2E4636;
  --forest-2: #25382B;
  --pine:     #182219;
  --sage:     #7E8C6F;
  --moss:     #586B4F;
  --wheat:    #C8AE7C;
  --wheat-2:  #B9995F;
  --ink:      #1E241D;
  --stone:    #6E6B5C;
  --line:     rgba(30,36,29,.14);
  --line-soft:rgba(30,36,29,.08);

  --serif: "Spectral", Georgia, serif;
  --sans:  "Hanken Grotesk", system-ui, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --gutter: clamp(20px, 5vw, 88px);
  --maxw: 1320px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

::selection { background: var(--forest); color: var(--paper); }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--moss);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--wheat-2);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: "";
  width: 28px; height: 1px;
  background: var(--wheat-2);
  display: inline-block;
}

.display {
  font-size: clamp(40px, 7vw, 104px);
  line-height: .98;
  letter-spacing: -.025em;
}
.h2 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.02; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--stone); max-width: 56ch; }

.serif-italic { font-style: italic; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(80px, 12vw, 160px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: transform .5s var(--ease), background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.scrolled {
  background: rgba(242,241,233,.86);
  backdrop-filter: blur(14px) saturate(1.2);
  padding-block: 14px;
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav.hidden { transform: translateY(-110%); }

.nav__logo img { height: 52px; width: auto; transition: filter .4s var(--ease); }
.nav:not(.scrolled) .nav__logo img { filter: brightness(0) invert(1); }
@media (max-width: 768px) { .nav__logo img { height: 44px; } }

.nav__links { display: flex; gap: 34px; align-items: center; }
.nav__links a {
  font-size: 14.5px; font-weight: 500; letter-spacing: .01em;
  text-decoration: none; color: inherit; position: relative;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav:not(.scrolled) { color: var(--paper); }
.nav.scrolled { color: var(--ink); }

.nav__right { display: flex; align-items: center; gap: 20px; }

.nav__menu-links { display: flex; gap: 34px; align-items: center; }

/* Buttons */
.btn {
  --bg: var(--forest); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 14.5px; letter-spacing: .02em;
  padding: 13px 24px; border-radius: 999px; border: none; cursor: pointer;
  color: var(--fg); text-decoration: none; overflow: hidden; isolation: isolate;
  background: var(--bg);
  transition: color .4s var(--ease), transform .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--wheat); transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover { color: var(--pine); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn--wa { --bg: var(--wheat); --fg: var(--pine); }
.btn--wa::before { background: var(--forest); }
.btn--wa:hover { color: var(--paper); }

.btn .ico { width: 17px; height: 17px; transition: transform .4s var(--ease); }
.btn:hover .ico { transform: translateX(3px) rotate(0deg); }
.btn--wa:hover .ico { transform: scale(1.1); }

/* Hamburger */
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: currentColor; transition: .3s var(--ease); border-radius: 2px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: var(--paper); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 112%; object-fit: cover;
  transform: scale(1.12) translateY(0);
  animation: kenburns 22s ease-out forwards;
  will-change: transform;
}
@keyframes kenburns { to { transform: scale(1) translateY(-3%); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(24,34,25,.55) 0%, rgba(24,34,25,.05) 28%, rgba(24,34,25,.12) 55%, rgba(24,34,25,.82) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: clamp(120px, 18vh, 200px); padding-bottom: clamp(48px, 8vh, 96px); }
.hero__eyebrow { color: rgba(242,241,233,.86); margin-bottom: 26px; }
.hero__eyebrow::before { background: var(--wheat); }
.hero h1 { font-size: clamp(46px, 9vw, 132px); line-height: .92; letter-spacing: -.03em; max-width: 16ch; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .ln > span { display: block; transform: translateY(105%); animation: lineUp 1.15s var(--ease-out) forwards; }
.hero h1 .ln:nth-child(1) > span { animation-delay: .25s; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .38s; }
.hero h1 .ln:nth-child(3) > span { animation-delay: .51s; }
@keyframes lineUp { to { transform: translateY(0); } }

[data-hero-fade] { opacity: 0; animation: fadeUp .9s var(--ease-out) forwards; }
[data-hero-fade]:nth-of-type(1) { animation-delay: .6s; }
.hero__sub[data-hero-fade] { animation-delay: .8s; }
.hero__cta[data-hero-fade] { animation-delay: .95s; }
.hero__meta[data-hero-fade] { animation-delay: 1.1s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.hero__sub { margin-top: 30px; max-width: 50ch; font-size: clamp(17px, 1.7vw, 21px); color: rgba(242,241,233,.9); }
.hero__cta { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero__meta {
  position: absolute; right: var(--gutter); bottom: clamp(48px, 8vh, 96px); z-index: 2;
  text-align: right; display: flex; flex-direction: column; gap: 4px;
}
.hero__meta .price { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); }
.hero__meta .price small { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .8; display: block; }


/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { background: var(--forest); color: var(--paper); padding: 18px 0; overflow: hidden; white-space: nowrap; border-block: 1px solid rgba(255,255,255,.08); }
.marquee__track { display: inline-flex; gap: 44px; animation: marq 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 30px); display: inline-flex; align-items: center; gap: 44px; opacity: .92; }
.marquee span::after { content: "✦"; font-style: normal; color: var(--wheat); font-size: .6em; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ============================================================
   INTRO / ABOUT
   ============================================================ */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.intro__copy h2 { margin: 22px 0 26px; }
.intro__copy p + p { margin-top: 18px; }
.intro__media { position: relative; }
.intro__media .frame { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 2px; }
.intro__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.intro__badge {
  position: absolute; bottom: -28px; left: -28px;
  background: var(--paper); border: 1px solid var(--line); padding: 24px 28px; border-radius: 2px;
  box-shadow: 0 30px 60px -30px rgba(24,34,25,.4);
}
.intro__badge .n { font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--forest); }
.intro__badge .l { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); margin-top: 6px; }

/* Stats row */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); margin-top: clamp(56px,7vw,84px); }
.stat { background: var(--paper); padding: 30px clamp(8px,2vw,28px); text-align: center; }
.stat .n { font-family: var(--serif); font-size: clamp(36px,4.4vw,56px); color: var(--forest); line-height: 1; }
.stat .n .u { font-size: .45em; color: var(--wheat-2); margin-left: 2px; }
.stat .l { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); margin-top: 12px; }

/* ============================================================
   SERVICIOS
   ============================================================ */
.services { background: var(--forest); color: var(--paper); }
.services .eyebrow { color: var(--wheat); }
.services .eyebrow::before, .services .eyebrow::after { background: var(--wheat); }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(48px,6vw,72px); }
.services__head h2 { max-width: 16ch; }
.services__head p { color: rgba(242,241,233,.72); max-width: 38ch; }
.services__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); }
.svc { background: var(--forest); padding: clamp(28px,3vw,40px); position: relative; overflow: hidden; transition: background .5s var(--ease); }
.svc::after { content:""; position:absolute; inset:0; background: var(--forest-2); transform: translateY(100%); transition: transform .55s var(--ease-out); z-index:0; }
.svc:hover::after { transform: translateY(0); }
.svc > * { position: relative; z-index: 1; }
.svc__ico { width: 52px; height: 52px; margin-bottom: 28px; filter: brightness(0) invert(1); opacity: .92; transition: transform .5s var(--ease); }
.svc:hover .svc__ico { transform: translateY(-4px) scale(1.06); }
.svc__n { font-size: 14px; color: var(--wheat); letter-spacing: .12em; margin-bottom: 14px; font-family: var(--sans); font-weight: 600; }
.svc h3 { font-size: 26px; margin-bottom: 12px; }
.svc p { font-size: 15px; color: rgba(242,241,233,.7); line-height: 1.55; }

/* ============================================================
   GALERÍA
   ============================================================ */
.gallery__head { text-align: center; margin-bottom: clamp(48px,6vw,72px); }
.gallery__head h2 { margin: 20px auto 0; max-width: 18ch; }
.gallery__grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
  grid-auto-flow: dense;
}
.gitem { position: relative; overflow: hidden; border-radius: 2px; cursor: pointer; background: var(--paper-3); }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gitem:hover img { transform: scale(1.07); }
.gitem::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 50%, rgba(24,34,25,.7)); opacity:0; transition: opacity .5s var(--ease); }
.gitem:hover::after { opacity: 1; }
.gitem__cap { position: absolute; left: 22px; bottom: 18px; z-index: 2; color: var(--paper); font-size: 14px; letter-spacing: .04em; transform: translateY(12px); opacity: 0; transition: .5s var(--ease); display: flex; align-items: center; gap: 8px; }
.gitem:hover .gitem__cap { transform: translateY(0); opacity: 1; }
.gitem__cap::before { content:""; width: 18px; height: 1px; background: var(--wheat); }
.g-a { grid-column: span 4; grid-row: span 2; }
.g-b { grid-column: span 2; grid-row: span 1; }
.g-c { grid-column: span 2; grid-row: span 1; }
.g-d { grid-column: span 2; grid-row: span 1; }
.g-e { grid-column: span 2; grid-row: span 1; }
.g-f { grid-column: span 2; grid-row: span 1; }
.gallery__grid { grid-auto-rows: clamp(150px, 17vw, 230px); }

.rate-strip { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 40px; flex-wrap: wrap; text-align: center; }
.rate-strip .price { font-family: var(--serif); font-size: clamp(24px,3vw,34px); color: var(--forest); }
.rate-strip .price b { font-weight: 500; }
.rate-strip .sep { width: 6px; height: 6px; border-radius: 50%; background: var(--wheat-2); }
.rate-strip .note { font-size: 14px; color: var(--stone); letter-spacing: .04em; }

/* ============================================================
   ATRACTIVOS
   ============================================================ */
.places { background: var(--paper-2); }
.places__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(40px,5vw,60px); }
.places__head h2 { max-width: 14ch; margin-top: 18px; }
.places__head p { max-width: 34ch; color: var(--stone); }
.places__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.place { position: relative; overflow: hidden; border-radius: 2px; aspect-ratio: 3/3.4; cursor: default; }
.place img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.place:hover img { transform: scale(1.08); }
.place::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(24,34,25,.12) 0%, rgba(24,34,25,.05) 40%, rgba(24,34,25,.85) 100%); }
.place__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(22px,2.4vw,30px); color: var(--paper); }
.place__dist {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  background: rgba(242,241,233,.92); color: var(--forest); font-size: 12.5px; font-weight: 700;
  letter-spacing: .04em; padding: 7px 13px; border-radius: 999px; backdrop-filter: blur(4px);
  display: inline-flex; align-items: center; gap: 6px;
}
.place__dist .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--wheat-2); }
.place h3 { font-size: clamp(23px,2vw,28px); margin-bottom: 6px; }
.place p { font-size: 14.5px; color: rgba(242,241,233,.82); line-height: 1.45; max-width: 30ch; transform: translateY(8px); opacity: .85; transition: .5s var(--ease); }
.place:hover p { transform: translateY(0); opacity: 1; }

/* ============================================================
   UBICACIÓN
   ============================================================ */
.location__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px,5vw,72px); align-items: stretch; }
.location__copy { display: flex; flex-direction: column; justify-content: center; }
.location__copy h2 { margin: 20px 0 24px; max-width: 14ch; }
.location__ref { margin-top: 28px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); display: flex; gap: 16px; align-items: flex-start; }
.location__ref .pin { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--forest); display: grid; place-items: center; }
.location__ref .pin svg { width: 18px; height: 18px; stroke: var(--paper); }
.location__ref .t b { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--wheat-2); margin-bottom: 4px; font-weight: 700; }
.location__map { position: relative; min-height: 420px; border-radius: 2px; overflow: hidden; border: 1px solid var(--line); }
.location__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); position: absolute; inset: 0; }

/* ============================================================
   CTA
   ============================================================ */
.cta { background: var(--pine); color: var(--paper); text-align: center; overflow: hidden; }
.cta .wrap { position: relative; z-index: 2; }
.cta__topo { position: absolute; inset: 0; z-index: 0; opacity: .5; }
.cta h2 { font-size: clamp(36px,6vw,84px); max-width: 18ch; margin: 22px auto 26px; }
.cta p { max-width: 52ch; margin: 0 auto 38px; color: rgba(242,241,233,.78); font-size: 18px; }
.cta .eyebrow { color: var(--wheat); justify-content: center; }
.cta .eyebrow::before, .cta .eyebrow::after { background: var(--wheat); }

/* ============================================================
   FAQ
   ============================================================ */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px,6vw,90px); align-items: start; }
.faq__intro h2 { margin: 18px 0 20px; }
.faq__intro p { color: var(--stone); max-width: 34ch; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; background: none; border: none; cursor: pointer; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 4px; font-family: var(--serif); font-size: clamp(19px,1.9vw,24px); color: var(--ink); transition: color .3s var(--ease); }
.faq__q:hover { color: var(--forest); }
.faq__icon { flex: none; width: 30px; height: 30px; position: relative; }
.faq__icon::before, .faq__icon::after { content:""; position:absolute; top:50%; left:50%; transform: translate(-50%,-50%); background: var(--forest); transition: transform .4s var(--ease); }
.faq__icon::before { width: 15px; height: 1.5px; }
.faq__icon::after { width: 1.5px; height: 15px; }
.faq__item.open .faq__icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq__a { overflow: hidden; height: 0; transition: height .45s var(--ease); }
.faq__a-inner { padding: 0 4px 28px; color: var(--stone); font-size: 16.5px; line-height: 1.65; max-width: 62ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--pine); color: var(--paper); padding-block: clamp(64px,8vw,96px) 32px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__logo img { height: 38px; filter: brightness(0) invert(1); margin-bottom: 22px; }
.footer__top p { color: rgba(242,241,233,.66); max-width: 40ch; font-size: 15.5px; }
.footer__col h4 { font-family: var(--sans); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--wheat); margin-bottom: 20px; font-weight: 700; }
.footer__col a, .footer__col p { display: block; color: rgba(242,241,233,.78); text-decoration: none; font-size: 15.5px; margin-bottom: 12px; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--wheat); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 13.5px; color: rgba(242,241,233,.5); }
.footer__bottom a { color: rgba(242,241,233,.7); text-decoration: none; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(16,22,17,.94); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); padding: 5vw; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 86vh; object-fit: contain; border-radius: 2px; transform: scale(.96); transition: transform .5s var(--ease-out); box-shadow: 0 40px 100px -20px rgba(0,0,0,.6); }
.lightbox.open img { transform: scale(1); }
.lightbox__close { position: absolute; top: 26px; right: 30px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: none; color: var(--paper); cursor: pointer; font-size: 22px; display: grid; place-items: center; transition: .3s var(--ease); }
.lightbox__close:hover { background: rgba(255,255,255,.12); transform: rotate(90deg); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: rgba(0,0,0,.2); color: var(--paper); cursor: pointer; display: grid; place-items: center; transition: .3s var(--ease); }
.lightbox__nav:hover { background: rgba(255,255,255,.14); }
.lightbox__nav.prev { left: 24px; }
.lightbox__nav.next { right: 24px; }
.lightbox__count { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: rgba(242,241,233,.7); font-size: 13px; letter-spacing: .2em; }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--wheat); z-index: 110; transition: width .1s linear; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-stagger].in > * { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-out); }
.reveal-img.in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal, [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  .reveal-img { clip-path: none !important; }
  .hero__media img { animation: none; transform: scale(1.02); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .intro__grid, .location__grid, .faq__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .services__grid { grid-template-columns: repeat(2,1fr); }
  .places__grid { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .location__copy { order: 1; } .location__map { order: 2; min-height: 360px; }
}
@media (max-width: 760px) {
  .nav__menu-links { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile-cta { display: none; }
  .gallery__grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: clamp(160px,40vw,220px); }
  .g-a { grid-column: span 2; grid-row: span 2; }
  .g-b,.g-c,.g-d,.g-e,.g-f { grid-column: span 1; grid-row: span 1; }
  .hero__meta { display: none; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .places__grid { grid-template-columns: 1fr; }
  .intro__badge { left: 0; bottom: -20px; }
  /* Mobile menu panel */
  .nav__panel { position: fixed; inset: 0; z-index: 99; background: var(--pine); color: var(--paper); display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: var(--gutter); transform: translateX(100%); transition: transform .5s var(--ease); }
  .nav__panel.open { transform: none; }
  .nav__panel a { font-family: var(--serif); font-size: 22px; color: var(--paper); text-decoration: none; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav__panel .btn { margin-top: 24px; align-self: flex-start; padding: 16px 28px; }
  .nav:not(.scrolled) .nav__burger span { background: #fff; }
}
@media (min-width: 761px) { .nav__panel { display: none; } }
@media (max-width: 480px) {
  .services__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* ============ REVIEWS ============ */
.reviews { background: var(--paper); }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.reviews__title h2 { margin-top: 8px; }
.reviews__badge { display: inline-flex; align-items: center; gap: 14px; background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; padding: 14px 18px; text-decoration: none; color: var(--ink); box-shadow: 0 4px 18px rgba(0,0,0,.04); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.reviews__badge:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.08); }
.reviews__g { width: 28px; height: 28px; flex-shrink: 0; }
.reviews__badge-text { display: flex; flex-direction: column; line-height: 1.15; }
.reviews__badge-text strong { font-size: 22px; font-family: var(--serif); }
.reviews__badge-text small { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.reviews__stars { color: #F4B400; letter-spacing: 1px; font-size: 14px; }

.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); position: relative; }
.review:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,0,0,.06); }
.review__head { display: grid; grid-template-columns: 44px 1fr 22px; gap: 12px; align-items: center; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--cream); }
.review__name { font-weight: 600; font-size: 15px; color: var(--ink); }
.review__meta { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.review__meta .review__stars { font-size: 13px; }
.review__g-mark { width: 18px; height: 18px; opacity: .85; }
.review__text { font-size: 14.5px; line-height: 1.6; color: var(--ink); margin: 0; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review__skeleton { background: linear-gradient(110deg, #f1ede5 30%, #f8f4ec 50%, #f1ede5 70%); background-size: 200% 100%; border-radius: 16px; height: 220px; animation: shimmer 1.4s linear infinite; }
.review__error { text-align: center; color: var(--ink-soft); padding: 40px 0; }
.review__error a { color: var(--pine); }
.reviews__cta { text-align: center; margin-top: 36px; }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 960px) {
  .reviews__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .reviews__grid { grid-template-columns: 1fr; }
  .reviews__head { flex-direction: column; align-items: flex-start; }
}

/* Hero rating badge */
.hero__rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 9px 14px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 999px; color: var(--paper); text-decoration: none; font-size: 13px; letter-spacing: .01em; transition: background .3s var(--ease), transform .3s var(--ease); }
.hero__rating:hover { background: rgba(255,255,255,.22); transform: translateY(-1px); }
.hero__rating strong { font-family: var(--serif); font-size: 16px; font-weight: 500; }
.hero__rating-g { width: 16px; height: 16px; }
.hero__rating-stars { color: #FFCB45; letter-spacing: 1px; font-size: 13px; }
.hero__rating-sep { opacity: .5; }
.hero__rating-count { opacity: .9; }
@media (max-width: 480px) { .hero__rating { font-size: 12px; padding: 8px 12px; } .hero__rating strong { font-size: 14px; } .hero__rating-g { width: 14px; height: 14px; } .hero__rating-count { font-size: 11px; } }
