/* =========================================================
   Revive Property Group — Services Site
   Luxury-boutique theme: warm white + navy + gold accent
   (brand palette — matches the navy + gold logo)
   ========================================================= */

:root {
  /* Brand core */
  --navy: #0E2340;         /* deep brand navy — primary dark */
  --navy-deep: #0A1A31;    /* darker navy for hovers */
  --gold: #C6A24A;         /* metallic gold — decorative/large only */
  --gold-deep: #8B6D28;    /* darkened gold — legible gold TEXT on light (AA) */
  --error: #c0392b;        /* form error red (kept distinct from gold) */

  /* Neutrals */
  --ink: #0E2340;          /* primary dark = navy (headings, dark bands) */
  --ink-soft: #43474f;     /* body text — cool charcoal */
  --muted: #7a7c84;        /* secondary text */
  --line: #e8e2d7;         /* hairlines */
  --line-soft: #f0ece3;

  --white: #ffffff;
  --cream: #fbf9f5;        /* soft warm off-white */
  --sand: #f4efe6;         /* warm light gray band */
  --sand-deep: #efe8db;

  /* Accent aliases — now gold (kept var names so decorative rules inherit) */
  --orange: #C6A24A;       /* = gold (decorative: lines, icons, borders) */
  --orange-deep: #8B6D28;  /* = gold-deep (gold text / hovers) */
  --orange-soft: #f5eedd;  /* soft gold tint background */
  --orange-tint: rgba(198, 162, 74, 0.14);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 18px rgba(28, 26, 23, 0.05);
  --shadow-md: 0 18px 44px rgba(28, 26, 23, 0.08);
  --shadow-lg: 0 34px 80px rgba(28, 26, 23, 0.14);

  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

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

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 600; line-height: 1.08;
  letter-spacing: 0; margin: 0; color: var(--ink);
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 28px; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--ink); color: #fff;
  padding: 10px 18px; border-radius: 10px; z-index: 1000;
  transition: top 0.2s var(--ease); font-weight: 700;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Eyebrow / section label motif ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 20px;
}
.eyebrow-line { width: 34px; height: 1.5px; background: var(--gold); display: inline-block; }
.eyebrow--dark { color: var(--gold-deep); }
.eyebrow--center { justify-content: center; }
.eyebrow--center .eyebrow-line { display: none; }
.eyebrow--center::before, .eyebrow--center::after {
  content: ""; width: 26px; height: 1.5px; background: var(--orange);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  padding: 15px 30px; border-radius: 4px; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap; letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--navy); color: #fff;
  box-shadow: 0 10px 24px rgba(14, 35, 64, 0.28);
}
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(14, 35, 64, 0.34); }
.btn-outline {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }
.btn-text {
  background: transparent; color: var(--gold-deep); padding: 15px 6px; font-weight: 700;
}
.btn-text:hover { color: var(--navy); }
.btn-text span { transition: transform 0.25s var(--ease); display: inline-block; }
.btn-text:hover span { transform: translateX(4px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); background: rgba(255, 255, 255, 0.94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 164px; }
@media (max-width: 600px) { .header-inner { height: 120px; } }

.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); }
/* Real logo image (assets/logo.png). Shown when present; hidden onerror -> fallback appears */
.brand-logo { height: 156px; width: auto; display: block; }
@media (max-width: 600px) { .brand-logo { height: 96px; } }
/* SVG wordmark fallback (hidden by default; JS onerror flips to flex if logo.png missing) */
#brand-fallback, #brand-fallback-footer { display: none; align-items: center; gap: 13px; }
.brand-mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px;
  background: var(--navy); color: var(--cream);
}
/* Navy tile, cream house body, gold rooftop — on-brand mark */
.brand-mark .mk-body { stroke: var(--cream); }
.brand-mark .mk-roof { stroke: var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: 0.01em; color: var(--navy); }
.brand-text em { font-style: normal; font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-deep); margin-top: 4px; }
/* Brand tagline (Manage · Maintain · Maximize) */
.brand-tagline { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); margin: 14px 0 0; display: inline-flex; align-items: center; gap: 10px; }
.brand-tagline::before { content: ""; width: 22px; height: 1.5px; background: var(--gold); display: inline-block; }

.nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  font-weight: 600; font-size: 0.9rem; color: var(--ink-soft);
  padding: 9px 14px; border-radius: 4px; transition: color 0.2s var(--ease);
  position: relative;
}
.nav-menu a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav-menu a:not(.nav-cta):hover { color: var(--ink); }
.nav-menu a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--navy); color: #fff !important; margin-left: 8px; padding: 11px 20px !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--navy) !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(88vh, 780px);
  display: flex; align-items: center;
  padding: clamp(70px, 10vw, 120px) 0;
}
.hero-media {
  position: absolute; inset: 0; z-index: -1;
  /* Elegant neutral placeholder gradient standing in for a real photo */
  background:
    radial-gradient(120% 90% at 80% 10%, #efe6d7 0%, transparent 55%),
    radial-gradient(110% 90% at 10% 90%, #e7ddce 0%, transparent 55%),
    linear-gradient(155deg, #f6f1e8 0%, #ece3d5 60%, #e3d8c6 100%);
}
.hero-media::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(28,26,23,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,26,23,0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(120% 100% at 70% 30%, #000 30%, transparent 100%);
}
.hero-photo-tag {
  position: absolute; top: 18px; right: 20px;
  font-family: var(--font-body); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(28,26,23,0.30); border: 1px solid rgba(28,26,23,0.18); padding: 5px 12px; border-radius: 999px;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.66) 44%, rgba(255,255,255,0.18) 100%);
}

.hero-inner { position: relative; max-width: 780px; }
.hero-title {
  font-size: clamp(2.7rem, 6.5vw, 5rem); font-weight: 600; color: var(--ink);
  margin: 0 0 24px; letter-spacing: -0.005em; line-height: 1.04;
}
.accent-italic { font-style: italic; color: var(--orange); font-weight: 500; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--ink-soft); max-width: 600px; margin: 0 0 38px; }

/* How can we help bar */
.help-bar {
  display: flex; align-items: stretch; gap: 10px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 8px; padding: 10px; box-shadow: var(--shadow-md);
  max-width: 620px;
}
.help-bar-field { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 8px; }
.help-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.select-wrap--hero select {
  border: none; background: transparent; padding: 0 34px 0 0; font-weight: 700; font-size: 1.02rem; color: var(--ink);
  height: auto;
}
.select-wrap--hero .select-arrow { right: 4px; }
.select-wrap--hero select:focus { box-shadow: none; outline: none; }
.help-btn { flex-shrink: 0; }

.hero-meta { margin: 22px 0 0; font-size: 0.95rem; color: var(--muted); }
.hero-meta a { color: var(--ink); font-weight: 700; border-bottom: 1.5px solid var(--gold); }
.hero-meta a:hover { color: var(--gold-deep); }

/* ---------- Value proposition band ---------- */
.value { background: var(--white); text-align: center; }
.value-inner { max-width: 860px; margin-inline: auto; }
.value .eyebrow { justify-content: center; }
.value .eyebrow-line { display: none; }
.value .eyebrow::before, .value .eyebrow::after { content: ""; width: 26px; height: 1.5px; background: var(--orange); }
.value-title { font-size: clamp(1.9rem, 4.4vw, 3.3rem); font-weight: 500; color: var(--ink); margin-bottom: 22px; }
.value-lead { font-size: 1.1rem; color: var(--ink-soft); margin: 0 auto; max-width: 720px; }
.value-mini { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.value-chip {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 0.9rem; color: var(--ink);
  padding: 11px 20px; border: 1px solid var(--line); border-radius: 999px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.value-chip span { font-family: var(--font-display); font-style: italic; color: var(--orange); font-size: 1.05rem; }
.value-chip:hover { border-color: var(--orange); background: var(--orange-soft); transform: translateY(-2px); }

/* ---------- Section base ---------- */
.section { padding: clamp(66px, 9vw, 118px) 0; }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 500; }
.section-lead { font-size: 1.08rem; color: var(--ink-soft); margin: 18px 0 0; }
.section-head.center .section-lead { margin-inline: auto; max-width: 640px; }

/* ---------- Service sections (alternating image-text rows) ---------- */
.service--alt { background: var(--cream); }
.service-inner { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(34px, 5vw, 76px); align-items: center; }
.service-inner.reverse .service-copy { order: 2; }
.service-inner.reverse .service-figure { order: 1; }

.service-index {
  display: inline-block; font-family: var(--font-display); font-style: italic; font-size: 1.15rem;
  color: var(--gold-deep); margin-bottom: 8px;
}
.service-copy h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 500; }
.service-tag { font-weight: 700; color: var(--ink); font-size: 1.05rem; margin: 10px 0 18px; }
.service-lead-p { color: var(--ink-soft); font-size: 1.05rem; }

.mini-head { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; margin: 30px 0 14px; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.mini-head::before { content: ""; width: 20px; height: 1.5px; background: var(--orange); }

.check-list li {
  position: relative; padding-left: 32px; margin-bottom: 11px; color: var(--ink-soft); font-size: 0.99rem;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C6A24A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

.step-list { counter-reset: step; }
.step-list li {
  position: relative; padding-left: 46px; margin-bottom: 14px; color: var(--ink-soft); font-size: 0.99rem; min-height: 30px;
  display: flex; align-items: center;
}
.step-list li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1rem; font-style: italic;
  color: var(--gold-deep); background: transparent; border: 1.5px solid var(--gold);
}

.service-for { margin-top: 24px; padding: 16px 20px; background: var(--orange-soft); border-left: 3px solid var(--orange); border-radius: 0 8px 8px 0; font-size: 0.97rem; color: var(--ink-soft); }
.service--alt .service-for { background: #fff; }

.service-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Service photo frame ---------- */
.service-figure { display: flex; justify-content: center; }
.photo-frame {
  position: relative; width: 100%; aspect-ratio: 4 / 5; max-width: 460px; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  background:
    radial-gradient(120% 80% at 70% 10%, #efe6d6 0%, transparent 55%),
    linear-gradient(160deg, #f0eae0 0%, #e4dac9 60%, #d8cbb6 100%);
}
.photo-frame::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(28,26,23,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,26,23,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(110% 90% at 50% 30%, #000 40%, transparent 100%);
}
.photo-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(28,26,23,0.12) 100%);
}
.photo-tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(28,26,23,0.4); border: 1px solid rgba(28,26,23,0.2); padding: 5px 11px; border-radius: 999px;
  background: rgba(255,255,255,0.4);
}
.figure-badge {
  position: absolute; left: 18px; bottom: 18px; right: 18px; z-index: 2;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow-sm);
}
.fb-label { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }
.fb-value { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ink); }

/* ---------- Why Revive ---------- */
.why { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-item {
  padding: 32px 26px; border-radius: var(--radius); background: var(--cream);
  border: 1px solid var(--line-soft); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.why-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line); }
.why-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; color: var(--orange); background: var(--white); border: 1px solid var(--line); margin-bottom: 20px; }
.why-item h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 8px; }
.why-item p { font-size: 0.94rem; color: var(--ink-soft); margin: 0; line-height: 1.65; }

