/*
Theme Name: Voyance
Description: Voyance Real Estate. Calm, plain-spoken brokerage design: one deep green, white reading surfaces, a serif for headlines and a hyperlegible sans for everything people read. Page content uses native WordPress blocks.
Version: 3.1.0
Author: Voyance Real Estate
Text Domain: voyance
*/

/* ------------------------------------------------------------------ Tokens */
:root {
  --ink: #13201d;          /* headings */
  --text: #29332f;         /* reading text */
  --muted: #5a6662;        /* secondary text, 5.9:1 on white */
  --line: #e6e2da;
  --line-strong: #cfc9bd;
  --paper: #ffffff;
  --surface: #f8f6f1;      /* alternate section fill, warm off-white */
  --hero: #f4f1ea;
  --brand: #0f4c45;        /* Gulf green: the one brand color and every action */
  --brand-press: #0a3934;
  --brand-tint: #e2edea;
  --deep: #0b2925;         /* footer */
  --sell: #b0502a;         /* family legend: small tags and dots only */
  --buy: #2d7a52;
  --commercial: #3d5675;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(19, 32, 29, .05);
  --shadow-lg: 0 1px 2px rgba(19, 32, 29, .04), 0 14px 34px -14px rgba(19, 32, 29, .18);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--brand-tint); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--brand-press); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -.015em; margin-bottom: .55em; }
