/* Abberly Property — site styles. Tokens mirror the "Abberly Property Brand" design system. */
:root {
  --navy: #0b2a4a; --navy-deep: #06182b; --navy-mid: #123a63;
  --teal: #13a3a8; --teal-deep: #0b7075; --aqua: #5fd3d8; --mist: #eaf4f6;
  --amber: #f2a33a; --ink: #1b2b3a; --slate: #4e6377; --line: #cfe3ea; --white: #fff;
  --success: #1e7a4c;
  --font-display: "Red Hat Display", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Red Hat Text", "Helvetica Neue", Arial, sans-serif;
  --radius: 8px; --radius-lg: 16px; --wrap: 1200px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --shadow: 0 1px 2px rgba(11,42,74,.06), 0 8px 24px rgba(11,42,74,.08);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 var(--font-text); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 3px; border-radius: 4px; }
.band-navy :focus-visible, .site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--aqua); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.2rem; line-height: 1.55; }
.eyebrow { display: block; font: 700 .8rem/1.2 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); margin: 0 0 .9rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.mist { background: var(--mist); }
.band-navy { background: var(--navy); color: #e6eef4; }
.band-navy h2, .band-navy h3 { color: var(--white); }
.band-navy .eyebrow { color: var(--aqua); }
.band-navy a:not(.btn) { color: var(--aqua); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--navy); padding: 10px 14px; z-index: 100; border-radius: var(--radius); }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 700 1rem/1.2 var(--font-text); padding: .85rem 1.45rem; border-radius: var(--radius); border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--teal-deep); color: var(--white); }
.btn-primary:hover { background: var(--navy); color: var(--white); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-aqua { background: var(--aqua); color: var(--navy); }
.btn-aqua:hover { background: var(--white); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.85); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-phone { background: var(--amber); color: var(--navy); border-radius: 999px; }
.btn-phone:hover { background: var(--white); color: var(--navy); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

/* Top bar + header */
.topbar { background: var(--navy-deep); color: #cfe3ea; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: var(--white); font-weight: 700; text-decoration: none; }
.topbar strong { color: var(--aqua); font-weight: 700; }
.site-header { background: var(--navy); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; border-bottom: 1px solid rgba(95,211,216,.18); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 80px; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; font-size: .98rem; padding: .55rem .7rem; border-radius: 6px; position: relative; }
.nav a::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .2rem; height: 3px; border-radius: 2px; background: var(--aqua); transform: scaleX(0); transition: transform .15s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: .6rem; padding: .65rem 1.1rem; }
.nav .btn::after { display: none; }
.menu-toggle { display: none; background: transparent; border: 2px solid rgba(255,255,255,.6); color: var(--white); border-radius: var(--radius); padding: .5rem .75rem; font: 700 .95rem var(--font-text); cursor: pointer; }
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: .5rem; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); padding: .5rem var(--gutter) 1.25rem; border-bottom: 3px solid var(--teal); }
  .nav.open { display: flex; }
  .nav a { padding: .9rem .25rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav a::after { left: .25rem; right: auto; width: 40px; }
  .nav .btn { margin: 1rem 0 0; }
  .brand img { height: 42px; }
}