/* ---------- Available Rentals (TenantTurner widget) ---------- */
.rentals { background: var(--bg, #fff); }
.tt-widget-wrap {
  margin-top: 34px;
  min-height: 320px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.tt-widget-wrap img { max-width: 100%; height: auto; }
@media (max-width: 600px) { .tt-widget-wrap { padding: 10px; } }

/* ---------- Featured Listings ---------- */
.listings { background: var(--cream); }
.listings-note {
  margin: 14px 0 0; font-size: 0.9rem; font-weight: 700; color: var(--muted);
  letter-spacing: 0.02em;
}
.listings-note strong { color: var(--ink); font-weight: 800; }

.listings-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}

.listing-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.listing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line); }
.listing-card--featured { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), var(--shadow-sm); }
.listing-card--featured:hover { box-shadow: 0 0 0 1px var(--orange), var(--shadow-md); }

/* Media / image area */
.listing-media {
  position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--sand-deep);
}
.listing-media-img {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  /* Elegant neutral placeholder gradient standing in for a real photo */
  background-image:
    radial-gradient(120% 90% at 75% 12%, #efe6d6 0%, transparent 55%),
    linear-gradient(160deg, #f0eae0 0%, #e4dac9 60%, #d8cbb6 100%);
  transition: transform 0.6s var(--ease);
}
.listing-media-img::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(28,26,23,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,26,23,0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(110% 90% at 50% 30%, #000 40%, transparent 100%);
}
.listing-media--photo .listing-media-img::before { display: none; }
.listing-card:hover .listing-media-img { transform: scale(1.06); }

.listing-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; padding: 6px 12px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(28,26,23,0.18);
}
.listing-badge--sale { background: var(--navy); }     /* For Sale = brand navy */
.listing-badge--rent { background: #2b7a78; }        /* teal for rentals */
.listing-badge--pending { background: #b7791a; }      /* amber for pending */
.listing-badge--sold { background: #5b616b; }         /* cool gray for sold */

.listing-featured-tag {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); background: rgba(255,255,255,0.94); backdrop-filter: blur(6px);
  padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line);
}
.listing-featured-tag svg { color: var(--orange); }

.listing-photo-tag {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(28,26,23,0.42); border: 1px solid rgba(28,26,23,0.2); padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.5);
}

/* Card body */
.listing-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.listing-price {
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--ink);
  line-height: 1; margin: 0; letter-spacing: -0.01em;
}
.listing-address {
  font-family: var(--font-body); font-weight: 800; font-size: 1rem; color: var(--ink);
  margin: 0; line-height: 1.35;
}
.listing-city { display: block; font-weight: 600; font-size: 0.9rem; color: var(--muted); margin-top: 2px; letter-spacing: 0.01em; }

.listing-stats {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px;
  margin: 4px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line-soft);
}
.listing-stat { display: inline-flex; align-items: center; gap: 7px; font-size: 0.86rem; color: var(--ink-soft); }
.listing-stat svg { color: var(--orange); flex-shrink: 0; }
.listing-stat b { color: var(--ink); font-weight: 800; }
.listing-stat-sep { color: var(--line); font-weight: 700; }

