/* =========================================================================
   SAMBER ESCAPADAS — SHARED STYLESHEET
   -------------------------------------------------------------------------
   Extracted from index.html so the property detail pages share ONE design
   vocabulary. index.html keeps its inline <style> for now; these pages link
   here. Keep this file as the single source of truth going forward.
   ========================================================================= */

:root {
  --bg:            #faf9f7;
  --bg-alt:        #f2efea;
  --ink:           #1a1a18;
  --ink-soft:      #55534e;
  --ink-faint:     #8a877f;
  --line:          #e0dcd4;
  --white:         #ffffff;

  --serif:   'Cormorant Garamond', Georgia, serif;
  --display: 'Cinzel', Georgia, serif;
  --sans:    'Inter', -apple-system, sans-serif;

  --gutter:    clamp(1.25rem, 5vw, 4rem);
  --maxw:      1280px;
  --maxw-text: 62ch;
  --section-y: clamp(4rem, 12vh, 9rem);

  --accent:      #b45309;
  --accent-dark: #451a03;

  --radius: 2px;
  --ease:   cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---- tipografía ------------------------------------------------------- */
.label {
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 400;
}
.h-display { font-family: var(--display); font-weight: 400; line-height: 1.12; letter-spacing: .01em; margin: 0; }
.h-serif   { font-family: var(--serif); font-weight: 300; line-height: 1.2; margin: 0; }
.lede {
  font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-style: italic; color: var(--ink-soft); max-width: var(--maxw-text);
}

/* ---- nav -------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--gutter);
  transition: background .4s var(--ease), padding .4s var(--ease);
  background: rgba(250,249,247,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  font-family: var(--display); font-size: 1.05rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink);
}
.nav__links { display: flex; gap: 2rem; align-items: center; }
.nav__links a {
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); transition: opacity .3s var(--ease);
}
.nav__links a:hover { opacity: .6; }
.nav__cta { border: 1px solid var(--accent); padding: .5rem 1.1rem; color: var(--accent); }
@media (max-width: 800px) { .nav__links a:not(.nav__cta) { display: none; } }

/* ---- botones ---------------------------------------------------------- */
.btn {
  display: inline-block; padding: .85rem 1.8rem; border-radius: var(--radius);
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn--accent  { background: var(--accent); color: var(--white); }
.btn--accent:hover  { background: var(--accent-dark); }
.btn--outline { border-color: var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); }
.btn--ghost   { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

/* ---- secciones -------------------------------------------------------- */
.section { padding: var(--section-y) var(--gutter); }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: var(--maxw); margin: 0 auto 3.5rem; }
.section__head .label { display: block; margin-bottom: 1rem; }
.section__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.7rem, 4vw, 2.9rem); line-height: 1.15; margin: 0;
}

/* =========================================================================
   PROPERTY DETAIL — hero
   ========================================================================= */
