/* ============================================================
   Hamza Zulfiqar Ali: UAE Real Estate
   Palette: navy #000080 + white
   ============================================================ */
:root {
  --navy: #000080;
  --navy-900: #00002e;
  --navy-800: #00004f;
  --navy-700: #000066;
  --navy-600: #1a1a99;
  --navy-100: #e4e5f7;
  --navy-50: #f3f4fc;
  --ink: #12123a;
  --muted: #5a5c80;
  --line: #dfe1f0;
  --white: #fff;
  --ok: #0a7d4f;
  --warn: #a15c00;
  --bad: #b3261e;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 90, .07);
  --shadow: 0 14px 40px rgba(0, 0, 90, .13);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--navy-900); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #6b6bff; outline-offset: 2px; border-radius: 4px; }
.icon { flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; justify-content: center; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0 clamp(56px, 7vw, 88px); }
.section-tint { background: var(--navy-50); }
.section-navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-800) 100%); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255, 255, 255, .82); }

.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); margin: 0 0 .9rem; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.eyebrow-light { color: rgba(255, 255, 255, .85); }
.lead { font-size: 1.12rem; color: var(--muted); }
.prose-p { color: #34355a; }

.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); }
.section-navy .section-head p { color: rgba(255, 255, 255, .8); }
.section-head .eyebrow { justify-content: center; }
.section-head-row { max-width: none; margin: 0 0 36px; text-align: left; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row .eyebrow { justify-content: flex-start; }
.section-head-row > div { max-width: 720px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--navy); color: var(--white); border: 2px solid var(--navy); padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s; text-decoration: none !important; line-height: 1.2; }
.btn:hover { background: var(--navy-700); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: var(--navy-100); color: var(--navy); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: var(--white); border-color: rgba(255, 255, 255, .7); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-wa { background: #128c4a; border-color: #128c4a; }
.btn-wa:hover { background: #0e7239; }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-block { width: 100%; margin-top: 10px; }
.btn[disabled] { opacity: .65; cursor: progress; }
.row-gap { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); transition: background .25s, box-shadow .25s; background: linear-gradient(to bottom, rgba(0, 0, 40, .55), transparent); }
.site-header.is-solid, .site-header.menu-open { background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line), var(--shadow-sm); }
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none !important; }
.brand-mark { width: 44px; height: 44px; border-radius: 11px; background: var(--white); color: var(--navy); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; flex: none; }
.brand-logo { display: grid; place-items: center; background: var(--white); border-radius: 11px; padding: 4px 8px; height: 48px; flex: none; }
.brand-logo img { height: 100%; width: auto; max-width: 160px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; }
.brand-text small { font-size: .7rem; letter-spacing: .06em; opacity: .8; }
.is-solid .brand, .menu-open .brand { color: var(--navy); }
.is-solid .brand-mark, .menu-open .brand-mark { background: var(--navy); color: var(--white); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--white); font-weight: 600; font-size: .9rem; padding: 8px 12px; border-radius: 8px; text-decoration: none; position: relative; white-space: nowrap; }
.nav a:not(.btn):hover { background: rgba(255, 255, 255, .14); }
.nav a.is-active:not(.btn)::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: currentColor; }
.is-solid .nav a:not(.btn) { color: var(--navy-900); }
.is-solid .nav a:not(.btn):hover { background: var(--navy-50); }
.nav-cta { margin-left: 8px; background: var(--white); color: var(--navy); border-color: var(--white); }
.is-solid .nav-cta { background: var(--navy); color: var(--white); border-color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; border-radius: 8px; }
.is-solid .nav-toggle, .menu-open .nav-toggle { color: var(--navy); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 12px 20px 24px; gap: 2px; box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .2s; max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { color: var(--navy-900) !important; padding: 14px 12px; font-size: 1rem; border-bottom: 1px solid var(--navy-50); }
  .nav a.is-active:not(.btn)::after { display: none; }
  .nav-cta { margin: 14px 0 0; background: var(--navy) !important; color: var(--white) !important; border-color: var(--navy) !important; }
}

