/* =============================================================
   Lumina Propiedades — styles.css
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #f5f3ef;
  --bg-2: #ece8e1;
  --surface: #ffffff;
  --ink: #121211;
  --ink-2: #3b3a37;
  --muted: #77736b;
  --line: rgba(18, 18, 17, 0.1);
  --line-strong: rgba(18, 18, 17, 0.18);
  --dark: #0f0f0e;
  --dark-2: #181816;
  --dark-line: rgba(255, 255, 255, 0.12);
  --cream: #f5f3ef;
  --accent: #a8865a;
  --accent-2: #c9a97a;
  --accent-ink: #1b150d;
  --danger: #b5483b;

  --display: "Inter Tight", "Manrope", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1320px;
  --radius: 18px;
  --radius-sm: 12px;
  --section: clamp(5rem, 11vw, 9.5rem);
  --nav-h: 76px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-lg: 0 40px 80px -30px rgba(15, 15, 14, 0.35);
  --shadow-md: 0 18px 40px -20px rgba(15, 15, 14, 0.25);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; text-wrap: balance; line-height: 1.05; letter-spacing: -0.025em; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--accent); color: var(--cream); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--ink); color: var(--cream); border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--accent-2); transform-origin: 0 50%; transform: scaleX(0); }

/* =============================================================
   4. Typography
   ============================================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--accent-2); }
.eyebrow .dot { display: none; }
.section-title { font-size: clamp(2.3rem, 6vw, 4.4rem); margin-top: 1rem; }
.section-title em { color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); }

/* =============================================================
   5. Components
   ============================================================= */
/* Buttons */
.btn {
  --bg-btn: var(--ink); --fg-btn: var(--cream);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.5rem;
  border-radius: 999px; background: var(--bg-btn); color: var(--fg-btn);
  font-weight: 600; font-size: .95rem; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background-color .3s, color .3s, border-color .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .16);
  transform: translateY(101%); border-radius: inherit;
  transition: transform .55s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-sm { min-height: 40px; padding: .55rem 1.1rem; font-size: .88rem; }
.btn-lg { min-height: 56px; padding: 1rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-dark { --bg-btn: var(--ink); --fg-btn: var(--cream); }
.btn-accent { --bg-btn: var(--accent); --fg-btn: #fff; }
.btn-accent::after { background: rgba(0, 0, 0, .12); }
.btn-light { --bg-btn: var(--cream); --fg-btn: var(--ink); }
.btn-light::after { background: rgba(168, 134, 90, .18); }
.btn-outline { --bg-btn: transparent; --fg-btn: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-outline::after { background: rgba(18, 18, 17, .06); }
.btn-outline-light { --bg-btn: transparent; --fg-btn: var(--cream); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn-outline:hover, .btn-outline-light:hover { box-shadow: inset 0 0 0 1px currentColor; }
.btn-link { --bg-btn: transparent; --fg-btn: currentColor; padding-inline: .6rem; }
.btn-link::after { display: none; }
.btn-link:hover { transform: none; box-shadow: none; opacity: .7; }

/* Chips */
.chip {
  padding: .55rem 1.1rem; border-radius: 999px; font-size: .88rem; font-weight: 600;
  color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color .35s var(--ease-out), color .35s, box-shadow .35s, transform .35s var(--ease-out);
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); transform: translateY(-1px); }
.chip.is-active { background: var(--ink); color: var(--cream); box-shadow: inset 0 0 0 1px var(--ink); }

/* Fields */
.field { display: flex; flex-direction: column; gap: .45rem; border: 0; min-width: 0; }
.field label, .field legend { font-size: .8rem; font-weight: 600; color: var(--ink-2); letter-spacing: .01em; }
.field legend { margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem 1rem;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: 1rem; outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .25s, box-shadow .25s;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121211' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px; padding-right: 2.6rem;
}
.field input:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(168, 134, 90, .16); }
.field.has-error input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(181, 72, 59, .12); }
.field-error { display: none; font-size: .8rem; color: var(--danger); }
.field.has-error .field-error { display: block; }

.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: var(--radius-sm); background: var(--bg-2); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span {
  display: flex; align-items: center; justify-content: center; min-height: 42px; padding: .4rem .5rem;
  border-radius: 9px; font-size: .88rem; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.2;
  transition: background-color .3s var(--ease-out), color .3s, box-shadow .3s;
}
.segmented input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .25); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .86rem; line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }

/* =============================================================
   6. Sections
   ============================================================= */
/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  color: var(--cream);
  transition: background-color .5s var(--ease-out), color .5s, box-shadow .5s, transform .5s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(245, 243, 239, .82);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  color: var(--ink); box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .7rem; }
