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

:root {
  --ink: #102b27;
  --ink-soft: #21423d;
  --sand: #f5f0e7;
  --paper: #fbfaf7;
  --gold: #b8893b;
  --gold-dark: #8a6227;
  --orange: #ed6c2f;
  --text: #1c2927;
  --muted: #65736f;
  --line: #dcded8;
  --white: #fff;
  --shadow: 0 20px 60px rgba(16, 43, 39, .10);
  --radius: 1.15rem;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--paper); font: 400 1rem/1.65 'DM Sans', sans-serif; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Manrope', sans-serif; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.55rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-head h2 { max-width: 750px; margin-bottom: 0; }
.section-head p { max-width: 520px; color: var(--muted); margin-bottom: 0; }
.eyebrow { margin-bottom: .75rem; color: var(--gold-dark); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.review-bar { padding: .42rem 1rem; color: white; background: #7d4b16; text-align: center; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.skip-link { position: fixed; z-index: 999; left: 1rem; top: -5rem; padding: .7rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(16, 43, 39, .08); background: rgba(251, 250, 247, .93); backdrop-filter: blur(16px); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 2rem; }
.brand img { width: 142px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 1.45rem; margin-left: auto; }
.desktop-nav a { text-decoration: none; font-size: .88rem; font-weight: 600; }
.desktop-nav a:hover { color: var(--gold-dark); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.15rem; border: 1px solid var(--ink); border-radius: 999px; color: white; background: var(--ink); text-decoration: none; font-weight: 700; cursor: pointer; }
.button:hover { background: var(--ink-soft); }
.button-outline { color: var(--ink); background: transparent; }
.button-outline:hover { color: white; }
.button-light { color: var(--ink); border-color: white; background: white; }
.button-small { min-height: 42px; padding: .58rem 1rem; font-size: .86rem; }
.header-contact-mobile { display: none; }
.menu-toggle, .mobile-menu { display: none; }
.hero { position: relative; overflow: hidden; color: white; background: var(--ink); }
.hero::after { content: ''; position: absolute; inset: 0 0 0 48%; background: linear-gradient(90deg, var(--ink), transparent 35%), url('/assets/properties/riio-hero.jpg') center/cover; opacity: .56; }
.hero-inner { position: relative; z-index: 1; min-height: 720px; padding-block: clamp(5rem, 10vw, 9rem); display: flex; flex-direction: column; justify-content: center; }
.hero-copy { max-width: 830px; }
.hero h1 { max-width: 790px; margin-bottom: 1.35rem; }
.hero-copy > p { max-width: 650px; color: rgba(255,255,255,.8); font-size: clamp(1.03rem, 2vw, 1.3rem); }
.search-box { max-width: 850px; margin-top: 2.2rem; padding: .7rem; display: grid; grid-template-columns: 1fr auto; gap: .6rem; border-radius: 999px; background: white; box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.search-box input { min-width: 0; padding: 0 1.15rem; border: 0; outline: 0; color: var(--text); background: transparent; }
.intent-chips { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.intent-chips button { padding: .58rem .9rem; border: 1px solid rgba(255,255,255,.26); border-radius: 999px; color: white; background: rgba(255,255,255,.08); cursor: pointer; }
.intent-chips button:hover { background: rgba(255,255,255,.16); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.property-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 8px 30px rgba(16,43,39,.05); }
.property-card[hidden] { display: none; }
.property-image { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; }
.property-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.property-card:hover .property-image img { transform: scale(1.035); }
.property-status { position: absolute; left: .8rem; top: .8rem; padding: .35rem .58rem; border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.92); font-size: .7rem; font-weight: 700; }
.property-content { padding: 1.25rem; }
.property-content h3 { margin-bottom: .8rem; }
.property-facts { min-height: 1.7rem; color: var(--muted); font-size: .92rem; }
.property-price { margin-bottom: 1rem; font-weight: 700; }
.property-price small { display: block; color: var(--muted); font-size: .72rem; font-weight: 500; }
.text-link { color: var(--ink); text-underline-offset: .25rem; font-weight: 700; }
.empty-results { margin-top: 1.5rem; color: var(--muted); }
.moments-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.moment-card { min-height: 250px; padding: 1.5rem; display: flex; flex-direction: column; justify-content: end; border-radius: var(--radius); color: white; background: var(--ink); text-decoration: none; }
.moment-card:nth-child(2) { background: #74552d; }
.moment-card:nth-child(3) { background: #395b56; }
.moment-card:nth-child(4) { background: #4e6662; }
.moment-card:nth-child(5) { color: var(--ink); background: #f3b643; }
.moment-card p { margin-bottom: 0; opacity: .8; font-size: .9rem; }
.region-grid, .builder-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.region-card { min-height: 180px; padding: 1.25rem; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius); background: white; text-decoration: none; }
.region-card span { color: var(--gold-dark); font-weight: 700; }
.region-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.builder-grid a { padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; text-align: center; text-decoration: none; font: 700 1.2rem 'Manrope', sans-serif; }
.split-feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 550px; }
.split-copy { padding: clamp(3rem, 7vw, 7rem); display: flex; flex-direction: column; align-items: start; justify-content: center; }
.split-copy p { max-width: 560px; }
.split-image { min-height: 420px; background: center/cover no-repeat; }
.bora { color: #1f2140; background: #ffd64f; }
.bora .split-image { background-image: linear-gradient(135deg, rgba(24,35,86,.1), rgba(255,214,79,.1)), url('/assets/properties/americas-19-hero.png'); }
.invest { color: white; background: var(--ink); }
.invest .split-image { background-image: url('/assets/properties/lumiere-hero.jpg'); }
.content-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1rem; }
.content-card { min-height: 250px; padding: 1.5rem; display: flex; flex-direction: column; justify-content: end; border: 1px solid var(--line); border-radius: var(--radius); background: white; text-decoration: none; }
.content-card:first-child { color: white; background: var(--ink); }
.content-card p { margin-bottom: 0; color: inherit; opacity: .75; }
.valuation { color: white; background: #765623; }
.valuation-inner, .advisor-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.advisor { background: var(--sand); }
.advisor-card { padding: 2rem; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.advisor-card strong { display: block; font: 700 1.35rem 'Manrope', sans-serif; }
.lead-form { display: grid; gap: 1rem; }
.lead-form h2 { font-size: 1.7rem; }
.lead-form label { display: grid; gap: .35rem; font-size: .82rem; font-weight: 700; }
.lead-form input { width: 100%; min-height: 48px; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--paper); }
.lead-form small { color: var(--muted); }
.faq-list { max-width: 900px; margin-inline: auto; }
.faq-list details { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.faq-list summary { font-weight: 700; cursor: pointer; }
.faq-list details p { margin: .8rem 0 0; color: var(--muted); }
.final-cta { padding: clamp(4rem, 8vw, 7rem) 0; color: white; background: var(--ink); text-align: center; }
.final-cta h2, .final-cta p { max-width: 800px; margin-inline: auto; }
.site-footer { padding: 4.5rem 0 1.5rem; color: rgba(255,255,255,.72); background: #091b18; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
.footer-logo { width: 175px; filter: brightness(0) invert(1); margin-bottom: 1.2rem; }
.site-footer h2 { color: white; font-size: 1rem; letter-spacing: 0; }
.site-footer nav, .site-footer .footer-grid > div:last-child { display: flex; flex-direction: column; align-items: start; gap: .45rem; }
.site-footer a { text-underline-offset: .2rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
.page-hero { padding: 6rem 0 3rem; background: var(--sand); }
.page-hero h1 { max-width: 850px; }
.property-detail-hero { position: relative; min-height: 70vh; display: flex; align-items: end; color: white; background: var(--ink); }
.property-detail-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.property-detail-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,27,24,.95), rgba(9,27,24,.08)); }
.property-detail-copy { position: relative; z-index: 1; padding-block: 5rem; }
.property-detail-copy h1 { margin-bottom: 1rem; }
.facts-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.facts-row span { padding: .55rem .8rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .header-contact { margin-left: auto; }
  .menu-toggle { width: 44px; height: 44px; padding: 10px; display: grid; align-content: center; gap: 5px; border: 0; background: transparent; }
  .menu-toggle span { height: 2px; display: block; background: var(--ink); }
  .mobile-menu { position: fixed; inset: 78px 0 0; z-index: 99; padding: 1.2rem; background: var(--paper); }
  .mobile-menu:not([hidden]) { display: flex; flex-direction: column; }
  .mobile-menu > a:not(.button) { padding: .9rem .2rem; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 1.2rem 'Manrope', sans-serif; }
  .mobile-menu .button { margin-top: 1.2rem; }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .moments-grid { grid-template-columns: repeat(2, 1fr); }
  .region-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .review-bar { font-size: .65rem; }
  .header-inner { min-height: 68px; }
  .brand img { width: 120px; }
  .header-contact { width: 42px; min-height: 42px; padding: 0; }
  .header-contact-label { display: none; }
  .header-contact-mobile { display: inline; color: white; font-size: .68rem; letter-spacing: .02em; }
  .mobile-menu { inset-block-start: 68px; }
  .section { padding: 4.2rem 0; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 1.6rem; }
  .hero::after { inset: 38% 0 0; background: linear-gradient(180deg, var(--ink), transparent 40%), url('/assets/properties/riio-hero.jpg') center/cover; opacity: .45; }
  .hero-inner { min-height: 690px; justify-content: start; padding-top: 4.3rem; }
  .search-box { grid-template-columns: 1fr; border-radius: 1rem; }
  .search-box input { min-height: 48px; }
  .search-box .button { width: 100%; }
  .property-grid, .region-grid, .builder-grid, .content-grid, .footer-grid { grid-template-columns: 1fr; }
  .property-grid { grid-auto-flow: column; grid-auto-columns: 87%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
  .property-card { scroll-snap-align: start; }
  .moments-grid { grid-template-columns: 1fr; }
  .moment-card { min-height: 190px; }
  .split-feature, .valuation-inner, .advisor-inner { grid-template-columns: 1fr; }
  .split-feature .split-image { order: -1; min-height: 300px; }
  .split-copy { padding: 3rem 1rem; }
  .footer-bottom { flex-direction: column; }
  .property-detail-hero { min-height: 78vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
