@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

:root {
  --ink: #1d160f;
  --muted: #8a7a67;
  --paper: #f4ede0;
  --card: #e9dcc5;
  --white: #fff;
  --line: rgba(29, 22, 15, .12);
  --accent: #a9794d;
  --accent-soft: #c9a06a;
  --ok: #4c7a52;
  --warn: #b6873a;
  --off: #9a5a4a;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'DM Sans', sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3 { margin: 0; font-family: 'Fraunces', serif; font-weight: 500; }
p { margin: 0; }
img { max-width: 100%; }
.wrap { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }

/* Nav */
nav { position: fixed; z-index: 30; inset: 0 0 auto; height: 78px; display: flex; align-items: center; background: rgba(242,237,227,.82); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); transform: translateY(0); transition: transform .35s cubic-bezier(.65,0,.35,1); }
nav.nav-hidden { transform: translateY(-100%); }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(calc(100% - 48px), var(--max)); margin: auto; }
.nav-links { display: flex; align-items: center; gap: 16px; color: #4c483f; font-size: 13.5px; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.nav-studios { margin-left: 8px; padding-left: 20px; border-left: 1px solid var(--line); color: var(--accent); font-weight: 600; }
.nav-links a.nav-studios:hover { color: #a08a5e; }
.brand { justify-self: center; display: flex; align-items: center; gap: 9px; font-family: 'Fraunces', serif; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: 'Fraunces', serif; font-size: 13px; }
.brand-logo-frame { display: block; width: 180px; height: 32px; overflow: hidden; }
.brand-logo { display: block; width: 186px; height: auto; max-width: none; transform: translateY(-20px); }
.property-launch-label { position: absolute; z-index: 4; top: 16px; left: 16px; display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border: 1px solid rgba(208,239,137,.72); border-radius: 3px; background: rgba(14,23,14,.94); box-shadow: 0 5px 16px rgba(0,0,0,.28); color: #f1f7eb; font-size: 9px; font-weight: 700; letter-spacing: 1px; text-shadow: none; text-transform: uppercase; }
.property-launch-label~.property-tag { top: 54px; }
.nav-cta { justify-self: end; cursor: pointer; border: 0; border-radius: 99px; padding: 12px 20px; color: var(--white); background: var(--ink); font-size: 12.5px; font-weight: 600; }
.nav-cta:hover { background: #322c22; }

/* Buttons & pills */
.button { justify-self: start; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: 0; border-radius: 99px; padding: 15px 24px; color: var(--white); background: var(--ink); font-size: 13px; font-weight: 600; }
.button:hover { background: #322c22; }
.button.ghost { color: var(--ink); background: var(--white); border: 1px solid var(--line); }
.button.ghost:hover { background: var(--card); }
.pill-badge { display: inline-flex; align-items: center; gap: 8px; border-radius: 99px; padding: 9px 16px; background: var(--card); color: var(--ink); font-size: 12px; font-weight: 500; }
.pill-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.eyebrow-tag { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 20px; border-radius: 99px; padding: 8px 15px; background: var(--card); color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }

/* Hero */
.hero-section { padding: 150px 0 0; text-align: center; }
.hero-section .wrap { display: flex; flex-direction: column; align-items: center; }
.hero-section .pill-badge { margin-bottom: 26px; }
.hero-section h1 { max-width: 780px; margin-bottom: 20px; font-size: clamp(2.6rem, 5.2vw, 4.4rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.12; }
.rotating-word { display: inline-block; color: var(--accent); font-style: italic; font-weight: 400; transition: opacity .3s ease; }
.hero-section .hero-copy { max-width: 480px; margin-bottom: 34px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.hero-figure { width: 100%; margin-top: 54px; border-radius: var(--radius); overflow: hidden; height: 62vh; min-height: 380px; }
.hero-figure img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* Hero cover (full-bleed image + floating search bar) */
.hero-cover { position: relative; height: 88vh; min-height: 620px; }
.hero-cover-media { position: absolute; inset: 0; overflow: hidden; }
.hero-cover-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-cover-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,22,15,.62) 0%, rgba(29,22,15,.18) 42%, rgba(29,22,15,.8) 100%); }
.hero-cover-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding-top: 200px; text-align: center; }
.hero-cover-inner .pill-badge { margin-bottom: 26px; }
.hero-cover-inner h1 { max-width: 780px; margin-bottom: 18px; color: #fff; font-size: clamp(2.6rem, 5.2vw, 4.4rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.12; }
.hero-cover-inner .hero-copy { max-width: 480px; font-size: 16px; line-height: 1.65; }
.hero-search-wrap { position: absolute; left: 0; right: 0; bottom: -38px; z-index: 3; display: flex; justify-content: center; padding: 0 24px; }
.hero-search { display: flex; align-items: stretch; gap: 0; width: 100%; max-width: 900px; border-radius: 99px; padding: 8px; background: var(--white); box-shadow: 0 24px 60px rgba(29,22,15,.28); }
.hero-search label { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; padding: 8px 22px; border-right: 1px solid var(--line); color: var(--muted); font-size: 10.5px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.hero-search select { width: 100%; border: 0; padding: 0; color: var(--ink); background: transparent; font-size: 13px; font-weight: 500; outline: none; text-overflow: ellipsis; }
.hero-search .button { flex-shrink: 0; margin-left: 6px; border-radius: 99px; white-space: nowrap; }
.catalog-with-hero-search { padding-top: 132px; }

section { padding: 120px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 46px; }
.section-title { max-width: 620px; margin-bottom: 0; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
.section-note { max-width: 300px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.catalog { background: var(--white); }

/* Filters (home) */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { cursor: pointer; border: 1px solid var(--line); border-radius: 99px; padding: 10px 16px; color: var(--muted); background: transparent; font-size: 12.5px; }
.filter.active, .filter:hover { border-color: var(--ink); color: var(--white); background: var(--ink); }

/* Property cards */
.property-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.property-card { display: block; }
.property-card.hidden { display: none; }
.property-image { position: relative; height: 360px; overflow: hidden; border-radius: var(--radius); background: #ddd; }
.property-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.property-card:hover img { transform: scale(1.045); }
.property-tag { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 7px; border-radius: 99px; padding: 8px 13px 8px 11px; color: var(--ink); background: rgba(255,255,255,.94); backdrop-filter: blur(8px); font-size: 11px; font-weight: 600; }
.property-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.property-tag.status-reservado .dot { background: var(--warn); }
.property-tag.status-vendido .dot { background: var(--off); }
.property-tag-vendido { background: #c0392b; color: #fff; font-weight: 700; letter-spacing: .02em; }
.detail-vendido-tag { position: static; display: inline-flex; margin: 0 0 12px; }
.property-sold-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(20,14,9,.6); }
.property-sold-overlay span { padding: 10px 28px; border: 2px solid #fff; border-radius: 4px; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.modality-tag { position: absolute; top: 16px; right: 16px; border-radius: 99px; padding: 8px 13px; color: var(--white); background: var(--ink); font-size: 11px; font-weight: 600; }
.modality-tag.modality-temporada { color: var(--ink); background: var(--accent); }
.modality-tag.modality-ambos { color: var(--ink); background: linear-gradient(90deg, var(--white) 50%, var(--accent) 50%); }
.property-info { padding: 18px 2px 0; }
.property-info-top { display: flex; justify-content: space-between; align-items: start; gap: 14px; margin-bottom: 10px; }
.property-info h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.property-price { white-space: nowrap; font-size: 14px; font-weight: 600; }
.property-location { margin-bottom: 14px; color: var(--muted); font-size: 12.5px; }
.property-meta { display: flex; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.property-meta span { display: inline-flex; align-items: center; gap: 6px; }
.property-meta svg { width: 15px; height: 15px; stroke: var(--muted); }

/* Benefits (Aeron "why choose") */
.benefits { background: var(--card); }
.benefits-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 14px; align-items: stretch; }
.benefit-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.benefit-card { padding: 28px 24px; border-radius: var(--radius); background: var(--white); }
.benefit-card svg { width: 26px; height: 26px; margin-bottom: 40px; stroke: var(--ink); }
.benefit-card h3 { margin-bottom: 6px; font-size: 16px; font-weight: 600; }
.benefit-card p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.benefits-image { border-radius: var(--radius); overflow: hidden; min-height: 280px; }
.benefits-image img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* Services (Aeron style overlay cards) */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.services-grid.services-grid-2 { grid-template-columns: repeat(2, 1fr); }
.service-card { position: relative; height: 340px; border-radius: var(--radius); overflow: hidden; color: #fff; }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(29,22,15,.75), rgba(29,22,15,0) 55%); }
.service-card-copy { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; }
.service-card-copy h3 { margin-bottom: 6px; font-size: 20px; font-weight: 600; }
.service-card-copy p { color: rgba(255,255,255,.82); font-size: 13px; }

/* Format banner (Comprar/Vender/Alugar, big image) */
.format-banner-card { position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden; }
.format-banner-image { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.format-banner-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(29,22,15,.88) 0%, rgba(29,22,15,.55) 48%, rgba(29,22,15,.12) 100%); }
.format-banner-content { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 40px; height: 100%; padding: 56px; color: #fff; }
.format-banner-content > div:first-child { max-width: 340px; }
.format-banner-content h2 { color: #fff; }
.format-banner-content > div:first-child p { margin-top: 16px; color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.6; }
.format-options { display: flex; flex-direction: column; min-width: 280px; }
.format-option { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 6px; border-bottom: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 16px; font-weight: 600; }
.format-option:first-child { padding-top: 0; }
.format-option:last-child { border-bottom: 0; padding-bottom: 0; }
.format-option span { color: var(--accent-soft); transition: transform .2s ease; }
.format-option:hover span { transform: translateX(4px); }

/* Cities chip grid */
.cities { background: var(--card); }
.cities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.city-chip { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 99px; padding: 17px 22px; color: var(--ink); background: var(--white); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; transition: border-color .2s ease, transform .2s ease; }
.city-chip:hover { border-color: var(--ink); transform: translateY(-2px); }
.city-chip-count { color: var(--muted); font-weight: 500; font-size: 12px; }

/* Manifesto (brand statement, dark) */
.statement { background: var(--ink); color: var(--white); }
.statement .section-title { max-width: 640px; }
.statement-copy { max-width: 430px; margin: 30px 0 0 auto; color: #b8b3a8; font-size: 15px; line-height: 1.7; }
.statement-link { display: inline-block; margin-top: 24px; color: var(--accent); font-size: 13px; font-weight: 600; }
.manifesto { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 56px; }
.manifesto div { padding: 22px 20px; border-radius: var(--radius-sm); background: rgba(255,255,255,.07); }
.manifesto strong { display: block; margin-bottom: 8px; font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; color: var(--accent); }
.manifesto span { color: #cfc9bc; font-size: 12.5px; }

/* Contact */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { color: var(--muted); font-size: 11.5px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; outline: none; color: var(--ink); background: var(--paper); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--ink); }
.contact-form textarea { min-height: 110px; resize: vertical; }
.success { display: none; color: var(--ok); font-size: 13px; }
.success.show { display: block; }
footer { padding: 34px 0; color: var(--muted); background: var(--paper); font-size: 12px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-brand-accent { display: block; width: min(190px, 22vw); height: auto; }
.footer-instagram { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-size: 11px; transition: color .2s ease; }
.footer-instagram:hover { color: var(--accent); }
.footer-instagram svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.locations-marquee { overflow: hidden; max-width: 420px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.locations-track { display: flex; width: max-content; gap: 10px; white-space: nowrap; animation: locations-scroll 26s linear infinite; }
.locations-track span:not(:last-child)::after { content: '·'; margin-left: 10px; color: var(--muted); }
@keyframes locations-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Property detail */
.detail-hero { position: relative; min-height: 96svh; display: grid; align-items: end; padding: 150px 0 60px; color: #fff; overflow: hidden; background-position: center; background-size: cover; }
.detail-hero-content { position: relative; z-index: 2; }
.hero-carousel { position: absolute; inset: 0; z-index: 0; }
.hero-carousel-slide { width: 100%; height: 100%; background-position: center; background-size: cover; }
.hero-carousel-scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(29,22,15,.6), rgba(29,22,15,.06) 60%); }
.detail-hero.itacimirim { background-image: linear-gradient(0deg, rgba(29,22,15,.6), rgba(29,22,15,.05) 60%), url('https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=2200&q=90'); }
.detail-hero.praia-do-forte { background-image: linear-gradient(0deg, rgba(29,22,15,.62), rgba(29,22,15,.08) 60%), url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=90'); }
.detail-hero.guarajuba { background-image: linear-gradient(0deg, rgba(29,22,15,.65), rgba(29,22,15,.08) 60%), url('https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=2200&q=90'); }
.detail-hero h1 { max-width: 740px; margin-bottom: 20px; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.1; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.detail-meta span { border-radius: 99px; padding: 8px 15px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); color: rgba(255,255,255,.92); font-size: 12.5px; }
.detail-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.detail-intro h2 { margin-bottom: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.detail-intro p { max-width: 470px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.specs { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-flow: dense; grid-auto-rows: minmax(84px, auto); gap: 14px; margin-top: 48px; }
.spec { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; min-height: 84px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid rgba(24, 21, 15, .04); min-width: 0; transition: transform .2s ease, box-shadow .2s ease; }
.spec:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(18, 15, 10, .06); }
.spec--md { grid-column: span 3; }
.spec--lg { grid-column: span 4; }
.spec--full { grid-column: 1 / -1; }
.spec strong { display: block; font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--ink); overflow-wrap: break-word; word-break: break-word; }
.spec span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.35; overflow-wrap: break-word; word-break: break-word; }
.mosaic-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; grid-auto-flow: dense; gap: 14px; }
.mosaic-item { position: relative; display: block; overflow: hidden; border: 0; padding: 0; border-radius: var(--radius-sm); background: var(--card); cursor: pointer; }
.mosaic-item img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .4s ease; }
.mosaic-item:hover img { transform: scale(1.06); }
.mosaic-item--big { grid-column: span 2; grid-row: span 2; }
.mosaic-item--wide { grid-column: span 2; }
.mosaic-item--tall { grid-row: span 2; }
.location-section { background: var(--paper); }
.location-eyebrow { display: block; margin: 0 0 18px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.location-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: center; }
.location-info h2 { margin: 0 0 14px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.location-info p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.location-info p.location-surroundings { margin-top: 26px; }
.location-map { position: relative; border-radius: var(--radius-sm); overflow: hidden; }
.location-map iframe { display: block; width: 100%; height: 360px; border: 0; }

.lightbox { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 40px; background: rgba(20,14,9,.92); backdrop-filter: blur(6px); animation: lightbox-in .2s ease; }
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox-image { max-width: min(100%, 1100px); max-height: 85vh; border-radius: 8px; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox-close { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.12); font-size: 16px; cursor: pointer; }
.lightbox-close:hover { background: rgba(255,255,255,.22); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.12); font-size: 26px; cursor: pointer; }
.lightbox-nav:hover { background: rgba(255,255,255,.22); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 12.5px; }

/* Sticky interest bar (property detail) */
.property-page { padding-bottom: 88px; }
.sticky-cta { position: fixed; z-index: 25; inset: auto 0 0; display: flex; align-items: center; padding: 16px 0; background: var(--ink); box-shadow: 0 -10px 30px rgba(18,15,10,.18); transform: translateY(100%); transition: transform .35s cubic-bezier(.65,0,.35,1); }
.sticky-cta.sticky-cta-visible { transform: translateY(0); }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.sticky-cta-info { display: flex; flex-direction: column; gap: 2px; color: var(--white); }
.sticky-cta-info strong { font-family: 'Fraunces', serif; font-size: 15px; font-weight: 600; }
.sticky-cta-info span { color: rgba(255,255,255,.6); font-size: 12px; }
.sticky-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sticky-cta .button { background: var(--white); color: var(--ink); }
.sticky-cta .button:hover { background: var(--card); }
.sticky-cta .button.ghost { border-color: rgba(255,255,255,.3); color: var(--white); background: transparent; }
.sticky-cta .button.ghost:hover { background: rgba(255,255,255,.1); }

/* Interest choice menu (Compra / Temporada) */
.choice-menu { position: fixed; z-index: 55; display: none; flex-direction: column; gap: 8px; padding: 10px; border-radius: 14px; background: var(--white); box-shadow: 0 20px 50px rgba(18,15,10,.25); }
.choice-menu.open { display: flex; }
.choice-option { cursor: pointer; border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; color: var(--ink); background: var(--paper); font-size: 13px; font-weight: 600; text-align: left; white-space: nowrap; }
.choice-option:hover { background: var(--card); }
.back-link { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 45px; color: var(--muted); font-size: 12.5px; }
.back-link:hover { color: var(--ink); }

/* Listing page */
.nav-links a.active { color: var(--ink); font-weight: 600; }
.listing-intro { padding: 148px 0 80px; background: var(--card); }
.listing-intro .back-link { margin-bottom: 60px; color: #6d6a62; }
.listing-heading { display: grid; grid-template-columns: 1fr 360px; align-items: end; gap: 60px; }
.listing-heading h1 { margin-bottom: 0; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.1; }
.listing-heading p { max-width: 340px; margin-bottom: 4px; color: #6d6a62; font-size: 14px; line-height: 1.7; }
.listing-catalog { background: var(--white); }
.filter-panel { margin-bottom: 50px; padding: 30px; border-radius: var(--radius); background: var(--card); }
.filter-panel-top { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.filter-panel-top .eyebrow-tag { margin-bottom: 10px; }
.filter-panel h2 { margin-bottom: 0; font-size: 28px; font-weight: 600; letter-spacing: -.01em; }
.clear-filters { cursor: pointer; border: 0; border-bottom: 1px solid var(--ink); padding: 5px 0; color: var(--ink); background: transparent; font-size: 12px; }
.filter-panel-actions { display: flex; align-items: center; gap: 18px; }
.filter-fields { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.filter-fields label, .sort-field { display: grid; gap: 9px; color: var(--muted); font-size: 11.5px; }
.filter-fields select, .sort-field select { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 14px 12px; color: var(--ink); background: var(--white); font-size: 12.5px; outline: none; }
.filter-fields select:focus, .sort-field select:focus { border-color: var(--ink); }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.results-bar p { margin: 0; color: var(--muted); font-size: 12.5px; }
.results-bar strong { color: var(--ink); font-weight: 600; }
.sort-field { display: flex; align-items: center; grid-template-columns: auto 160px; gap: 10px; }
.sort-field select { padding: 9px 10px; }
.listing-card[hidden] { display: none; }
.listing-grid { grid-template-columns: repeat(3, 1fr); }
.empty-results { padding: 90px 0; text-align: center; }
.empty-results[hidden] { display: none; }
.empty-results .eyebrow-tag { margin: 0 auto 16px; }
.empty-results h2 { margin-bottom: 14px; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -.01em; }
.empty-results p:not(.eyebrow-tag) { max-width: 390px; margin: 0 auto 25px; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Studios (coming soon) page */
.studios-hero { min-height: calc(100vh - 78px); display: flex; align-items: center; justify-content: center; text-align: center; }
.studios-hero .wrap { display: flex; flex-direction: column; align-items: center; }
.studios-hero h1 { max-width: 720px; margin: 22px 0 20px; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.12; }
.studios-hero p { max-width: 460px; margin-bottom: 32px; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* Contact page */
.contact-page-main { padding-top: 78px; }
.contact-page-section { min-height: calc(100vh - 78px); padding: 100px 0 90px; }
.contact-page-section .section-title { max-width: 620px; }
.contact-page-copy { max-width: 390px; margin: 30px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* Contact popup */
body.popup-open { overflow: hidden; }
.popup-overlay { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(24,21,15,.55); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.popup-overlay.open { opacity: 1; pointer-events: auto; }
.popup-card { position: relative; width: min(100%, 440px); padding: 36px 32px; border-radius: var(--radius); background: var(--paper); box-shadow: 0 30px 80px rgba(18,15,10,.35); transform: translateY(12px); transition: transform .25s ease; }
.popup-overlay.open .popup-card { transform: translateY(0); }
.popup-card h2 { margin: 4px 0 10px; font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.popup-copy { margin-bottom: 24px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.popup-close { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border: 0; border-radius: 50%; color: var(--ink); background: var(--card); font-size: 18px; line-height: 1; cursor: pointer; }
.popup-close:hover { background: var(--line); }
.popup-form { display: grid; gap: 14px; }
.popup-form label { color: var(--muted); font-size: 11.5px; }
.popup-form input, .popup-form textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px; outline: none; color: var(--ink); background: var(--white); }
.popup-form input:focus, .popup-form textarea:focus { border-color: var(--ink); }
.popup-form textarea { min-height: 100px; resize: vertical; }
.popup-form .button { justify-self: stretch; justify-content: center; margin-top: 4px; border: 0; }

/* Dialogs are mounted directly in body, outside the page identity wrapper. */
.identity-popup {
  background: rgba(5, 10, 6, .72);
  backdrop-filter: blur(12px);
}
.identity-popup .popup-card {
  border: 1px solid rgba(208, 239, 137, .24);
  border-radius: 4px;
  background: #171e13;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .48);
  color: #edf3e5;
}
.identity-popup .popup-card h2 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
}
.identity-popup .popup-card .eyebrow-tag {
  margin-bottom: 18px;
  padding: 0;
  background: transparent;
  color: #d0ef89;
}
.identity-popup .popup-copy,
.identity-popup .popup-form label {
  color: #b9c3ae;
}
.identity-popup .popup-form input,
.identity-popup .popup-form textarea {
  border-color: rgba(208, 239, 137, .2);
  border-radius: 3px;
  background: #11140f;
  color: #f3f3ed;
}
.identity-popup .popup-form input::placeholder,
.identity-popup .popup-form textarea::placeholder {
  color: #899384;
}
.identity-popup .popup-form input:focus,
.identity-popup .popup-form textarea:focus {
  border-color: #d0ef89;
}
.identity-popup .popup-close {
  border: 1px solid rgba(208, 239, 137, .2);
  border-radius: 3px;
  background: #20291b;
  color: #edf3e5;
}
.identity-popup .popup-close:hover {
  background: #303d23;
  color: #d0ef89;
}
.identity-popup .popup-form .button {
  border-radius: 3px;
  background: #d0ef89;
  color: #18200f;
}
.identity-choice {
  border: 1px solid rgba(208, 239, 137, .24);
  border-radius: 4px;
  background: #171e13;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .42);
}
.identity-choice .choice-option {
  border-color: rgba(208, 239, 137, .2);
  border-radius: 3px;
  background: #11140f;
  color: #edf3e5;
}
.identity-choice .choice-option:hover,
.identity-choice .choice-option:focus-visible {
  border-color: #d0ef89;
  background: rgba(208, 239, 137, .12);
  color: #d0ef89;
}
.identity-popup :is(input, textarea, button):focus-visible,
.identity-choice .choice-option:focus-visible {
  outline: 2px solid #d0ef89;
  outline-offset: 3px;
}

/* Floating WhatsApp button */
.whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border: 0; border-radius: 50%; background: #25d366; box-shadow: 0 10px 30px rgba(18,15,10,.3); cursor: pointer; transition: transform .2s ease; }
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 28px; height: 28px; }
.property-page .whatsapp-float { bottom: 104px; }

/* Mobile nav */
.menu-toggle { display: none; border: 0; padding: 8px; color: var(--ink); background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 1px; margin: 4px 0; background: currentColor; transition: transform .25s ease, opacity .2s ease; }

@media (max-width: 980px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .benefits-image { min-height: 220px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-fields { grid-template-columns: repeat(3, 1fr); }
  .hero-search { flex-wrap: wrap; max-width: 480px; border-radius: var(--radius); }
  .hero-search label { flex: 1 1 40%; border-right: 0; padding: 10px 16px; }
  .hero-search .button { flex: 1 1 100%; justify-content: center; margin: 6px 0 0; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .format-banner-content { padding: 40px; }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-heading { grid-template-columns: 1fr; gap: 24px; }
  .listing-heading p { max-width: 100%; }
}
@media (max-width: 760px) {
  .wrap, .nav-inner { width: min(calc(100% - 32px), var(--max)); }
  .nav-inner { grid-template-columns: auto 1fr; }
  .nav-links { display: none; }
  .brand { justify-self: start; }
  .brand-logo-frame { width: 130px; height: 26px; }
  .brand-logo { width: 134px; transform: translateY(-13px); }
  .nav-cta { display: none; }
  .menu-toggle { display: block; width: 42px; height: 42px; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; }
  .nav-links.open { position: absolute; top: calc(100% + 10px); left: 16px; right: 16px; display: flex; flex-direction: column; gap: 0; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: rgba(242,237,227,.98); box-shadow: 0 18px 40px rgba(18,18,18,.12); }
  .nav-links.open a { display: block; padding: 14px 12px; border-radius: 8px; }
  .nav-links.open a:hover { background: rgba(18,18,18,.06); }
  .nav-links.open a.nav-studios { margin-left: 0; padding-left: 12px; border-left: 0; border-top: 1px solid var(--line); border-radius: 0; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

  .hero-section { padding-top: 118px; }
  .hero-section h1 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .hero-figure { height: 58vh; min-height: 320px; margin-top: 38px; }
  .hero-cover { height: 92vh; min-height: 560px; }
  .hero-cover-inner { padding-top: 128px; }
  .hero-cover-inner h1 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .hero-search-wrap { bottom: -108px; padding: 0 16px; }
  .hero-search { flex-direction: column; flex-wrap: nowrap; align-items: stretch; width: 100%; border-radius: var(--radius); }
  .hero-search label { flex: none; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 14px; }
  .hero-search .button { flex: none; justify-content: center; margin: 6px 0 0; }
  .catalog-with-hero-search { padding-top: 190px; }
  .format-banner-card { min-height: unset; }
  .format-banner-content { flex-direction: column; align-items: stretch; padding: 30px; }
  .format-banner-content > div:first-child { max-width: 100%; }
  .cities-grid { grid-template-columns: 1fr 1fr; }
  .detail-hero { min-height: 96svh; padding: 110px 0 40px; }
  section { padding: 76px 0; }
  .section-head { display: block; margin-bottom: 30px; }
  .property-grid, .contact-grid, .detail-intro { grid-template-columns: 1fr; gap: 34px; }
  .property-image { height: 320px; }
  .benefit-cards { grid-template-columns: 1fr; }
  .services-grid, .services-grid.services-grid-2 { grid-template-columns: 1fr; }
  .manifesto { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .specs { grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 32px; }
  .spec { grid-column: span 2; padding: 14px 12px; min-height: 68px; border-radius: 12px; }
  .spec--md, .spec--lg, .spec--full { grid-column: 1 / -1; }
  .spec strong { font-size: 15.5px; line-height: 1.22; }
  .spec span { font-size: 11px; margin-top: 3px; }
  .mosaic-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 10px; }
  .mosaic-item--wide { grid-column: span 1; }
  .location-grid { grid-template-columns: 1fr; gap: 22px; }
  .location-map iframe { height: 240px; }
  .lightbox { padding: 16px; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 22px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 12px; right: 12px; }
  .footer-inner { flex-direction: column; align-items: start; }
  .footer-brand-accent { width: 150px; }
  .locations-marquee { max-width: 100%; }

  .listing-intro { padding: 112px 0 60px; }
  .listing-intro .back-link { margin-bottom: 46px; }
  .listing-heading { display: block; }
  .listing-heading h1 { margin-bottom: 30px; }
  .listing-heading p { max-width: 100%; }
  .filter-panel { padding: 22px 16px; }
  .filter-panel-top { align-items: start; flex-direction: column; gap: 14px; }
  .filter-fields { grid-template-columns: 1fr; }
  .results-bar { align-items: start; flex-direction: column; gap: 14px; }
  .sort-field { width: 100%; grid-template-columns: auto 1fr; }
  .contact-page-section { padding: 70px 0 60px; }

  .property-page { padding-bottom: calc(118px + env(safe-area-inset-bottom)); }
  .sticky-cta { padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); }
  .sticky-cta-inner { flex-direction: column; align-items: stretch; gap: 6px; }
  .sticky-cta-info { flex-direction: row; justify-content: center; align-items: baseline; gap: 6px; text-align: center; min-width: 0; }
  .sticky-cta-info strong { font-size: 12.5px; max-width: 62vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sticky-cta-info span { font-size: 11px; flex-shrink: 0; }
  .sticky-cta-info span::before { content: '· '; }
  .sticky-cta-actions { justify-content: center; gap: 8px; }
  .sticky-cta-actions .button { flex: 1; justify-content: center; padding: 10px 12px; font-size: 11.5px; }

  .whatsapp-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 52px; height: 52px; }
  .whatsapp-float svg { width: 25px; height: 25px; }
  .property-page .whatsapp-float { bottom: calc(138px + env(safe-area-inset-bottom)); }
}

@media (max-width: 480px) {
  .specs { grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 24px; }
  .spec { padding: 12px 10px; min-height: 58px; border-radius: 10px; }
  .spec strong { font-size: 14px; letter-spacing: -.01em; line-height: 1.2; }
  .spec span { font-size: 10.5px; margin-top: 2px; }
  .sticky-cta-info strong { max-width: 52vw; }
  .sticky-cta-actions .button { padding: 9px 10px; font-size: 11px; }
}