.logo-mark svg { width: 34px; height: 34px; }
.logo-mark rect { fill: currentColor; transition: fill .5s; }
.logo-mark path { fill: var(--dark); transition: fill .5s; }
.nav.is-scrolled .logo-mark path, .nav.menu-open .logo-mark path { fill: var(--accent-2); }
.nav.is-scrolled .logo-mark rect { fill: var(--ink); }
.logo-text { display: flex; flex-direction: column; font-family: var(--display); font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.logo-text small { font-family: var(--sans); font-size: .58rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; opacity: .65; margin-top: .3rem; }

.nav-links { display: none; gap: clamp(1.1rem, 2.2vw, 2.2rem); font-size: .92rem; font-weight: 500; }
.nav-links a { position: relative; white-space: nowrap; padding-block: .4rem; opacity: .86; transition: opacity .3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav-links a:hover, .nav-links a.is-current { opacity: 1; }
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: .5rem; }
.nav-tasar { display: none; }
.nav-actions > .btn-accent { display: none; }

.nav-toggle { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-out); }
.nav-toggle span:first-child { transform: translateY(-4px); }
.nav-toggle span:last-child { transform: translateY(4px); }
.nav.menu-open .nav-toggle span:first-child { transform: rotate(45deg); }
.nav.menu-open .nav-toggle span:last-child { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: -1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 2rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  background: var(--dark); color: var(--cream);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-out);
  visibility: hidden;
}
.nav.menu-open { color: var(--cream); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.nav.menu-open .logo-mark rect { fill: var(--cream); }
.nav.menu-open .logo-mark path { fill: var(--dark); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--display); font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -.03em; line-height: 1.25;
  padding-block: .35rem; border-bottom: 1px solid var(--dark-line);
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.nav.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.nav.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .05s; }
.nav.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .1s; }
.nav.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .15s; }
.nav.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .2s; }
.mobile-menu-cta { display: grid; gap: .75rem; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--cream); background: var(--dark); overflow: hidden;
  padding: calc(var(--nav-h) + 3rem) 0 clamp(3rem, 7vh, 5rem);
}
.parallax { overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover;
  transform: scale(1.06); will-change: transform;
  animation: heroZoom 2.4s var(--ease-out) both;
}
@keyframes heroZoom { from { scale: 1.12; } to { scale: 1; } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,9,.6) 0%, rgba(10,10,9,.38) 30%, rgba(10,10,9,.55) 60%, rgba(10,10,9,.9) 100%),
    radial-gradient(120% 80% at 10% 90%, rgba(10,10,9,.65), transparent 65%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-title { font-size: clamp(2.9rem, 10.5vw, 7.6rem); line-height: .98; letter-spacing: -.045em; margin: 1.2rem 0 1.4rem; max-width: 13ch; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { color: var(--accent-2); padding-right: .04em; }
.hero-sub { max-width: 34rem; font-size: clamp(1rem, 1.5vw, 1.15rem); color: rgba(245, 243, 239, .78); }

.hero-in { animation: heroIn 1.2s var(--ease-out) both; animation-delay: var(--d, 0s); }
.hero-title .hero-in { animation-name: heroLine; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes heroLine { from { transform: translateY(105%); } to { transform: none; } }

/* Search */
.search {
  margin-top: 2.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px; overflow: hidden;
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
  max-width: 1040px;
}
.search-field { position: relative; display: flex; flex-direction: column; padding: .8rem 1.1rem; background: rgba(15, 15, 14, .38); transition: background-color .3s; }
.search-field:hover, .search-field:focus-within { background: rgba(15, 15, 14, .55); }
.search-field label { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.search-field select {
  width: 100%; background: transparent; border: 0; color: var(--cream); font-size: .98rem; font-weight: 500;
  padding: .2rem 1.4rem .1rem 0; outline: none; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f3ef' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0 center; background-size: 16px;
}
.search-field select option { color: var(--ink); }
.search-btn { grid-column: 1 / -1; border-radius: 0; min-height: 58px; }
.search-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search-btn:hover { transform: none; box-shadow: none; }

.hero-actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.hero-link { font-weight: 600; font-size: .95rem; border-bottom: 1px solid rgba(245, 243, 239, .4); padding-bottom: 2px; transition: border-color .3s, color .3s; }
.hero-link:hover { border-color: var(--accent-2); color: var(--accent-2); }

.hero-scroll { position: absolute; right: var(--gutter); bottom: 2.4rem; z-index: 1; display: none; width: 26px; height: 42px; border: 1.5px solid rgba(245, 243, 239, .5); border-radius: 14px; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--cream); animation: scrollDot 2s var(--ease-soft) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- STRIP ---------- */
.strip { border-bottom: 1px solid var(--line); background: var(--bg); }
.strip-inner { display: grid; grid-template-columns: 1fr 1fr; }
.strip-item { display: flex; flex-direction: column; gap: .3rem; padding: 2rem 0; }
.strip-item:nth-child(odd) { padding-right: 1rem; }
.strip-item:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.strip-item strong { font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.035em; line-height: 1; }
.strip-item > span { font-size: .85rem; color: var(--muted); }

/* ---------- SECTION GENERIC ---------- */
.section { padding-block: var(--section); }
.section-head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head-side p { color: var(--muted); max-width: 30rem; }
.section-head-center { text-align: center; justify-items: center; }

/* ---------- PROPERTIES: intro + collection nav ---------- */
.properties-intro { padding-top: var(--section); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.col-nav { display: grid; gap: .75rem; }
.col-link {
  position: relative; display: grid; gap: .25rem; padding: 1.2rem 3.2rem 1.2rem 1.3rem; border-radius: var(--radius);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease-out), box-shadow .5s, color .5s;
}
.col-link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .6s var(--ease-out); }
.col-link::after {
  content: ""; position: absolute; right: 1.2rem; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: currentColor; opacity: .5;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .6s var(--ease-out), opacity .4s;
}
.col-link:hover { transform: translateY(-3px); color: var(--cream); box-shadow: var(--shadow-md); }
.col-link:hover::before { transform: none; }
.col-link:hover::after { transform: translateY(4px); opacity: 1; }
.col-link-label { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.col-link:hover .col-link-label { color: var(--accent-2); }
.col-link strong { font-family: var(--display); font-weight: 500; font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.25; }
.col-link-range { font-size: .85rem; color: var(--muted); transition: color .4s; }
.col-link:hover .col-link-range { color: rgba(245, 243, 239, .7); }
.col-link--premium { background: var(--dark); color: var(--cream); box-shadow: none; }
.col-link--premium .col-link-label { color: var(--accent-2); }
.col-link--premium .col-link-range { color: rgba(245, 243, 239, .6); }
.col-link--premium::before { background: var(--accent); }
.col-link--premium:hover .col-link-label { color: var(--dark); }

.search-result {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem;
  margin-top: 1.5rem; padding: .9rem .9rem .9rem 1.3rem; border-radius: var(--radius-sm);
  background: rgba(168, 134, 90, .1); box-shadow: inset 0 0 0 1px rgba(168, 134, 90, .3);
  animation: panelIn .6s var(--ease-out) both;
}
.search-result[hidden] { display: none; }
.search-result strong { font-family: var(--display); font-size: 1.2rem; }

/* ---------- COLLECTIONS + CAROUSEL ---------- */
.collection { --card-w: min(80vw, 330px); --media-ratio: 4 / 5; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.collection--premium { --card-w: min(84vw, 420px); background: var(--dark); color: var(--cream); padding-block: clamp(4.5rem, 9vw, 7rem); }
.collection--ciudad { background: var(--bg); }
.collection--oportunidades { --card-w: min(78vw, 300px); --media-ratio: 4 / 3; background: var(--bg-2); }
.collection.is-empty { display: none; }

.collection-head { display: grid; gap: 1.2rem; margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); }
.collection-title { font-size: clamp(2rem, 5vw, 3.4rem); margin-top: .8rem; }
.collection-title em { color: var(--accent); }
.collection--premium .collection-title em { color: var(--accent-2); }
.collection-side p { color: var(--muted); max-width: 32rem; }
.collection--premium .collection-side p { color: rgba(245, 243, 239, .62); }
.collection-controls { display: flex; align-items: center; gap: .5rem; margin-top: 1.2rem; }
.collection-count { margin-right: auto; font-size: .85rem; font-weight: 600; color: var(--muted); }
.collection--premium .collection-count { color: rgba(245, 243, 239, .55); }
.arrow-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color .35s, color .35s, box-shadow .35s, transform .45s var(--ease-out), opacity .3s;
}
.arrow-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.arrow-btn:hover:not(:disabled) { background: var(--ink); color: var(--cream); box-shadow: none; transform: scale(1.06); }
.arrow-btn:disabled { opacity: .3; cursor: default; }
.collection--premium .arrow-btn { box-shadow: inset 0 0 0 1px var(--dark-line); }
.collection--premium .arrow-btn:hover:not(:disabled) { background: var(--cream); color: var(--ink); }

.carousel { position: relative; }
.carousel-track {
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  display: flex; gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding-inline: var(--edge); scroll-padding-inline: var(--edge);
  padding-block: 4px 8px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; outline: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.carousel-track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.carousel-track.is-dragging .prop { pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .carousel-track { cursor: grab; } }
.carousel-progress { position: relative; height: 2px; margin-top: 1.6rem; background: var(--line); border-radius: 2px; overflow: hidden; }
.collection--premium .carousel-progress { background: var(--dark-line); }
.carousel-progress span { position: absolute; inset: 0 auto 0 0; width: 30%; background: var(--accent); border-radius: inherit; transition: width .3s; }
.collection--premium .carousel-progress span { background: var(--accent-2); }

.prop { flex: 0 0 var(--card-w); scroll-snap-align: start; display: flex; flex-direction: column; gap: 1rem; user-select: none; }
.prop.is-filtered-out { display: none; }
.prop.is-entering { animation: propIn .7s var(--ease-out) both; }
@keyframes propIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

.prop-media {
  position: relative; aspect-ratio: var(--media-ratio, 4 / 5); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #d9d2c6, #bfb4a3);
  isolation: isolate; transform: translateZ(0);
}
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter 1.2s var(--ease-out); }
.prop-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,9,0) 35%, rgba(10,10,9,.82) 100%);
  opacity: .9; transition: opacity .7s var(--ease-out);
}
.prop-tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  padding: .35rem .8rem; border-radius: 999px; background: rgba(245, 243, 239, .9); color: var(--ink);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.prop-fav {
  position: absolute; top: .75rem; right: .75rem; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(15, 15, 14, .35); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .5s var(--ease-out), background-color .3s;
}
.prop-fav svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; transition: fill .3s, transform .5s var(--ease-out); }
.prop-fav:hover { transform: scale(1.08); background: rgba(15, 15, 14, .55); }
.prop-fav[aria-pressed="true"] svg { fill: var(--accent-2); stroke: var(--accent-2); animation: pop .5s var(--ease-out); }
@keyframes pop { 40% { transform: scale(1.3); } }

