/* ============================================================
   Aires de Mar — Cabañas en Mar de las Pampas
   Paleta única: crema (fondo) + verde bosque (bloques oscuros)
   + dorado arena (único acento). Nada de otros colores de fondo.
   ============================================================ */

:root {
  --cream:     #faf6ee;   /* único fondo claro */
  --cream-2:   #f3ecdd;   /* tarjetas / chips sobre crema */
  --card:      #fffdf8;
  --line:      rgba(64, 40, 10, .12);
  --gold:      #c9a467;   /* acento sobre oscuro */
  --gold-ink:  #8b6b30;   /* acento sobre claro (contraste AA) */
  --forest:    #1c3226;   /* único fondo oscuro */
  --forest-2:  #2c4a38;
  --forest-3:  #3f6b4f;
  --ink:       #1f241f;
  --muted:     color-mix(in srgb, var(--ink) 72%, transparent);
  --on-dark:   #f3ecdd;
  --wa:        #25d366;

  --font-display: "Hedvig Letters Sans", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --text-hero: clamp(2.5rem, 1.2rem + 4.6vw, 5.2rem);
  --text-h2:   clamp(1.9rem, 1.2rem + 2.4vw, 3.2rem);
  --text-lead: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);

  --space-section: clamp(3.5rem, 2.2rem + 4vw, 6.5rem);
  --nav-h: 68px;
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 480ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--ink); background: var(--cream); line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.05; font-weight: 400; }
:focus-visible { outline: 3px solid var(--forest-3); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--forest); }

.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.display { font-family: var(--font-display); font-weight: 400; }
.dark .eyebrow { color: var(--gold); }