.listing-blurb { margin: 4px 0 0; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; }

.listing-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 6px;
  font-weight: 800; font-size: 0.86rem; letter-spacing: 0.02em; color: var(--gold-deep);
}
.listing-link span { transition: transform 0.25s var(--ease); display: inline-block; }
.listing-card--link:hover .listing-link span { transform: translateX(4px); }
.listing-card--link { cursor: pointer; }
/* Stretch the real link over the whole card for a single, accessible, keyboard-focusable hit area */
.listing-link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.listing-card--link:focus-within { outline: 3px solid var(--navy); outline-offset: 2px; }
.listing-link:focus-visible { outline: none; }

/* Empty state */
.listings-grid.is-empty { display: block; }
.listings-empty {
  text-align: center; max-width: 560px; margin-inline: auto;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(38px, 6vw, 60px) 30px; box-shadow: var(--shadow-sm);
}
.listings-empty-icon {
  display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 20px;
  border-radius: 14px; color: var(--orange); background: var(--orange-soft); border: 1px solid var(--line);
}
.listings-empty h3 { font-size: 1.7rem; font-weight: 600; margin-bottom: 10px; }
.listings-empty p { color: var(--ink-soft); font-size: 1.02rem; margin: 0 auto 26px; max-width: 420px; }

/* ---------- Stats / social-proof band ---------- */
.stats { background: var(--ink); color: var(--cream); padding: clamp(52px, 7vw, 80px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; }
.stat-item:not(:last-child)::after {
  content: ""; position: absolute; right: -12px; top: 12%; height: 76%; width: 1px; background: rgba(255,255,255,0.14);
}
.stat-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 5vw, 3.8rem); color: #fff; line-height: 1; letter-spacing: -0.01em; }
.stat-suffix { color: var(--orange); font-style: italic; }
.stat-label { font-size: 0.9rem; color: #b8b1a4; margin-top: 12px; max-width: 200px; }

/* ---------- Testimonials carousel ---------- */
.testimonials { background: var(--sand); }
.carousel { max-width: 860px; margin-inline: auto; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.55s var(--ease); }
.testi-slide { min-width: 100%; padding: 8px; }
.testi-slide blockquote {
  margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow-md); text-align: center; position: relative;
}
.testi-slide blockquote::before {
  content: "\201C"; font-family: var(--font-display); font-size: 5rem; color: var(--orange);
  line-height: 0.6; display: block; margin-bottom: 6px;
}
.testi-slide p {
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 500;
  line-height: 1.4; color: var(--ink); margin: 0 0 26px;
}
.testi-slide footer { display: flex; flex-direction: column; gap: 3px; }
.testi-name { font-family: var(--font-body); font-weight: 800; font-size: 0.95rem; color: var(--ink); letter-spacing: 0.02em; }
.testi-role { font-size: 0.85rem; color: var(--muted); }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 30px; }
.carousel-btn {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s;
}
.carousel-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.carousel-play .icon-play { display: none; }
.carousel-play[aria-pressed="false"] .icon-pause { display: none; }
.carousel-play[aria-pressed="false"] .icon-play { display: block; }
.carousel-dots { display: flex; align-items: center; gap: 9px; margin: 0 6px; }
.carousel-dot {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: rgba(28,26,23,0.2); transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.carousel-dot:hover { background: rgba(28,26,23,0.4); }
.carousel-dot[aria-selected="true"] { background: var(--orange); transform: scale(1.35); }

/* ---------- Contact ---------- */
.contact { background: var(--cream); }
.contact-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 68px); align-items: start; }
.contact-copy h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
.contact-details { margin: 30px 0 24px; display: flex; flex-direction: column; gap: 16px; }
.contact-details li { display: flex; align-items: center; gap: 15px; color: var(--ink-soft); font-size: 1rem; }
.contact-details a { color: var(--ink); font-weight: 600; }
.contact-details a:hover { color: var(--gold-deep); }
.cd-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; color: var(--gold); background: var(--white); border: 1px solid var(--line); flex-shrink: 0; }
.contact-social { display: flex; gap: 10px; }
.social-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: var(--ink); background: var(--white); border: 1px solid var(--line); transition: transform 0.25s var(--ease), background 0.25s, color 0.2s, border-color 0.2s; }
.social-btn:hover { transform: translateY(-3px); background: var(--navy); color: #fff; border-color: var(--navy); }

.contact-form-wrap {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow-md);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .select-wrap select {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--cream); transition: border-color 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}
.field input:focus, .field textarea:focus, .select-wrap select:focus {
  outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(14, 35, 64, 0.14);
}
.field textarea { resize: vertical; min-height: 120px; }
.select-wrap { position: relative; display: flex; align-items: center; }
.select-wrap select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 46px; }
.select-arrow { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; display: grid; }
.field-error { font-size: 0.82rem; color: var(--error); font-weight: 700; min-height: 0; display: none; }
.field.invalid .field-error { display: block; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--error); background: #fdeeec; }