.prop-reveal { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.2rem; color: var(--cream); }
.prop-specs { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: .4rem 1.1rem; font-size: .8rem; color: rgba(245, 243, 239, .8); }
.prop-specs li { display: flex; flex-direction: column; line-height: 1.25; }
.prop-specs strong { font-family: var(--display); font-size: 1.15rem; font-weight: 500; color: #fff; letter-spacing: -.02em; }
.prop-reveal-foot { display: none; }

.prop-body { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "loc loc" "name price"; gap: .2rem 1rem; align-items: baseline; }
.prop-loc { grid-area: loc; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.prop-name { grid-area: name; font-size: 1.35rem; }
.prop-price { grid-area: price; font-family: var(--display); font-weight: 500; font-size: 1.05rem; white-space: nowrap; }
.prop-price small { font-size: .78rem; color: var(--muted); }
.collection--premium .prop-loc { color: rgba(245, 243, 239, .5); }
.collection--premium .prop-name { font-size: 1.5rem; }
.collection--premium .prop-price { color: var(--accent-2); font-size: 1.15rem; }
.collection--oportunidades .prop-name { font-size: 1.2rem; }
.collection--oportunidades .prop-specs { gap: .4rem .9rem; }
.collection--oportunidades .prop-specs strong { font-size: 1rem; }

/* Desktop hover reveal (only where real hover exists) */
@media (hover: hover) and (pointer: fine) {
  .prop-media { cursor: pointer; }
  .prop-media::after { opacity: 0; background: linear-gradient(180deg, rgba(10,10,9,.05) 20%, rgba(10,10,9,.88) 100%); }
  .prop-reveal { padding: 1.4rem; }
  .prop-reveal-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .18);
  }
  .prop-reveal-extra { font-size: .82rem; font-weight: 500; color: rgba(245, 243, 239, .8); }
  .prop-specs li, .prop-reveal-foot { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease-out), transform .7s var(--ease-out); }
  .prop:hover .prop-media img, .prop:focus-within .prop-media img { transform: scale(1.08); }
  .prop:hover .prop-media::after, .prop:focus-within .prop-media::after { opacity: 1; }
  .prop:hover .prop-specs li, .prop:focus-within .prop-specs li,
  .prop:hover .prop-reveal-foot, .prop:focus-within .prop-reveal-foot { opacity: 1; transform: none; }
  .prop:hover .prop-specs li:nth-child(2), .prop:focus-within .prop-specs li:nth-child(2) { transition-delay: .04s; }
  .prop:hover .prop-specs li:nth-child(3), .prop:focus-within .prop-specs li:nth-child(3) { transition-delay: .08s; }
  .prop:hover .prop-specs li:nth-child(4), .prop:focus-within .prop-specs li:nth-child(4) { transition-delay: .12s; }
  .prop:hover .prop-reveal-foot, .prop:focus-within .prop-reveal-foot { transition-delay: .16s; }
  .prop-name { transition: color .4s; }
  .prop:hover .prop-name { color: var(--accent); }
}