/* ---------- page banner (inner pages) ---------- */
.page-banner { background: linear-gradient(135deg, var(--navy-900), var(--navy) 70%); color: var(--white); padding: calc(var(--header-h) + 44px) 0 48px; position: relative; overflow: hidden; }
.page-banner::after { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 240px at 90% 0%, rgba(255, 255, 255, .12), transparent); pointer-events: none; }
.page-banner h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: .3em; max-width: 900px; }
.banner-lead { color: rgba(255, 255, 255, .82); max-width: 720px; margin: 0; font-size: 1.05rem; }
.crumbs { display: flex; gap: 8px; font-size: .82rem; color: rgba(255, 255, 255, .7); margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a { color: rgba(255, 255, 255, .9); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--navy-900); }
.hero-media { position: absolute; inset: 0; }
.hero-media .skyline, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0, 0, 60, .86) 0%, rgba(0, 0, 100, .55) 45%, rgba(0, 0, 60, .25) 100%), linear-gradient(to top, rgba(0, 0, 40, .75), transparent 45%); }
.hero-content { position: relative; padding: calc(var(--header-h) + 40px) 0 130px; }
.hero h1 { color: var(--white); max-width: 15ch; font-size: clamp(2.5rem, 6.4vw, 5rem); margin-bottom: .35em; text-wrap: balance; }
.hero-sub { max-width: 620px; font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, .88); margin-bottom: 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.4rem; }
.hero-search { display: flex; gap: 10px; background: rgba(255, 255, 255, .97); padding: 12px; border-radius: 18px; max-width: 860px; box-shadow: var(--shadow); align-items: end; flex-wrap: wrap; }
.hero-search label { display: flex; flex-direction: column; gap: 3px; flex: 1 1 130px; min-width: 120px; }
.hero-search label.grow { flex: 2 1 200px; }
.hero-search span { font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); padding-left: 4px; }
.hero-search select, .hero-search input { border: 0; background: var(--navy-50); border-radius: 10px; padding: 12px; color: var(--ink); min-height: 46px; width: 100%; }
.hero-search .btn { min-height: 46px; padding-inline: 26px; }

/* skyline animation */
.skyline .stars circle { animation: twinkle 4s ease-in-out infinite; }
.skyline .stars .s1 { animation-delay: 1.3s; } .skyline .stars .s2 { animation-delay: 2.4s; }
.skyline .windows rect { opacity: .0; animation: win 6s ease-in-out infinite; }
.skyline .windows .w0 { animation-delay: 0s; } .skyline .windows .w1 { animation-delay: 1.5s; } .skyline .windows .w2 { animation-delay: 3s; } .skyline .windows .w3 { animation-delay: 4.5s; }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes win { 0%, 100% { opacity: 0; } 30%, 70% { opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .skyline * { animation: none !important; } .skyline .windows rect { opacity: .5; } html { scroll-behavior: auto; } }

/* ---------- trust strip ---------- */
.trust { position: relative; z-index: 2; margin-top: -64px; }
.trust-grid { background: var(--white); border-radius: 18px; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px 10px; }
.trust-grid div { text-align: center; padding: 6px 12px; border-right: 1px solid var(--line); }
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 2.8rem); color: var(--navy); line-height: 1.1; }
.trust-grid span { font-size: .85rem; color: var(--muted); font-weight: 600; }
@media (max-width: 720px) { .trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 18px; } .trust-grid div:nth-child(2) { border-right: 0; } .hero-content { padding-bottom: 110px; } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(280px, 5fr) 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-photo { position: relative; }
.about-photo img, .photo-fallback { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.photo-fallback { background: linear-gradient(160deg, var(--navy), var(--navy-900)); display: grid; place-items: center; }
.photo-fallback span { font-family: var(--serif); color: rgba(255, 255, 255, .9); font-size: 6rem; font-weight: 700; }
.exp-badge { position: absolute; right: -14px; bottom: 28px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 20px; display: flex; align-items: center; gap: 12px; }
.exp-badge strong { font-family: var(--serif); font-size: 2.4rem; color: var(--navy); line-height: 1; }
.exp-badge span { font-size: .8rem; font-weight: 600; color: var(--muted); line-height: 1.3; }
.checks { display: grid; gap: 12px; margin: 1.4rem 0; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: #2c2d52; font-weight: 500; }
.checks li .icon { color: var(--navy); margin-top: 3px; background: var(--navy-100); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }
.checks.two-col { grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 420px; } .checks.two-col { grid-template-columns: 1fr; } .exp-badge { right: 10px; } }

.facts { display: grid; gap: 0; margin: 1.6rem 0; border-top: 1px solid var(--line); }
.facts > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-weight: 600; font-size: .92rem; } .facts dd { margin: 0; font-weight: 700; text-align: right; }
.facts-grid { grid-template-columns: 1fr 1fr; column-gap: 40px; }
@media (max-width: 640px) { .facts-grid { grid-template-columns: 1fr; } }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.card.pad { padding: 28px; }

