/* contact.css: Contact page (/contact). Owner: contact agent.
   The design's inline styles stay in the HTML; this file holds the design's global rules,
   the responsive values the design runtime computed in JS (same breakpoints: 640, 820, 1040),
   hover rules, and the inspection fixes. */

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--ct-head,86px) + 12px)}
:root{--ef-scroll-offset:calc(var(--ct-head,86px) + 16px)}
body{margin:0;background:#FFFFFF;color:#1E2A26;font-family:'Inter',system-ui,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:#154734;text-decoration:none}
a:hover{color:#20613F}
img{display:block;max-width:100%}
input,select,textarea,button{font-family:inherit}
::selection{background:#154734;color:#fff}
@keyframes cIn{0%{opacity:0;transform:translateY(18px)}100%{opacity:1;transform:none}}
@media (prefers-reduced-motion: reduce){*{animation:none!important;transition:none!important}html{scroll-behavior:auto}}
[hidden]{display:none!important}

/* layout the design runtime computed per viewport width */
.site-head{display:flex}
@media (min-width:820px){.site-head{display:grid}}
.g-main{grid-template-columns:1fr}
@media (min-width:820px){.g-main{grid-template-columns:1fr 1fr}}
.g-agents{grid-template-columns:1fr}
@media (min-width:640px){.g-agents{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1040px){.g-agents{grid-template-columns:repeat(3,1fr)}}

/* design hover states, plus the same look on keyboard focus */
.hv1:hover,.hv1:focus-visible{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.6)!important}
.hv2:hover,.hv2:focus-visible{background:#20613F!important}
.site-head a:hover{color:#fff}

/* visually hidden text for screen readers */
.vh{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}

/* focus ring: 2px solid page accent, 2px offset (white on the green header and footer) */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #154734;outline-offset:2px}
.site-head a:focus-visible,footer a:focus-visible{outline-color:#fff}
.ct-control:focus{outline:none}
.ct-control:focus-visible{outline:2px solid #154734!important;outline-offset:2px!important}

/* 44px touch targets without changing the look: an invisible band centred on the link */
.ct-hit{position:relative}
.ct-hit::before{content:"";position:absolute;left:0;right:0;top:50%;height:44px;transform:translateY(-50%)}

/* inline SVG icons that replace the text glyphs (WebKit drew them as colour emoji) */
.ct-ico{display:block;flex:none;overflow:visible}

/* ---------- form controls (fc-10: 16px text; heights kept to the design's Chromium boxes) ---------- */
.ct-control{display:block;width:100%;margin:0;line-height:19px}
input.ct-control{height:51px}
select.ct-select{height:53px}
textarea.ct-textarea{min-height:51px}

/* fc-12: under 820px the office bar sits directly above the office details */
.ct-bar-mob{display:block}
.ct-bar-desk{display:none}
@media (min-width:820px){.ct-bar-mob{display:none}.ct-bar-desk{display:block}}

/* ---------- map: click-to-load facade (PN-21, fc-18) ---------- */
.ct-map{display:flex;background:#EEF3EF}
.ct-map.is-loaded{overflow:hidden;background:#E5E9E6}
.ct-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0;filter:grayscale(.35) contrast(1.02)}
.ct-map-facade{flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px;text-align:center;filter:grayscale(.35)}
.ct-map-pin{display:block}
.ct-map-address{margin:0;font-size:14px;line-height:1.6;color:#1E2A26}
.ct-map-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 22px}
.ct-map-btn{background:#154734;color:#fff;border:none;font-size:14px;letter-spacing:.04em;font-weight:600;padding:0 28px;min-height:44px;border-radius:2px;cursor:pointer;transition:background .3s ease}
.ct-map-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:#154734;text-decoration:underline;text-underline-offset:4px}

/* ---------- footer (fc-20, §7 legal block) ---------- */
footer a:hover{color:#fff}
.ct-foot-link{color:inherit;white-space:nowrap;text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);text-underline-offset:3px}
.ct-legal{max-width:1220px;margin:20px auto 0;padding-top:16px;border-top:1px solid rgba(255,255,255,.14);font-size:12px;line-height:1.7;color:rgba(255,255,255,.6)}
.ct-legal p{margin:0}
.ct-legal p+p{margin-top:2px}
.ct-legal-links a{display:inline-block;padding:12px 0;color:rgba(255,255,255,.75);text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);text-underline-offset:3px}