.form-note { text-align: center; font-weight: 700; margin: 4px 0 0; min-height: 1.4em; font-size: 0.92rem; }
.form-note.ok { color: #2f7d4f; }
.form-note.err { color: var(--error); }
.form-fineprint { font-size: 0.8rem; color: var(--muted); text-align: center; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b8b1a4; padding: 72px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-footer .brand { color: var(--cream); }
.site-footer .brand-mark { background: rgba(255,255,255,0.08); color: var(--cream); }
.site-footer .brand-text strong { color: var(--cream); }
.site-footer .brand-text em { color: #b7a06a; }
.site-footer .brand-tagline { color: var(--gold); margin-top: 16px; }
.footer-desc { margin: 18px 0; max-width: 320px; font-size: 0.94rem; color: #9d968a; }
.eho { display: inline-flex; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 700; color: #b8b1a4; letter-spacing: 0.02em; }
.eho svg { color: var(--orange); }
.footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer-nav h4 { font-family: var(--font-body); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream); margin-bottom: 16px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 11px; }
.footer-nav a, .footer-nav li { font-size: 0.92rem; color: #9d968a; transition: color 0.2s; }
.footer-nav a:hover { color: var(--orange); }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.site-footer .social-btn { width: 36px; height: 36px; background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); color: var(--cream); }
.site-footer .social-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer-bottom { padding-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.footer-bottom p { margin: 0; font-size: 0.82rem; color: #857f74; }
.footer-bottom .license { color: #9d968a; }
.disclaimer { max-width: 820px; line-height: 1.6; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 82px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(16px); padding: 16px 20px 24px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform 0.28s var(--ease), opacity 0.28s;
  }
  .nav-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: 13px 14px; font-size: 1rem; }
  .nav-menu a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin: 8px 0 0; text-align: center; }

  .service-inner { grid-template-columns: 1fr; }
  .service-inner.reverse .service-copy { order: 1; }
  .service-inner.reverse .service-figure { order: 2; }
  .service-figure { margin-top: 6px; }
  .photo-frame { aspect-ratio: 16 / 11; max-width: 560px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .listings-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .stat-item:nth-child(2)::after { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
}

@media (max-width: 600px) {
  .container { padding-inline: 20px; }
  .hero { min-height: auto; }
  .help-bar { flex-direction: column; padding: 14px; }
  .help-bar-field { padding: 0 4px 4px; }
  .help-btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .listings-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item::after { display: none !important; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .service-cta { flex-direction: column; align-items: stretch; }
  .service-cta .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .carousel-track { transition: none; }
}

/* =========================================================
   MULTI-PAGE ADDITIONS
   Nav logins, page hero, pillars, feature grid, CTA band,
   calculators, contact info + map. Same navy + gold system.
   ========================================================= */

/* ---------- Current-page nav state ---------- */
.nav-menu a[aria-current="page"] { color: var(--ink); }
.nav-menu a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }

/* ---------- Owner / Tenant login buttons ---------- */
.nav-logins {
  display: flex; align-items: center; gap: 8px;
  margin-left: 10px; padding-left: 14px; border-left: 1px solid var(--line);
}
.nav-menu a.nav-login {
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.02em;
  padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 4px;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav-menu a.nav-login::after { display: none; }
.nav-menu a.nav-login:hover {
  border-color: var(--gold); color: var(--gold-deep);
  background: var(--orange-soft); transform: translateY(-1px);
}

/* ---------- Sub-page hero (smaller than home hero) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(60px, 8vw, 104px) 0 clamp(46px, 6vw, 70px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 90% at 82% 8%, #efe6d7 0%, transparent 55%),
    radial-gradient(110% 90% at 8% 92%, #e7ddce 0%, transparent 55%),
    linear-gradient(155deg, #f6f1e8 0%, #ece3d5 60%, #e3d8c6 100%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(28,26,23,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,26,23,0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(120% 100% at 70% 30%, #000 30%, transparent 100%);
}
.page-hero-inner { max-width: 760px; }
.page-hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 600; color: var(--ink);
  margin: 0 0 18px; line-height: 1.05; letter-spacing: -0.005em;
}
.page-hero .lead { font-size: clamp(1.05rem, 2vw, 1.24rem); color: var(--ink-soft); max-width: 620px; margin: 0 0 28px; }
.page-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Breadcrumb */
.crumb { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; color: var(--muted); margin: 0 0 18px; }
.crumb a { color: var(--gold-deep); }
.crumb a:hover { color: var(--navy); }
.crumb span { color: var(--line); margin: 0 8px; }

/* ---------- Home: hero primary CTA row ---------- */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.hero-ctas .btn { flex: 0 0 auto; }

/* ---------- Home: four pillars ---------- */
.pillars { background: var(--cream); }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 8px; }
.pillar-card {
  display: flex; flex-direction: column; padding: 30px 26px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.pillar-index { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--gold-deep); }
.pillar-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 13px;
  color: var(--gold); background: var(--orange-soft); border: 1px solid var(--line); margin: 6px 0 18px;
}
.pillar-card h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 8px; }
.pillar-card p { font-size: 0.94rem; color: var(--ink-soft); margin: 0 0 18px; line-height: 1.62; }
.pillar-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: auto;
  font-weight: 800; font-size: 0.85rem; letter-spacing: 0.02em; color: var(--gold-deep);
}
.pillar-link span { transition: transform 0.25s var(--ease); display: inline-block; }
.pillar-card:hover .pillar-link span { transform: translateX(4px); }

/* ---------- Feature grid (service pages) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.feature-card {
  display: flex; flex-direction: column; padding: 28px 26px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.feature-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  color: var(--gold); background: var(--orange-soft); border: 1px solid var(--line); margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.28rem; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 0.94rem; color: var(--ink-soft); margin: 0; line-height: 1.62; }

/* ---------- Service-area cards (hub page) ---------- */
.area-card { text-decoration: none; }
.area-card h3 { color: var(--ink); }
.area-card .area-meta { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.area-arrow { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.02em; color: var(--gold-deep); }
.area-arrow span { display: inline-block; transition: transform 0.25s var(--ease); }
.area-card:hover .area-arrow span { transform: translateX(4px); }

/* ---------- Prose block (About + area pages) ---------- */
.prose { max-width: 720px; }
.prose p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.75; margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--gold-deep); font-weight: 700; border-bottom: 1.5px solid var(--gold); }
.prose a:hover { color: var(--navy); }
.area-note { margin-top: 26px; font-size: 0.86rem; color: var(--muted); font-style: italic; }

/* ---------- Responsive video player (local files) ---------- */
.video-frame {
  position: relative; width: 100%; margin: 0;
  border-radius: 16px; overflow: hidden;
  background: var(--navy-deep);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.video-frame video {
  display: block; width: 100%; height: auto;
  border-radius: 16px; background: #000;
}
.video-frame video:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.video-caption {
  margin: 14px 2px 0; font-size: 0.9rem; color: var(--muted);
  line-height: 1.6; font-style: italic;
}

/* ---------- Flagship international listing ---------- */
.flagship { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: start; }
.flagship-media { position: relative; }
.flagship-body { }
.flagship-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 600; color: var(--ink); margin: 0 0 8px; }
.flagship-loc { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem; color: var(--ink-soft); margin: 0 0 20px; }
.flagship-loc svg { color: var(--gold-deep); flex-shrink: 0; }
.flagship-price {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 4vw, 2.8rem);
  color: var(--navy); line-height: 1; margin: 0; letter-spacing: -0.01em;
}
.flagship-price-note { font-size: 0.86rem; color: var(--muted); margin: 8px 0 0; }
.flagship-specs {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; padding: 0; list-style: none;
}
.flagship-specs li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--cream); font-size: 0.9rem; color: var(--ink-soft);
}
.flagship-specs li svg { color: var(--gold-deep); flex-shrink: 0; }
.flagship-specs b { color: var(--ink); font-weight: 800; }
.flagship-desc { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.75; margin: 0 0 24px; }

