/* Self-hosted fonts eliminate the third-party stylesheet request. */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/jost-300.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jost-400.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jost-500.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/jost-600.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Caslon Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/libre-caslon-text-400.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Caslon Text";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/libre-caslon-text-700.woff2") format("woff2");
}

/* Out East-inspired type hierarchy. Jost is an available alternative to P22 Underground. */
:root {
  --header-background: var(--surface-dark);
  --header-text: #ffffff;
  --accent: #c3a56b;
  --surface-white: #ffffff;
  --surface-cream: #f7f4ed;
  --surface-dark: #202020;
  --theme-green: #103b30;
  --theme-border: #ded9d0;
  /* White button text exceeds 4.5:1 contrast in both states. */
  --connect-background: #008532;
  --connect-hover: #006b28;
  --font-body: "Jost", "Gill Sans", Arial, sans-serif;
  --font-brand: "Libre Caslon Text", "Baskerville", "Times New Roman", serif;
  --header-height: 52px;
  --mobile-cta-height: 0px;
}

* { box-sizing: border-box; }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 32px 20px; background: var(--surface-cream); }
.error-content { max-width: 600px; text-align: center; color: var(--theme-green); }
.error-content h1 { font-size: clamp(28px, 5vw, 42px); font-weight: 500; }
.error-content .property-enquiry { margin-top: 24px; }
body { margin: 0; background: #fff; color: #161616; font-family: var(--font-body); font-size: 16px; font-weight: 400; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

/* The hero extends behind the fixed transparent header. */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--mobile-cta-height));
  height: calc(100dvh - var(--mobile-cta-height));
  min-height: 0;
  overflow: hidden;
  background: #072743;
}
.hero-picture { display: block; width: 100%; height: 100%; }
.hero-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; filter: saturate(.78) contrast(.96); }
/* A top gradient keeps the headline readable while preserving the skyline. */
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 13 30 / 65%), rgb(0 13 30 / 25%) 45%, transparent 75%); pointer-events: none; }
.hero-content { position: absolute; z-index: 1; inset: 0; padding: clamp(28px, 7vh, 64px) 32px 24px; color: #fff; text-align: center; overflow-y: auto; }
.hero h1 { max-width: 1160px; margin: 0 auto 28px; font-size: clamp(28px, 3.2vw, 38px); font-weight: 300; line-height: 1.24; letter-spacing: 1px; text-transform: uppercase; text-wrap: balance; }
.hero h1 span { display: block; }
.hero-benefits { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px 32px; margin: 0 auto; padding: 0; list-style: none; }
.hero-benefits li { display: flex; align-items: center; gap: 10px; font-size: clamp(16px, 1.5vw, 20px); font-weight: 400; line-height: 1.4; }
.hero-benefits svg { width: 27px; height: 27px; flex-shrink: 0; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Desktop copy is left-aligned and vertically centered in the left half. */
@media (min-width: 768px) {
  .hero-content { right: auto; width: 50%; display: flex; flex-direction: column; justify-content: safe center; align-items: flex-start; padding: 24px 32px; text-align: left; }
  .hero h1 { margin: 0 0 28px; font-size: clamp(20px, 2.3vw, 38px); line-height: 1.3; }
  .hero h1 span { display: block; }
  .hero-benefits { flex-direction: column; align-items: flex-start; gap: 20px; margin: 0; }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .hero-content { padding-inline: 24px; }
}

@media (max-width: 767px) {
  .hero-content { padding: 32px 20px 20px; }
  .hero-image { object-position: center bottom; }
  /* One centered text block with a shared left edge and even benefit columns. */
  .hero h1 { max-width: 420px; font-size: clamp(16px, 4.8vw, 24px); margin: 0 auto 24px; line-height: 1.4; letter-spacing: 0; text-align: left; text-wrap: initial; }
  .hero-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 16px; max-width: 420px; text-align: left; }
  .hero-benefits li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; min-height: 28px; font-size: clamp(12px, 3.4vw, 15px); line-height: 1.4; }
  .hero-benefits svg { width: 22px; height: 22px; }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero-content { padding-top: 20px; }
  .hero h1 { font-size: clamp(20px, 2.3vw, 28px); margin-bottom: 18px; }
  .hero-benefits { gap: 12px 20px; }
}

