/* =========================================================
   Prime Property Consultancy — main stylesheet
   Mobile-first · no frameworks · self-hosted fonts
   ========================================================= */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Manrope"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }

/* ---------- Design tokens ---------- */
:root {
  --navy:        #002D4F;   /* brand navy, taken from the logo */
  --navy-deep:   #001B31;
  --navy-ink:    #0E2235;
  --gold:        #B08D57;
  --gold-dark:   #8E6F3F;
  --gold-soft:   #E9DFCD;
  --grey-50:     #F6F6F4;
  --grey-100:    #EEEEEA;
  --grey-200:    #E1E2DE;
  --grey-500:    #6B7480;
  --text:        #1F2A36;
  --white:       #FFFFFF;
  --error:       #B3261E;
  --success:     #2E6B4A;

  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body:    "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --radius: 4px;
  --header-h: 72px;
  --section-y: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow: 0 18px 40px -24px rgba(0, 27, 49, .35);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--navy-ink); line-height: 1.15; }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-family: var(--font-body); font-size: 1.125rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.35; }
h2 em, h1 em { font-style: italic; color: var(--gold-dark); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold-soft); color: var(--navy-deep); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.ph { display: inline-block; padding: 0 .35em; border: 1px dashed currentColor; border-radius: 3px; font-size: .92em; opacity: .85; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-dark);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold-soft); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.65; color: var(--grey-500); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff; --bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  font: 600 .875rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  color: var(--fg); background: var(--bg); border: 1px solid var(--bd); border-radius: var(--radius);
  cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover { color: var(--fg); }
.btn:hover .ico { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn-navy:hover { --bg: var(--navy-deep); --bd: var(--navy-deep); }
.btn-gold { --bg: var(--gold); --bd: var(--gold); --fg: #fff; }
.btn-gold:hover { --bg: var(--gold-dark); --bd: var(--gold-dark); }
.btn-outline-light { --bg: transparent; --bd: rgba(255,255,255,.55); --fg: #fff; }
.btn-outline-light:hover { --bg: #fff; --bd: #fff; --fg: var(--navy); }
.btn-outline { --bg: transparent; --bd: var(--navy); --fg: var(--navy); }
.btn-outline:hover { --bg: var(--navy); --fg: #fff; }
.btn-lg { min-height: 56px; padding-inline: 32px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--navy);
  border-bottom: 1px solid var(--gold); padding-bottom: 4px;
}
.text-link .ico { transition: transform .3s var(--ease); }
.text-link:hover .ico { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--grey-200); box-shadow: 0 6px 24px -18px rgba(0,27,49,.5); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { flex-shrink: 0; margin-right: auto; }
.brand img { height: 44px; width: auto; }
.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; padding: 10px; margin-right: -10px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--navy); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.main-nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  display: flex; flex-direction: column; gap: 28px;
  padding: 28px var(--gutter) 40px;
  background: #fff; overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.main-nav ul { list-style: none; }
.main-nav li { border-bottom: 1px solid var(--grey-100); }
.main-nav a:not(.btn) {
  display: block; padding: 16px 0;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; text-decoration: none; color: var(--navy-ink);
}
.main-nav a[aria-current="page"] { color: var(--gold-dark); }
body.nav-open { overflow: hidden; }

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; min-height: 44px; padding: 10px 22px; }
  .header-inner { height: 84px; }
  :root { --header-h: 84px; }
  .brand img { height: 52px; }
  .main-nav {
    position: static; flex-direction: row; padding: 0; background: none; overflow: visible;
    visibility: visible; opacity: 1; transform: none;
  }
  .main-nav ul { display: flex; gap: 4px; }
  .main-nav li { border: 0; }
  .main-nav a:not(.btn) {
    position: relative; padding: 10px 14px;
    font-family: var(--font-body); font-size: .875rem; font-weight: 500; letter-spacing: .02em;
  }
  .main-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  }
  .main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .main-nav a[aria-current="page"] { color: var(--navy); }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(92vh, 860px);
  display: flex; align-items: flex-end;
  background: var(--navy-deep); color: #fff;
  padding: 120px 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.hero-media, .page-hero-media { position: absolute; inset: 0; z-index: -2; background: var(--navy-deep); }
.hero-media img, .page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(0, 20, 37, .62);   /* single flat scrim for legibility */
}
.hero-inner { max-width: 860px; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero h1 em { color: var(--gold-soft); }
.hero .lead { color: rgba(255,255,255,.82); max-width: 620px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn { flex: 1 1 220px; }
@media (min-width: 640px) { .hero-actions .btn { flex: 0 0 auto; } }
.hero-foot {
  display: none; margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18);
  gap: 40px; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7);
}
.hero-foot span { display: inline-flex; align-items: center; gap: 10px; }
.hero-foot .ico { color: var(--gold); }
@media (min-width: 900px) { .hero-foot { display: flex; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; color: #fff; padding: clamp(96px, 14vw, 168px) 0 clamp(56px, 8vw, 88px); background: var(--navy-deep); overflow: hidden; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4rem); max-width: 820px; }
.page-hero h1 em { color: var(--gold-soft); }
.page-hero .lead { color: rgba(255,255,255,.8); max-width: 640px; margin: 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 28px; font-size: .8125rem; color: rgba(255,255,255,.7); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-grey { background: var(--grey-50); }
.section-navy { background: var(--navy-deep); color: rgba(255,255,255,.8); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .lead { color: rgba(255,255,255,.72); }

.split { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse > :first-child { order: 2; }
}
.media-frame { position: relative; }
.media-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--grey-100); }
.media-frame.wide img { aspect-ratio: 4 / 3; }
.media-frame::after {
  content: ""; position: absolute; z-index: -1; inset: 24px -24px -24px 24px;
  border: 1px solid var(--gold); border-radius: var(--radius);
}
@media (max-width: 899px) { .media-frame::after { inset: 14px -10px -14px 14px; } }
.media-frame { isolation: isolate; }

/* pillars (vision / mission / philosophy) */
.pillars { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--grey-200); }
.pillar { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--grey-200); }
.pillar .ico { color: var(--gold); margin-top: 2px; }
.pillar h3 { margin-bottom: 4px; }
.pillar p { margin: 0; color: var(--grey-500); font-size: .975rem; }