.prop-empty { text-align: center; padding: 4rem 1.5rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.prop-empty-title { font-family: var(--display); font-size: 1.6rem; letter-spacing: -.02em; margin-bottom: .5rem; }
.prop-empty p:not(.prop-empty-title) { color: var(--muted); max-width: 30rem; margin-inline: auto; }
.prop-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }

/* ---------- SERVICES ---------- */
.services { background: var(--surface); }
.tab-list {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 5px; border-radius: 999px; background: var(--bg); max-width: 560px; margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.tab {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: .5rem .75rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; color: var(--muted); transition: color .4s var(--ease-out);
}
.tab-num { display: none; font-size: .7rem; font-weight: 700; letter-spacing: .08em; color: var(--accent); transition: color .4s; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--cream); }
.tab.is-active .tab-num { color: var(--accent-2); }
.tab-indicator {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--ink);
  transition: transform .6s var(--ease-out), width .6s var(--ease-out);
}
.no-indicator .tab.is-active { background: var(--ink); }

.tab-panel { display: grid; gap: 2rem; align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-panel.is-active .tab-copy > * { animation: panelIn .8s var(--ease-out) both; }
.tab-panel.is-active .tab-copy > *:nth-child(2) { animation-delay: .05s; }
.tab-panel.is-active .tab-copy > *:nth-child(3) { animation-delay: .1s; }
.tab-panel.is-active .tab-copy > *:nth-child(4) { animation-delay: .15s; }
.tab-panel.is-active .tab-media { animation: mediaIn 1s var(--ease-out) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes mediaIn { from { opacity: 0; clip-path: inset(8% 8% 8% 8% round var(--radius)); } to { opacity: 1; clip-path: inset(0 0 0 0 round var(--radius)); } }
.tab-copy h3 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 1rem; }
.tab-copy > p { color: var(--ink-2); font-size: 1.05rem; }
.checks { display: grid; gap: .9rem; margin: 1.8rem 0 2.2rem; }
.checks li { position: relative; padding-left: 2rem; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: rgba(168, 134, 90, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8865a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checks strong { color: var(--ink); font-weight: 700; }
.tab-media { aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.tab-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.tab-media:hover img { transform: scale(1.04); }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; gap: 3.5rem; }
.about-media { position: relative; }
.about-img { position: relative; border-radius: var(--radius); background: var(--bg-2); }
.about-img-main { aspect-ratio: 4 / 5; }
.about-img img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.about-badge {
  position: absolute; right: -.5rem; bottom: -1.5rem;
  display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.4rem;
  background: var(--ink); color: var(--cream); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
}
.about-badge strong { font-family: var(--display); font-size: 2.8rem; font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--accent-2); }
.about-badge span { font-size: .82rem; line-height: 1.35; color: rgba(245, 243, 239, .75); }
.about-copy .lead { margin-top: 1.5rem; }
.values { display: grid; gap: 1.4rem; margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.value { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.value-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease-out), background-color .4s; }
.value:hover .value-icon { transform: rotate(-6deg) scale(1.06); background: var(--ink); }
.value-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.value h3 { font-size: 1.1rem; letter-spacing: -.015em; margin-bottom: .25rem; }
.value p { font-size: .93rem; color: var(--muted); }
.quote { margin-top: 2.5rem; padding: 1.8rem; background: var(--surface); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); }
.quote p { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.35; letter-spacing: -.01em; }
.quote footer { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; font-size: .88rem; color: var(--muted); }
.quote footer strong { color: var(--ink); }
.quote-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }

