@import "tailwindcss";

:root {
  --red: #e30613;
  --red-dark: #b6000a;
  --ink: #111315;
  --ink-soft: #202326;
  --warm: #f3efe8;
  --warm-2: #e8e2d9;
  --paper: #fffdf9;
  --muted: #686b6e;
  --line: rgba(17, 19, 21, 0.14);
  --radius: 1.5rem;
  --shadow: 0 25px 80px rgba(17, 19, 21, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, "Helvetica Neue", Arial, sans-serif; text-rendering: optimizeLegibility; }
body.modal-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid rgba(227, 6, 19, 0.38); outline-offset: 4px; }

.site-shell { min-height: 100vh; overflow: clip; background: var(--paper); }
.utility-bar { height: 34px; padding: 0 clamp(20px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; background: var(--ink); color: rgba(255,255,255,.68); font-size: .65rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.utility-bar div { display: flex; align-items: center; gap: 28px; }
.utility-bar a { color: #fff; }
.site-header { height: 86px; padding: 0 clamp(20px, 5vw, 76px); display: grid; grid-template-columns: 270px 1fr auto; align-items: center; gap: 40px; position: sticky; top: 0; z-index: 50; background: rgba(255,253,249,.98); border-bottom: 1px solid rgba(17,19,21,.08); }
.brand-link { display: inline-flex; align-items: center; }
.brand-link img { width: 248px; height: 64px; object-fit: contain; object-position: left center; }
.site-header nav { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 2.4vw, 38px); font-size: .76rem; font-weight: 780; }
.site-header nav > a { position: relative; padding: 31px 0; }
.site-header nav > a:not(.mobile-nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 24px; height: 2px; background: var(--red); transition: right .25s ease; }
.site-header nav > a:hover::after { right: 0; }
.mobile-nav-cta { display: none; }
.header-cta, .primary-button, .light-button, .secondary-button { border: 0; border-radius: 999px; min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; font-size: .76rem; font-weight: 850; cursor: pointer; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.header-cta, .primary-button { background: var(--red); color: #fff; box-shadow: 0 10px 30px rgba(227,6,19,.18); }
.header-cta:hover, .primary-button:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(227,6,19,.24); }
.header-cta span, .primary-button span, .light-button span { font-size: 1.05rem; }
.light-button { background: #fff; color: var(--ink); }
.light-button:hover { transform: translateY(-2px); background: var(--warm); }
.secondary-button { background: var(--warm); border: 1px solid var(--line); }
.secondary-button:hover { background: var(--warm-2); }
.menu-button { display: none; border: 0; background: none; width: 44px; height: 44px; padding: 10px; place-items: center; cursor: pointer; }
.menu-button span { width: 24px; height: 2px; background: var(--ink); display: block; transition: transform .25s ease; }
.menu-button span + span { margin-top: 7px; }

.eyebrow { margin: 0 0 22px; display: flex; align-items: center; gap: 10px; color: var(--red); font-size: .68rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow > span { width: 30px; height: 2px; display: block; background: currentColor; }
.eyebrow.light { color: #ff7078; }

.hero-section { min-height: 760px; padding: 74px clamp(20px, 5vw, 76px) 150px; display: grid; grid-template-columns: minmax(0,.92fr) minmax(520px,1.08fr); gap: clamp(50px, 7vw, 110px); align-items: center; background: linear-gradient(115deg, var(--paper) 0 57%, var(--warm) 57%); position: relative; }
.hero-section::before { content: ""; position: absolute; left: clamp(20px, 5vw, 76px); bottom: 92px; width: 90px; height: 6px; background: var(--red); }
.hero-copy { max-width: 710px; position: relative; z-index: 2; }
.hero-copy h1 { margin: 0; max-width: 740px; font-size: clamp(4rem, 6.6vw, 7.6rem); line-height: .87; letter-spacing: -.073em; font-weight: 900; }
.hero-intro { max-width: 620px; margin: 34px 0 0; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.22rem); line-height: 1.65; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.text-button { border: 0; border-bottom: 1px solid var(--ink); padding: 8px 0; background: transparent; font-size: .78rem; font-weight: 850; cursor: pointer; }
.text-button:hover { color: var(--red); border-color: var(--red); }
.hero-trust { margin-top: 48px; padding-top: 23px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 20px; width: min(390px, 100%); }
.hero-trust strong { color: var(--red); font-size: 2.7rem; line-height: 1; letter-spacing: -.06em; }
.hero-trust span { color: var(--muted); font-size: .75rem; line-height: 1.45; font-weight: 700; }
.hero-media { height: 600px; position: relative; }
.hero-photo-main { position: absolute; inset: 0 16% 0 8%; overflow: hidden; border-radius: 2px; box-shadow: var(--shadow); }
.hero-photo-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.55)); pointer-events: none; }
.hero-photo-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.hero-media:hover .hero-photo-main img { transform: scale(1.035); }
.photo-caption { position: absolute; left: 28px; bottom: 25px; z-index: 1; color: #fff; font-size: .68rem; font-weight: 850; letter-spacing: .06em; }
.hero-photo-secondary { position: absolute; width: 210px; height: 250px; right: 0; top: -28px; overflow: hidden; border: 10px solid var(--paper); box-shadow: var(--shadow); }
.hero-photo-secondary img { width: 100%; height: 100%; object-fit: cover; }
.broker-chip { position: absolute; left: 0; bottom: -38px; z-index: 3; width: 290px; padding: 11px 18px 11px 10px; display: flex; align-items: center; gap: 13px; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.broker-chip img { width: 70px; height: 78px; object-fit: cover; object-position: center 16%; background: #dedede; }
.broker-chip div { display: grid; gap: 3px; }
.broker-chip small { color: #ff7078; text-transform: uppercase; font-size: .55rem; font-weight: 850; letter-spacing: .09em; }
.broker-chip strong { font-size: .94rem; }
.broker-chip span { color: #b5b7b8; font-size: .65rem; }

.search-dock { width: min(1380px, calc(100% - 40px)); margin: -74px auto 0; padding: 22px; position: relative; z-index: 4; display: grid; grid-template-columns: 215px 1fr; gap: 18px; background: var(--ink); color: #fff; box-shadow: 0 28px 80px rgba(17,19,21,.2); }
.search-intro { padding: 8px 16px; display: flex; align-items: center; gap: 15px; border-right: 1px solid rgba(255,255,255,.13); }
.search-intro > span { font-size: .65rem; color: #ff7178; }
.search-intro div { display: grid; gap: 5px; }
.search-intro small { color: #999da0; text-transform: uppercase; letter-spacing: .12em; font-size: .55rem; font-weight: 850; }
.search-intro strong { font-size: .83rem; line-height: 1.25; }
.search-panel { display: grid; grid-template-columns: 1.2fr repeat(3,1fr) 100px; gap: 10px; align-items: stretch; }
.search-tabs { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid rgba(255,255,255,.18); padding: 5px; }
.search-tabs button { min-height: 48px; border: 0; background: transparent; color: #aeb0b2; font-size: .68rem; font-weight: 850; cursor: pointer; }
.search-tabs button.active { background: #fff; color: var(--ink); }
.search-panel label { min-width: 0; padding: 9px 12px; display: grid; gap: 4px; background: #fff; color: var(--ink); }
.search-panel label > span { color: var(--muted); font-size: .54rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.search-panel select { width: 100%; min-width: 0; border: 0; outline: 0; background: #fff; color: var(--ink); font-size: .73rem; font-weight: 780; }
.search-submit { border: 0; background: var(--red); color: #fff; display: grid; place-content: center; justify-items: center; cursor: pointer; font-size: 1.2rem; font-weight: 900; transition: background .25s ease; }
.search-submit:hover { background: var(--red-dark); }
.search-submit span { font-size: .55rem; font-weight: 700; }
.search-submit b { font-size: 1rem; }

.credibility-strip { padding: 88px clamp(20px, 6vw, 92px); display: grid; grid-template-columns: repeat(4,1fr); background: var(--paper); }
.credibility-strip article { min-height: 142px; padding: 0 clamp(18px, 3vw, 48px); display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.credibility-strip article:first-child { padding-left: 0; }
.credibility-strip article:last-child { border-right: 0; }
.credibility-strip small { margin-bottom: 15px; color: var(--red); font-size: .58rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.credibility-strip strong { font-size: clamp(1.8rem, 3vw, 3.15rem); letter-spacing: -.055em; }
.credibility-strip span { margin-top: 7px; color: var(--muted); font-size: .72rem; }

.listings-section, .paths-section, .guidance-section, .contact-section { padding: 120px clamp(20px, 6vw, 92px); }
.listings-section { background: var(--warm); }
.section-heading { margin-bottom: 52px; display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; }
.section-heading h2, .portfolio-copy h2, .process-intro h2, .about-copy h2, .guidance-section h2, .seller-content h2, .contact-heading h2 { margin: 0; font-size: clamp(2.7rem, 5.2vw, 5.8rem); line-height: .93; letter-spacing: -.06em; }
.section-heading > div:first-child { max-width: 820px; }
.heading-aside, .section-heading > p { max-width: 390px; color: var(--muted); font-size: .83rem; line-height: 1.65; }
.heading-aside { display: grid; justify-items: start; gap: 10px; }
.heading-aside p { margin: 0; }
.filter-reset { border: 0; border-bottom: 1px solid var(--ink); padding: 8px 0; background: transparent; font-size: .68rem; font-weight: 850; cursor: pointer; }
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.property-card { min-width: 0; background: var(--paper); box-shadow: 0 4px 0 rgba(17,19,21,.04); transition: transform .35s ease, box-shadow .35s ease; }
.property-card:hover { transform: translateY(-8px); box-shadow: 0 25px 60px rgba(17,19,21,.12); }
.property-image { height: 330px; position: relative; overflow: hidden; background: #dedad3; }
.property-image > img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.property-card:hover .property-image > img { transform: scale(1.04); }
.property-image-placeholder { height: 100%; display: grid; place-content: center; justify-items: center; gap: 13px; position: relative; overflow: hidden; background: linear-gradient(135deg, #e6e1da, #f8f4ee); color: var(--muted); font-size: .68rem; font-weight: 750; }
.property-image-placeholder::after { content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -25%; bottom: -45%; border: 36px solid rgba(227,6,19,.09); transform: rotate(45deg); }
.property-image-placeholder img { width: 85px; height: 82px; object-fit: contain; position: relative; z-index: 1; }
.placeholder-roof { width: 170px; height: 170px; position: absolute; left: -70px; top: -75px; border: 28px solid rgba(17,19,21,.05); transform: rotate(45deg); }
.property-tags { position: absolute; top: 18px; left: 18px; z-index: 3; display: flex; gap: 6px; }
.property-tags span { padding: 8px 10px; background: var(--ink); color: #fff; font-size: .55rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.property-tags span + span { background: var(--red); }
.favorite { width: 42px; height: 42px; position: absolute; z-index: 4; top: 14px; right: 14px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); font-size: 1.25rem; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.13); }
.favorite.active { background: var(--red); color: #fff; }
.property-image-link { position: absolute; inset: 0; z-index: 2; }
.property-body { padding: 24px 25px 27px; }
.property-meta { display: flex; justify-content: space-between; align-items: center; gap: 15px; color: var(--muted); font-size: .65rem; }
.property-meta small { color: var(--red); font-weight: 900; letter-spacing: .06em; }
.property-body h3 { min-height: 54px; margin: 15px 0 20px; font-size: clamp(1.28rem, 2vw, 1.65rem); line-height: 1.05; letter-spacing: -.035em; }
.property-specs { padding: 16px 0; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); gap: 9px; }
.property-specs span { display: grid; gap: 3px; color: var(--muted); font-size: .58rem; }
.property-specs b { color: var(--ink); font-size: .82rem; }
.property-footer { padding-top: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 15px; }
.property-price { font-size: clamp(1.18rem, 2vw, 1.5rem); letter-spacing: -.04em; }
.property-footer a { color: var(--red); font-size: .67rem; font-weight: 900; }
.empty-state { min-height: 310px; padding: 55px; display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 40px; background: var(--paper); }
.empty-state > img { width: 100px; height: 96px; object-fit: contain; }
.empty-state small { color: var(--red); text-transform: uppercase; font-size: .58rem; font-weight: 900; letter-spacing: .1em; }
.empty-state h3 { margin: 8px 0; font-size: 2rem; letter-spacing: -.04em; }
.empty-state p { margin: 0; color: var(--muted); }
.listing-skeleton-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.catalog-loading > p { margin: 0 0 22px; color: var(--muted); font-size: .82rem; }
.listing-skeleton-grid article { background: var(--paper); }
.listing-skeleton-grid article > span { height: 330px; display: block; background: #ddd8d0; animation: softPulse 1.4s ease-in-out infinite alternate; }
.listing-skeleton-grid article > div { padding: 25px; display: grid; gap: 14px; }
.listing-skeleton-grid i { height: 13px; display: block; background: #ddd8d0; animation: softPulse 1.4s ease-in-out infinite alternate; }
.listing-skeleton-grid i:nth-child(1) { width: 38%; }
.listing-skeleton-grid i:nth-child(2) { width: 88%; height: 26px; }
.listing-skeleton-grid i:nth-child(3) { width: 58%; }
@keyframes softPulse { to { opacity: .45; } }

.portfolio-section { min-height: 850px; padding: 120px clamp(20px, 6vw, 92px); display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(50px, 8vw, 120px); align-items: center; background: var(--ink); color: #fff; }
.portfolio-copy { max-width: 560px; }
.portfolio-copy p:not(.eyebrow) { margin: 30px 0 34px; color: #aeb1b3; line-height: 1.75; }
.portfolio-mosaic { height: 650px; display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.portfolio-mosaic figure { margin: 0; position: relative; overflow: hidden; }
.portfolio-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .8s ease; }
.portfolio-mosaic figure:hover img { transform: scale(1.045); filter: saturate(1.08); }
.portfolio-mosaic figcaption { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; display: grid; place-items: center; background: rgba(17,19,21,.78); color: #fff; font-size: .58rem; font-weight: 850; }
.mosaic-1 { grid-row: 1 / 3; }
.mosaic-2, .mosaic-3 { min-height: 0; }
.mosaic-4 { display: none; }

.paths-section { background: var(--paper); }
.path-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.path-grid article { min-height: 400px; padding: 35px 40px 40px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); transition: background .3s ease, color .3s ease; }
.path-grid article:last-child { border-right: 0; }
.path-grid article:hover { background: var(--ink); color: #fff; }
.path-grid article > span { color: var(--red); font-size: .65rem; font-weight: 900; }
.path-grid small { color: var(--muted); font-size: .58rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.path-grid article:hover small, .path-grid article:hover p { color: #aeb1b3; }
.path-grid h3 { margin: 12px 0 18px; font-size: clamp(2rem, 3vw, 3.2rem); letter-spacing: -.05em; }
.path-grid p { color: var(--muted); line-height: 1.65; font-size: .83rem; }
.path-grid button, .path-grid a { margin-top: 28px; border: 0; padding: 0 0 8px; background: transparent; border-bottom: 1px solid currentColor; font-size: .7rem; font-weight: 900; cursor: pointer; }

.process-section { padding: 120px clamp(20px, 6vw, 92px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 9vw, 150px); background: var(--red); color: #fff; }
.process-intro { position: sticky; top: 140px; align-self: start; }
.process-intro p:not(.eyebrow) { max-width: 520px; margin-top: 30px; color: #ffd1d3; line-height: 1.7; }
.process-section ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.3); }
.process-section li { min-height: 160px; padding: 30px 0; display: grid; grid-template-columns: 90px 1fr; align-items: center; border-bottom: 1px solid rgba(255,255,255,.3); }
.process-section li > span { color: #ffc2c5; font-size: .72rem; font-weight: 900; }
.process-section h3 { margin: 0 0 9px; font-size: clamp(1.4rem, 2.6vw, 2.3rem); letter-spacing: -.04em; }
.process-section li p { margin: 0; color: #ffd1d3; font-size: .8rem; line-height: 1.5; }

.about-section { min-height: 820px; padding: 120px clamp(20px, 7vw, 110px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 9vw, 140px); align-items: center; background: var(--warm); }
.about-portrait { height: 640px; position: relative; background: #d9d5cf; overflow: hidden; }
.about-portrait::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 55%, rgba(17,19,21,.45)); pointer-events: none; }
.about-portrait > img { width: 100%; height: 100%; object-fit: cover; object-position: center 10%; filter: saturate(.88) contrast(1.02); }
.about-signature { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 25px; display: grid; gap: 4px; color: #fff; }
.about-signature small { color: #ff8c91; font-size: .57rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.about-signature strong { font-size: 1.4rem; }
.about-signature span { color: rgba(255,255,255,.7); font-size: .65rem; }
.about-copy { max-width: 760px; }
.about-copy > p:not(.eyebrow) { max-width: 680px; margin: 32px 0; color: var(--muted); font-size: .98rem; line-height: 1.8; }
.about-copy blockquote { margin: 40px 0; padding: 30px 0 30px 34px; border-left: 5px solid var(--red); font-size: clamp(1.45rem, 2.8vw, 2.8rem); line-height: 1.05; letter-spacing: -.045em; font-weight: 850; }
.about-points { display: flex; flex-wrap: wrap; gap: 8px; }
.about-points span { padding: 10px 13px; border: 1px solid var(--line); background: rgba(255,255,255,.45); font-size: .62rem; font-weight: 800; }

.guidance-section { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(60px, 9vw, 140px); background: var(--paper); }
.guidance-section > div:first-child > p:not(.eyebrow) { max-width: 540px; color: var(--muted); line-height: 1.7; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 27px 0; display: flex; align-items: center; gap: 22px; list-style: none; cursor: pointer; font-size: clamp(1rem, 1.6vw, 1.3rem); font-weight: 850; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; margin-left: auto; color: var(--red); font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary span { color: var(--red); font-size: .58rem; }
.faq-list p { margin: -5px 0 26px 43px; color: var(--muted); line-height: 1.7; }

.seller-section { min-height: 700px; position: relative; display: grid; place-items: center; overflow: hidden; color: #fff; }
.seller-section > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.seller-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,19,21,.96) 0 48%, rgba(17,19,21,.66) 75%, rgba(17,19,21,.25)); }
.seller-content { width: min(1360px, calc(100% - 40px)); padding: 100px 0; position: relative; z-index: 2; }
.seller-content > * { max-width: 720px; }
.seller-content p:not(.eyebrow) { margin: 30px 0 15px; color: #d7d8d9; line-height: 1.7; }
.seller-content small { display: block; margin-bottom: 34px; color: #ff9ca1; line-height: 1.5; }

.documentation-section { padding: 120px clamp(20px, 6vw, 92px); display: grid; grid-template-columns: minmax(280px,.72fr) minmax(600px,1.28fr); gap: clamp(55px,8vw,130px); background: #151719; color: #fff; }
.documentation-intro { align-self: start; position: sticky; top: 120px; }
.documentation-intro h2 { margin: 0; max-width: 650px; font-size: clamp(3rem,5.2vw,5.8rem); line-height: .93; letter-spacing: -.06em; }
.documentation-intro > p:not(.eyebrow) { margin: 30px 0; max-width: 580px; color: #bec1c4; line-height: 1.75; }
.documentation-note { max-width: 520px; padding: 20px 0; display: grid; gap: 7px; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.documentation-note strong { color: #ff747b; font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; }
.documentation-note span { color: #fff; font-size: .83rem; }
.documentation-panel { min-width: 0; }
.documentation-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.documentation-options button { min-height: 170px; padding: 24px; display: grid; grid-template-columns: 28px 1fr auto; gap: 15px; align-items: start; border: 0; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; text-align: left; cursor: pointer; transition: background .25s ease,color .25s ease; }
.documentation-options button:hover { background: rgba(255,255,255,.06); }
.documentation-options button.active { background: var(--red); }
.documentation-options button > span { padding-top: 3px; color: #ff747b; font-size: .58rem; font-weight: 900; }
.documentation-options button.active > span { color: #fff; }
.documentation-options button div { display: grid; gap: 10px; }
.documentation-options button strong { font-size: clamp(1rem,1.5vw,1.28rem); }
.documentation-options button p { margin: 0; color: #aeb1b4; font-size: .72rem; line-height: 1.55; }
.documentation-options button.active p { color: #ffe2e3; }
.documentation-options button b { font-size: 1rem; }
.documentation-cta { padding: 34px; display: grid; grid-template-columns: 1fr auto; gap: 35px; align-items: center; background: var(--paper); color: var(--ink); }
.documentation-cta div { display: grid; gap: 7px; }
.documentation-cta small { color: var(--red); font-size: .57rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.documentation-cta strong { font-size: clamp(1.35rem,2vw,2rem); }
.documentation-cta p { margin: 0; max-width: 590px; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.documentation-cta a { min-height: 62px; padding: 0 22px; display: flex; align-items: center; gap: 28px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 900; white-space: nowrap; }
.documentation-cta a span { font-size: 1.2rem; }

.contact-section { display: grid; grid-template-columns: 1.1fr .9fr 310px; gap: clamp(35px, 6vw, 90px); align-items: center; background: var(--paper); }
.contact-details { display: grid; gap: 28px; }
.contact-details > div { display: grid; gap: 6px; }
.contact-details small, .contact-action small { color: var(--red); font-size: .57rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.contact-details strong, .contact-details a { font-size: .86rem; }
.contact-details span { color: var(--muted); font-size: .72rem; }
.contact-action { min-height: 190px; padding: 28px; display: grid; align-content: space-between; background: var(--red); color: #fff; transition: transform .3s ease, box-shadow .3s ease; }
.contact-action:hover { transform: translateY(-6px); box-shadow: 0 20px 55px rgba(227,6,19,.22); }
.contact-action small { color: #ffc4c7; }
.contact-action strong { font-size: 1.3rem; }
.contact-action > span { justify-self: end; font-size: 2rem; }
.site-footer { padding: 74px clamp(20px, 6vw, 92px) 28px; display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 60px; background: var(--paper); border-top: 1px solid var(--line); }
.footer-brand img { width: 270px; height: 75px; object-fit: contain; object-position: left; }
.footer-brand p { max-width: 360px; color: var(--muted); font-size: .75rem; line-height: 1.6; }
.footer-links, .footer-contact { display: grid; align-content: start; gap: 11px; font-size: .72rem; }
.footer-links strong, .footer-contact strong { margin-bottom: 8px; font-size: .65rem; text-transform: uppercase; letter-spacing: .09em; }
.footer-contact span { color: var(--muted); }
.footer-bottom { grid-column: 1 / -1; margin-top: 25px; padding-top: 25px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: .62rem; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 45; min-width: 150px; height: 52px; padding: 0 8px 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: #18a653; color: #fff; border-radius: 999px; box-shadow: 0 14px 35px rgba(0,0,0,.24); font-size: .68rem; font-weight: 900; transition: transform .25s ease; }
.whatsapp-float:hover { transform: translateY(-4px); }
.whatsapp-float b { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 1rem; }

.lead-overlay { position: fixed; inset: 0; z-index: 100; padding: 20px; display: grid; place-items: center; background: rgba(17,19,21,.78); backdrop-filter: blur(10px); }
.lead-modal { width: min(650px, 100%); padding: 44px; position: relative; background: var(--paper); box-shadow: 0 35px 100px rgba(0,0,0,.4); }
.modal-close { width: 42px; height: 42px; position: absolute; right: 18px; top: 18px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 1.5rem; cursor: pointer; }
.modal-progress { height: 3px; margin: -44px -44px 38px; background: var(--warm-2); }
.modal-progress span { height: 100%; display: block; background: var(--red); transition: width .35s ease; }
.step-label { color: var(--red); font-size: .6rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.lead-modal h2 { max-width: 510px; margin: 10px 0 8px; font-size: clamp(2rem, 4vw, 3.3rem); line-height: .98; letter-spacing: -.055em; }
.modal-intro { margin: 0 0 28px; color: var(--muted); font-size: .78rem; }
.lead-fields { margin-bottom: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-fields label { display: grid; gap: 8px; color: #555; font-size: .66rem; font-weight: 850; }
.lead-fields input, .lead-fields select { min-width: 0; height: 50px; border: 1px solid var(--line); padding: 0 14px; background: #fff; color: var(--ink); outline: none; }
.lead-fields input:focus, .lead-fields select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,6,19,.08); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.consent-copy { color: var(--muted); font-size: .68rem; line-height: 1.5; }
.primary-button.full { width: 100%; }
.primary-button:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Ficha do imóvel */
.detail-page { min-height: 100vh; background: var(--warm); color: var(--ink); }
.detail-header { height: 92px; padding: 0 clamp(20px, 5vw, 76px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
.detail-header > a { font-size: .7rem; font-weight: 850; }
.detail-header > a:nth-child(2) { justify-self: center; }
.detail-back { justify-self: start; display: inline-flex; align-items: center; gap: 8px; }
.detail-header-contact { justify-self: end; padding: 12px 16px; background: var(--ink); color: #fff; }
.detail-header img { width: 260px; height: 68px; object-fit: contain; }
.property-carousel { background: var(--ink); color: #fff; outline: none; }
.carousel-stage { height: min(72vh, 760px); min-height: 560px; position: relative; overflow: hidden; background: #202326; }
.carousel-slide { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; opacity: 0; transform: scale(1.025); transition: opacity .75s ease, transform 1.2s cubic-bezier(.2,.8,.2,1); }
.carousel-slide.active { opacity: 1; transform: scale(1); animation: carouselEnter .65s ease both; }
@keyframes carouselEnter { from { opacity: .15; transform: scale(1.018); } to { opacity: 1; transform: scale(1); } }
.carousel-shade { position: absolute; inset: auto 0 0; height: 34%; background: linear-gradient(180deg, transparent, rgba(0,0,0,.48)); pointer-events: none; }
.carousel-counter { position: absolute; left: clamp(20px, 5vw, 76px); bottom: 28px; min-width: 84px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; font-size: .68rem; font-weight: 900; letter-spacing: .08em; }
.carousel-arrows { position: absolute; right: clamp(20px, 5vw, 76px); bottom: 23px; display: flex; gap: 8px; }
.carousel-arrows button { width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.25); background: var(--ink); color: #fff; font-size: 1.1rem; cursor: pointer; transition: background .25s ease, color .25s ease, transform .25s ease; }
.carousel-arrows button:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.carousel-thumbnails { padding: 12px clamp(20px, 5vw, 76px); display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #777 var(--ink); background: var(--ink); }
.carousel-thumbnails button { width: 86px; min-width: 86px; height: 58px; padding: 8px 10px; display: grid; align-content: center; gap: 2px; border: 1px solid #4a4d50; background: #24272a; color: #fff; cursor: pointer; opacity: .66; text-align: left; transition: opacity .25s ease, border-color .25s ease, transform .25s ease; }
.carousel-thumbnails button:hover { opacity: .9; }
.carousel-thumbnails button.active { border-color: #fff; background: #fff; color: var(--ink); opacity: 1; transform: translateY(-2px); }
.carousel-thumbnails span { color: currentColor; font-size: .48rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.carousel-thumbnails strong { font-size: .82rem; }
.detail-gallery-empty { height: min(72vh, 760px); min-height: 560px; padding: 24px clamp(20px, 5vw, 76px); background: var(--ink); }
.detail-photo-placeholder { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 14px; position: relative; overflow: hidden; background: linear-gradient(135deg, #ded8cf, #f8f4ee); text-align: center; color: var(--muted); }
.detail-photo-placeholder::before, .detail-photo-placeholder::after { content: ""; width: 400px; height: 400px; position: absolute; border: 60px solid rgba(227,6,19,.07); transform: rotate(45deg); }
.detail-photo-placeholder::before { left: -250px; top: -250px; }
.detail-photo-placeholder::after { right: -250px; bottom: -250px; border-color: rgba(17,19,21,.05); }
.detail-photo-placeholder img { width: 120px; height: 116px; object-fit: contain; position: relative; z-index: 1; }
.detail-photo-placeholder strong, .detail-photo-placeholder span { position: relative; z-index: 1; }
.detail-photo-placeholder strong { color: var(--ink); font-size: 1.55rem; }
.detail-photo-placeholder span { font-size: .78rem; }
.detail-content { padding: 82px clamp(20px, 6vw, 92px) 120px; display: grid; grid-template-columns: minmax(0,1fr) 390px; gap: clamp(50px, 8vw, 120px); background: var(--warm); color: var(--ink); }
.detail-main { min-width: 0; color: var(--ink); }
.detail-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.detail-tags span { padding: 8px 11px; background: var(--paper); color: #4d5052; font-size: .58rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.detail-tags span:first-child { background: var(--red); color: #fff; }
.detail-location { margin: 25px 0 12px; color: #55595c; font-size: .78rem; font-weight: 750; }
.detail-content h1 { max-width: 1000px; margin: 0; color: var(--ink); font-size: clamp(3.2rem, 6.3vw, 7rem); line-height: .88; letter-spacing: -.07em; }
.detail-specs { margin: 40px 0 55px; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-specs span { padding: 25px 18px; display: grid; gap: 5px; border-right: 1px solid var(--line); color: #565a5d; font-size: .62rem; }
.detail-specs span:last-child { border-right: 0; }
.detail-specs strong { color: var(--ink); font-size: 1.55rem; }
.detail-description { max-width: 850px; padding: 42px; background: var(--paper); color: var(--ink); }
.detail-description > small { color: var(--red); font-size: .58rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.detail-description h2 { margin: 9px 0 18px; color: var(--ink); font-size: 2rem; letter-spacing: -.04em; }
.detail-description p { margin: 0; color: #55595c; line-height: 1.8; }
.property-info-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.property-info-grid > div { padding: 22px; display: grid; gap: 7px; background: var(--paper); color: var(--ink); }
.property-info-grid small { color: #626669; font-size: .62rem; }
.detail-contact-card { padding: 36px; position: sticky; top: 116px; align-self: start; display: grid; gap: 16px; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.detail-contact-card > span { color: #ff747b; font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.detail-contact-card > small { color: #b8bbbd; font-size: .62rem; }
.detail-contact-card > strong { color: #fff; font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -.05em; }
.detail-contact-card > p { margin: 4px 0 8px; color: #c5c7c8; font-size: .72rem; line-height: 1.65; }
.detail-contact-card .primary-button { color: #fff; }
.detail-contact-card > div { padding-top: 20px; display: grid; gap: 5px; border-top: 1px solid rgba(255,255,255,.15); }
.detail-contact-card > div small { color: #ff747b; font-size: .58rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.detail-contact-card > div span { color: #c5c7c8; font-size: .68rem; }

/* Planejador de compra */
.purchase-planner { margin-top: 34px; padding: clamp(28px, 4vw, 52px); background: var(--paper); color: var(--ink); }
.planner-heading { max-width: 760px; }
.planner-heading h2 { margin: 9px 0 14px; font-size: clamp(2rem, 4vw, 3.6rem); line-height: .96; letter-spacing: -.055em; }
.planner-heading > p:last-child { margin: 0; color: #55595c; line-height: 1.7; }
.planner-layout { margin-top: 34px; display: grid; grid-template-columns: minmax(260px,.8fr) minmax(320px,1.2fr); gap: 10px; }
.planner-form { padding: 26px; display: grid; gap: 19px; background: var(--warm); }
.planner-form label { display: grid; gap: 8px; }
.planner-form label > span, .planner-property-value small { color: #626669; font-size: .62rem; font-weight: 800; letter-spacing: .04em; }
.planner-form label > small { color: #6b6f71; font-size: .58rem; line-height: 1.5; }
.planner-property-value { padding-bottom: 19px; display: grid; gap: 6px; border-bottom: 1px solid var(--line); }
.planner-property-value strong { font-size: 1.65rem; letter-spacing: -.04em; }
.planner-money-field { min-height: 52px; display: grid; grid-template-columns: auto 1fr; align-items: center; background: #fff; border: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.planner-money-field:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,6,19,.1); }
.planner-money-field b { padding-left: 15px; color: #6c7072; font-size: .72rem; }
.planner-money-field input, .planner-form select { width: 100%; min-height: 52px; border: 0; outline: 0; background: #fff; color: var(--ink); font: inherit; font-size: .8rem; }
.planner-money-field input { padding: 0 14px 0 8px; }
.planner-form select { padding: 0 14px; border: 1px solid transparent; }
.planner-form select:focus-visible { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,6,19,.1); }
.planner-submit { width: 100%; margin-top: 2px; border: 0; cursor: pointer; }
.planner-field-error { margin: -7px 0 0; color: #9a1720; font-size: .65rem; line-height: 1.5; }
.planner-result { min-height: 100%; padding: 28px; display: grid; align-content: start; background: var(--ink); color: #fff; }
.planner-waiting { min-height: 380px; display: grid; align-content: center; justify-items: start; }
.planner-waiting > span { color: #ff747b; font-size: clamp(4.5rem, 9vw, 8rem); font-weight: 900; line-height: .8; letter-spacing: -.09em; }
.planner-waiting h3 { margin: 25px 0 12px; color: #fff; font-size: 1.55rem; }
.planner-waiting p { max-width: 520px; margin: 0; color: #c5c7c8; font-size: .74rem; line-height: 1.7; }
.planner-numbers { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: rgba(255,255,255,.12); }
.planner-numbers > div { min-height: 112px; padding: 18px; display: grid; align-content: center; gap: 7px; background: #202326; }
.planner-numbers small { color: #b8bbbd; font-size: .58rem; }
.planner-numbers strong { color: #fff; font-size: clamp(1.15rem, 2.2vw, 1.75rem); letter-spacing: -.04em; }
.planner-status { margin-top: 14px; padding: 20px; border-left: 4px solid; }
.planner-status.fits { border-color: #41c878; background: rgba(46,168,96,.15); }
.planner-status.exceeds { border-color: #ff6870; background: rgba(227,6,19,.14); }
.planner-status small { color: #fff; font-size: .6rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.planner-status p { margin: 8px 0 0; color: #e0e1e2; font-size: .69rem; line-height: 1.65; }
.planner-status p strong { color: #fff; }
.planner-actions { margin-top: 16px; display: grid; gap: 13px; }
.planner-actions .primary-button { width: 100%; border: 0; cursor: pointer; color: #fff; }
.planner-official-link { color: #fff; font-size: .68rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.planner-disclaimer { margin: 18px 0 0; color: #686c6e; font-size: .6rem; line-height: 1.65; }
.planner-disclaimer a { color: var(--ink); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* Painel de sincronização */
.editor-page { min-height: 100vh; background: #efede8; }
.editor-header { height: 94px; padding: 0 clamp(20px, 4vw, 62px); display: flex; align-items: center; gap: 24px; background: var(--ink); color: #fff; }
.editor-header img { width: 215px; height: 62px; object-fit: contain; filter: brightness(0) invert(1); }
.editor-header > span { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.2); color: #b6b9bb; font-size: .7rem; font-weight: 800; }
.editor-header div { margin-left: auto; display: grid; justify-items: end; gap: 4px; }
.editor-header small { color: #ff747b; font-size: .56rem; text-transform: uppercase; letter-spacing: .09em; }
.editor-header strong { font-size: .8rem; }
.editor-layout { min-height: calc(100vh - 94px); display: grid; grid-template-columns: 340px 1fr; }
.editor-sidebar { padding: 48px 34px; background: var(--paper); border-right: 1px solid var(--line); }
.editor-sidebar::before { content: "API"; width: 46px; height: 46px; margin-bottom: 28px; display: grid; place-items: center; background: var(--red); color: #fff; font-size: .62rem; font-weight: 900; }
.editor-sidebar h1 { margin: 0 0 12px; font-size: 2rem; line-height: 1; letter-spacing: -.05em; }
.editor-sidebar p { color: var(--muted); font-size: .78rem; line-height: 1.65; }
.editor-sidebar button { width: 100%; margin: 22px 0; }
.editor-main { padding: 48px clamp(22px, 4vw, 58px); }
.editor-notice { margin-bottom: 10px; padding: 14px 16px; border-left: 3px solid #bd8b13; background: #fff8de; color: #6f581d; font-size: .72rem; }
.editor-notice.success { border-color: #28a253; background: #e9f8ee; color: #22663a; }
.editor-toolbar { margin: 42px 0 22px; display: flex; justify-content: space-between; align-items: flex-end; }
.editor-toolbar h2 { margin: 0; font-size: 2.1rem; letter-spacing: -.05em; }
.editor-toolbar span { color: var(--muted); font-size: .7rem; }
.admin-list { display: grid; gap: 8px; }
.admin-row { min-height: 100px; padding: 12px; display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 20px; background: var(--paper); border: 1px solid transparent; transition: border-color .25s ease, transform .25s ease; }
.admin-row:hover { border-color: var(--line); transform: translateX(3px); }
.admin-row > img, .admin-image-placeholder { width: 110px; height: 76px; object-fit: cover; background: var(--warm); }
.admin-image-placeholder { display: grid; place-items: center; }
.admin-image-placeholder img { width: 46px; height: 44px; object-fit: contain; }
.admin-row h3 { margin: 0 0 7px; font-size: .96rem; }
.admin-row p { margin: 0; color: var(--muted); font-size: .68rem; }
.admin-status { padding: 9px 12px; background: #e7f7ec; color: #26703e; font-size: .62rem; font-weight: 900; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .75s ease var(--delay, 0ms), transform .75s cubic-bezier(.2,.8,.2,1) var(--delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.portfolio-section, .paths-section, .process-section, .about-section, .guidance-section, .seller-section, .documentation-section, .contact-section, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 850px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 235px 1fr auto; gap: 24px; }
  .brand-link img { width: 220px; }
  .site-header nav { gap: 18px; }
  .hero-section { grid-template-columns: .95fr 1.05fr; gap: 40px; }
  .hero-copy h1 { font-size: clamp(4rem, 7vw, 6rem); }
  .hero-media { height: 540px; }
  .search-dock { grid-template-columns: 1fr; }
  .search-intro { display: none; }
  .portfolio-section { grid-template-columns: .9fr 1.1fr; gap: 55px; }
  .path-grid { grid-template-columns: repeat(2,1fr); }
  .path-grid article:nth-child(2) { border-right: 0; }
  .path-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .documentation-section { grid-template-columns: 1fr; }
  .documentation-intro { position: static; }
  .contact-section { grid-template-columns: 1fr 1fr; }
  .contact-action { grid-column: 1 / -1; min-height: 130px; }
}

@media (max-width: 960px) {
  .utility-bar { display: none; }
  .site-header { height: 76px; grid-template-columns: 1fr auto auto; top: 0; }
  .brand-link img { width: 205px; height: 56px; }
  .site-header nav { display: none; position: fixed; inset: 76px 0 0; padding: 44px 24px; align-items: flex-start; justify-content: flex-start; gap: 0; flex-direction: column; background: var(--paper); }
  .site-header nav.open { display: flex; }
  .site-header nav > a { width: 100%; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .site-header nav > a::after { display: none; }
  .mobile-nav-cta { display: block; margin-top: 24px; padding: 18px !important; background: var(--red); color: #fff; border: 0 !important; text-align: center; }
  .menu-button { display: grid; }
  .header-cta { min-height: 42px; }
  .hero-section { min-height: auto; padding-top: 70px; grid-template-columns: 1fr; background: linear-gradient(180deg, var(--paper) 0 52%, var(--warm) 52%); }
  .hero-copy { max-width: 760px; }
  .hero-media { width: min(760px, 100%); height: 590px; }
  .hero-photo-main { right: 12%; }
  .search-panel { grid-template-columns: repeat(2,1fr); }
  .search-submit { min-height: 68px; }
  .credibility-strip { grid-template-columns: repeat(2,1fr); }
  .credibility-strip article:nth-child(2) { border-right: 0; }
  .credibility-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .listing-grid { grid-template-columns: repeat(2,1fr); }
  .listing-skeleton-grid { grid-template-columns: repeat(2,1fr); }
  .portfolio-section { grid-template-columns: 1fr; }
  .portfolio-copy { max-width: 780px; }
  .portfolio-mosaic { height: 620px; }
  .path-grid { grid-template-columns: 1fr; }
  .path-grid article { min-height: 300px; border-right: 0; border-bottom: 1px solid var(--line); }
  .path-grid article:last-child { border-bottom: 0; }
  .process-section, .about-section, .guidance-section { grid-template-columns: 1fr; }
  .process-intro { position: static; }
  .about-portrait { max-width: 700px; }
  .site-footer { grid-template-columns: 1.2fr .8fr .9fr; gap: 35px; }
  .carousel-stage { height: 620px; min-height: 520px; }
  .detail-content { grid-template-columns: 1fr; }
  .detail-contact-card { position: static; }
  .planner-layout { grid-template-columns: 1fr; }
  .editor-layout { grid-template-columns: 280px 1fr; }
}

@media (max-width: 700px) {
  .site-header { padding: 0 17px; }
  .header-cta { display: none; }
  .hero-section { padding: 52px 20px 130px; }
  .hero-copy h1 { font-size: clamp(3.45rem, 16vw, 5.2rem); }
  .hero-intro { margin-top: 24px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-media { height: 470px; margin-top: 18px; }
  .hero-photo-main { inset: 0 8% 0 0; }
  .hero-photo-secondary { width: 150px; height: 190px; top: 22px; border-width: 7px; }
  .broker-chip { width: 255px; bottom: -34px; }
  .search-dock { width: calc(100% - 24px); margin-top: -78px; padding: 12px; }
  .search-panel { grid-template-columns: 1fr; }
  .search-tabs { order: -1; }
  .credibility-strip { padding: 72px 20px; }
  .credibility-strip article { min-height: 120px; padding: 18px; }
  .credibility-strip article:nth-child(odd) { padding-left: 0; }
  .credibility-strip strong { font-size: 1.9rem; }
  .listings-section, .paths-section, .guidance-section, .contact-section { padding: 85px 20px; }
  .section-heading { margin-bottom: 38px; align-items: flex-start; flex-direction: column; gap: 20px; }
  .section-heading h2, .portfolio-copy h2, .process-intro h2, .about-copy h2, .guidance-section h2, .seller-content h2, .contact-heading h2 { font-size: clamp(2.65rem, 12vw, 4.2rem); }
  .listing-grid { grid-template-columns: 1fr; }
  .listing-skeleton-grid { grid-template-columns: 1fr; }
  .property-image { height: 310px; }
  .empty-state { padding: 36px 25px; grid-template-columns: 70px 1fr; gap: 20px; }
  .empty-state > img { width: 70px; height: 67px; }
  .empty-state button { grid-column: 1 / -1; justify-self: start; }
  .portfolio-section { padding: 85px 20px; }
  .portfolio-mosaic { height: 530px; grid-template-columns: 1fr 1fr; grid-template-rows: 1.35fr .65fr; }
  .mosaic-1 { grid-column: 1 / 3; grid-row: auto; }
  .mosaic-2, .mosaic-3 { grid-row: 2; }
  .process-section { padding: 85px 20px; }
  .process-section li { grid-template-columns: 55px 1fr; }
  .about-section { padding: 85px 20px; }
  .about-portrait { height: 520px; }
  .guidance-section { gap: 50px; }
  .seller-section { min-height: 720px; }
  .seller-overlay { background: linear-gradient(180deg, rgba(17,19,21,.88), rgba(17,19,21,.94)); }
  .seller-content { padding: 80px 0; }
  .documentation-section { padding: 85px 20px; gap: 50px; }
  .documentation-intro h2 { font-size: clamp(2.65rem,12vw,4.2rem); }
  .contact-section { grid-template-columns: 1fr; }
  .contact-action { grid-column: auto; }
  .site-footer { padding: 58px 20px 25px; grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .lead-modal { padding: 34px 22px; }
  .modal-progress { margin: -34px -22px 30px; }
  .lead-fields { grid-template-columns: 1fr; }
  .detail-header { height: 76px; padding: 0 14px; grid-template-columns: 1fr auto 1fr; gap: 9px; }
  .detail-header img { width: 165px; height: 54px; }
  .detail-back span { display: none; }
  .detail-header-contact { padding: 10px 9px; font-size: .58rem !important; text-align: center; }
  .carousel-stage { height: 500px; min-height: 0; }
  .carousel-counter { left: 14px; bottom: 17px; }
  .carousel-arrows { right: 14px; bottom: 12px; }
  .carousel-arrows button { width: 46px; height: 46px; }
  .carousel-thumbnails { padding: 9px 14px; }
  .carousel-thumbnails button { width: 76px; min-width: 76px; height: 54px; }
  .detail-gallery-empty { height: 480px; min-height: 0; padding: 12px; }
  .detail-content { padding: 50px 20px 85px; }
  .detail-content h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .detail-description { padding: 30px 24px; }
  .detail-specs { grid-template-columns: repeat(2,1fr); }
  .detail-specs span:nth-child(2) { border-right: 0; }
  .detail-specs span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .editor-header { padding: 0 18px; }
  .editor-header img { width: 160px; }
  .editor-header > span { display: none; }
  .editor-layout { grid-template-columns: 1fr; }
  .editor-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
  .editor-main { padding: 35px 18px; }
  .admin-row { grid-template-columns: 80px 1fr; }
  .admin-row > img, .admin-image-placeholder { width: 80px; height: 68px; }
  .admin-status { grid-column: 2; justify-self: start; }
  .whatsapp-float { min-width: 52px; width: 52px; padding: 8px; }
  .whatsapp-float > span { display: none; }
  .whatsapp-float b { width: 36px; }
}

@media (max-width: 430px) {
  .brand-link img { width: 180px; }
  .hero-media { height: 410px; }
  .hero-photo-secondary { width: 125px; height: 155px; }
  .broker-chip { width: 235px; }
  .broker-chip img { width: 58px; height: 68px; }
  .property-specs { grid-template-columns: repeat(2,1fr); }
  .property-footer { align-items: flex-start; flex-direction: column; }
  .portfolio-mosaic { height: 450px; }
  .documentation-options { grid-template-columns: 1fr; }
  .documentation-options button { min-height: 145px; }
  .documentation-cta { padding: 26px 22px; grid-template-columns: 1fr; }
  .documentation-cta a { justify-content: space-between; }
  .about-portrait { height: 470px; }
  .contact-action { min-height: 165px; }
  .footer-links, .footer-contact { grid-column: 1 / -1; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions button { width: 100%; }
  .carousel-stage { height: 370px; }
  .detail-header img { width: 145px; }
  .detail-header-contact { max-width: 82px; }
  .property-info-grid { grid-template-columns: 1fr; }
}
  .purchase-planner { padding: 24px 18px; }
  .planner-form, .planner-result { padding: 20px 16px; }
  .planner-numbers { grid-template-columns: 1fr; }
  .planner-numbers > div { min-height: 88px; }
  .planner-waiting { min-height: 300px; }