/* ---------- Service cards ---------- */
.cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 36px 30px 32px; background: #fff;
  border: 1px solid var(--grey-200); border-radius: var(--radius);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 26px;
  color: var(--navy); background: var(--grey-50); border-radius: 50%;
  transition: background-color .35s, color .35s;
}
.card:hover .card-icon { background: var(--navy); color: #fff; }
.card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.card p { color: var(--grey-500); font-size: .96rem; }
.card .text-link { margin-top: auto; align-self: flex-start; font-size: .78rem; }
.card-num { position: absolute; top: 30px; right: 28px; font-family: var(--font-display); font-size: 1.4rem; color: var(--grey-200); }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(5, 1fr); } }
.why-item { padding: 36px 28px; background: var(--navy-deep); transition: background-color .35s; }
.why-item:hover { background: #062843; }
.why-item .ico { color: var(--gold); margin-bottom: 22px; }
.why-item h3 { font-size: 1.05rem; margin-bottom: 10px; }
.why-item p { font-size: .925rem; margin: 0; color: rgba(255,255,255,.66); }
.section-grey .why-grid, .why-grid.light { background: var(--grey-200); border-color: var(--grey-200); }
.why-grid.light .why-item { background: #fff; }
.why-grid.light .why-item:hover { background: var(--grey-50); }
.why-grid.light .why-item h3 { color: var(--navy-ink); }
.why-grid.light .why-item p { color: var(--grey-500); }

/* ---------- Expertise visual ---------- */
.expertise { position: relative; isolation: isolate; color: #fff; background: var(--navy-deep); overflow: hidden; }
.expertise-media { position: absolute; inset: 0; z-index: -2; }
.expertise-media img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.expertise-grid { display: grid; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 1000px) { .expertise-grid { grid-template-columns: 5fr 7fr; align-items: start; } }
.expertise h2 { color: #fff; }
.expertise .lead { color: rgba(255,255,255,.76); }
.exp-list { list-style: none; display: grid; gap: 0; counter-reset: exp; }
@media (min-width: 640px) { .exp-list { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.exp-list li {
  counter-increment: exp; position: relative;
  padding: 24px 0 24px 56px; border-top: 1px solid rgba(255,255,255,.18);
}
.exp-list li::before {
  content: counter(exp, decimal-leading-zero);
  position: absolute; left: 0; top: 22px;
  font-family: var(--font-display); font-size: 1.5rem; color: var(--gold);
}
.exp-list h3 { color: #fff; margin-bottom: 6px; font-size: 1.05rem; }
.exp-list p { margin: 0; font-size: .925rem; color: rgba(255,255,255,.66); }

/* ---------- Developers ---------- */
.dev-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; }
@media (min-width: 640px) { .dev-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .dev-grid { grid-template-columns: repeat(6, 1fr); } }
.dev-grid li {
  display: grid; place-items: center; height: 112px; padding: 18px;
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius);
  transition: border-color .3s, box-shadow .3s;
}
.dev-grid li:hover { border-color: var(--gold-soft); box-shadow: var(--shadow); }
.dev-grid img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
.dev-note { margin: 22px 0 0; font-size: .8125rem; color: var(--grey-500); text-align: center; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: rgba(255,255,255,.8); padding-block: clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%);
  border: 1px solid rgba(176,141,87,.35); border-radius: 50%; pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; gap: 64px; } }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; max-width: 560px; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.contact-list { list-style: none; display: grid; gap: 0; margin-top: 32px; border-top: 1px solid var(--grey-200); }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--grey-200); }
.contact-list .ico-wrap { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grey-50); color: var(--navy); }
.contact-list strong { display: block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grey-500); font-weight: 600; margin-bottom: 2px; }
.contact-list a { text-decoration: none; font-weight: 500; }
.form-card { background: #fff; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--grey-200); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-card h2, .form-card h3.form-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 8px; }
.form-card .form-intro { color: var(--grey-500); margin-bottom: 28px; }
.enquiry-form { display: grid; gap: 18px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 8px; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--navy-ink); }
.field label span { color: var(--gold-dark); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; min-height: 50px;
  font: inherit; font-size: 16px; color: var(--text);
  background: var(--grey-50); border: 1px solid var(--grey-200); border-radius: var(--radius);
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #9AA1AA; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,45,79,.1); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); background: #fff; }
.field-error { margin: 6px 0 0; font-size: .8125rem; color: var(--error); }
.field-check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.field-check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--navy); }
.field-check label { margin: 0; font-weight: 400; font-size: .8125rem; line-height: 1.55; color: var(--grey-500); letter-spacing: 0; }
.field-check .field-error { grid-column: 2; }
.form-status { padding: 14px 16px; border-radius: var(--radius); font-size: .9rem; background: #FBEAE9; color: var(--error); }
.form-status.is-success { background: #E8F2EC; color: var(--success); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.map-embed { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grey-200); }
.map-embed iframe { display: block; width: 100%; height: 300px; border: 0; }

/* ---------- Content blocks (About / Services / etc.) ---------- */
.value-grid { display: grid; gap: 20px; list-style: none; }
@media (min-width: 640px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }
.value { padding: 30px 26px; border-top: 2px solid var(--gold); background: #fff; }
.section-grey .value { background: #fff; }
.value h3 { margin-bottom: 8px; }
.value p { margin: 0; color: var(--grey-500); font-size: .95rem; }

.service-detail { display: grid; gap: clamp(32px, 5vw, 72px); padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--grey-200); scroll-margin-top: calc(var(--header-h) + 8px); }
.service-detail:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .service-detail { grid-template-columns: 5fr 7fr; } }
.service-detail .sd-head { display: flex; gap: 20px; align-items: flex-start; }
.service-detail .sd-num { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--gold); }
.service-detail h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 0; }
.check-list { list-style: none; display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 640px) { .check-list.cols { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .97rem; }
.check-list .ico { color: var(--gold); margin-top: 4px; }

.process { display: grid; gap: 0; list-style: none; counter-reset: step; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li { counter-increment: step; position: relative; padding: 32px 28px 32px 0; border-top: 1px solid var(--grey-200); }
@media (min-width: 900px) { .process li { padding-right: 32px; } }
.process li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--gold); margin-bottom: 18px; }
.process li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.process h3 { margin-bottom: 8px; }
.process p { margin: 0; color: var(--grey-500); font-size: .95rem; }