h3 { font-family: var(--sans); font-weight: 700; font-size: 19px; line-height: 1.35; margin-bottom: .5em; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; font-weight: 700; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------------ Buttons: one action color */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
.wp-block-button { margin: 0; }
.wp-block-button__link, .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--brand); color: #fff; border: 0; border-radius: 8px;
  font-family: var(--sans); font-weight: 700; font-size: 17px; line-height: 1.25; text-decoration: none;
  padding: 15px 24px; box-shadow: var(--shadow-sm);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.wp-block-button__link:hover, .btn-primary:hover { background: var(--brand-press); color: #fff; text-decoration: none; }
.wp-block-button__link:active, .btn-primary:active { transform: translateY(1px); }

/* ------------------------------------------------------------------ Header */
.site-header { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-bar { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 20px var(--gutter); display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; color: #202123; text-decoration: none; line-height: 0; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.logo { display: block; width: auto; }
.logo--horizontal { height: 44px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.main-nav ul a { font-size: 17px; color: var(--text); text-decoration: none; padding: 8px 0 6px; border-bottom: 2px solid transparent; }
.main-nav ul a:hover { color: var(--brand); border-bottom-color: var(--brand-tint); }
.main-nav .current-menu-item > a, .main-nav .current-page-ancestor > a, .main-nav .current-menu-ancestor > a { color: var(--ink); font-weight: 700; border-bottom-color: var(--brand); }
.header-cta { font-size: 16px; padding: 11px 18px; }
.main-nav .lang-switch { gap: 2px; padding-left: 22px; border-left: 1px solid var(--line); }
.main-nav .lang-switch a { display: block; padding: 6px 7px; font-size: 14.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted); border: 0; border-radius: 6px; }
.main-nav .lang-switch a:hover { color: var(--ink); background: var(--surface); }
.main-nav .lang-switch a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; text-decoration-color: var(--brand); }
.lang-long { display: none; }
.menu-toggle { display: none; margin-left: auto; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 8px; padding: 9px 14px; font-weight: 700; font-size: 16px; color: var(--ink); }
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; border-radius: 1px; transition: transform .2s var(--ease); }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; } .menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* ------------------------------------------------------------------ Layout primitives */
.entry-content > * { margin-block: 0; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(56px, 7vw, 96px); }
.sec.tissue, .sec.banded { background: var(--surface); }
.sec:not(.tissue):not(.close):not(.intro-sec):not(.banded) + .sec:not(.tissue):not(.close):not(.banded) { padding-top: 0; }
.wp-block-group { box-sizing: border-box; }
.prose > * { max-width: 68ch; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .55em; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split--check { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
.split--check .prose > h2 { margin-bottom: .5em; }
.text-link { font-weight: 700; text-decoration: none; }
.text-link::after { content: "→"; display: inline-block; margin-left: .35em; transition: transform .2s var(--ease); }
.text-link:hover { text-decoration: underline; }
.text-link:hover::after { transform: translateX(3px); }

/* ------------------------------------------------------------------ Hero: headline, offer, broker card */
.label-hero { --fam: var(--brand); background: var(--hero); border-bottom: 1px solid var(--line); }
.fam-sell { --fam: var(--sell); }
.fam-buy { --fam: var(--buy); }
.fam-commercial { --fam: var(--commercial); }
.label-hero-inner {
  max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(32px, 4.5vw, 64px) var(--gutter) clamp(56px, 7vw, 104px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  grid-template-areas: "crumbs crumbs" ". card" "label card" "offer card" ". card"; grid-template-rows: auto 1fr auto auto 1fr;
  column-gap: clamp(40px, 6vw, 96px);
}
.crumbs { grid-area: crumbs; font-size: 15px; line-height: 1.4; color: var(--muted); margin: 0 0 clamp(24px, 3vw, 40px); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.label { grid-area: label; display: flex; flex-direction: column; align-items: flex-start; }
.label-arc, .label .legal { display: none; }
.label .band { order: -1; margin: 0 0 18px; font-size: 14px; font-weight: 700; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.label h1 { font-size: clamp(38px, 4.8vw, 62px); max-width: 17ch; }
.label.is-mid h1 { font-size: clamp(36px, 4.3vw, 56px); max-width: 19ch; }
.label.is-long h1 { font-size: clamp(32px, 3.7vw, 48px); max-width: 22ch; }
.hero-offer { grid-area: offer; margin-top: 24px; padding-bottom: 8px; }
.hero-offer .lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; max-width: 44ch; margin: 0; color: var(--text); }
.hero-offer .wp-block-buttons { margin-top: 30px; }

.broker-card { grid-area: card; align-self: start; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.broker-card p { margin: 0; }
.broker-card-photo { aspect-ratio: 5 / 4; background: #fff; }
.broker-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.broker-card-body { padding: 20px 24px 22px; border-top: 1px solid var(--line); }
.broker-card-name { font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.2; color: var(--ink); }
.broker-card-role { font-size: 14.5px; line-height: 1.4; color: var(--muted); margin: 3px 0 16px !important; }
.broker-card-lic { font-size: 14px; line-height: 1.45; color: var(--muted); padding-top: 12px; margin-top: 4px !important; border-top: 1px solid var(--line); }
.broker-card-more { margin-top: 8px !important; font-size: 15.5px; }

.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 9px; font-size: 16px; line-height: 1.45; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: .12em; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-tint); }
.checks li::after { content: ""; position: absolute; left: 7px; top: calc(.12em + 5px); width: 5px; height: 9px; border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.intro-sec { padding-top: clamp(40px, 5vw, 64px); padding-bottom: 0; }
.intro-sec + .sec:not(.tissue):not(.banded) { padding-top: clamp(48px, 6vw, 80px); }
.intro-lead { font-size: clamp(19px, 1.6vw, 21px); line-height: 1.6; max-width: 62ch; margin: 0; color: var(--text); }
.intro-lead + .intro-lead { margin-top: .7em; }

/* Sections that used to be colored stripes are now plain headed sections on the surface fill. */
.banded { padding-top: clamp(56px, 7vw, 96px); }
.band-head h2 { margin: 0; }
.band-body { padding-top: clamp(16px, 2vw, 24px); }
.band-body .prose p { font-size: 18.5px; }

/* ------------------------------------------------------------------ Situation cards */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-top: 12px; }
.tiles > p { margin: 0; display: flex; }
.tiles a {
  position: relative; display: flex; flex-direction: column; width: 100%;
  background: var(--paper); color: var(--text); text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.tiles .t-band { display: none; }
.tiles strong { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.25; color: var(--ink); margin-bottom: 6px; padding-right: 26px; }
.tiles .t-desc { font-size: 16px; line-height: 1.5; color: var(--muted); }
.tiles a::after { content: "→"; position: absolute; top: 22px; right: 22px; font-size: 18px; line-height: 1.3; color: var(--brand); opacity: .45; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.tiles a:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.tiles a:hover::after { opacity: 1; transform: translateX(3px); }
.tiles a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.tiles--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Home: every other situation, as a quiet grouped list behind one disclosure */
.situation-index { margin-top: 28px; }
.situation-index summary { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; font-weight: 700; color: var(--brand); padding: 10px 0; }
.situation-index summary::-webkit-details-marker { display: none; }
.situation-index summary::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease); }
.situation-index[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.situation-index summary:hover { text-decoration: underline; text-underline-offset: .2em; }
.index-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px 48px; margin-top: 18px; padding-top: 26px; border-top: 1px solid var(--line); }
.index-col h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.index-col ul { list-style: none; margin: 0; padding: 0; }
.index-col:first-child ul { columns: 2; column-gap: 40px; }
.index-col li { break-inside: avoid; margin-bottom: 9px; font-size: 16.5px; line-height: 1.4; }
.index-col a { text-decoration: none; }
.index-col a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ Process steps */
ol.steps { list-style: none; counter-reset: step; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
ol.steps > li { counter-increment: step; position: relative; padding: 24px 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin: 0; max-width: none; font-size: 16.5px; line-height: 1.55; }
ol.steps > li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 16px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1; font-variant-numeric: tabular-nums; }
ol.steps > li:first-child::before { background: var(--brand); color: #fff; }
ol.steps > li strong { display: block; font-size: 19px; line-height: 1.35; color: var(--ink); margin-bottom: 6px; }

/* ------------------------------------------------------------------ Panels, lists, notes */
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 8px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px 18px; background: var(--paper); }
.sec:not(.tissue):not(.banded) .panel { background: var(--surface); border-color: transparent; }
.panel h3 { font-size: 18px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.panel ul, .diamonds { list-style: none; padding: 0; margin: 0; }
.panel li, .diamonds li { position: relative; padding-left: 22px; margin-bottom: 10px; font-size: 17px; line-height: 1.5; }
.panel li::before, .diamonds li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.note { font-size: 15.5px; line-height: 1.55; color: var(--muted); padding: 2px 0 2px 16px; border-left: 3px solid var(--brand-tint); max-width: 60ch; margin-top: 22px; }
.fine { font-size: 14px; line-height: 1.5; color: var(--muted); }
.resources { font-size: 15px; }
.resources a { margin-right: .4em; }

/* ------------------------------------------------------------------ Questions */
.faq { max-width: 860px; }
.faq .wp-block-details { border-top: 1px solid var(--line); margin: 0; }
.faq .wp-block-details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 48px 20px 0; font-weight: 700; font-size: 18px; line-height: 1.45; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 14px; height: 2px; margin-top: -1px; background: var(--brand); border-radius: 1px; transition: transform .25s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--brand); }
.faq details p { max-width: 70ch; margin: -4px 0 22px; }
.faq .fine, .faq .resources { margin-top: 24px; }

/* ------------------------------------------------------------------ Broker section */
.broker-head { display: flex; align-items: center; gap: clamp(18px, 3vw, 32px); }
.broker-photo { flex: none; width: clamp(88px, 9vw, 112px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.broker-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }

/* ------------------------------------------------------------------ Close: one action, on a green card */
.sec.close { padding-inline: var(--gutter); text-align: center; }
.close > .wrap { max-width: var(--wrap); background: var(--brand); color: #fff; border-radius: 20px; padding: clamp(40px, 6vw, 72px) clamp(22px, 5vw, 64px); }
.close h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; max-width: 22ch; margin: 0 auto .45em; }
.close p { max-width: 54ch; margin-inline: auto; font-size: 19px; color: rgba(255, 255, 255, .86); }
.close .wp-block-buttons { justify-content: center; margin-top: 30px; }
.close .wp-block-button__link { background: var(--paper); color: var(--brand); }
.close .wp-block-button__link:hover { background: var(--brand-tint); color: var(--brand-press); }
.close :focus-visible { outline-color: #fff; }

/* ------------------------------------------------------------------ Contact planner */
.planner { border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 3vw, 36px); background: var(--paper); box-shadow: var(--shadow-lg); }
.planner h2 { font-size: clamp(26px, 3vw, 34px); }
.planner-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; margin: 22px 0 26px; }
.planner-option { text-align: left; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 10px; padding: 13px 16px; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--text); transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.planner-option:hover { border-color: var(--brand); background: var(--surface); }
.planner-option[aria-pressed="true"] { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-press); box-shadow: inset 0 0 0 1px var(--brand); }
.planner-output { background: var(--surface); border-radius: var(--radius); padding: 22px 26px 12px; }
.planner-output h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin-bottom: 14px; }
.planner-output ul { list-style: none; padding: 0; margin: 0; }
.planner-output li { position: relative; padding-left: 22px; margin-bottom: 10px; }
.planner-output li::before { content: ""; position: absolute; left: 3px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.planner .fine { border-top: 1px solid var(--line); padding-top: 14px; margin: 20px 0 0; }

/* ------------------------------------------------------------------ Footer */
.site-footer { background: var(--deep); color: #cfdcd8; }
.site-footer a { color: #fff; }
.footer-inner { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 64px var(--gutter) 44px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; }
.brand--reverse { color: #fff; --logo-gold: #c8ad86; }
.logo--stacked { height: 112px; }
.footer-legal { margin: 22px 0 10px; font-size: 15px; line-height: 1.6; max-width: 52ch; }
.footer-verify, .footer-social, .footer-langs { font-size: 15px; }
.footer-langs { color: #9fb5b0; }
.footer-col h2 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9fb5b0; margin: 0 0 14px; }
.footer-col h2:not(:first-child) { margin-top: 30px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; font-size: 15.5px; line-height: 1.4; }
.footer-col a { color: #e8f0ee; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 18px var(--gutter) 28px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13.5px; color: #9fb5b0; }
.eho { display: inline-flex; align-items: center; gap: 8px; }
.site-footer :focus-visible { outline-color: #fff; }

/* ------------------------------------------------------------------ Responsive */
@media (max-width: 1080px) {
  .main-nav, .main-nav ul { gap: 18px; }
  .main-nav ul a { font-size: 16px; }
}
@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .header-bar { flex-wrap: wrap; padding-block: 14px; }
  .main-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 16px; padding: 6px 0 8px; }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; font-size: 19px; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .main-nav ul a:hover { border-bottom-color: var(--line); }
  .main-nav .current-menu-item > a, .main-nav .current-page-ancestor > a, .main-nav .current-menu-ancestor > a { border-bottom-color: var(--line); }
  .header-cta { font-size: 17px; padding: 15px 20px; }
  .label-hero-inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "crumbs" "label" "offer" "card"; grid-template-rows: none; }
  .broker-card { margin-top: 40px; max-width: 560px; display: grid; grid-template-columns: 140px minmax(0, 1fr); }
  .broker-card-photo { aspect-ratio: auto; height: 100%; }
  .broker-card-body { border-top: 0; border-left: 1px solid var(--line); }
  .main-nav .lang-switch { flex-direction: row; flex-wrap: wrap; padding: 10px 0 0; border-left: 0; gap: 8px; }
  .main-nav .lang-switch a { padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 16px; letter-spacing: 0; }
  .main-nav .lang-switch a[aria-current] { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-press); text-decoration: none; }
  .lang-short { display: none; } .lang-long { display: inline; }
  .tiles--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .index-col:first-child { grid-column: 1 / -1; }
  .split, .split--check { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .header-bar { gap: 16px; }
  .logo--horizontal { height: 28px; }
  .label .band { margin-bottom: 14px; }
  .hero-offer .lead { font-size: 18.5px; }
  .hero-offer .wp-block-buttons { margin-top: 24px; }
  .hero-offer .wp-block-buttons .wp-block-button, .hero-offer .wp-block-button__link { width: 100%; }
  .close .wp-block-button, .close .wp-block-button__link { width: 100%; }
  .close > .wrap { border-radius: 16px; }
  .broker-card { grid-template-columns: minmax(0, 1fr); }
  .broker-card-photo { aspect-ratio: 4 / 3; }
  .broker-card-body { border-left: 0; border-top: 1px solid var(--line); padding: 18px 20px; }
  .tiles--featured, .index-cols { grid-template-columns: minmax(0, 1fr); }
  .index-col:first-child ul { columns: 1; }
  .tiles { gap: 10px; }
  .tiles a { padding: 16px 18px; }
  .tiles strong { font-size: 18.5px; }
  .broker-head { flex-direction: row; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tiles a:hover { transform: none; }
}

/* ------------------------------------------------------------------ Editor */
.editor-styles-wrapper { font-family: var(--sans); }
.editor-styles-wrapper .label-hero-inner { display: block; padding: 24px; }

/* ------------------------------------------------------------------ Contact form (GoHighLevel embed) */
.form-sec { padding-bottom: 0; }
.form-sec:not(:has(.ghl-form)) { display: none; }
.ghl-form { max-width: 820px; } /* GHL draws its own card inside the iframe */
.ghl-form iframe { display: block; }
.ghl-form .fine { padding: 0 4px; margin: 14px 0 0; }