/* Hero */
.hero { position: relative; background: var(--navy-deep); color: #dce8f0; overflow: hidden; border-bottom: 6px solid var(--teal); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero .wrap { position: relative; min-height: clamp(460px, 46vw, 620px); display: flex; align-items: center; }
.hero-copy { max-width: 560px; padding-block: 64px; }
.hero h1 { color: var(--white); }
.hero h1 span { color: var(--aqua); display: block; }
.hero .eyebrow { color: var(--aqua); }
.hero .lead { color: #cfe3ea; }
.hero-sm .wrap { min-height: clamp(380px, 36vw, 500px); }
@media (max-width: 820px) {
  .hero-media { position: relative; inset: auto; aspect-ratio: 4 / 3; order: 2; }
  .hero-media img { object-position: 82% center; }
  .hero { display: flex; flex-direction: column; }
  .hero .wrap { min-height: 0; order: 1; }
  .hero-copy { padding-block: 48px 8px; }
}

/* Trust strip */
.trust { background: var(--mist); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 1.5rem; }
.trust li { display: flex; align-items: center; gap: .85rem; font-weight: 700; color: var(--navy); line-height: 1.3; font-size: .98rem; }
.trust img { width: 40px; height: 40px; flex: none; }
@media (max-width: 900px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust ul { grid-template-columns: 1fr; } }

/* Section heading */
.section-head { max-width: 760px; margin-bottom: 2.4rem; }
.section-head p { color: var(--slate); }
.band-navy .section-head p { color: #cfe3ea; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--mist); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: .7rem; min-width: 0; }
.white .card, .mist .card { background: var(--white); border: 1px solid var(--line); }
.card .icon { width: 52px; height: 52px; }
.card .bar { width: 32px; height: 4px; border-radius: 2px; background: var(--teal); }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--slate); font-size: 1rem; }
.card .more { margin-top: auto; padding-top: .6rem; font-weight: 700; text-decoration: none; }
.card .more::after { content: " →"; }
a.card { text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.band-navy .card { background: var(--navy-mid); }
.band-navy .card p { color: #cfe3ea; }
.band-navy .card .bar { background: var(--aqua); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > * { min-width: 0; }
.split img { border-radius: var(--radius-lg); width: 100%; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .8rem; }
.ticks li { display: flex; gap: .8rem; align-items: flex-start; font-weight: 600; }
.ticks li::before { content: ""; flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.ticks.two { grid-template-columns: repeat(2, 1fr); gap: .9rem 2rem; }
@media (max-width: 620px) { .ticks.two { grid-template-columns: 1fr; } }
.band-navy .ticks li { color: var(--white); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px; counter-increment: step; }
.steps li::before { content: counter(step); width: 48px; height: 48px; border-radius: 50%; background: var(--teal-deep); color: var(--white); font: 800 1.35rem/48px var(--font-display); text-align: center; }
.steps h3 { margin: 4px 0 .35rem; }
.steps p { margin: 0; color: var(--slate); }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps-3 { grid-template-columns: 1fr; } }

/* Products */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.8rem; }
.filters a { text-decoration: none; font-weight: 700; font-size: .92rem; padding: .5rem .95rem; border-radius: 999px; border: 2px solid var(--line); color: var(--navy); background: var(--white); }
.filters a:hover { border-color: var(--teal-deep); }
.cat { margin-top: 3rem; scroll-margin-top: 110px; }
.cat:first-of-type { margin-top: 0; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.product { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; min-width: 0; }
.product:hover { box-shadow: var(--shadow); }
.product img { aspect-ratio: 1; width: 100%; object-fit: cover; background: var(--mist); }
.product .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.product h3 { font-size: 1.08rem; margin: 0; }
.product p { font-size: .94rem; color: var(--slate); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .8rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; background: var(--mist); color: var(--slate); }
.avail { font-size: .88rem; font-weight: 700; color: var(--success); margin-top: auto; padding-top: .3rem; }
.avail::before { content: "✓ "; }

/* Map + counties */
.counties { columns: 2; column-gap: 2rem; padding: 0; list-style: none; margin: 1rem 0 0; }
.counties li { padding: .3rem 0; break-inside: avoid; font-weight: 600; }
.counties li span { color: var(--slate); font-weight: 400; }
.key { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 1.2rem; font-size: .95rem; font-weight: 600; }
.key i { display: inline-block; width: 18px; height: 18px; border-radius: 4px; vertical-align: -3px; margin-right: .45rem; background: var(--teal); }
.key i.hatch { background: repeating-linear-gradient(45deg, var(--aqua) 0 3px, rgba(19,163,168,.25) 3px 7px); }

/* Trusted by */
.trusted { padding-block: 44px; }
.trusted h2 { font-size: .8rem; font-family: var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); text-align: center; margin-bottom: 1.2rem; font-weight: 700; }
.trusted picture img { width: 100%; max-width: 1200px; margin: 0 auto; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.contact-card img { width: 48px; height: 48px; }
.contact-card h2 { font-size: 1.15rem; margin: .4rem 0 0; }
.contact-card .big { font: 800 1.45rem/1.25 var(--font-display); color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.contact-card p { margin: 0; color: var(--slate); }
address { font-style: normal; }

/* CTA band */
.cta { background: var(--navy); color: #cfe3ea; border-top: 6px solid var(--teal); }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-block: 52px; }
.cta h2 { color: var(--white); margin: 0 0 .3rem; }
.cta p { margin: 0; }
.cta .actions { margin: 0; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #a9c4d6; font-size: .95rem; }
.site-footer .wrap { padding-block: 56px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer img { height: 46px; width: auto; margin-bottom: 1rem; }
.site-footer h2 { color: var(--white); font: 700 .8rem var(--font-text); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--aqua); text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; font-size: .84rem; }
.footer-base p { margin: 0; max-width: none; }

/* Page intro */
.intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.intro > * { min-width: 0; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }
.facts { background: var(--mist); border-radius: var(--radius-lg); padding: 30px; }
.facts h2 { font-size: 1.15rem; }
.facts dl { margin: 0; display: grid; gap: 1rem; }
.facts dt { font: 700 .78rem var(--font-text); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); }
.facts dd { margin: .2rem 0 0; font: 700 1.1rem/1.3 var(--font-display); color: var(--navy); }
@media (max-width: 700px) { .topbar span { display: none; } .topbar .wrap { justify-content: center; min-height: 36px; } }
a[href^="tel"] { white-space: nowrap; }
.hero-sm h1 { font-size: clamp(2.1rem, 3.7vw, 3rem); }
.hero-sm .hero-copy { max-width: 600px; }
.contact-card a.big[href^="mailto"] { font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
/* Cookie consent */
.consent { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 90; max-width: 560px; background: var(--navy-deep); color: #dce8f0; border: 1px solid rgba(95,211,216,.45); border-radius: var(--radius-lg); padding: 20px 22px; box-shadow: 0 10px 40px rgba(0,0,0,.35); font-size: .95rem; }
.consent p { margin: 0 0 14px; }
.consent-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.consent .btn { padding: .6rem 1.2rem; }

/* Legal pages */
.page-head { background: var(--navy, #0B2A4A); color: #fff; padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); }
.page-head .eyebrow { color: #5FD3D8; }
.page-head h1 { color: #fff; font-size: clamp(2.1rem, 3.7vw, 3rem); margin: .2em 0 .3em; }
.page-head .updated { color: rgba(255,255,255,.72); margin: 0; font-size: .95rem; }
.legal { max-width: 760px; color: #1B2B3A; line-height: 1.7; }
.legal h2 { font-size: 1.3rem; margin: 2em 0 .5em; color: #0B2A4A; }
.legal h2:first-child { margin-top: 0; }
.legal ol, .legal ul { padding-left: 1.6em; margin: 0 0 1.2em; }
.legal li { margin: .45em 0; }
.legal li::marker { color: #0B7075; font-weight: 600; }
.legal a { color: #0B7075; overflow-wrap: anywhere; }
.legal code { font-size: .9em; background: #EAF4F6; padding: .1em .35em; border-radius: 4px; }
.footer-base .credit { opacity: .7; }
.consent a { color: #5FD3D8; }