/* ---------- QUIZ ---------- */
.quiz-section { position: relative; background: var(--dark); color: var(--cream); overflow: hidden; }
.quiz-section::before {
  content: ""; position: absolute; width: 60vmax; height: 60vmax; right: -20vmax; top: -25vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 122, .16), transparent 65%); pointer-events: none;
}
.quiz-grid { position: relative; display: grid; gap: 3rem; align-items: center; }
.quiz-intro .section-title em { color: var(--accent-2); }
.quiz-intro > p:not(.eyebrow) { margin-top: 1.2rem; color: rgba(245, 243, 239, .7); max-width: 30rem; font-size: 1.05rem; }
.quiz-perks { display: grid; gap: .8rem; margin-top: 2rem; }
.quiz-perks li { display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; color: rgba(245, 243, 239, .85); }
.quiz-perks li::before { content: ""; width: 6px; height: 6px; margin-top: .62em; border-radius: 50%; background: var(--accent-2); flex-shrink: 0; }

.quiz-card {
  position: relative; padding: clamp(1.4rem, 4vw, 2.6rem); border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: inset 0 0 0 1px var(--dark-line), 0 50px 100px -40px rgba(0,0,0,.6);
  min-height: 460px; display: flex; flex-direction: column;
}
.quiz-top { margin-bottom: 1.8rem; }
.quiz-step-label { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: .8rem; }
.quiz-progress { height: 3px; border-radius: 3px; background: var(--dark-line); overflow: hidden; }
.quiz-progress span { display: block; height: 100%; width: 33.333%; background: var(--accent-2); border-radius: inherit; transition: width .7s var(--ease-out); }
.quiz-form { flex: 1; display: flex; flex-direction: column; }
.quiz-step { border: 0; min-width: 0; }
.quiz-step[hidden] { display: none; }
.quiz-step.is-active { animation: stepIn .6s var(--ease-out) both; }
.quiz-step.is-back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.quiz-q { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; margin-bottom: 1.4rem; }
.options { display: grid; gap: .7rem; }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span {
  display: flex; flex-direction: column; gap: .1rem; padding: 1rem 3rem 1rem 1.2rem; border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--dark-line); background: rgba(255, 255, 255, .02);
  transition: box-shadow .35s var(--ease-out), background-color .35s, transform .45s var(--ease-out);
}
.option span::after {
  content: ""; position: absolute; right: 1.2rem; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); transition: box-shadow .35s var(--ease-out), background-color .35s;
}
.option strong { font-weight: 600; font-size: 1rem; }
.option small { font-size: .82rem; color: rgba(245, 243, 239, .55); }
.option:hover span { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); transform: translateY(-2px); }
.option input:checked + span { background: rgba(201, 169, 122, .1); box-shadow: inset 0 0 0 1.5px var(--accent-2); }
.option input:checked + span::after { background: var(--accent-2); box-shadow: inset 0 0 0 5px var(--dark); }
.option input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 3px; }

.quiz-step .field { margin-bottom: 1rem; }
.quiz-step .field label { color: rgba(245, 243, 239, .7); }
.quiz-step .field input { background: rgba(255, 255, 255, .04); border-color: var(--dark-line); color: var(--cream); }
.quiz-step .field input::placeholder { color: rgba(245, 243, 239, .35); }
.quiz-step .field input:focus { border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(201, 169, 122, .15); }
.quiz-step .check { margin: .5rem 0 1.5rem; color: rgba(245, 243, 239, .7); }
.quiz-step .check.has-error span { color: #e48d80; }
.quiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.5rem; min-height: 44px; }
.quiz-back { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: rgba(245, 243, 239, .7); padding: .5rem 0; transition: color .3s, gap .4s var(--ease-out); }
.quiz-back:hover { color: var(--cream); gap: .75rem; }
.quiz-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quiz-hint { margin-left: auto; font-size: .82rem; color: rgba(245, 243, 239, .45); }

.quiz-done { flex: 1; display: flex; flex-direction: column; align-items: flex-start; outline: none; animation: stepIn .7s var(--ease-out) both; }
.quiz-done[hidden] { display: none; }
.quiz-done h3 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 1.2rem 0 .6rem; }
.quiz-done > p { color: rgba(245, 243, 239, .7); }
.quiz-matches { display: grid; gap: .6rem; width: 100%; margin: 1.6rem 0 1.8rem; }
.match { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 1rem; padding: .6rem; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--dark-line); animation: stepIn .6s var(--ease-out) both; }
.match img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.match strong { display: block; font-size: .95rem; font-weight: 600; }
.match small { font-size: .8rem; color: rgba(245, 243, 239, .55); }
.match-price { font-family: var(--display); font-size: .95rem; padding-right: .6rem; white-space: nowrap; }

.done-check svg { width: 56px; height: 56px; fill: none; stroke: var(--accent-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.done-check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .9s var(--ease-out) forwards; }
.done-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s var(--ease-out) .55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- CTA BAND ---------- */
.cta-band { position: relative; color: var(--cream); background: var(--dark); overflow: hidden; padding-block: clamp(6rem, 14vw, 11rem); text-align: center; }
.cta-media { position: absolute; inset: 0; }
.cta-media img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; will-change: transform; }
.cta-shade { position: absolute; inset: 0; background: rgba(10, 10, 9, .62); }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-title { font-size: clamp(2.3rem, 6.5vw, 5rem); margin: 1rem 0 1.2rem; max-width: 16ch; }
.cta-title em { color: var(--accent-2); }
.cta-inner > p:not(.eyebrow) { color: rgba(245, 243, 239, .75); font-size: 1.08rem; max-width: 32rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2.2rem; }