.phero {
  position: relative; min-height: 78svh; display: grid; align-content: end;
  padding: 0 var(--gutter) clamp(2.5rem, 8vh, 5rem);
  overflow: hidden; background: #0b0b0c;
}
.phero__media { position: absolute; inset: 0; z-index: 0; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.28) 45%, rgba(0,0,0,.15) 100%);
}
.phero__body { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.phero__body .label { color: rgba(255,255,255,.75); }
.phero__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.2rem, 7vw, 4.6rem); line-height: 1.06;
  color: var(--white); margin: .8rem 0 .9rem;
}
.phero__tag {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: rgba(255,255,255,.88); margin: 0 0 1.6rem; max-width: 40ch;
}
.phero__facts { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-bottom: 1.8rem; }
.phero__facts span {
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.phero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---- franja de identidad --------------------------------------------- */
.identity {
  padding: 1.1rem var(--gutter);
  background: var(--accent-dark);
  color: var(--white);
  display: flex; flex-wrap: wrap; gap: .5rem 2rem;
  justify-content: center; align-items: center;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
}
.identity span { opacity: .82; }
.identity strong { font-weight: 500; opacity: 1; }

/* ---- relato ----------------------------------------------------------- */
.story { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; max-width: var(--maxw); margin: 0 auto; }
@media (min-width: 900px) { .story { grid-template-columns: 1.15fr .85fr; align-items: start; } }
.story__text p { margin: 0 0 1.2rem; color: var(--ink-soft); }
/* DROP CAP — REMOVED (2026-10-25).
   It blew up whatever the first character happened to be: a green tick (✅), an
   em dash (—), or the "2" in "270 grados" (huge blue 2 + small black 70).
   ::first-letter cannot test the character, so the honest fix is not to have a
   drop cap on data-driven copy. Emphasis now comes from the lead paragraph. */
.story__text p::first-letter {
  font-size: inherit; float: none; color: inherit;
  font-family: inherit; padding: 0; line-height: inherit;
}
.story__aside {
  background: var(--bg-alt); padding: clamp(1.5rem, 3vw, 2.2rem);
  border-left: 2px solid var(--accent);
}
.story__aside h3 {
  font-family: var(--display); font-weight: 400; font-size: .72rem;
  letter-spacing: .2em; text-transform: uppercase; margin: 0 0 1.1rem; color: var(--ink-faint);
}
.story__aside dl { margin: 0; }
.story__aside dt { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-top: 1rem; }
.story__aside dt:first-child { margin-top: 0; }
.story__aside dd { margin: .25rem 0 0; font-family: var(--serif); font-size: 1.05rem; }

/* ---- galería del detalle --------------------------------------------- */
.pgallery {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: .55rem;
  grid-template-columns: repeat(3, 1fr);
}
.pgallery figure { margin: 0; position: relative; overflow: hidden; cursor: zoom-in; }
.pgallery img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3;
  background: var(--bg-alt); transition: transform .7s var(--ease);
}
.pgallery figure:hover img { transform: scale(1.05); }
.pgallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.pgallery figure:first-child img { aspect-ratio: auto; height: 100%; }
.pgallery__ph {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4/3; background: var(--bg-alt);
  border: 1px dashed rgba(0,0,0,.14);
  font-family: var(--serif); font-size: .78rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-faint); text-align: center; padding: 1rem;
}
@media (max-width: 720px) {
  .pgallery { grid-template-columns: repeat(2, 1fr); }
  .pgallery figure:first-child { grid-column: span 2; grid-row: auto; }
}

