/* ==========================================================================
   Dream Land Properties — styles
   Layout inspired by blueproperties.com: white pages, deep-blue brand,
   card grids, bold section titles.
   ========================================================================== */

:root {
  --blue: #0a4bb5;
  --blue-2: #1565e0;
  --navy: #071d49;
  --navy-2: #0c2a66;
  --sky: #e9f1ff;
  --gold: #d6ae5a;
  --ink: #16213a;
  --muted: #5b6782;
  --line: #e2e8f3;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --green: #25d366;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 29, 73, .08);
  --shadow-lg: 0 24px 60px rgba(7, 29, 73, .16);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
svg.i { width: 1.1em; height: 1.1em; flex: none; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: 90px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #fff; }

/* ---------- section titles (Blue Properties style) ---------- */
.title { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.title--left { text-align: left; margin-left: 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--blue); font-weight: 600; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.title h2 { font-size: clamp(28px, 4vw, 42px); color: var(--navy); }
.title h2 span { color: var(--blue); }
.section--navy .title h2, .section--navy .title h2 span { color: #fff; }
.section--navy .kicker { color: var(--gold); }
.title p { color: var(--muted); margin-top: 14px; font-size: 16px; }
.section--navy .title p { color: rgba(255,255,255,.75); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 50px; border: 2px solid transparent;
  font-weight: 600; font-size: 14px; letter-spacing: .02em;
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(10, 75, 181, .3); }
.btn--blue:hover { background: var(--navy); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #e4c078; }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--wa { background: var(--green); color: #fff; }
.btn--sm { padding: 9px 18px; font-size: 13px; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.85); font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__info a { display: inline-flex; align-items: center; gap: 7px; }
.topbar__info a:hover, .social a:hover { color: var(--gold); }
.social { display: flex; gap: 14px; align-items: center; }
.social a { display: inline-flex; transition: color .2s; }

.header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 18px rgba(7,29,73,.07); }
.header .wrap { display: flex; align-items: center; gap: 28px; min-height: 82px; }
.logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.logo__mark { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; display: grid; place-items: center; flex: none; }
.logo__mark svg { width: 28px; height: 28px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__text b { font-size: 19px; letter-spacing: .06em; color: var(--navy); font-weight: 800; }
.logo__text small { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--blue); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav__drop > a { padding: 10px 14px; font-weight: 500; font-size: 15px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.nav > a:hover, .nav__drop:hover > a, .nav a.is-active { color: var(--blue); }
.nav a.is-active { font-weight: 600; }
.nav__drop { position: relative; }
.nav__drop > a::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.mega {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 10px);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 24px;
  display: grid; grid-template-columns: repeat(4, minmax(170px, 1fr)); gap: 24px;
  opacity: 0; visibility: hidden; transition: .25s; border-top: 3px solid var(--blue);
}
.nav__drop:hover .mega, .nav__drop:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin-bottom: 10px; }
.mega a { display: block; padding: 5px 0; font-size: 14px; color: var(--ink); }
.mega a:hover { color: var(--blue); padding-left: 4px; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; color: var(--navy); }
.burger svg { width: 24px; height: 24px; }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer__shade { position: absolute; inset: 0; background: rgba(7,29,73,.5); opacity: 0; transition: .3s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: #fff; padding: 24px; transform: translateX(100%); transition: .35s; overflow-y: auto; }
.drawer.is-open { visibility: visible; }
.drawer.is-open .drawer__shade { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { background: none; border: 0; float: right; width: 40px; height: 40px; color: var(--navy); }
.drawer nav { clear: both; display: flex; flex-direction: column; padding-top: 10px; }
.drawer nav > a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--navy); }
.drawer nav .sub { padding: 4px 0 10px 14px; border-bottom: 1px solid var(--line); }
.drawer nav .sub a { display: block; padding: 6px 0; font-size: 14px; color: var(--muted); }
.drawer .btn { margin-top: 20px; width: 100%; }

/* ---------- page banner ---------- */
.banner { position: relative; color: #fff; padding: 110px 0 90px; text-align: center; overflow: hidden; background: var(--navy); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,29,73,.55), rgba(7,29,73,.85)); }
.banner .wrap { position: relative; z-index: 1; }
.banner h1 { font-size: clamp(32px, 5vw, 54px); text-transform: uppercase; letter-spacing: .02em; }
.banner p { margin: 14px auto 0; max-width: 620px; color: rgba(255,255,255,.85); }
.crumbs { display: inline-flex; gap: 8px; margin-top: 18px; padding: 8px 18px; background: rgba(255,255,255,.12); border-radius: 50px; font-size: 13px; }
.crumbs a { color: var(--gold); }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: 640px; color: #fff; display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.hero video, .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,29,73,.92) 0%, rgba(7,29,73,.65) 55%, rgba(7,29,73,.35) 100%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .85fr; gap: 48px; align-items: center; padding: 80px 0; }
.hero__tag { display: inline-block; background: rgba(214,174,90,.15); color: var(--gold); border: 1px solid rgba(214,174,90,.4); padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; }
.hero h1 span { color: var(--gold); }
.hero__lede { font-size: 17px; color: rgba(255,255,255,.85); margin: 20px 0 30px; max-width: 560px; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__cities { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.hero__cities a { padding: 7px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 50px; font-size: 13px; transition: .2s; }
.hero__cities a:hover { background: #fff; color: var(--navy); }

.consult { background: #fff; color: var(--ink); border-radius: 18px; padding: 32px; box-shadow: var(--shadow-lg); }
.consult h3 { font-size: 22px; color: var(--navy); }
.consult > p { color: var(--muted); font-size: 14px; margin: 6px 0 20px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--navy); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 15px; font-weight: 400; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft); width: 100%;
  transition: border-color .2s, background .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.form .btn { width: 100%; }
.form__note { font-size: 13px; color: var(--blue); min-height: 1em; margin: 0; }

/* ---------- about / who we are ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: 20px; width: 100%; aspect-ratio: 4/3.4; object-fit: cover; box-shadow: var(--shadow-lg); }
.badge-years { position: absolute; right: -20px; bottom: -24px; background: var(--blue); color: #fff; border-radius: 18px; padding: 22px 26px; box-shadow: var(--shadow-lg); text-align: center; }
.badge-years b { display: block; font-size: 44px; line-height: 1; font-weight: 800; }
.badge-years span { font-size: 13px; opacity: .9; }
.prose p { color: var(--muted); font-size: 16px; }
.prose p.lead { color: var(--ink); font-size: 18px; font-weight: 500; }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.ticks li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sky); color: var(--blue); font-size: 12px; font-weight: 700; }

/* ---------- milestones ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 30px 16px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.stat__icon { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; background: rgba(214,174,90,.15); color: var(--gold); display: grid; place-items: center; }
.stat__icon svg { width: 26px; height: 26px; }
.stat b { display: block; font-size: 42px; font-weight: 800; line-height: 1.1; }
.stat span { color: rgba(255,255,255,.75); font-size: 14px; }

/* ---------- portfolio grid ---------- */
.portfolio { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.pf { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--navy); box-shadow: var(--shadow); }
.pf img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,29,73,.92)); }
.pf div { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: #fff; }
.pf b { display: block; font-size: 15px; line-height: 1.3; }
.pf small { color: var(--gold); font-size: 12px; }
.pf:hover img { transform: scale(1.08); }

/* ---------- city band ---------- */
.cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.city { position: relative; border-radius: 18px; overflow: hidden; min-height: 300px; color: #fff; display: flex; align-items: flex-end; padding: 22px; }
.city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.city::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,29,73,.1), rgba(7,29,73,.9)); z-index: 1; }
.city > div { position: relative; z-index: 2; }
.city h3 { font-size: 22px; }
.city p { margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,.8); }
.city .count { display: inline-block; margin-top: 12px; padding: 4px 12px; border-radius: 50px; background: var(--gold); color: var(--navy); font-size: 12px; font-weight: 700; }
.city:hover img { transform: scale(1.08); }

/* ---------- project cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__img { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__img img { transform: scale(1.06); }
.card__tag { position: absolute; top: 14px; left: 14px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 50px; }
.card__tag--gold { left: auto; right: 14px; background: var(--gold); color: var(--navy); }
.card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 19px; color: var(--navy); }
.card__loc { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 14px; margin: 8px 0 16px; }
.card__loc svg { color: var(--blue); }
.card__prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); margin-bottom: 18px; }
.card__prices small { display: block; color: var(--muted); font-size: 12px; }
.card__prices b { color: var(--blue); font-size: 16px; }
.card__btns { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card__btns .btn { padding: 11px 10px; }

/* ---------- CTA band ---------- */
.cta { background: linear-gradient(120deg, var(--blue), var(--navy)); color: #fff; border-radius: 24px; padding: 54px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -120px; top: -160px; background: rgba(255,255,255,.07); }
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cta p { color: rgba(255,255,255,.8); margin: 12px 0 0; }
.cta__side { display: grid; gap: 14px; justify-items: start; position: relative; z-index: 1; }
.cta__phone { font-size: 22px; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- best seller ---------- */
.best { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.best__img { position: relative; min-height: 420px; }
.best__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.best__ribbon { position: absolute; top: 22px; left: 0; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 13px; padding: 8px 18px 8px 22px; border-radius: 0 50px 50px 0; }
.best__body { padding: 44px; }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 18px; }
.best__body h3 { font-size: 30px; color: var(--navy); margin: 8px 0 6px; }
.amen { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 28px; }
.amen div { display: flex; gap: 10px; align-items: flex-start; background: var(--bg-soft); border-radius: 12px; padding: 12px; font-size: 14px; }
.amen svg { color: var(--blue); margin-top: 3px; }
.best__price { display: flex; gap: 28px; margin-bottom: 26px; }
.best__price small { display: block; color: var(--muted); font-size: 12px; }
.best__price b { font-size: 22px; color: var(--blue); }

/* ---------- updates ---------- */
.updates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.update { display: flex; gap: 18px; background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); align-items: center; transition: transform .3s; }
.update:hover { transform: translateY(-4px); }
.update img { width: 110px; height: 90px; object-fit: cover; border-radius: 10px; flex: none; }
.update small { color: var(--blue); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.update h4 { font-size: 16px; color: var(--navy); margin: 4px 0; }
.update p { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- values (about) ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value { background: #fff; border-radius: 18px; padding: 30px 24px; box-shadow: var(--shadow); border-bottom: 4px solid var(--blue); transition: transform .3s; }
.value:hover { transform: translateY(-6px); }
.value__letter { width: 58px; height: 58px; border-radius: 14px; background: var(--sky); color: var(--blue); display: grid; place-items: center; font-size: 26px; font-weight: 800; margin-bottom: 18px; }
.value h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 14px; margin: 0; }

.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.area { text-align: center; padding: 28px 16px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; }
.area svg { width: 34px; height: 34px; color: var(--gold); margin: 0 auto 10px; }
.area h3 { font-size: 18px; }

/* ---------- projects page ---------- */
.jump { position: sticky; top: 82px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px rgba(7,29,73,.05); }
.jump .wrap { display: flex; gap: 10px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.jump .wrap::-webkit-scrollbar { display: none; }
.jump a { padding: 8px 16px; border-radius: 50px; background: var(--bg-soft); font-size: 14px; font-weight: 500; white-space: nowrap; transition: .2s; border: 1px solid var(--line); }
.jump a:hover, .jump a.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }

.city-head { display: flex; align-items: center; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.city-head__num { width: 64px; height: 64px; border-radius: 16px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 800; flex: none; }
.city-head h2 { font-size: clamp(28px, 4vw, 40px); color: var(--navy); }
.city-head p { margin: 4px 0 0; color: var(--muted); max-width: 760px; }

.proj { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 36px; margin-bottom: 36px; border: 1px solid var(--line); }
.proj__top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; }
.gallery__main { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: var(--bg-soft); cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main::after { content: "Click to enlarge"; position: absolute; right: 12px; bottom: 12px; background: rgba(7,29,73,.75); color: #fff; font-size: 12px; padding: 5px 12px; border-radius: 50px; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; }
.gallery__thumbs button { flex: none; width: 82px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--bg-soft); }
.gallery__thumbs button.is-active { border-color: var(--blue); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.proj__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.proj__tags span { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 50px; background: var(--sky); color: var(--blue); }
.proj__info h3 { font-size: clamp(24px, 3vw, 32px); color: var(--navy); }
.proj__sub { color: var(--blue); font-weight: 500; margin: 4px 0 18px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.facts div { background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; }
.facts small { display: block; font-size: 12px; color: var(--muted); }
.facts b { font-size: 15px; color: var(--navy); }
.facts b.price { color: var(--blue); font-size: 18px; }
.proj .ticks { grid-template-columns: 1fr; }
.proj__btns { display: flex; gap: 12px; flex-wrap: wrap; }

.proj__plans { margin-top: 34px; }
.tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.tabs button { border: 1px solid var(--line); background: #fff; border-radius: 50px; padding: 8px 18px; font-size: 14px; font-weight: 600; color: var(--muted); }
.tabs button.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.plan-title { font-size: 18px; color: var(--navy); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.plan-title::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: var(--blue); }
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); }
.ptable { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.ptable th { background: var(--navy); color: #fff; text-align: left; padding: 13px 14px; font-weight: 600; font-size: 13px; vertical-align: bottom; }
.ptable th small { display: block; font-weight: 400; opacity: .75; font-size: 11px; }
.ptable td { padding: 13px 14px; border-top: 1px solid var(--line); white-space: nowrap; }
.ptable tbody tr:nth-child(even) { background: var(--bg-soft); }
.ptable td:first-child { font-weight: 700; color: var(--navy); }
.ptable td.total, .ptable td.disc { color: var(--blue); font-weight: 700; }
.notes { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }

.proj__video { margin-top: 30px; display: grid; grid-template-columns: 1fr; gap: 12px; }
.proj__video h4 { font-size: 16px; color: var(--navy); }
.proj__video video { width: 100%; border-radius: 16px; background: #000; max-height: 560px; }
.proj__video.is-portrait video { max-width: 360px; }

/* calculator */
.calc { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.calc__controls { background: var(--navy); color: #fff; padding: 36px; }
.calc__controls .form label { color: rgba(255,255,255,.8); }
.calc__controls .form select { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.calc__controls .form select option { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; padding: 7px 14px; border-radius: 50px; font-size: 13px; }
.chip.is-active { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 600; }
.calc__result { padding: 36px; }
.calc__total { font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--navy); line-height: 1.1; }
.calc__label { color: var(--muted); font-size: 13px; }
.calc__rows { margin: 24px 0; display: grid; gap: 0; }
.calc__row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 14px; align-items: center; }
.calc__row .times { color: var(--muted); font-size: 13px; }
.calc__row b { color: var(--blue); }

/* ---------- contact page ---------- */
.callouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: -60px; position: relative; z-index: 2; }
.callout { background: #fff; border-radius: 18px; padding: 30px; box-shadow: var(--shadow-lg); text-align: center; transition: transform .3s; }
.callout:hover { transform: translateY(-6px); }
.callout__icon { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.callout__icon svg { width: 26px; height: 26px; }
.callout h3 { font-size: 17px; color: var(--navy); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
.callout p { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
.callout b { color: var(--blue); }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.panel { background: #fff; border-radius: 22px; padding: 38px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.panel h2 { font-size: 26px; color: var(--navy); margin-bottom: 6px; }
.panel > p { color: var(--muted); }
.office { background: var(--navy); color: #fff; border: 0; }
.office h2 { color: #fff; }
.office ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 18px; }
.office li { display: flex; gap: 14px; }
.office li svg { color: var(--gold); width: 22px; height: 22px; flex: none; margin-top: 2px; }
.office li small { display: block; color: rgba(255,255,255,.6); font-size: 12px; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 70px 0 0; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .logo__text b { color: #fff; }
.footer .logo__text small { color: var(--gold); }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--gold); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--gold); }
.footer__contact li { display: flex; gap: 10px; }
.footer__contact svg { color: var(--gold); margin-top: 4px; }
.footer .social { margin-top: 18px; }
.footer .social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.footer .social a:hover { background: var(--gold); color: var(--navy); }
.footer__bar { margin-top: 50px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ---------- floating + lightbox ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45); transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.to-top { position: fixed; right: 30px; bottom: 92px; z-index: 60; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; border: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .3s; }
.to-top.is-on { opacity: 1; visibility: visible; }
.to-top svg { transform: rotate(-90deg); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(4,14,36,.94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.lightbox button:hover { background: var(--blue); }
.lightbox svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; } .lb-prev svg { transform: rotate(180deg); }
.lb-next { right: 14px; top: 50%; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header .header__cta { display: none; }
  .burger { display: grid; place-items: center; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cities, .values, .areas { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .hero .wrap, .split, .cta, .best, .proj__top, .calc, .contact-grid { grid-template-columns: 1fr; }
  .hero .wrap { padding: 60px 0; }
  .split { gap: 48px; }
  .badge-years { right: 12px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .updates { grid-template-columns: 1fr; }
  .callouts { grid-template-columns: 1fr; margin-top: -40px; }
  .cta { padding: 36px 26px; }
  .best__img { min-height: 280px; }
  .best__body, .proj, .panel, .calc__controls, .calc__result { padding: 26px 20px; }
  .jump { top: 70px; }
  .header .wrap { min-height: 70px; }
}
@media (max-width: 600px) {
  .topbar__info a.hide-sm, .topbar .social { display: none; }
  .cards, .cities, .values, .areas, .footer__grid, .form__row, .ticks, .amen { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .portfolio { grid-template-columns: 1fr 1fr; gap: 12px; }
  .logo__text b { font-size: 16px; }
  .logo__mark { width: 40px; height: 40px; }
  .stat b { font-size: 34px; }
  .lightbox { padding: 60px 10px; }
  .update img { width: 84px; height: 76px; }
}

/* keep grid children from stretching past narrow screens */
.proj__top > *, .split > *, .contact-grid > *, .calc > *, .hero .wrap > * { min-width: 0; }
.stat b span { font-size: inherit; color: inherit; }

/* brand logo image */
.logo__img { height: 70px; width: auto; display: block; }
.footer .logo__img { height: 84px; }
@media (max-width: 900px) { .logo__img { height: 52px; } }