/* Open, borderless property grid inspired by the supplied reference. */
.property-types { padding: 64px 32px; background: #fff; color: var(--theme-green); text-align: center; }
.property-types h2 { margin: 0 0 32px; font-size: clamp(22px, 2.5vw, 32px); line-height: 1.23; font-weight: 500; letter-spacing: 0; }
.property-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; max-width: 1800px; margin: 0 auto; }
.property-card { min-width: 0; }
.property-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #eef1ef; }
.property-card h3 { margin: 14px 0 4px; font-size: clamp(14px, 1.3vw, 18px); font-weight: 500; line-height: 1.3; letter-spacing: .025em; text-transform: uppercase; white-space: nowrap; text-align: center; }
.property-card p { margin: 0; font-size: clamp(12px, 1.1vw, 16px); line-height: 1.4; text-align: center; }
.property-enquiry { display: block; width: min(320px, 100%); min-height: 48px; margin: 38px auto 0; padding: 12px 24px; border: 1px solid var(--theme-green); border-radius: 30px; background: #fff; color: inherit; font-size: 13px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.property-enquiry:hover { background: var(--theme-green); color: #fff; }
@media (max-width: 1024px) {
  .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
}
@media (max-width: 767px) {
  .property-types { padding: 40px 16px; }
  .property-types h2 { margin-bottom: 26px; font-size: clamp(20px, 5.5vw, 28px); white-space: nowrap; }
  .property-grid { gap: 28px 14px; }
  .property-card h3 { margin: 10px 0 3px; font-size: clamp(11px, 3.3vw, 18px); }
  .property-card p { font-size: clamp(10px, 2.6vw, 13px); }
}

/* Featured listings: image, paired facts, and equally sized contact actions. */
.featured-properties { padding: 56px 32px 64px; background: var(--surface-cream); color: var(--theme-green); }
.featured-properties h2 { margin: 0 0 32px; text-align: center; font-size: clamp(22px, 2.5vw, 32px); font-weight: 500; line-height: 1.23; }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
/* Match the reference's landscape image and naturally sized details panel. */
.featured-card { display: flex; flex-direction: column; min-width: 0; background: var(--surface-white); }
.featured-image { position: relative; aspect-ratio: 9 / 5; flex-shrink: 0; overflow: hidden; }
.featured-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.featured-status { position: absolute; top: 14px; left: 14px; padding: 7px 14px; background: #080808; color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
.featured-details { display: flex; flex-direction: column; flex: 1; padding: 12px 15px; }
.featured-details h3 { margin: 0 0 8px; font-size: clamp(24px, 2.3vw, 30px); font-weight: 400; line-height: 1.4; }
.featured-facts { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); margin: 0 0 10px; }
.featured-facts > div { min-width: 0; padding: 6px 0; border-bottom: 1px solid var(--theme-border); }
.featured-facts > div:nth-child(odd) { padding-right: 12px; }
.featured-facts dt { margin-bottom: 2px; color: #74746b; font-size: 14px; font-weight: 500; }
.featured-facts dd { margin: 0; font-size: 16px; line-height: 1.4; }
.featured-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: auto; }
.featured-actions button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 8px; border: 1px solid var(--theme-green); border-radius: 4px; font-size: 13px; font-weight: 500; cursor: pointer; }
.featured-actions .connect-button { min-height: 46px; padding: 10px 8px; }
.featured-actions button { background: transparent; color: var(--theme-green); }
.featured-actions button:hover { background: var(--theme-green); color: #fff; }
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 767px) {
  .featured-properties { padding: 40px 16px; }
  .featured-properties h2 { margin-bottom: 26px; font-size: clamp(20px, 5.5vw, 28px); }
  .featured-grid { grid-template-columns: 1fr; }
}