/* ---------- FOOTER ---------- */
.footer { background: var(--dark); color: var(--cream); padding-top: clamp(4rem, 8vw, 6.5rem); border-top: 1px solid var(--dark-line); overflow: hidden; }
.footer-top { display: grid; gap: 3.5rem; }
.footer-news h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.footer-news > p { color: rgba(245, 243, 239, .6); margin-top: .8rem; max-width: 26rem; }
.news-form {
  display: flex; gap: .4rem; margin-top: 1.6rem; padding: .35rem; max-width: 30rem;
  border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--dark-line);
  transition: box-shadow .3s;
}
.news-form:focus-within { box-shadow: inset 0 0 0 1px var(--accent-2); }
.news-form.has-error { box-shadow: inset 0 0 0 1px #e48d80; }
.news-form input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; padding: 0 1rem; color: var(--cream); font-size: .98rem; }
.news-form input::placeholder { color: rgba(245, 243, 239, .4); }
.news-form .btn { flex-shrink: 0; }
.news-note { font-size: .8rem; color: rgba(245, 243, 239, .45); margin-top: .8rem; padding-left: 1rem; }
.news-note.is-error { color: #e48d80; }
.news-note.is-ok { color: var(--accent-2); }

.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
.footer-cols h3 { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 1.1rem; }
.footer-cols ul { display: grid; gap: .65rem; }
.footer-cols a, .footer-cols button { font-size: .95rem; color: rgba(245, 243, 239, .72); text-align: left; transition: color .3s; }
.footer-cols a:hover, .footer-cols button:hover { color: var(--cream); }
.footer-contact { grid-column: 1 / -1; }
.footer-contact li { font-size: .95rem; color: rgba(245, 243, 239, .72); line-height: 1.55; }

.footer-brand {
  font-family: var(--display); font-weight: 500; letter-spacing: -.06em; line-height: .78;
  font-size: clamp(5rem, 24vw, 22rem); text-align: center; margin-top: clamp(3rem, 7vw, 5rem);
  background: linear-gradient(180deg, rgba(245, 243, 239, .14), rgba(245, 243, 239, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none;
}
.footer-bottom { display: flex; flex-direction: column-reverse; gap: 1.4rem; align-items: flex-start; padding: 1.8rem 0 calc(1.8rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--dark-line); }
.footer-bottom p { font-size: .82rem; color: rgba(245, 243, 239, .45); }
.socials { display: flex; gap: .5rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--dark-line); transition: background-color .35s, transform .45s var(--ease-out), box-shadow .35s; }
.socials a:hover { background: var(--cream); transform: translateY(-3px); box-shadow: none; }
.socials svg { width: 18px; height: 18px; fill: none; stroke: var(--cream); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.socials svg .fill { fill: var(--cream); stroke: none; transition: fill .35s; }
.socials a:hover svg { stroke: var(--ink); }
.socials a:hover svg .fill { fill: var(--ink); }

/* ---------- MODALS ---------- */
.modal {
  margin: auto; padding: 0; border: 0; background: transparent; color: var(--ink);
  width: min(980px, calc(100% - 1.5rem)); max-width: none; max-height: calc(100dvh - 1.5rem);
  overflow: visible;
}
.modal::backdrop { background: rgba(10, 10, 9, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .6s var(--ease-out) both; }
.modal[open]::backdrop { animation: fadeIn .4s ease both; }
.modal.is-closing { animation: modalOut .3s var(--ease-soft) both; }
.modal.is-closing::backdrop { animation: fadeOut .3s ease both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes modalOut { to { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
.modal-shell {
  display: grid; grid-template-columns: 1fr; background: var(--bg); border-radius: 24px; overflow: hidden;
  box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .5); max-height: calc(100dvh - 1.5rem);
}
.modal-aside { display: none; position: relative; }
.modal-aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-aside::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,10,9,.8)); }
.modal-aside-copy { position: absolute; left: 1.6rem; right: 1.6rem; bottom: 1.6rem; z-index: 1; color: var(--cream); }
.modal-aside-copy p { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
.modal-aside-copy strong { font-family: var(--display); font-weight: 500; font-size: 1.25rem; letter-spacing: -.02em; }
.modal-body { position: relative; overflow-y: auto; overscroll-behavior: contain; padding: clamp(1.5rem, 4vw, 2.6rem); }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .5s var(--ease-out), background-color .3s;
}
.modal-close:hover { transform: rotate(90deg); background: var(--bg-2); }
.modal-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.modal-title { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: .7rem 0 .5rem; padding-right: 2.5rem; }
.modal-sub { color: var(--muted); margin-bottom: 1.6rem; font-size: .95rem; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.form-note { margin-top: .8rem; text-align: center; font-size: .8rem; color: var(--muted); }
.modal-success { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; padding-block: 2rem; outline: none; animation: stepIn .6s var(--ease-out) both; }
.modal-success[hidden] { display: none; }
.modal-success .done-check svg { stroke: var(--accent); }
.modal-success > p { color: var(--ink-2); margin-bottom: 1.4rem; }

/* ---------- TEASER (sale del costado) ---------- */
.teaser {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 90;
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center;
  width: min(380px, calc(100vw - 2rem)); padding: 1.1rem 2.6rem 1.1rem 1.1rem;
  background: rgba(15, 15, 14, .94); color: var(--cream); border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transform: translateX(calc(100% + 2rem)); opacity: 0;
  transition: transform .9s var(--ease-out), opacity .5s;
}
.teaser[hidden] { display: none; }
.teaser.is-visible { transform: none; opacity: 1; }
.teaser::before { /* brillo que recorre el borde */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(120deg, transparent 30%, rgba(201, 169, 122, .8) 50%, transparent 70%) 0 0 / 250% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: sheen 4s var(--ease-soft) infinite 1.2s;
}
@keyframes sheen { 0% { background-position: 120% 0; } 60%, 100% { background-position: -120% 0; } }
.teaser-icon {
  position: relative; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
}
.teaser-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.teaser-sign { animation: coin 3s var(--ease-out) infinite; transform-origin: 24px 28px; }
@keyframes coin { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-2px) scale(1.12); } 90% { transform: none; } }
.teaser.is-visible .teaser-icon { animation: nudge .9s var(--ease-bounce, cubic-bezier(.34,1.56,.64,1)) .6s both; }
@keyframes nudge { 0% { transform: scale(.6) rotate(-12deg); } 100% { transform: none; } }
.teaser-eyebrow { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.teaser-title { font-family: var(--display); font-size: 1.08rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; margin: .2rem 0 .55rem; }
.teaser-cta { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 700; color: var(--cream); border-bottom: 1px solid var(--accent-2); padding-bottom: 1px; transition: gap .4s var(--ease-out), color .3s; }
.teaser-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.teaser-cta:hover { gap: .7rem; color: var(--accent-2); }
.teaser-close { position: absolute; top: .55rem; right: .55rem; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: rgba(245, 243, 239, .55); transition: background-color .3s, color .3s; }
.teaser-close:hover { background: rgba(255, 255, 255, .1); color: var(--cream); }
.teaser-close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Pestaña lateral que queda tras cerrar el aviso */
.teaser-tab {
  position: fixed; right: 0; top: 50%; z-index: 90;
  padding: 1.1rem .55rem; border-radius: 12px 0 0 12px;
  background: var(--accent); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  box-shadow: -10px 10px 30px -12px rgba(0, 0, 0, .35);
  transform: translate(110%, -50%); transition: transform .7s var(--ease-out), background-color .3s, padding .4s var(--ease-out);
}
.teaser-tab[hidden] { display: none; }
.teaser-tab span { display: block; writing-mode: vertical-rl; transform: rotate(180deg); }
.teaser-tab.is-visible { transform: translate(0, -50%); }
.teaser-tab:hover { background: var(--ink); padding-right: .8rem; }
.has-overlay .teaser, .has-overlay .teaser-tab { opacity: 0; pointer-events: none; }

/* ---------- DRAWER: tasador ---------- */
.drawer {
  margin: 0 0 0 auto; padding: 0; border: 0; color: var(--ink); background: transparent;
  width: min(520px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; overflow: visible;
}
.drawer::backdrop { background: rgba(10, 10, 9, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.drawer[open] { animation: drawerIn .75s var(--ease-out) both; }
.drawer[open]::backdrop { animation: fadeIn .5s ease both; }
.drawer.is-closing { animation: drawerOut .4s var(--ease-soft) both; }
.drawer.is-closing::backdrop { animation: fadeOut .4s ease both; }
@keyframes drawerIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes drawerOut { to { transform: translateX(100%); } }
.drawer-panel { height: 100%; display: flex; flex-direction: column; background: var(--bg); box-shadow: -40px 0 80px -30px rgba(0, 0, 0, .45); }
.drawer-head { position: relative; padding: 1.4rem clamp(1.3rem, 4vw, 2.2rem) 1.2rem; border-bottom: 1px solid var(--line); }
.drawer-steps { margin-top: .4rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
.drawer-close { top: 1.2rem; right: 1.2rem; }
.drawer-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.drawer-progress span { display: block; height: 100%; width: 33.33%; background: var(--accent); transition: width .7s var(--ease-out); }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1.8rem clamp(1.3rem, 4vw, 2.2rem) 2rem; }
.drawer-title { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: .5rem; }
.drawer-sub { color: var(--muted); font-size: .95rem; margin-bottom: 1.6rem; }
.drawer-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1rem; padding: 1rem clamp(1.3rem, 4vw, 2.2rem) calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.drawer-foot[hidden] { display: none; }
.drawer-back { color: var(--muted); }
.drawer-back:hover { color: var(--ink); }
.drawer-next { margin-left: auto; }
.drawer-next:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }
.drawer-next:disabled::after { display: none; }
.drawer-disclaimer { flex-basis: 100%; font-size: .72rem; line-height: 1.45; color: var(--muted); }

.tas-step { animation: stepIn .55s var(--ease-out) both; }
.tas-step.is-back { animation-name: stepBack; }
.tas-step[hidden], .tas-done[hidden] { display: none; }
.tas-group { border: 0; min-width: 0; margin-bottom: 1.6rem; }
.tas-group legend, .range-head label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: var(--ink-2); margin-bottom: .7rem; }

.pill-grid { display: flex; flex-wrap: wrap; gap: .45rem; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; min-height: 40px; padding: .45rem .95rem; border-radius: 999px;
  font-size: .88rem; font-weight: 600; color: var(--ink-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color .3s var(--ease-out), color .3s, box-shadow .3s, transform .4s var(--ease-out);
}
.pill:hover span { box-shadow: inset 0 0 0 1px var(--ink); transform: translateY(-1px); }
.pill input:checked + span { background: var(--ink); color: var(--cream); box-shadow: none; animation: pop .45s var(--ease-out); }
.pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.range-head { display: flex; align-items: baseline; justify-content: space-between; }
.range-out { font-family: var(--display); font-size: 2rem; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.range { --p: 10%; width: 100%; height: 28px; margin-top: .4rem; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--p), var(--line-strong) var(--p)); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--p), var(--line-strong) var(--p)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 2px var(--accent), 0 6px 14px -4px rgba(0,0,0,.35); transition: transform .3s var(--ease-out); }
.range::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 2px var(--accent), 0 6px 14px -4px rgba(0,0,0,.35); }
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--accent), 0 0 0 6px rgba(168,134,90,.25); }
.range-scale { display: flex; justify-content: space-between; font-size: .74rem; color: var(--muted); margin-top: .2rem; }