/* ---------- Barra de progreso de scroll ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--forest-2); --_fg: #fff;
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.4rem; border-radius: 100px;
  background: var(--_bg); color: var(--_fg);
  font-weight: 600; font-size: .95rem; border: none; cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background .3s;
}
.btn::after { /* brillo que cruza el botón al pasar el mouse */
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(28,50,38,.28); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .arrow { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: rgba(255,255,255,.18); font-size: .8rem; transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--mail:hover { background: var(--forest); }
.btn--gold { --_bg: var(--gold); --_fg: var(--forest); }
.btn--gold .arrow { background: rgba(28,50,38,.12); }
.btn--gold:hover { background: #d6b57d; }
.btn--ghost { --_bg: transparent; --_fg: var(--ink); border: 1.5px solid rgba(31,36,31,.25); }
.btn--ghost .arrow { background: rgba(31,36,31,.08); }
.btn--light { --_bg: rgba(255,255,255,.12); --_fg: #fff; border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  transition: background .35s var(--ease), box-shadow .35s, padding .35s;
}
.nav.scrolled { background: rgba(250,246,238,.9); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding-block: .7rem; }
.nav__brand { position: relative; display: block; width: 200px; height: 38px; }
.nav__logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; transition: opacity .35s; }
.nav__logo--color { opacity: 0; }
.nav.scrolled .nav__logo--white { opacity: 0; }
.nav.scrolled .nav__logo--color { opacity: 1; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a:not(.btn) { position: relative; font-size: .92rem; font-weight: 500; color: #fff; transition: color .35s; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav.scrolled .nav__links a:not(.btn) { color: var(--ink); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; width: 30px; height: 22px; position: relative; z-index: 2; }
.nav__toggle span { position: absolute; left: 0; height: 2px; width: 100%; background: #fff; transition: .3s var(--ease); }
.nav.scrolled .nav__toggle span { background: var(--ink); }
.nav__toggle span:nth-child(1){ top: 0; } .nav__toggle span:nth-child(2){ top: 10px; } .nav__toggle span:nth-child(3){ top: 20px; }
.nav__toggle[aria-expanded="true"] span { background: #fff; }
.nav__toggle[aria-expanded="true"] span:nth-child(1){ top: 10px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3){ top: 10px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; padding: 0 clamp(1rem,4vw,2.5rem) clamp(3rem,8vh,6.5rem); isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: -6% 0 0 0; z-index: -2; transform: translate3d(0, var(--py, 0px), 0); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 16s var(--ease) both; }
/* Velo para que el texto se lea sobre la foto: oscurece la izquierda (donde está el texto) y la base */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(14,26,19,.82) 0%, rgba(14,26,19,.55) 42%, rgba(14,26,19,.1) 72%, rgba(14,26,19,0) 100%),
  linear-gradient(180deg, rgba(14,26,19,.55) 0%, rgba(14,26,19,0) 28%, rgba(14,26,19,.35) 70%, rgba(14,26,19,.85) 100%); }
@media (max-width: 720px){ .hero::after { background: linear-gradient(180deg, rgba(14,26,19,.55) 0%, rgba(14,26,19,.35) 30%, rgba(14,26,19,.7) 60%, rgba(14,26,19,.92) 100%); } }
.hero__inner { max-width: 820px; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero__cta, .hero__badge { text-shadow: none; }
.hero__badge { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem .45rem .6rem; border-radius: 100px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); font-size: .85rem; font-weight: 500; margin-bottom: 1.4rem; animation: rise 1s var(--ease) .1s both; }
.hero__badge b { color: var(--gold); letter-spacing: .08em; }
.hero h1 { font-size: var(--text-hero); letter-spacing: -.015em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: block; animation: rise 1.2s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .14s; }
.hero h1 em { font-style: normal; color: #ecd3a0; }
.hero__sub { margin-top: 1.1rem; font-size: var(--text-lead); max-width: 46ch; color: #fff; animation: rise 1.2s var(--ease) .3s both; }
.hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; animation: rise 1.2s var(--ease) .42s both; }
.hero__scroll { position: absolute; bottom: 1.6rem; right: clamp(1rem,4vw,2.5rem); width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 20px; }
.hero__scroll::before { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }

@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(105%); } to { opacity: 1; transform: none; } }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section); }
.dark { background: var(--forest); color: var(--on-dark); }
.section--line { border-top: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: clamp(1.75rem,3vw,2.75rem); }
.section__head h2 { font-size: var(--text-h2); margin-top: .7rem; letter-spacing: -.01em; text-wrap: balance; }
.section__head p { margin-top: 1rem; font-size: var(--text-lead); color: var(--muted); }
.dark .section__head p { color: rgba(243,236,221,.8); }
.split { display: grid; gap: clamp(2rem,4vw,4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px){ .split { grid-template-columns: 1.05fr .95fr; } }

/* ---------- Concepto + cifras ---------- */
.concept { text-align: center; padding-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.concept p { font-family: var(--font-display); font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem); line-height: 1.3; max-width: 30ch; margin-inline: auto; text-wrap: balance; }
.concept p span { color: var(--gold-ink); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: clamp(2rem,4vw,3rem); }
@media (min-width: 760px){ .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { padding: 1.3rem 1rem; border-top: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; color: var(--forest-2); }
.stat span { display: block; margin-top: .5rem; font-size: .85rem; color: var(--muted); }

/* ---------- Marquesina ---------- */
.marquee { overflow: hidden; padding-block: 1.1rem; border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); color: var(--forest-2); white-space: nowrap; padding-inline: 1.4rem; }
.marquee__track span:nth-child(even) { color: var(--gold-ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bento (casas y galería) ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; }
.bento figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--cream-2); }
.bento img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.bento figure:hover img { transform: scale(1.06); }
.bento .b-wide { grid-column: span 2; }
.bento .b-tall { grid-row: span 2; }
.bento .b-big  { grid-column: span 2; grid-row: span 2; }
@media (max-width: 720px){
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .bento .b-tall { grid-row: span 1; }
}
.casa-copy h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); margin-top: .7rem; }
.casa-copy p { margin-top: 1.1rem; color: var(--muted); }
.casa-copy .note { margin-top: .6rem; font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 100px; background: var(--cream-2); font-weight: 600; font-size: .86rem; }