@media (max-width: 900px) {
  .flagship { grid-template-columns: 1fr; gap: 28px; }
}

/* Section intro (left aligned) */
.section-intro { max-width: 720px; margin-bottom: 44px; }
.section--sand { background: var(--sand); }
.section--cream { background: var(--cream); }

/* ---------- CTA band (navy, gold button) ---------- */
.cta-band { background: var(--ink); color: var(--cream); text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 500; }
.cta-band p { color: #b8b1a4; max-width: 580px; margin: 18px auto 30px; font-size: 1.06rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--gold); color: var(--navy); box-shadow: 0 12px 28px rgba(198,162,74,0.28); }
.cta-band .btn-primary:hover { background: #d6b55e; color: var(--navy); }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.28); color: #fff; }
.cta-band .btn-outline:hover { border-color: var(--gold); color: var(--gold); background: transparent; }

/* ---------- Calculators ---------- */
.calc-disclaimer {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 30px;
  font-size: 0.86rem; font-weight: 700; color: var(--gold-deep);
  background: var(--orange-soft); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px;
}
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.calc {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 36px); box-shadow: var(--shadow-md);
}
.calc h3 { font-size: 1.55rem; font-weight: 600; margin-bottom: 4px; }
.calc-sub { font-size: 0.92rem; color: var(--muted); margin: 0 0 22px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-field { display: flex; flex-direction: column; gap: 7px; }
.calc-field.full { grid-column: 1 / -1; }
.calc-field label { font-weight: 700; font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.calc-inputwrap { position: relative; display: flex; align-items: center; }
.calc-inputwrap .affix {
  position: absolute; font-weight: 700; color: var(--muted); font-size: 0.95rem; pointer-events: none;
}
.calc-inputwrap .affix-pre { left: 14px; }
.calc-inputwrap .affix-suf { right: 14px; }
.calc-field input {
  width: 100%; font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--cream); transition: border-color 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}
.calc-inputwrap.has-pre input { padding-left: 30px; }
.calc-inputwrap.has-suf input { padding-right: 34px; }
.calc-field input:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(14,35,64,0.14); }
.calc-results { margin-top: 24px; padding-top: 6px; border-top: 1px solid var(--line); }
.calc-result-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft);
}
.calc-result-row:last-child { border-bottom: none; }
.calc-result-row .lbl { font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); }
.calc-result-row .val { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--ink); letter-spacing: -0.01em; }
.calc-result-row--primary {
  margin-top: 8px; padding: 16px 18px; background: var(--navy); border-radius: var(--radius-sm); border-bottom: none;
}
.calc-result-row--primary .lbl { color: #cdd4de; }
.calc-result-row--primary .val { color: #fff; font-size: 1.7rem; }
.calc-result-row .val.is-neg { color: var(--error); }
.calc-result-row .val.is-pos { color: #2f7d4f; }

/* ---------- Contact page: info + map ---------- */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact-hours { margin: 26px 0 0; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.contact-hours h3 { font-size: 1.05rem; font-weight: 700; font-family: var(--font-body); letter-spacing: 0.02em; margin-bottom: 12px; }
.contact-hours dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0; }
.contact-hours dt { font-weight: 700; color: var(--ink); font-size: 0.92rem; }
.contact-hours dd { margin: 0; text-align: right; color: var(--ink-soft); font-size: 0.92rem; }
.map-embed {
  margin-top: 40px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--sand);
}
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Responsive: dense multi-page nav → hamburger sooner ---------- */
@media (max-width: 1400px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 82px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(16px); padding: 16px 20px 24px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform 0.28s var(--ease), opacity 0.28s;
  }
  .nav-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: 13px 14px; font-size: 1rem; }
  .nav-menu a:not(.nav-cta)::after { display: none; }
  .nav-logins { margin: 10px 0 0; padding: 12px 0 0; border-left: none; border-top: 1px solid var(--line); }
  .nav-menu a.nav-login { flex: 1; text-align: center; padding: 13px 14px; }
}

@media (max-width: 960px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .calc-wrap { grid-template-columns: 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .map-embed iframe { height: 320px; }
}

@media (max-width: 600px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .page-hero-cta .btn { flex: 1 1 100%; }
  .contact-hours dd { text-align: left; }
}