/* Compact enquiry banner with decorative, code-native property illustrations. */
.home-callout { position: relative; isolation: isolate; overflow: hidden; margin: 56px 32px; padding: 32px 180px; border: 1px solid var(--theme-green); border-radius: 24px; background: var(--theme-green); color: #fff; text-align: center; }
.home-callout-content { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.home-callout h2 { margin: 0 0 10px; font-size: clamp(22px, 2.5vw, 32px); font-weight: 500; line-height: 1.23; }
.home-callout p { margin: 0 auto 22px; font-size: 16px; line-height: 1.6; }
.home-callout-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
.home-callout-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 24px; border: 1px solid var(--theme-green); border-radius: 6px; background: #fff; color: var(--theme-green); font-size: 14px; font-weight: 500; letter-spacing: .4px; cursor: pointer; }
/* Equal dimensions for both actions, without changing the header button. */
.home-callout-actions > a, .home-callout-actions > button { flex: 0 1 200px; width: 200px; max-width: 100%; height: 46px; min-height: 46px; padding: 10px 16px; border-radius: 8px; line-height: 20px; }
.home-callout-actions button:hover { background: var(--surface-cream); color: var(--theme-green); }
.callout-art { position: absolute; bottom: 0; width: 170px; height: 180px; color: #a1b6a6; pointer-events: none; }
.callout-art-left { left: 0; }
.callout-art-right { right: 0; }
@media (max-width: 1024px) {
  .home-callout { padding-inline: 100px; }
  .callout-art { width: 110px; opacity: .6; }
}
@media (max-width: 767px) {
  .home-callout { margin: 40px 16px; padding: 28px 20px; border-radius: 18px; }
  .home-callout h2 { font-size: clamp(20px, 5.5vw, 28px); }
  .home-callout p { font-size: 15px; }
  .callout-art { opacity: .15; z-index: -1; }
  .home-callout-actions { gap: 10px; }
}

/* Portrait location cards inspired by Out East, with readable text overlays. */
.preferred-locations { padding: 0 32px 64px; background: var(--surface-white); color: var(--theme-green); }
.preferred-locations h2 { margin: 0 0 32px; font-size: clamp(22px, 2.5vw, 32px); font-weight: 500; line-height: 1.23; text-align: center; }
.location-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.location-card { position: relative; isolation: isolate; min-width: 0; aspect-ratio: 2 / 3; overflow: hidden; background: #dce5e7; }
.location-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.location-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(233 241 244 / 96%), rgb(233 241 244 / 85%) 38%, transparent 70%); }
.location-card-content { padding: 32px 16px; text-align: center; }
.location-card h3 { display: flex; align-items: center; justify-content: center; min-height: 3.9em; margin: 0 0 20px; font-size: clamp(18px, 1.8vw, 28px); font-weight: 400; line-height: 1.3; letter-spacing: 1px; text-transform: uppercase; text-wrap: balance; }
.location-card button { max-width: 100%; min-height: 44px; padding: 10px 18px; border: 1px solid currentColor; background: transparent; color: inherit; font-size: 13px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.location-card button:hover { background: var(--theme-green); color: #fff; }
@media (max-width: 1024px) {
  .location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .location-card h3 { font-size: clamp(20px, 3vw, 28px); }
}
@media (max-width: 767px) {
  .preferred-locations { padding: 0 16px 40px; }
  .preferred-locations h2 { margin-bottom: 26px; font-size: clamp(20px, 5.5vw, 28px); }
  .location-grid { gap: 16px; }
  .location-card-content { padding: 24px 12px; }
  .location-card h3 { font-size: clamp(17px, 3.5vw, 24px); letter-spacing: .5px; }
}
@media (max-width: 480px) {
  .location-grid { grid-template-columns: 1fr; }
  .location-card h3 { font-size: 26px; min-height: 2.6em; }
  .location-card-content { padding: 32px 24px; }
}

/* Reference-inspired investment grid, using the site's shared typography. */
.invest-section { padding: 56px 32px 64px; background: var(--surface-cream); color: var(--theme-green); }
.invest-inner { max-width: 1280px; margin-inline: auto; }
.invest-section h2 { margin: 0 0 8px; font-size: clamp(22px, 2.5vw, 32px); font-weight: 500; line-height: 1.23; }
.invest-intro { margin: 0 0 36px; font-size: 15px; font-weight: 400; }
.invest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
.invest-item { display: flex; align-items: flex-start; gap: 16px; min-width: 0; }
.invest-item svg { width: 48px; height: 48px; flex-shrink: 0; fill: none; stroke: #9b8051; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.invest-item h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.35; font-weight: 500; letter-spacing: .025em; text-transform: uppercase; }
.invest-item p { margin: 0; color: #585b56; font-size: 15px; line-height: 1.65; }
@media (max-width: 1024px) {
  .invest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
}
@media (max-width: 600px) {
  .invest-section { padding: 40px 16px; }
  .invest-section h2 { font-size: clamp(20px, 5.5vw, 28px); }
  .invest-intro { margin-bottom: 28px; }
  .invest-grid { grid-template-columns: 1fr; gap: 26px; }
  .invest-item svg { width: 42px; height: 42px; }
}

/* Compact footer with contact icons framed by fine rules. */
.site-footer { padding: 24px 32px 28px; background: var(--surface-dark); color: #f7f7f5; text-align: center; }
/* Keep the supplied property-link groups together across responsive columns. */
.footer-property-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: 1440px; margin: 8px auto 28px; text-align: left; }
.footer-property-links ul { list-style: none; margin: 0; padding: 0; }
.footer-property-links li + li { margin-top: 10px; }
.footer-property-links a { transition: color .2s ease; color: #c5c5c5; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; cursor: default; }
@media (max-width: 1024px) {
  .footer-property-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .footer-property-links { grid-template-columns: 1fr; gap: 24px; }
}
.footer-social { display: flex; align-items: center; justify-content: center; gap: 20px; max-width: 1200px; margin: 0 auto 18px; color: #b7b7b7; }
.footer-social::before, .footer-social::after { content: ""; flex: 1; height: 1px; background: #555; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; }
.footer-social svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-social a:hover { color: #fff; }
.footer-social .social-solid { fill: currentColor; stroke: none; }
/* Share the header wordmark typography and responsive sizing. */
.footer-brand { display: inline-block; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #444; text-align: left; }
.footer-copyright { margin: 0; color: #b7b7b7; font-size: 13px; }
.footer-disclaimer { max-width: 1100px; margin: 12px auto 16px; color: #b7b7b7; font-size: 12px; line-height: 1.65; }
.footer-disclaimer strong { color: #f7f7f5; font-weight: 500; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.footer-links a { transition: color .2s ease; padding: 0 12px; color: inherit; font-size: 13px; white-space: nowrap; }
.footer-links a:first-child { padding-left: 0; }
.footer-links a:last-child { padding-right: 0; }
.footer-links > * + * { border-left: 1px solid #666; }
.footer-links a:hover, .footer-property-links a:hover { color: var(--accent); }
.footer-links a[aria-disabled="true"] { cursor: default; }
@media (max-width: 1024px) {
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; row-gap: 10px; }
}
@media (max-width: 767px) {
  .site-footer { padding: 20px 16px 24px; }
  .footer-social { gap: 2px; margin-bottom: 14px; }
  .footer-copyright { font-size: 12px; }
  .footer-links a { padding-inline: 8px; font-size: 12px; }
}

/* Desktop header spans the viewport without a maximum-width wrapper. */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  width: 100%;
  min-height: 52px;
  padding: 3.5px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  background: transparent;
  color: var(--header-text);
  border-bottom: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled, .site-header.is-menu-open { background: var(--header-background); border-bottom-color: #292929; box-shadow: 0 3px 12px rgb(0 0 0 / 15%); }
/* Reserve room for the overlay without shifting the hero on scroll or menu open. */
.hero-content { padding-top: calc(var(--header-height) + 24px); }
/* Give the mobile headline and benefits more space below the wordmark. */
@media (max-width: 767px) {
  .hero-content { padding-top: calc(var(--header-height) + 48px); }
}
html { scroll-padding-top: calc(var(--header-height) + 16px); }
/* Legal pages share the site typography and keep the header readable on white. */
.policy-page .site-header { background: var(--surface-dark); }
.policy-main { padding: calc(var(--header-height) + 48px) 24px 64px; }
.policy-content { max-width: 900px; margin-inline: auto; }
.policy-content h1 { margin: 20px 0 8px; color: var(--theme-green); font-size: clamp(32px, 5vw, 46px); font-weight: 400; line-height: 1.2; }
.policy-date { color: #666; font-size: 14px; }
.policy-content section { margin-top: 32px; }
.policy-content h2 { margin: 0 0 12px; color: var(--theme-green); font-size: clamp(22px, 3vw, 27px); font-weight: 500; line-height: 1.3; }
.policy-content p, .policy-content li { line-height: 1.75; }
.policy-content li + li { margin-top: 10px; }
.policy-content ul { padding-left: 22px; }
.policy-content a, .callback-consent a { text-decoration: underline; text-underline-offset: 3px; }
.policy-content a { overflow-wrap: anywhere; }
.policy-content a:hover, .callback-consent a:hover { color: var(--accent); }
.policy-contact { background: var(--surface-cream); padding: 24px; border: 1px solid var(--theme-border); }
@media (max-width: 767px) {
  .policy-main { padding: calc(var(--header-height) + 28px) 20px 40px; }
  .policy-contact { padding: 20px; }
}
.brand {
  flex-shrink: 0;
  font-family: var(--font-brand);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: .015em;
  line-height: 1;
  white-space: nowrap;
}
/* Keep natural letter widths, a distinct word gap, and an airy second word. */
.brand strong { font-weight: 700; }
.brand > span { margin-left: .12em; font-weight: 400; letter-spacing: .085em; }
.navigation { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.menu { display: flex; align-items: center; gap: 20px; list-style: none; padding: 0; margin: 0; }
.menu a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .5px;
  text-transform: none;
  white-space: nowrap;
  transition: color .2s ease;
}
.menu a:hover, .menu a[aria-current="page"] { color: var(--accent); }
.menu-bullet { font-size: 12px; line-height: 1; }
a[aria-disabled="true"] { cursor: default; }
.connect-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--connect-background);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  border: 0;
  line-height: 20px;
  white-space: nowrap;
  transition: background .2s ease;
}
.connect-button:hover { background: var(--connect-hover); }
.connect-button svg { flex-shrink: 0; }
.menu-toggle { display: none; }
.mobile-contact-bar { display: none; }

/* Compact callback card; visible placeholders retain accessible hidden labels. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.callback-dialog { width: min(380px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 20px 14px 14px; border: 0; border-radius: 20px; color: #0f172a; background: #fff; box-shadow: 0 20px 70px rgb(0 0 0 / 25%); }
.callback-dialog::backdrop { background: rgb(4 15 32 / 65%); }
.callback-dialog h2 { margin: 0 36px 18px 0; font-size: 20px; font-weight: 500; line-height: 24px; }
.dialog-close { position: absolute; top: 9px; right: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: radial-gradient(circle, #f1f5f9 0 12px, transparent 13px); color: #64748b; font-size: 20px; cursor: pointer; }
#callback-form { display: grid; gap: 9px; }
.callback-phone-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; }
.callback-thanks { text-align: center; padding: 12px 0; }
.callback-thanks p { margin: 0 0 20px; }
.callback-thanks button { width: 100%; }
#callback-form input { width: 100%; min-height: 42px; border: 1px solid #e3e6eb; border-radius: 10px; padding: 11px 12px; font: inherit; font-size: 16px; background: #f7f8fa; color: #0f172a; }
#callback-form input::placeholder { color: #737d8c; font-size: 13px; opacity: 1; }
#callback-form input:focus-visible { outline: 2px solid #1a73e8; outline-offset: 1px; }
.callback-submit { min-height: 44px; border: 0; border-radius: 9px; color: #fff; background: var(--theme-green); font-size: 14px; font-weight: 500; cursor: pointer; }
.callback-submit:hover { background: #194d3f; }
.callback-submit:disabled { opacity: .55; cursor: not-allowed; }
.form-status { margin: 0; font-size: 12px; line-height: 1.5; color: #475569; }
.form-status:empty { display: none; }
.callback-benefits h3 { margin: 17px 0 12px; font-size: 12px; font-weight: 500; }
.callback-benefits ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.callback-benefits li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 11px; line-height: 1.25; color: #617594; }
.benefit-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #e8edf5; border-radius: 50%; background: #f8fafc; }
.benefit-icon svg { width: 16px; height: 16px; fill: none; stroke: #415979; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.callback-consent { margin: 14px 0 0; text-align: center; font-size: 10px; line-height: 1.4; color: #64748b; }
/* Collapsible navigation on tablets and phones; remains visible without JS. */
@media (max-width: 1200px) {
  .site-header { flex-wrap: wrap; gap: 0; padding: 3.5px 24px; min-height: 52px; }
  .brand { font-size: 30px; }
  .menu-toggle:not([hidden]) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 10px;
    border: 1px solid #484848;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }
  .menu-toggle span { width: 22px; height: 1px; background: currentColor; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .navigation { width: 100%; flex-direction: column; align-items: stretch; gap: 16px; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid #292929; }
  /* Overlay the hero without changing the header's measured height. */
  .site-header.is-enhanced .navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 16px 24px;
    max-height: calc(100dvh - var(--header-height) - var(--mobile-cta-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--header-background);
  }
  .site-header.is-enhanced.is-menu-open .navigation { display: flex; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu a { width: 100%; font-size: 13px; }
  .site-header .connect-button { align-self: flex-start; }
}

@media (max-width: 480px) {
  .site-header { padding: 3.5px 16px; }
  .brand { font-size: clamp(15px, 4.6vw, 22px); }
}

/* Phone CTA: reserve content space so the fixed bar never covers the page. */
@media (max-width: 767px) {
  :root { --mobile-cta-height: calc(56px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: var(--mobile-cta-height); }
  .site-header .connect-button { display: none; }
  .mobile-contact-bar {
    position: fixed;
    z-index: 100;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    background: var(--header-background);
    border-radius: 0;
    box-shadow: 0 -3px 16px rgb(15 23 42 / 10%);
  }
  .mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 8px 6px;
    border-radius: 9px;
    font-size: clamp(12px, 3.8vw, 16px);
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    border: 0;
    cursor: pointer;
  }
  .mobile-cta svg { width: 18px; height: 18px; flex-shrink: 0; }
  .mobile-cta.connect-button { gap: 8px; border-radius: 8px; font-size: 14px; font-weight: 400; line-height: 20px; }
  .mobile-cta-callback { background: #fff; color: #0f172a; }
  .mobile-cta-callback:hover { background: #f1f5f9; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}