.statement { font-family: var(--font-display); font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.35; color: var(--navy-ink); max-width: 940px; margin: 0 auto; text-align: center; font-weight: 500; }
.statement em { color: var(--gold-dark); }

/* Legal prose */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose .updated { font-size: .875rem; color: var(--grey-500); }
.notice { padding: 18px 20px; border-left: 3px solid var(--gold); background: var(--grey-50); font-size: .9rem; margin-bottom: 2em; }

/* Thank you / 404 */
.status-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; background: var(--grey-50); }
.status-page .status-icon { display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto 28px; border-radius: 50%; background: var(--navy); color: #fff; }
.status-page .lead { max-width: 560px; margin: 0 auto 32px; }
.status-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); font-size: .925rem; padding-top: clamp(56px, 8vw, 88px); }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.3fr 1.3fr; gap: 48px; } }
.footer-logo { display: inline-block; padding: 14px 18px; background: #fff; border-radius: var(--radius); margin-bottom: 22px; }
.footer-logo img { height: 44px; width: auto; }
.footer-brand p { max-width: 340px; }
.footer-title { font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.footer-contact .ico { color: var(--gold); margin-top: 4px; }
.socials { display: flex; gap: 10px; list-style: none; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom { display: flex; flex-direction: column; gap: 14px; padding-block: 24px 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8125rem; }
@media (min-width: 900px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-bottom p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; }
.rera { display: inline-block; margin-left: 8px; }

/* Floating quick actions (only render when phone/WhatsApp configured) */
.quick-actions { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: grid; gap: 10px; }
.qa { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); transition: transform .25s var(--ease); }
.qa:hover { color: #fff; transform: translateY(-2px); }
.qa-call { background: var(--navy); }
.qa-wa { background: #1F8E4E; }

/* ---------- Reveal animation (subtle) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }
.js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .40s; }
.hero .hero-inner > * { animation: heroIn 1s var(--ease) both; }
.hero .hero-inner > *:nth-child(2) { animation-delay: .1s; }
.hero .hero-inner > *:nth-child(3) { animation-delay: .2s; }
.hero .hero-inner > *:nth-child(4) { animation-delay: .3s; }
.hero .hero-inner > *:nth-child(5) { animation-delay: .4s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .quick-actions, .cta-band { display: none; }
}

/* Fallbacks & refinements */
.hero-media img, .page-hero-media img, .expertise-media img, .media-frame img { color: transparent; font-size: 0; }
@media (min-width: 640px) { .hero h1 em { display: block; } }
.dev-grid img { max-height: 72px; }

/* =========================================================
   v2 — contact integration (top bar, call/WhatsApp, map)
   ========================================================= */
address { font-style: normal; }
.btn-whatsapp { --bg: #1F8E4E; --bd: #1F8E4E; --fg: #fff; }
.btn-whatsapp:hover { --bg: #187240; --bd: #187240; }

/* Top contact bar (desktop/tablet) */
.topbar { display: none; background: var(--navy-deep); color: rgba(255,255,255,.78); font-size: .8125rem; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .ico { color: var(--gold); flex-shrink: 0; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar-address { margin: 0; display: flex; align-items: center; gap: 8px; min-width: 0; }
.topbar-address a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-links { list-style: none; display: flex; gap: 28px; }
@media (min-width: 900px) { .topbar { display: block; } }
@media (max-width: 1099px) { .topbar-address { display: none; } .topbar-inner { justify-content: flex-end; } }

/* Header phone icon (mobile & tablet, beside menu toggle) */
.header-call {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--navy); border: 1px solid var(--grey-200); transition: background-color .25s, color .25s, border-color .25s;
}
.header-call:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Mobile menu actions */
.nav-mobile-actions { display: grid; gap: 12px; }
.nav-mobile-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nav-mobile-meta { margin: 6px 0 0; text-align: center; font-size: .875rem; }
.nav-mobile-meta a { color: var(--grey-500); text-decoration: none; }
@media (min-width: 1100px) {
  .nav-mobile-actions { display: none; }
  .header-call { display: none; }
}

/* Contact block actions */
.contact-list address { margin-bottom: 6px; }
.contact-list .directions { margin-top: 4px; font-size: .75rem; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
@media (max-width: 380px) { .contact-actions { grid-template-columns: 1fr; } }
.contact-actions .btn { padding-inline: 14px; }

/* Map section */
.map-head { display: grid; gap: 24px; align-items: end; margin-bottom: 32px; }
@media (min-width: 900px) { .map-head { grid-template-columns: 1fr auto; } }
.map-head h2 { margin-bottom: 10px; }
.map-head .lead { margin: 0; }
.section-map .map-embed { margin-top: 0; aspect-ratio: 16 / 7; background: var(--grey-100); }
@media (max-width: 899px) { .section-map .map-embed { aspect-ratio: 4 / 3; } }
.section-map .map-embed iframe { height: 100%; }

/* Footer */
.footer-contact address { display: block; }
.footer-directions { display: inline-block; margin-top: 6px; font-size: .8125rem; color: var(--gold) !important; }
.footer-directions:hover { color: #fff !important; }

/* Floating call / WhatsApp */
.quick-actions { right: 18px; bottom: 18px; gap: 12px; }
.qa { position: relative; width: 56px; height: 56px; }
.qa-label {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translate(6px, -50%);
  padding: 6px 12px; border-radius: var(--radius); background: var(--navy-deep); color: #fff;
  font-size: .75rem; font-weight: 600; letter-spacing: .04em; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
}
@media (hover: hover) { .qa:hover .qa-label { opacity: 1; transform: translate(0, -50%); } }
@media (max-width: 639px) { .quick-actions { right: 14px; bottom: 14px; } .qa { width: 52px; height: 52px; } }
/* keep the floating buttons from covering the last line of the footer */
.site-footer { padding-bottom: 72px; }
@media (min-width: 900px) { .site-footer { padding-bottom: 0; } }

/* Developer disclaimer */
.dev-note { max-width: 820px; margin-inline: auto; line-height: 1.6; }
@media (max-width: 1099px) { .header-inner { gap: 10px; } }
.main-nav .nav-mobile-meta a { display: inline; padding: 0; font-family: var(--font-body); font-size: .875rem; color: var(--grey-500); word-break: break-all; }
.btn .ico { flex-shrink: 0; }
.nav-mobile-row .btn, .contact-actions .btn { padding-inline: 12px; gap: 8px; }
.footer-label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 2px; }
.topbar-label { color: #fff; font-weight: 600; }

/* =========================================================
   v3 — Property Locations We Serve
   ========================================================= */
.city-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px)  { .city-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .city-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.city-card a {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius);
  background: var(--navy-deep); color: #fff; text-decoration: none;
}
.city-media { position: absolute; inset: 0; z-index: -2; }
.city-media img { width: 100%; height: 100%; object-fit: cover; color: transparent; font-size: 0; transform: scale(1.02); transition: transform 1.1s var(--ease); }
.city-card a::before { /* legibility scrim, darker at the foot of the card */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,20,37,.05) 30%, rgba(0,20,37,.82) 100%);
  transition: background-color .5s var(--ease);
}
.city-card a::after { /* gold frame on hover */
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(176,141,87,0); border-radius: 2px;
  transition: border-color .5s var(--ease), inset .5s var(--ease); pointer-events: none;
}
.city-body { display: grid; gap: 6px; width: 100%; padding: 18px 16px; }
.city-num { font-family: var(--font-display); font-size: 1rem; color: var(--gold-soft); line-height: 1; }
.city-name { font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 500; line-height: 1.1; }
.city-desc { font-size: .8125rem; line-height: 1.5; color: rgba(255,255,255,.82); }
.city-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.city-cta .ico { transition: transform .3s var(--ease); }
@media (max-width: 699px) { .city-desc { display: none; } .city-body { padding: 14px 12px; } }

@media (hover: hover) and (min-width: 700px) {
  .city-card:not(.city-more) .city-desc, .city-card:not(.city-more) .city-cta {
    max-height: 0; opacity: 0; overflow: hidden; transform: translateY(8px);
    transition: max-height .5s var(--ease), opacity .4s var(--ease), transform .5s var(--ease);
  }
  .city-card a:hover .city-desc, .city-card a:focus-visible .city-desc { max-height: 80px; opacity: 1; transform: none; }
  .city-card a:hover .city-cta,  .city-card a:focus-visible .city-cta  { max-height: 24px; opacity: 1; transform: none; }
  .city-card a:hover .city-media img { transform: scale(1.08); }
  .city-card a:hover::after, .city-card a:focus-visible::after { border-color: rgba(233,223,205,.6); inset: 12px; }
  .city-card a:hover .city-cta .ico { transform: translateX(4px); }
}

/* "And more" card spans the remaining width so every row is complete */
.city-more { grid-column: 1 / -1; }
@media (min-width: 1100px) { .city-more { grid-column: span 2; } }
.city-more a { aspect-ratio: auto; min-height: 100%; align-items: center; background: var(--navy); border: 1px solid rgba(176,141,87,.35); }
@media (max-width: 1099px) { .city-more a { min-height: 180px; } }
.city-more a::before { display: none; }
.city-more .city-body { padding: 28px 26px; justify-items: start; }
.city-more .ico { color: var(--gold); margin-bottom: 6px; }
.city-more .city-desc { display: block; max-width: 420px; }
.city-more a:hover { background: #06355B; }

.city-note { margin: 22px auto 0; max-width: 760px; text-align: center; font-size: .8125rem; color: var(--grey-500); }

.city-cta-band {
  display: grid; gap: 24px; align-items: center; margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(28px, 4vw, 44px); background: #fff; border: 1px solid var(--grey-200); border-left: 3px solid var(--gold); border-radius: var(--radius);
}
@media (min-width: 900px) { .city-cta-band { grid-template-columns: 1fr auto; gap: 48px; } }
.city-cta-band h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 6px; }
.city-cta-band p { margin: 0; color: var(--grey-500); }

/* =========================================================
   v4 — Compact city grid with Show More / Show Less
   ========================================================= */
/* Compact card proportions (shorter than before) */
.city-card:not(.city-more) a { aspect-ratio: 1 / 1; }
@media (min-width: 700px)  { .city-card:not(.city-more) a { aspect-ratio: 5 / 4; } }
@media (min-width: 1100px) { .city-card:not(.city-more) a { aspect-ratio: 5 / 4; } }
.city-name { font-size: clamp(1.25rem, 2vw, 1.55rem); }

/* "And More Cities" — compact full-width strip */
.city-more { grid-column: 1 / -1; }
.city-more a { min-height: 0; aspect-ratio: auto; }
.city-more .city-body { grid-template-columns: auto 1fr auto; align-items: center; column-gap: 18px; row-gap: 4px; padding: 20px 24px; }
.city-more .ico { margin: 0; grid-row: span 2; }
.city-more .city-name { font-size: clamp(1.2rem, 2vw, 1.45rem); }
.city-more .city-desc { grid-column: 2; max-width: none; }
.city-more .city-cta { grid-column: 3; grid-row: 1 / span 2; margin: 0; white-space: nowrap; }
@media (max-width: 699px) {
  .city-more .city-body { grid-template-columns: auto 1fr; padding: 18px; }
  .city-more .city-cta { grid-column: 2; grid-row: auto; }
}

/* Collapsed state — only when JS is available (progressive enhancement) */
.js .city-grid.is-collapsed > .city-card:not(.city-more):nth-child(n+5) { display: none; }          /* mobile: 4 (2×2) */
@media (min-width: 700px) {
  .js .city-grid.is-collapsed > .city-card:not(.city-more):nth-child(n+5) { display: block; }
  .js .city-grid.is-collapsed > .city-card:not(.city-more):nth-child(n+7) { display: none; }        /* tablet: 6 (3×2) */
}
@media (min-width: 1100px) {
  .js .city-grid.is-collapsed > .city-card:not(.city-more):nth-child(n+7) { display: block; }
  .js .city-grid.is-collapsed > .city-card:not(.city-more):nth-child(n+9) { display: none; }        /* desktop: 8 (4×2) */
}

/* Smooth height change while toggling */
.city-grid.is-animating { overflow: hidden; transition: height .55s var(--ease); }
.city-card.is-entering { animation: cityIn .5s var(--ease) both; }
@keyframes cityIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Toggle button */
.city-toggle-wrap { display: flex; justify-content: center; margin-top: 28px; }
.city-toggle { min-width: 240px; }
.city-toggle-sign { display: inline-block; width: 1em; font-size: 1.15rem; line-height: 1; font-weight: 500; text-align: center; }
.city-toggle-wrap:has(.city-toggle[hidden]) { display: none; }

@media (prefers-reduced-motion: reduce) {
  .city-grid.is-animating { transition: none; }
  .city-card.is-entering { animation: none; }
}
.city-more a { height: 100%; }
@media (min-width: 1100px) {
  /* expanded: 18 cities leave two free slots in the last row — the card fills them */
  .city-grid:not(.is-collapsed) > .city-more { grid-column: span 2; }
  .city-grid:not(.is-collapsed) > .city-more .city-body { grid-template-columns: auto 1fr; }
  .city-grid:not(.is-collapsed) > .city-more .city-cta { grid-column: 2; grid-row: auto; }
}

/* =========================================================
   v6 — Branded location card on the Contact Us map
   ========================================================= */
.map-wrap { position: relative; }
.map-card {
  position: relative; z-index: 2;
  display: grid; gap: 6px; justify-items: start;
  padding: 24px 22px; background: #fff;
  border: 1px solid var(--grey-200); border-top: 3px solid var(--gold);
  border-radius: var(--radius) var(--radius) 0 0;
}
.map-card-logo { height: 34px; width: auto; margin-bottom: 10px; }
.map-card-label {
  display: inline-flex; align-items: center; gap: 6px; margin: 0;
  font-size: .6875rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark);
}
.map-card-label .ico { color: var(--gold); }
.map-card-name { margin: 0; font-family: var(--font-display); font-size: clamp(1.45rem, 2.4vw, 1.75rem); font-weight: 500; line-height: 1.15; color: var(--navy-ink); }
.map-card-address { margin: 2px 0 14px; font-size: .9rem; line-height: 1.6; color: var(--grey-500); }
.map-card-btn { min-height: 44px; padding: 10px 20px; font-size: .8125rem; }
.map-wrap .map-embed { border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }

/* Desktop & tablet: card floats over the map's top-left corner */
@media (min-width: 900px) {
  .map-card {
    position: absolute; top: 24px; left: 24px; max-width: 340px;
    border-radius: var(--radius); box-shadow: 0 20px 44px -22px rgba(0, 27, 49, .45);
  }
  .map-wrap .map-embed { border-top: 1px solid var(--grey-200); border-radius: var(--radius); }
}
@media (min-width: 900px) {
  /* aligned with the map's own top-left info box so the corner reads cleanly */
  .map-card { top: 10px; left: 10px; }
}