.toggle-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.toggle { position: relative; }
.toggle input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.toggle span {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .45rem .95rem; border-radius: 999px;
  font-size: .88rem; font-weight: 600; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink-2);
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.toggle span::before { content: "+"; font-weight: 700; color: var(--accent); transition: transform .4s var(--ease-out); }
.toggle input:checked + span { background: rgba(168, 134, 90, .14); box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--ink); }
.toggle input:checked + span::before { content: "✓"; }
.toggle input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.estimate {
  position: relative; padding: 1.4rem 1.4rem 1.2rem; border-radius: var(--radius); overflow: hidden;
  background: var(--dark); color: var(--cream);
}
.estimate::after { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(201,169,122,.35), transparent 70%); pointer-events: none; }
.estimate-label { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
.estimate-value { font-family: var(--display); font-size: clamp(1.45rem, 4.6vw, 1.9rem); font-weight: 500; letter-spacing: -.03em; margin-top: .3rem; font-variant-numeric: tabular-nums; }
.estimate-sep { color: rgba(245, 243, 239, .4); }
.estimate-meter { height: 4px; margin: 1rem 0 .8rem; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.estimate-meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .6s var(--ease-out); }
.estimate-note { font-size: .8rem; color: rgba(245, 243, 239, .6); }
.estimate.is-bump .estimate-value { animation: bump .45s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.03); color: var(--accent-2); } }
.estimate--mini { margin-bottom: 1.6rem; padding: 1.1rem 1.3rem; }