/* Galería: cada foto abre el visor */
.gallery figure { cursor: zoom-in; }
.gallery figure::after { content: "+"; position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(250,246,238,.9); color: var(--forest); font-size: 1.2rem; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .4s var(--ease); }
.gallery figure:hover::after, .gallery figure:focus-visible::after { opacity: 1; transform: none; }

/* ---------- Servicios (bloque oscuro) ---------- */
.services-strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 300px); gap: 16px; overflow-x: auto; padding: .5rem clamp(1rem,4vw,2.5rem) 1.5rem; scroll-snap-type: x mandatory; scroll-padding-inline: clamp(1rem,4vw,2.5rem); scrollbar-width: none; }
.services-strip::-webkit-scrollbar { display: none; }
/* en pantalla ancha entran las 5: grilla centrada en el ancho del sitio, sin carrusel */
@media (min-width: 1100px){ .services-strip { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; scroll-snap-type: none; width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; padding-inline: 0; } }
.svc { position: relative; height: 420px; border-radius: var(--radius-lg); overflow: hidden; scroll-snap-align: start; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 1.2s var(--ease); }
.svc:hover img { transform: scale(1.07); }
.svc::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(28,50,38,0) 30%, rgba(28,50,38,.92)); }
.svc__label { position: relative; z-index: 2; padding: 1.4rem; }
.svc__label b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; }
.svc__label span { display: block; margin-top: .35rem; font-size: .9rem; opacity: .88; }
.strip-hint { margin-top: .4rem; font-size: .8rem; color: rgba(243,236,221,.6); text-align: center; }
@media (min-width: 1100px){ .strip-hint { display: none; } }

/* ---------- Equipamiento ---------- */
.amenities { columns: 1; column-gap: 2.5rem; padding: 0; }
@media (min-width: 560px){ .amenities { columns: 2; } }
@media (min-width: 900px){ .amenities { columns: 3; } }
.amenities li { break-inside: avoid; list-style: none; padding: .6rem 0 .6rem 1.7rem; position: relative; border-bottom: 1px solid var(--line); font-size: .96rem; }
.amenities li::before { content: ""; position: absolute; left: 0; top: 1rem; width: 9px; height: 9px; border-radius: 50%; background: var(--forest-3); }

/* ---------- Opiniones ---------- */
.reviews-top { display: grid; gap: 2rem; align-items: end; margin-bottom: clamp(1.75rem,3vw,2.75rem); }
@media (min-width: 860px){ .reviews-top { grid-template-columns: 1.3fr 1fr; } }
.reviews-top h2 { font-size: var(--text-h2); margin-top: .7rem; text-wrap: balance; }
.reviews-top p { margin-top: 1rem; color: var(--muted); font-size: var(--text-lead); }
.score { display: flex; align-items: center; gap: 1.2rem; padding: 1.4rem 1.6rem; border-radius: var(--radius-lg); background: var(--forest); color: var(--on-dark); }
.score__num { font-family: var(--font-display); font-size: 3.6rem; line-height: 1; color: var(--gold); }
.score__meta { display: grid; gap: .2rem; font-size: .9rem; }
.score__meta a { text-decoration: underline; text-underline-offset: 3px; opacity: .9; }
.stars { color: var(--gold); letter-spacing: .15em; font-size: 1.05rem; }
.reviews { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px){ .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px){ .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.review:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28,50,38,.1); }
.review blockquote { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.35; flex: 1; }
.review footer { display: flex; align-items: center; gap: .7rem; font-size: .88rem; color: var(--muted); }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--forest-2); color: var(--on-dark); font-weight: 600; font-size: .85rem; }
.review footer b { display: block; color: var(--ink); }