.icon-wrap { width: 56px; height: 56px; border-radius: 14px; background: var(--navy); color: var(--white); display: grid; place-items: center; margin-bottom: 18px; }
.icon-wrap-light { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); }
.service-card { padding: 28px; display: flex; flex-direction: column; text-decoration: none !important; color: inherit; }
.service-card h3 { margin-bottom: .4em; }
.service-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.service-card .more { color: var(--navy); margin-top: 6px; }
.service-card:hover .icon-wrap { background: var(--navy-700); }
.why-card { padding: 8px 4px; }
.why-card h3 { font-size: 1.2rem; }
.why-card p { font-size: .95rem; }

/* services page */
.service-list { display: grid; gap: 0; }
.service-row { display: grid; grid-template-columns: 110px 1fr; gap: 28px; padding: 36px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 10px); }
.service-row:first-child { padding-top: 0; }
.service-head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.service-num { font-family: var(--serif); font-size: 1.6rem; color: var(--navy-100); font-weight: 700; -webkit-text-stroke: 1px var(--navy-600); color: transparent; }
.service-row h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
@media (max-width: 640px) { .service-row { grid-template-columns: 1fr; gap: 10px; } .service-head { flex-direction: row; align-items: center; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.steps li p { color: var(--muted); font-size: .95rem; margin: 0; }
.step-n { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 14px; opacity: .85; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- listings ---------- */
.listing-card { display: flex; flex-direction: column; }
.listing-media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--navy-100); }
.listing-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.listing-card:hover .listing-media img { transform: scale(1.05); }
.tag { position: absolute; top: 14px; left: 14px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.tag-navy { background: var(--navy); color: var(--white); }
.tag-status { left: auto; right: 14px; background: var(--white); color: var(--navy); }
.tag.static { position: static; display: inline-block; margin-bottom: 10px; }
.tag-soft { display: inline-block; background: var(--navy-100); color: var(--navy); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.listing-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.listing-price { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--navy); margin: 0; }
.listing-price small { font-family: var(--font); font-size: .8rem; color: var(--muted); font-weight: 600; }
.listing-body h3 { font-family: var(--font); font-size: 1.02rem; font-weight: 700; margin: 0; line-height: 1.35; }
.listing-body h3 a { color: var(--ink); }
.listing-loc { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; margin: 0; }
.listing-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); font-weight: 600; }
.listing-meta li { display: flex; align-items: center; gap: 6px; }
.listing-meta .icon { color: var(--navy); }

.filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 26px; align-items: end; }
.filters label { display: flex; flex-direction: column; gap: 5px; }
.filters label.grow { grid-column: span 2; }
.filters span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.filters select, .filters input { padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); min-height: 46px; width: 100%; }
.filter-actions { display: flex; gap: 10px; grid-column: span 3; justify-content: flex-end; }
@media (max-width: 900px) { .filters { grid-template-columns: repeat(2, 1fr); } .filter-actions { grid-column: 1 / -1; } .filters label.grow { grid-column: 1 / -1; } }
.result-count { color: var(--muted); margin-bottom: 18px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-top: 40px; }
.pager a { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; text-decoration: none; }
.pager a.is-active, .pager a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pager-nav.is-disabled { pointer-events: none; opacity: .35; }
.pager-gap { min-width: 20px; text-align: center; color: var(--muted); font-weight: 700; }
.empty { text-align: center; padding: 56px 20px; background: var(--navy-50); border-radius: var(--radius); }
.empty p { color: var(--muted); max-width: 480px; margin-inline: auto; }