/* ---- lista de detalles / amenities ------------------------------------ */
.detail-list {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: 1.1rem 3rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.detail-list li {
  list-style: none; display: flex; gap: .85rem; align-items: baseline;
  font-size: .92rem; color: var(--ink-soft);
  padding-bottom: 1.1rem; border-bottom: 1px solid var(--line);
}
.detail-list ul { padding: 0; margin: 0; }
.detail-list li::before {
  content: "—"; color: var(--accent); flex: 0 0 auto;
}
.detail-list strong { color: var(--ink); font-weight: 400; }

/* ---- reseñas ---------------------------------------------------------- */
.pquotes { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.pquote { background: var(--bg); padding: clamp(1.4rem, 3vw, 2rem); border-top: 2px solid var(--accent); }
.pquote__q { font-family: var(--serif); font-size: 1.12rem; font-style: italic; line-height: 1.5; margin: 0 0 1.1rem; }
.pquote__by { font-size: .76rem; letter-spacing: .06em; color: var(--ink-soft); }
.pquote__by strong { display: block; color: var(--ink); font-weight: 500; letter-spacing: .02em; }
.pquote__stars { color: #d99a1f; letter-spacing: .06em; }

/* ---- otros / cruce ---------------------------------------------------- */
.cross {
  display: grid; gap: 0; grid-template-columns: 1fr;
  max-width: var(--maxw); margin: 0 auto;
  border: 1px solid var(--line);
}
@media (min-width: 760px) { .cross { grid-template-columns: repeat(2, 1fr); } }
.cross a { display: block; position: relative; overflow: hidden; background: #0b0b0c; }
.cross img { width: 100%; aspect-ratio: 16/10; object-fit: cover; opacity: .72; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.cross a:hover img { opacity: .9; transform: scale(1.03); }
.cross__label { position: absolute; inset: auto 0 0 0; padding: 1.2rem 1.4rem; color: var(--white); }
.cross__label span { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; opacity: .72; display: block; margin-bottom: .35rem; }
.cross__label strong { font-family: var(--display); font-weight: 400; font-size: 1.15rem; letter-spacing: .04em; }

/* ---- CTA final -------------------------------------------------------- */
.pcta {
  background: var(--ink); color: var(--white);
  padding: var(--section-y) var(--gutter); text-align: center;
}
.pcta h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.6rem); margin: 0 0 1rem; }
.pcta p { color: rgba(255,255,255,.6); max-width: 46ch; margin: 0 auto 2rem; }
.pcta .btn--outline { border-color: rgba(255,255,255,.35); color: var(--white); }
.pcta .btn--outline:hover { border-color: var(--white); }

/* ---- franja de reserva (sticky móvil) --------------------------------- */
.bookbar {
  position: fixed; inset: auto 0 0 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem var(--gutter);
  background: rgba(26,26,24,.96); color: var(--white);
  backdrop-filter: blur(10px);
}
.bookbar__price { font-family: var(--serif); font-size: 1.05rem; }
.bookbar__price small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.bookbar .btn { padding: .6rem 1.3rem; }
@media (min-width: 801px) { .bookbar { display: none; } }

/* ---- footer ----------------------------------------------------------- */
.footer { background: var(--ink); color: rgba(255,255,255,.55); padding: var(--section-y) var(--gutter) 2rem; }
.footer__grid { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.footer__brand { font-family: var(--display); color: var(--white); letter-spacing: .16em; text-transform: uppercase; font-size: 1rem; }
.footer h4 { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.45); margin: 0 0 .9rem; font-weight: 400; }
.footer a:hover { color: var(--white); }
.footer__base {
  max-width: var(--maxw); margin: 3.5rem auto 0; padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between;
  font-size: .68rem; letter-spacing: .08em;
}

/* Reseñas traducidas: el original queda a un clic, igual que en la home. */
.pquote__note { font-size: .7rem; color: var(--ink-faint); margin: -.6rem 0 1.1rem; }
.pquote__note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.pquote__orig { font-size: .84rem; line-height: 1.5; color: var(--ink-soft); font-style: italic;
  margin: -.4rem 0 1rem; padding-left: .7rem; border-left: 2px solid var(--line); }

/* Amenities agrupados: la etiqueta del grupo es un separador, no un ítem. */
/* Group heading must span the whole grid — otherwise it occupies one column
   of the auto-fit track and the first amenity starts beside it. */
.detail-list li.dgroup {
  grid-column: 1 / -1;
  list-style: none; margin: 1.6rem 0 0; padding: 0 0 .45rem;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint); border-bottom: 1px solid var(--line);
}
.detail-list li.dgroup::before { content: none; }
.detail-list li.dgroup:first-child { margin-top: 0; }
.detail-list li.dgroup + li { margin-top: .6rem; }

/* Placeholder owns the tile size so the figure has layout before the image
   arrives. Without this the figure collapses and the grid cell is empty. */
.pgallery figure > .pgallery__ph { width: 100%; height: 100%; }
.pgallery figure:first-child > .pgallery__ph { aspect-ratio: auto; min-height: 24rem; }

/* ---- lightbox de galería --------------------------------------------- */
.lb {
  position: fixed; inset: 0; z-index: 95; display: none;
  background: rgba(14,14,12,.94);
  padding: clamp(1rem,3vw,2.5rem);
  overscroll-behavior: contain;
}
.lb.is-open { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: 1fr auto;
  align-items: center; justify-items: center; gap: clamp(.5rem,2vw,1.5rem); }
.lb__stage { margin: 0; grid-column: 2; grid-row: 1; display: flex;
  align-items: center; justify-content: center; width: 100%; height: 100%; min-width: 0; }
.lb__stage img {
  max-width: 100%; max-height: calc(100vh - 9rem);
  width: auto; height: auto; object-fit: contain;
  display: block; box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lb__close {
  position: absolute; top: clamp(.75rem,2vw,1.5rem); right: clamp(.75rem,2vw,1.5rem);
  background: none; border: 0; cursor: pointer; color: #f2efe9;
  font-size: 1.5rem; line-height: 1; padding: .5rem; opacity: .75;
}
.lb__close:hover { opacity: 1; }
.lb__nav {
  background: none; border: 0; cursor: pointer; color: #f2efe9;
  font-size: clamp(2rem,4vw,3rem); line-height: 1; padding: .5rem 1rem;
  opacity: .55; transition: opacity .2s ease;
}
.lb__nav:hover { opacity: 1; }
.lb__nav--prev { grid-column: 1; grid-row: 1; }
.lb__nav--next { grid-column: 3; grid-row: 1; }
.lb__count {
  grid-column: 1 / -1; grid-row: 2; margin: 0;
  font-size: .74rem; letter-spacing: .14em; color: rgba(242,239,233,.6);
}
/* Tiles are a promise of zoom — make the cursor honest across the figure. */
.pgallery figure { cursor: zoom-in; }
.pgallery figure:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 640px) {
  .lb.is-open { grid-template-columns: 1fr; }
  .lb__stage { grid-column: 1; }
  .lb__nav { position: absolute; top: 50%; transform: translateY(-50%); }
  .lb__nav--prev { left: 0; }
  .lb__nav--next { right: 0; }
  .lb__stage img { max-height: calc(100vh - 11rem); }
}

/* ---- relato en bloques (story.blocks) --------------------------------- */
.story__block { margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.story__block:last-child { margin-bottom: 0; }
/* ---- narrative blocks: editorial rhythm ------------------------------
   One idea per block, generous space between. Emphasis comes from SIZE and
   SPACE, not from bolting bold and italic onto the same sentence, and not
   from a drop cap (which blew up ticks, dashes and digits).
   ---------------------------------------------------------------------- */

.story__block { margin: 0 0 clamp(2rem, 5vw, 3.25rem); }
.story__block:last-child { margin-bottom: 0; }

/* Section heads: small caps, light grey, letterspaced — the original house
   style. Quiet enough to be a signpost rather than furniture. */
.story__block-title {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: .72rem;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 .9rem;
}

.story__block p {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 1rem;
  max-width: 58ch;          /* comfortable measure, no long-line fatigue */
}
.story__block p:last-child { margin-bottom: 0; }

/* The opening paragraph of the whole narrative is the lead: larger, darker,
   with a hanging serif emphasis that reads as design rather than decoration. */
.story__text > .story__block:first-child > p:first-child {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  line-height: 1.45;
  color: var(--ink);
  max-width: 46ch;
  margin-bottom: 1.4rem;
}

/* Closing line: same size as body but set apart with space, not emphasis. */
.story__text > .story__block:last-child p { color: var(--ink); }


/* Inline emphasis inside story blocks (rendered from **bold** / *italic*). */
.story__block strong { font-weight: 600; color: var(--ink); }
.story__block em { font-style: italic; }
.story__block .story__closing { margin-top: 1.2rem; }

/* Plain-start blocks: body opens with a symbol/emphasis/number, so it runs as
   normal prose with no italic section head above it. */
.story__block--plain .story__block-title { display: none; }
.story__block--plain p:first-child { margin-top: 0; }

/* ---- testimonial block quote (block.quote: true) ---------------------- */
.story__quote {
  margin: clamp(2rem, 5vw, 3.25rem) 0;
  padding-left: clamp(1rem, 3vw, 1.75rem);
  border-left: 2px solid var(--accent);
  max-width: 52ch;
}
.story__quote blockquote { margin: 0; }
.story__quote blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.12rem, 2.1vw, 1.35rem);
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 .9rem;
}
.story__quote blockquote p:last-child { margin-bottom: 0; }
.story__quote figcaption {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Closing line matches the lead: same size and weight, so the story opens and
   closes at the same volume. */
.story__text > .story__block:last-child > p:first-child {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  line-height: 1.45;
  color: var(--ink);
  max-width: 46ch;
}

/* Inline links inside narrative copy (e.g. restaurants -> carta.com.py).
   Underlined so they read as links inside a paragraph of prose. */
.story__block p a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent);
}
.story__block p a:hover { color: var(--accent); }

/* ---- cotizador en páginas de propiedad (2026-11) ------------------------
   Same visual language as the homepage quote box, scoped under .pquote-calc
   so it cannot leak into the homepage styles. */
.pquote-calc { max-width: 34rem; margin: 0 auto; }
.pquote-calc .form-grid { margin-bottom: 1.25rem; }
.pquote-calc .quote { margin-bottom: 1rem; }
.pquote-calc__err {
  margin: .75rem 0 0;
  color: #b45309;
  font-size: .9rem;
}
.pquote-calc .btn { width: 100%; margin-top: 1rem; }
.pquote-calc .btn[disabled] { opacity: .45; cursor: not-allowed; }