.tas-done { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding-top: 2rem; outline: none; animation: stepIn .6s var(--ease-out) both; }
.tas-done .done-check svg { stroke: var(--accent); }
.tas-done > p { color: var(--ink-2); margin-bottom: 1.4rem; }

/* ---------- TOAST ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom)); z-index: 200;
  padding: .9rem 1.4rem; border-radius: 999px; background: var(--ink); color: var(--cream);
  font-size: .92rem; font-weight: 500; box-shadow: var(--shadow-lg);
  transform: translate(-50%, 150%); opacity: 0; pointer-events: none;
  transition: transform .6s var(--ease-out), opacity .4s;
  max-width: calc(100% - 2rem); text-align: center;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* =============================================================
   7. Effects — reveal on scroll (only hidden when JS is present)
   ============================================================= */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =============================================================
   8. Responsive (mobile-first)
   ============================================================= */
@media (min-width: 540px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
  .footer-contact { grid-column: auto; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 720px) {
  .strip-inner { grid-template-columns: repeat(4, 1fr); }
  .strip-item, .strip-item:nth-child(odd), .strip-item:nth-child(even) { padding: 2.4rem 1.5rem; border-bottom: 0; border-left: 1px solid var(--line); }
  .strip-item:first-child { border-left: 0; padding-left: 0; }
  .search { grid-template-columns: repeat(4, 1fr) auto; border-radius: 999px; }
  .search-field { padding: .85rem 1.3rem; }
  .search-field:first-child { padding-left: 1.8rem; }
  .search-btn { grid-column: auto; min-height: 0; margin: .4rem; border-radius: 999px; padding-inline: 1.6rem; }
  .tab-num { display: inline; }
  .col-nav { grid-template-columns: repeat(3, 1fr); }
  .hero-scroll { display: block; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .nav-actions > .btn-accent { display: inline-flex; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }
  .nav-tasar { display: inline-flex; }
  .section-head { grid-template-columns: 1.2fr 1fr; align-items: end; }
  .section-head-center { grid-template-columns: 1fr; }
  .section-head-side { justify-self: end; }
  .collection-head { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 3rem; }
  .collection-side { justify-self: end; max-width: 30rem; }
  .tab-panel { grid-template-columns: 1fr 1.1fr; gap: 4.5rem; }
  .about-grid { grid-template-columns: 1fr 1.05fr; gap: 6rem; align-items: center; }
  .about-badge { right: -2rem; bottom: 3rem; }
  .quiz-grid { grid-template-columns: 1fr 1.1fr; gap: 5rem; }
  .footer-top { grid-template-columns: 1fr 1.2fr; gap: 5rem; }
  .modal-shell { grid-template-columns: .8fr 1.2fr; }
  .modal-aside { display: block; }
}

@media (min-width: 1280px) {
  .hero-title { max-width: 14ch; }
  .values { grid-template-columns: 1fr; }
}

/* Mobile: hero search compaction */
@media (max-width: 539px) {
  .hero { padding-bottom: 2.5rem; }
  .hero-actions .btn-lg { width: 100%; }
  .hero-link { margin-inline: auto; }
  .news-form { flex-direction: column; border-radius: 20px; padding: .5rem; }
  .news-form input { min-height: 48px; }
  /* Tasador: keep the live estimate in view while adjusting, compact footer */
  .tas-step .estimate:not(.estimate--mini) { position: sticky; bottom: -2rem; margin-inline: -.25rem; box-shadow: 0 -18px 30px -10px rgba(245, 243, 239, .95); }
  .drawer-body { padding-bottom: 2rem; }
  .drawer-disclaimer { display: none; }
  .drawer-foot { flex-wrap: nowrap; }
  .drawer-next { padding-inline: 1.2rem; }
}

/* =============================================================
   9. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; }
  .hero-scroll span { animation: none; }
  .teaser::before, .teaser-sign { animation: none; }
  [data-parallax] { transform: none !important; }
}