/* property detail */
.prop-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
@media (max-width: 1000px) { .prop-grid { grid-template-columns: 1fr; } }
.gallery-main { border-radius: 18px; overflow: hidden; aspect-ratio: 3/2; background: var(--navy-100); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 10px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: none; opacity: .75; }
.gallery-thumbs button.is-active, .gallery-thumbs button:hover { border-color: var(--navy); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.prop-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin: 30px 0 18px; flex-wrap: wrap; }
.prop-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: .25em; }
.prop-price { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; color: var(--navy); margin: 0; white-space: nowrap; }
.prop-price small { font-family: var(--font); font-size: .85rem; color: var(--muted); margin-left: 4px; }
.prop-quick { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.prop-quick li { display: flex; align-items: center; gap: 10px; background: var(--navy-50); padding: 14px 20px; border-radius: 14px; }
.prop-quick .icon { color: var(--navy); } .prop-quick strong { font-size: 1.1rem; } .prop-quick span { color: var(--muted); font-size: .85rem; }
.prop-main h3 { margin-top: 1.8em; }
.sticky { position: sticky; top: calc(var(--header-h) + 18px); }
.side-price { font-weight: 800; color: var(--navy); font-size: 1.1rem; margin-bottom: 14px; }

/* ---------- developers ---------- */
.dev-toolbar { display: flex; flex-direction: column; gap: 16px; margin-bottom: 22px; }
.search input { width: 100%; max-width: 520px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); box-shadow: var(--shadow-sm); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.dev-toolbar .chips { justify-content: flex-start; }
.chips-left { justify-content: flex-start; margin-bottom: 30px; }
.chip { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--white); color: var(--navy-900); padding: 8px 16px; border-radius: 999px; font-size: .88rem; font-weight: 600; cursor: pointer; text-decoration: none !important; transition: .15s; }
.chip:hover, .chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.note-box { display: flex; gap: 12px; align-items: flex-start; background: var(--navy-50); border: 1px solid var(--navy-100); border-radius: 12px; padding: 14px 18px; font-size: .9rem; color: var(--muted); margin-bottom: 28px; }
.note-box .icon { color: var(--navy); margin-top: 2px; }
.dev-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .dev-grid { grid-template-columns: 1fr; } }
.dev-card { padding: 28px; scroll-margin-top: calc(var(--header-h) + 14px); }
.dev-card[hidden] { display: none; }
.dev-card.is-flash { box-shadow: 0 0 0 3px var(--navy); }
.dev-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.dev-head h2 { font-size: 1.5rem; margin: 0; }
.dev-meta { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
.dev-init { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: .9rem; letter-spacing: .04em; flex: none; }
.dev-init.lg { width: 64px; height: 64px; border-radius: 16px; font-size: 1.2rem; }
.dev-logo { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; border: 1px solid var(--line); padding: 6px; background: var(--white); }
.dev-tag { font-weight: 700; color: var(--navy); margin-bottom: .5em; }
.dev-desc { color: var(--muted); font-size: .95rem; }
.dev-stats { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.dev-stats > div { flex: 1 1 110px; background: var(--navy-50); border-radius: 12px; padding: 12px 14px; }
.dev-stats strong { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--navy); line-height: 1.1; }
.dev-stats strong.txt { font-family: var(--font); font-size: 1rem; line-height: 1.3; padding: 4px 0; }
.dev-stats span { font-size: .75rem; color: var(--muted); font-weight: 600; line-height: 1.3; display: block; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.dev-projects { border-top: 1px solid var(--line); padding-top: 8px; }
.dev-projects summary, .faq summary, .fees-edit summary, .schedule summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; padding: 12px 0; }
.dev-projects summary::-webkit-details-marker, .faq summary::-webkit-details-marker, .fees-edit summary::-webkit-details-marker, .schedule summary::-webkit-details-marker { display: none; }
details[open] > summary .icon { transform: rotate(180deg); }
summary .icon { transition: transform .2s; color: var(--navy); }
.dev-projects li { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.dev-projects li:last-child { border: 0; }
.dev-projects small { display: block; color: var(--muted); font-size: .8rem; }
.status { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; background: var(--navy-100); color: var(--navy); }
.status-delivered { background: #dcf5e8; color: #0a6b43; }
.status-under-construction { background: #fff0d1; color: #8a5200; }
.status-upcoming { background: var(--navy-100); color: var(--navy); }
.dev-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.ext { display: inline-flex; align-items: center; gap: 5px; font-size: .85rem; color: var(--muted); }
.dev-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.dev-chip { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-weight: 700; color: var(--navy-900); text-decoration: none !important; transition: .2s; }
.dev-chip:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.dev-chip img { width: 36px; height: 36px; object-fit: contain; }

/* ---------- calculator ---------- */
.calc-cta { background: linear-gradient(120deg, var(--navy-900), var(--navy) 65%, var(--navy-600)); color: var(--white); }
.calc-cta h2 { color: var(--white); } .calc-cta p { color: rgba(255, 255, 255, .82); }
.calc-cta-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .calc-cta-grid { grid-template-columns: 1fr; } }
.calc-mini { background: var(--white); color: var(--ink); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.calc-mini label { font-size: .8rem; font-weight: 700; color: var(--muted); display: block; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .07em; }
.calc-mini input { display: block; width: 100%; margin-top: 6px; font-size: 1.4rem; font-weight: 800; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); }
.calc-mini-out { background: var(--navy-50); border-radius: 14px; padding: 18px; }
.calc-mini-out span { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; }
.calc-mini-out strong { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--navy); }
.calc-mini-out small { color: var(--muted); }

.calc-layout { display: grid; grid-template-columns: 5fr 6fr; gap: 32px; align-items: start; }
@media (max-width: 960px) { .calc-layout { grid-template-columns: 1fr; } }
.calc-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 960px) { .calc-card { position: static; } }
.calc-card h2 { font-size: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field > span { font-size: .85rem; font-weight: 700; color: var(--navy-900); }
.field b { color: var(--navy); }
.field input[type=text], .field input[type=number], .field input[type=email], .field input[type=tel], .field input[type=date], .field input[type=search], .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #c9cce6; border-radius: 10px; background: var(--white); min-height: 46px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(0, 0, 128, .18); border-color: var(--navy); }
.field input[type=range] { width: 100%; accent-color: var(--navy); height: 28px; }
.hint { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.fees-edit { border-top: 1px solid var(--line); margin-top: 6px; }
.fees-edit .form-grid { margin-top: 10px; }
.calc-results { display: grid; gap: 20px; }
.calc-hero { background: linear-gradient(135deg, var(--navy), var(--navy-800)); color: var(--white); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.calc-hero span { font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.calc-hero strong { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.15; margin: 6px 0; }
.calc-hero small { opacity: .8; }
.calc-split { display: flex; gap: 28px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 24px; flex-wrap: wrap; }
.donut-wrap { position: relative; width: 150px; flex: none; }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut-center span { font-size: .7rem; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.donut-center strong { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); }
.legend { flex: 1; min-width: 220px; display: grid; gap: 10px; }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend li b { margin-left: auto; }
.legend .sum { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 700; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot.navy { background: var(--navy); } .dot.light { background: #dfe1f6; }
.calc-box { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; }
.calc-box h3 { font-size: 1.15rem; margin-bottom: .6em; }
.cost-table, .sched-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.cost-table td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.cost-table td:last-child { text-align: right; font-weight: 700; }
.cost-table .sum td { border-bottom: 0; font-size: 1.05rem; color: var(--navy); font-weight: 800; padding-top: 14px; }
.sched-table th, .sched-table td { padding: 8px 10px; text-align: right; border-bottom: 1px solid var(--line); } .sched-table th:first-child, .sched-table td:first-child { text-align: left; }
.sched-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table-scroll { overflow-x: auto; max-height: 360px; }
.ok { color: var(--ok); font-weight: 700; } .warn { color: var(--warn); font-weight: 700; } .bad { color: var(--bad); font-weight: 700; }
.calc-cta-box { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--navy-50); border-radius: 20px; padding: 22px 26px; flex-wrap: wrap; }
.calc-cta-box h3 { margin-bottom: .2em; } .calc-cta-box p { margin: 0; color: var(--muted); font-size: .92rem; }
.disclaimer { font-size: .78rem; color: var(--muted); }

/* ---------- blog ---------- */
.post-card { display: flex; flex-direction: column; }
.post-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--navy-100); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; } .post-card:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 1.22rem; } .post-body h3 a { color: var(--navy-900); }
.post-body p { color: var(--muted); font-size: .94rem; }
.post-body .more { margin-top: auto; }
.post-date { font-size: .78rem !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .5em !important; }
.post-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.post-cover { margin: 0 0 32px; position: relative; border-radius: 18px; overflow: hidden; }
.post-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-cover figcaption { position: absolute; right: 12px; bottom: 12px; background: rgba(0, 0, 60, .75); color: var(--white); font-size: .72rem; padding: 4px 10px; border-radius: 999px; }
.prose { font-size: 1.08rem; line-height: 1.8; color: #262748; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; } .prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; } .prose ul { list-style: disc; } .prose ol { list-style: decimal; } .prose li { margin-bottom: .4em; }
.prose img { border-radius: 14px; margin: 1.5em auto; height: auto; }
.prose blockquote { border-left: 4px solid var(--navy); margin: 1.5em 0; padding: .4em 0 .4em 1.2em; font-family: var(--serif); font-size: 1.25rem; color: var(--navy); }
.prose a { text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; } .prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.share { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 36px 0; padding: 18px 0; border-block: 1px solid var(--line); font-weight: 700; }
.share a { font-weight: 600; }
.author-box { display: flex; gap: 16px; align-items: center; background: var(--navy-50); border-radius: 16px; padding: 20px 24px; }
.author-box .brand-mark { background: var(--navy); color: var(--white); } .author-box p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { font-size: 1.05rem; padding: 20px 0; }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- contact & forms ---------- */
.contact-band { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .contact-band { grid-template-columns: 1fr; gap: 32px; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--white); color: var(--ink); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h2, .form-card h3 { color: var(--navy-900); }
.form-card p, .form-card .form-note { color: var(--muted); }
.form-note { font-size: .8rem; margin: 12px 0 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { margin: 12px 0 0; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: var(--ok); } .form-status.err { color: var(--bad); }
.alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 20px; }
.alert-ok { background: #dcf5e8; color: #0a5a39; border: 1px solid #a9e2c4; }
.contact-list { display: grid; gap: 14px; margin: 18px 0 0; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list .icon { color: var(--navy); }
.contact-list.light li { color: var(--white); } .contact-list.light a { color: var(--white); } .contact-list.light .icon { color: rgba(255, 255, 255, .8); }
.contact-list.big li { align-items: flex-start; } .contact-list.big small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; } .contact-list.big a, .contact-list.big span { font-weight: 700; color: var(--navy-900); }
.contact-side { display: grid; gap: 20px; }
.reg { font-size: .85rem; color: var(--muted); margin-top: 16px; }
.map iframe { width: 100%; height: 260px; border: 0; border-radius: var(--radius); }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-row h2 { margin-bottom: .2em; } .cta-row p { margin: 0; }

/* ---------- 404 ---------- */
.notfound { padding-top: calc(var(--header-h) + 80px); }
.big-404 { font-family: var(--serif); font-size: clamp(5rem, 16vw, 10rem); font-weight: 700; color: var(--navy); line-height: 1; margin: 0; opacity: .12; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .78); padding-top: 64px; font-size: .94rem; }
.site-footer h4 { color: var(--white); font-family: var(--font); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2em; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 44px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer li { margin-bottom: 10px; }
.brand-light .brand-mark { background: var(--white); color: var(--navy); }
.footer-about { margin: 18px 0; max-width: 340px; }
.social { display: flex; gap: 14px; flex-wrap: wrap; font-weight: 600; }
.site-footer .contact-list .icon { color: rgba(255, 255, 255, .6); } .site-footer .contact-list { margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0 88px; display: flex; justify-content: space-between; gap: 16px 30px; flex-wrap: wrap; font-size: .8rem; color: rgba(255, 255, 255, .55); }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 8px; background: #128c4a; color: var(--white) !important; padding: 13px 18px; border-radius: 999px; font-weight: 700; box-shadow: 0 10px 28px rgba(0, 0, 0, .28); text-decoration: none !important; transition: transform .2s; }
.wa-float:hover { transform: translateY(-2px) scale(1.03); }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* ---------- reveal animation ---------- */
.will-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.will-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .will-reveal { opacity: 1; transform: none; transition: none; } .card, .btn { transition: none; } }