/* ---------- Reservas (bloque oscuro) ---------- */
.reserva h2 { font-size: var(--text-h2); margin-top: .7rem; text-wrap: balance; }
.checks { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.check { background: rgba(243,236,221,.08); border: 1px solid rgba(243,236,221,.16); border-radius: var(--radius); padding: 1.1rem 1.4rem; min-width: 150px; }
.check b { display: block; font-size: 1.6rem; font-family: var(--font-display); font-weight: 400; color: var(--gold); }
.check span { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.rules { margin-top: 1.5rem; max-width: 56ch; display: grid; gap: .6rem; padding: 0; list-style: none; }
.rules li { padding-left: 1.4rem; position: relative; color: rgba(243,236,221,.88); }
.rules li::before { content: ""; position: absolute; left: 0; top: .7rem; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.rules b { color: #fff; font-weight: 600; }
.steps { margin-top: 1.8rem; display: grid; gap: .8rem; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.2rem 1fr; gap: .8rem; align-items: start; }
.steps li::before { content: counter(s); width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font-family: var(--font-display); }
.steps span { padding-top: .3rem; color: rgba(243,236,221,.88); }
.mt-btn { margin-top: 1.8rem; }
.stack-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stack-imgs img { border-radius: var(--radius); height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.stack-imgs img:first-child { margin-top: 2rem; }

/* ---------- Preguntas frecuentes ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font-family: var(--font-body); font-size: 1.1rem; transition: transform .4s var(--ease), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--forest-2); color: #fff; border-color: transparent; }
.faq details > div { padding: 0 3rem 1.3rem 0; color: var(--muted); }
.faq details[open] > div { animation: fadeDown .5s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Ubicación ---------- */
.loc-card { padding-block: 1rem; }
.loc-card h2 { font-size: var(--text-h2); margin-top: .7rem; }
.loc-card ul { list-style: none; padding: 0; margin-top: 1.3rem; display: grid; gap: .85rem; }
.loc-card li { display: flex; gap: .7rem; align-items: flex-start; }
.loc-card .btn { margin-top: 1.6rem; }
.loc-card a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.map { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; background: var(--cream-2); box-shadow: 0 24px 60px rgba(28,50,38,.14); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; filter: saturate(.85); }
.map__cta { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: 100px; background: var(--forest); color: #fff; font-weight: 600; font-size: .9rem; box-shadow: 0 10px 24px rgba(0,0,0,.25); transition: transform .4s var(--ease); }
.map:hover .map__cta { transform: translateY(-3px); }
.map:hover iframe { filter: saturate(1); }

/* ---------- Footer ---------- */
.footer { background: var(--forest); color: var(--on-dark); }
.footer__cta { display: grid; gap: 1.6rem; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); border-bottom: 1px solid rgba(243,236,221,.14); }
@media (min-width: 860px){ .footer__cta { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.footer__cta h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.8rem); text-wrap: balance; }
.footer__cta h2 em { font-style: normal; color: var(--gold); }
.footer__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 860px){ .footer__actions { justify-content: flex-end; } }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; padding-block: 2.5rem; }
@media (min-width: 860px){ .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 860px){ .footer__brand { grid-column: auto; } }
.footer__mark { width: 190px; }
.footer__brand p { margin-top: 1rem; font-size: .9rem; color: rgba(243,236,221,.7); max-width: 30ch; }
.footer__h { font-family: var(--font-body); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; font-weight: 600; }
.footer__grid a { display: block; padding: .22rem 0; color: rgba(243,236,221,.82); transition: color .25s; }
.footer__grid a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-block: 1.3rem 1.6rem; border-top: 1px solid rgba(243,236,221,.14); font-size: .8rem; color: rgba(243,236,221,.55); }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Flotantes ---------- */
.wa-float { position: fixed; right: 1.1rem; bottom: 5.2rem; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45); transition: transform .4s var(--ease), opacity .4s; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.6s var(--ease) infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

.reserva-bar { position: fixed; inset: auto 0 0 0; z-index: 55; background: rgba(28,50,38,.95); backdrop-filter: blur(10px); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem clamp(1rem,4vw,2.5rem); transform: translateY(100%); transition: transform .45s var(--ease); }
.reserva-bar.show { transform: translateY(0); }
.reserva-bar__txt b { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; }
.reserva-bar__txt span { display: block; font-size: .78rem; opacity: .75; }
/* Al llegar al footer se esconden los flotantes: el footer ya tiene sus botones */
body.at-end .reserva-bar { transform: translateY(100%); }
body.at-end .wa-float { opacity: 0; transform: scale(.6); pointer-events: none; }

/* ---------- Visor de fotos ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(14,24,18,.92); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .35s var(--ease); }
.lightbox img { max-width: min(92vw, 1200px); max-height: 82vh; width: auto; height: auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; font-size: 1.4rem; cursor: pointer; transition: background .25s; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1.2rem; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; bottom: 1.4rem; left: 50%; translate: -50% 0; color: rgba(255,255,255,.7); font-size: .85rem; letter-spacing: .1em; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* hijos en cascada */
.stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > :nth-child(2) { transition-delay: .08s; }
.stagger.in > :nth-child(3) { transition-delay: .16s; }
.stagger.in > :nth-child(4) { transition-delay: .24s; }
.stagger.in > :nth-child(5) { transition-delay: .32s; }
.stagger.in > :nth-child(6) { transition-delay: .4s; }
.stagger.in > :nth-child(7) { transition-delay: .48s; }
.stagger.in > :nth-child(8) { transition-delay: .56s; }
/* fotos que se "abren" */
.unveil figure, .unveil > img { clip-path: inset(14% 10% 14% 10% round var(--radius)); transition: clip-path 1.3s var(--ease); }
.unveil.in figure, .unveil.in > img { clip-path: inset(0 0 0 0 round var(--radius)); }
.unveil.in figure:nth-child(2) { transition-delay: .1s; } .unveil.in figure:nth-child(3) { transition-delay: .2s; }
.unveil.in figure:nth-child(4) { transition-delay: .3s; } .unveil.in figure:nth-child(5) { transition-delay: .4s; }
.unveil.in figure:nth-child(6) { transition-delay: .5s; } .unveil.in figure:nth-child(7) { transition-delay: .6s; }
.unveil.in figure:nth-child(8) { transition-delay: .7s; } .unveil.in > img:nth-child(2) { transition-delay: .15s; }

@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .stagger > * { opacity: 1; transform: none; }
  .unveil figure, .unveil > img { clip-path: none; }
  .hero__bg { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 820px){
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(80vw, 340px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.4rem; background: var(--forest); padding: 2rem; transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,.25); }
  .nav__links.open { transform: none; }
  .nav__links a:not(.btn), .nav.scrolled .nav__links a:not(.btn) { color: #fff; font-size: 1.2rem; }
  .nav__links .btn { --_bg: var(--gold); --_fg: var(--forest); }
}
@media (max-width: 560px){
  :root { --nav-h: 60px; }
  .nav__brand { width: 160px; height: 30px; }
  .reserva-bar { padding-block: .55rem; }
  .reserva-bar__txt span { display: none; }
  .reserva-bar__txt b { font-size: 1rem; }
  .wa-float { width: 52px; height: 52px; bottom: 4.6rem; right: .9rem; }
  .check { min-width: 0; flex: 1; padding: .9rem 1rem; }
  .svc { height: 360px; }
  .score { padding: 1.1rem 1.2rem; }
  .score__num { font-size: 3rem; }
  .faq details > div { padding-right: 0; }
  .map { min-height: 300px; }
}

/* ---------- Casas: foto grande arriba + 3 verticales, sin recortes raros ---------- */
.bento--casas { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; }
.bento--casas figure { aspect-ratio: 3 / 4; }
.bento--casas .b-big, .bento--casas .b-wide { grid-column: auto; grid-row: auto; }
.bento--casas .b-big { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.bento--casas img { object-position: center; }
[data-zoom] { cursor: zoom-in; }
[data-zoom]:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.bento figure[role="button"]:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Ventana "¿cómo preferís escribirnos?" ---------- */
.contact { margin: auto; width: min(92vw, 420px); border: 0; border-radius: calc(var(--radius) * 1.4); padding: 2rem 1.6rem 1.6rem; background: var(--cream); color: var(--forest); box-shadow: 0 30px 80px rgba(14,26,19,.45); }
.contact::backdrop { background: rgba(14,24,18,.7); backdrop-filter: blur(4px); }
.contact[open] { display: grid; gap: .8rem; animation: fadeIn .3s var(--ease); }
.contact h2 { font-size: 1.6rem; margin: 0; }
.contact p { margin: 0 0 .4rem; opacity: .75; }
.contact__opt { justify-content: space-between; width: 100%; }
.contact__close { position: absolute; top: .8rem; right: .8rem; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(28,50,38,.15); background: transparent; color: var(--forest); font-size: 1rem; cursor: pointer; }
.contact__close:hover { background: var(--cream-2); }
.contact__more { display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; padding-top: .3rem; }
.contact__alt, .contact__copy { color: var(--gold-ink); background: none; border: 0; padding: .4rem 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ============ CHAT WEB ============ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* burbuja redonda dorada, gemela de la de WhatsApp (misma forma, tamaño y latido) */
.chat-fab { position: fixed; right: 1.1rem; bottom: 9.6rem; z-index: 60; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%; background: var(--gold); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 26px rgba(201,164,103,.5); transition: transform .4s var(--ease), opacity .4s; }
.chat-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: ping 2.6s var(--ease) infinite; animation-delay: 1.3s; }
.chat-fab svg { width: 28px; height: 28px; fill: var(--forest); }
.chat-fab:hover { transform: scale(1.08); }
.chat-fab:focus-visible, .chat button:focus-visible, .chat textarea:focus-visible, .chat__wa:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.chat-fab[aria-expanded="true"] { opacity: 0; pointer-events: none; transform: scale(.8); }
body.at-end .chat-fab { opacity: 0; transform: scale(.6); pointer-events: none; }

.chat { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 70; width: min(calc(100vw - 2rem), 370px); height: min(72vh, 560px); display: flex; flex-direction: column; background: var(--cream); color: var(--ink); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 70px rgba(28,50,38,.35), 0 0 0 1px var(--line); animation: chatIn .45s var(--ease); }
.chat[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.chat__head { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; background: var(--forest); color: var(--on-dark); }
.chat__head div { display: grid; flex: 1; line-height: 1.25; }
.chat__head b { font: 600 1rem var(--font-display); }
.chat__head span { font-size: .78rem; color: color-mix(in srgb, var(--on-dark) 75%, transparent); }
.chat__avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--forest); font: 700 1.05rem var(--font-display); }
.chat__close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--on-dark); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.chat__close:hover { background: var(--forest-2); }
.chat__log { list-style: none; margin: 0; padding: 1rem; flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: .55rem; overscroll-behavior: contain; }
.chat__log li { max-width: 85%; padding: .6rem .85rem; border-radius: 16px; font-size: .93rem; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.chat__log a { color: var(--gold-ink); font-weight: 600; }
.chat__note { align-self: center; max-width: 100%; background: transparent; color: var(--muted); font-size: .82rem; text-align: center; }
.chat__me { align-self: flex-end; background: var(--forest-2); color: #fff; border-bottom-right-radius: 5px; }
.chat__me a { color: var(--gold); }
.chat__bot { align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.chat__typing { align-self: flex-start; display: flex; gap: 4px; padding: .8rem .9rem; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.chat__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--forest-3); animation: dot 1.2s infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; } .chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.chat__form { display: flex; gap: .4rem; padding: .7rem .8rem; border-top: 1px solid var(--line); background: var(--card); }
.chat__form textarea { flex: 1; resize: none; max-height: 110px; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); color: var(--ink); font: .95rem/1.4 var(--font-body); }
.chat__form button { flex: none; width: 44px; height: 44px; align-self: flex-end; border: 0; border-radius: 50%; background: var(--forest); cursor: pointer; display: grid; place-items: center; }
.chat__form button svg { width: 20px; height: 20px; fill: var(--gold); }
.chat__form button:disabled { opacity: .5; cursor: default; }
.chat__form .chat__tool { width: 38px; height: 38px; margin-bottom: 3px; background: transparent; border: 1px solid var(--line); }
.chat__form .chat__tool svg { fill: var(--forest); }
.chat__form .chat__tool:hover { background: var(--cream-2); }
.chat__form .chat__tool[aria-pressed="true"] { background: var(--terracotta, #b5562f); border-color: transparent; animation: rec 1.2s infinite; }
.chat__form .chat__tool[aria-pressed="true"] svg { fill: #fff; }
@keyframes rec { 50% { opacity: .65; } }
.chat__log img { display: block; max-width: 100%; max-height: 220px; border-radius: 10px; margin-bottom: .3rem; }
.chat__wa { display: block; padding: .55rem; text-align: center; font-size: .82rem; font-weight: 600; color: var(--gold-ink); background: var(--cream-2); text-decoration: none; }
.chat__wa:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .chat-fab { width: 52px; height: 52px; bottom: 8.6rem; right: .9rem; }
  .chat { right: .5rem; left: .5rem; bottom: .5rem; width: auto; height: min(80vh, 620px); }
}
@media (prefers-reduced-motion: reduce) { .chat, .chat__typing i, .chat-fab::before, .chat__tool { animation: none !important; } }

/* ============ BLOG / GUÍA (páginas estáticas, sin JS) ============ */
.blog-page { background: var(--cream); }
.blog-page .nav { position: sticky; }
.blog-page .nav__logo--color { opacity: 1; }
.blog-nav { display: flex; align-items: center; gap: 1.4rem; }
.blog-nav a:not(.btn) { font-size: .92rem; font-weight: 500; color: var(--ink); text-underline-offset: 4px; }
.blog-nav a:not(.btn):hover { text-decoration: underline; }
.blog { padding-block: 2.5rem var(--space-section); }
.blog-art { max-width: 760px; }
.blog-art h1, .blog-index h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); line-height: 1.1; margin: .6rem 0 1rem; color: var(--forest); }
.blog-art h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); color: var(--forest); margin: 2.4rem 0 .8rem; }
.blog-art p, .blog-art dd, .blog-art li { font-size: 1.04rem; line-height: 1.7; color: var(--ink); }
.blog-art p + p { margin-top: .9rem; }
.blog-art a:not(.btn) { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs { font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted) !important; }
.blog-meta { font-size: .88rem; color: var(--muted); }
.blog-answer { margin: 1.8rem 0; padding: 1.4rem 1.5rem; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); }
.blog-answer p { margin-top: .5rem; font-size: 1.12rem; }
.blog-hero { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius-lg); }
.blog-faq dt { font-weight: 600; margin-top: 1.1rem; color: var(--forest); }
.blog-faq dd { margin: .3rem 0 0; }
.blog-cta { margin: 3rem 0 1rem; padding: 2rem; border-radius: var(--radius-lg); background: var(--forest); color: var(--on-dark); }
.blog-cta h2 { color: #fff; margin: 0 0 .5rem; }
.blog-cta p { color: var(--on-dark); }
.blog-cta__btns { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }
.blog-more { padding-left: 1.1rem; }
.blog-more li { margin-top: .5rem; }
.blog-lead { font-size: var(--text-lead); color: var(--muted); max-width: 640px; }
.blog-cards { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.blog-card { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28,50,38,.12); }
.blog-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.blog-card img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.blog-card__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.2rem 1.3rem 1.4rem; }
.blog-card__body b { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; line-height: 1.25; color: var(--forest); }
.blog-card__body span { font-size: .92rem; line-height: 1.55; color: var(--muted); }
.blog-foot { background: var(--forest); color: var(--on-dark); padding: 2rem 0; font-size: .88rem; }
.blog-foot p + p { margin-top: .5rem; }
.blog-foot a { color: var(--gold); }
@media (max-width: 720px){
  .blog-nav { gap: .9rem; }
  .blog-nav a:not(.btn):nth-child(2) { display: none; }
  .blog-page .nav__brand { width: 140px; }
}
