/* =========================================================
   Navaprime Properties — styles
   ========================================================= */
:root {
  --brick: #b5502b;
  --brick-deep: #8e3b1e;
  --gold: #e7b43a;
  --gold-deep: #c9952a;
  --ink: #1c1f22;
  --ink-2: #2a2f33;
  --text: #3b4146;
  --muted: #6b7278;
  --stone: #faf7f2;
  --sand: #f1ebe1;
  --line: #e3dbcf;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px -12px rgba(28, 31, 34, 0.25);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--stone); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
picture { display: contents; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 700; color: var(--brick); margin-bottom: .8em; }
.eyebrow--light { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .95em 1.6em; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .65em 1.2em; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--brick { background: var(--brick); color: #fff; }
.btn--brick:hover { background: var(--brick-deep); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-deep); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.link { color: var(--brick); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); transition: background .3s, box-shadow .3s; color: #fff; }
.header.is-solid { background: rgba(28,31,34,.94); backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--serif); font-size: 1.3rem; letter-spacing: .06em; font-weight: 700; }
.brand__text small { font-size: .6rem; letter-spacing: .42em; font-weight: 700; color: var(--gold); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .93rem; opacity: .9; }
.nav a:not(.btn):hover { opacity: 1; color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; animation: heroZoom 24s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,24,.6) 0%, rgba(20,22,24,.3) 30%, rgba(20,22,24,.88) 100%), linear-gradient(90deg, rgba(20,22,24,.55) 0%, rgba(20,22,24,0) 70%); }
.hero__content { position: relative; padding: calc(var(--header-h) + 60px) 0 56px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 7vw, 5.2rem); max-width: 12ch; font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero__lead { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 56ch; opacity: .92; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 44px; }
.hero__facts { list-style: none; padding: 22px 0 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border-top: 1px solid rgba(255,255,255,.22); max-width: 760px; }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: #fff; line-height: 1.1; }
.hero__facts span { font-size: .82rem; opacity: .8; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 110px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: #c9cdd0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 720px; margin-bottom: 44px; }
.section__head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__head h2 { margin-bottom: 0; }
.section__note { max-width: 34ch; margin: 0; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service--feature { background: var(--ink); border-color: var(--ink); color: #c9cdd0; }
.service--feature h3 { color: #fff; }
.service--feature .link { color: var(--gold); }
.service__icon { width: 54px; height: 54px; border-radius: 14px; background: rgba(181,80,43,.1); display: grid; place-items: center; margin-bottom: 20px; }
.service--feature .service__icon { background: rgba(231,180,58,.15); }
.service__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--brick); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service--feature .service__icon svg { stroke: var(--gold); }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: var(--white); color: var(--ink); padding: .55em 1.1em; border-radius: 999px; font-weight: 600; font-size: .88rem; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters__empty { text-align: center; padding: 30px; }

/* ---------- Featured ---------- */
.featured { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 32px; }
.featured__media { position: relative; min-height: 420px; }
.featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured__body { padding: clamp(28px, 4vw, 52px); }
.featured__body h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.featured__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.specs { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.specs li { background: var(--stone); padding: 14px 16px; display: flex; flex-direction: column; }
.specs span { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.specs strong { color: var(--ink); font-size: 1.05rem; }
.specs__wide { grid-column: 1 / -1; }

.badge { position: absolute; top: 14px; left: 14px; background: rgba(28,31,34,.85); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .45em .9em; border-radius: 999px; backdrop-filter: blur(4px); }
.badge--gold { background: var(--gold); color: var(--ink); }
.badge--brick { background: var(--brick); }

/* ---------- Listing cards ---------- */
.listings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card[hidden] { display: none; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card__project { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brick); font-weight: 700; margin-bottom: .4em; }
.card h3 { font-size: 1.2rem; }
.card__meta { list-style: none; padding: 0; margin: 4px 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.card__meta li { background: var(--sand); font-size: .8rem; font-weight: 600; padding: .3em .75em; border-radius: 6px; color: var(--ink-2); }
.card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-weight: 800; color: var(--ink); }
.card--soon { grid-column: span 2; background: var(--brick); border-color: var(--brick); color: #f6e3da; }
.card__soon { padding: 32px 28px; display: flex; flex-direction: column; align-items: flex-start; height: 100%; justify-content: center; }
.card__soon img { filter: brightness(0) invert(1); opacity: .9; margin-bottom: 18px; }
.card__soon h3 { color: #fff; font-size: 1.7rem; }

/* ---------- Build ---------- */
.build { background: var(--ink); color: #c9cdd0; overflow: hidden; }
.build h2 { color: #fff; }
.build__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.build__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.build__media img { width: 100%; height: 100%; object-fit: cover; }
.build__play { position: absolute; left: 18px; bottom: 18px; border: 0; background: #fff; color: var(--ink); font-weight: 700; border-radius: 999px; padding: .6em 1.2em .6em .6em; display: inline-flex; align-items: center; gap: .7em; box-shadow: var(--shadow); }
.build__play span { width: 38px; height: 38px; border-radius: 50%; background: var(--brick); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.checks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.checks li { padding-left: 34px; position: relative; color: #e5e7e9; }
.checks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%231c1f22' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.step__num { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--brick); line-height: 1; display: block; margin-bottom: 16px; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 48px; right: -18px; width: 14px; height: 2px; background: var(--brick); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 12px; }
.gallery__item { padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: #333; cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.gallery__item:hover img { transform: scale(1.06); opacity: .9; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.why__item { padding: 28px 24px 8px 0; }
.why__item + .why__item { padding-left: 24px; border-left: 1px solid var(--line); }
.why__item h3 { font-size: 1.2rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__list span { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--muted); padding-top: 3px; }
.contact__list a, .contact__list address, .contact__list p { color: var(--ink); font-weight: 600; text-decoration: none; margin: 0; }
.contact__list a:hover { color: var(--brick); }
.form { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.form h3 { margin: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--ink); }
.form input, .form select, .form textarea { font: inherit; font-weight: 500; padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 10px; background: var(--stone); color: var(--ink); width: 100%; min-width: 0; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brick); background: #fff; }
.form input.is-invalid { border-color: #c62828; }
.form__note { font-size: .8rem; color: var(--muted); margin: 0; text-align: center; }
.form__error { color: #c62828; font-weight: 600; font-size: .9rem; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: #141618; color: #9aa0a5; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-family: var(--sans); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__tag { margin-top: 16px; max-width: 36ch; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #2a2e31; margin-top: 48px; padding-top: 22px; font-size: .82rem; }
.footer__base p { margin: 0; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #33383c; display: grid; place-items: center; }
.socials a:hover { border-color: var(--gold); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 40; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; background: rgba(10,11,12,.92); z-index: 100; display: grid; place-items: center; padding: 56px 16px 16px; }
.modal[hidden] { display: none; }
.modal__content { max-width: min(1100px, 100%); max-height: 100%; display: grid; place-items: center; }
.modal__content img, .modal__content video { max-height: calc(100svh - 90px); max-width: 100%; border-radius: 10px; }
.modal__close { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; width: 48px; height: 48px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero__img { animation: none; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .listings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: 8px 16px 20px; transform: translateY(-120%); transition: transform .3s ease; box-shadow: 0 12px 24px rgba(0,0,0,.3); }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid #2f3438; }
  .nav__cta { margin-top: 14px; }
  .header.menu-open { background: var(--ink); }
  .services__grid, .build__grid, .contact, .featured { grid-template-columns: 1fr; }
  .featured__media { min-height: 0; aspect-ratio: 4 / 3; }
  .build__media { aspect-ratio: 4 / 3; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listings, .steps, .why__grid { grid-template-columns: 1fr; }
  .card--soon { grid-column: auto; }
  .why__item, .why__item + .why__item { padding: 22px 0 6px; border-left: 0; border-bottom: 1px solid var(--line); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .form__row { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
  .hero__actions .btn { flex: 1; }
  .section__head--split .filters { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .chip { flex: 0 0 auto; }
}
