/* Regan's Roofing — roofingcontractoraylesbury.co.uk
   Mobile-first. Brand palette sampled from the client's logo. */

:root {
  --navy: #243560;
  --navy-deep: #1a2748;
  --navy-ink: #121a30;
  --blue: #2678b0;
  --blue-dark: #1f6394;
  --sky: #65b4dd;
  --sky-soft: #e6f2fa;
  --ink: #1d2433;
  --body: #3d4759;
  --muted: #6b7587;
  --line: #dde4ee;
  --tint: #f4f7fb;
  --white: #fff;
  --star: #f5b400;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(18, 26, 48, .22);
  --shadow-lg: 0 24px 50px -20px rgba(18, 26, 48, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 72px;
  --font-h: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-b: "Inter", "Segoe UI", Arial, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* The parked mobile nav must never widen the document; overflow-y stays auto
     or the page loses its scrollbar. */
  overflow-x: clip;
  overflow-y: auto;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-b);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-h);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 4.6vw + .6rem, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.4vw + .7rem, 2.35rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--ease); }
a:hover { color: var(--navy); }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.wrap { width: min(100% - 2.5rem, 1180px); margin-inline: auto; }
.wrap--narrow { max-width: 820px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }
.kicker {
  font-family: var(--font-h); font-weight: 700; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin: 0 0 .7em;
}
.lede { font-size: 1.12rem; color: var(--body); }
.small-print { font-size: .85rem; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-h); font-weight: 700; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn::after { /* light sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform .6s var(--ease);
}
.btn:hover::after { transform: translateX(110%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn__ico { transition: transform .25s var(--ease); }
.btn:hover .btn__ico { transform: translateX(4px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(38,120,176,.8); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; box-shadow: 0 14px 26px -12px rgba(38,120,176,.9); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--sky-soft); color: var(--navy); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--lg { padding: 16px 28px; font-size: 1.05rem; }
.btn--wide { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); min-width: 0; }
.logo__mark { width: 52px; height: 31px; flex: none; transition: transform .35s var(--ease); }
.logo:hover .logo__mark { transform: translateY(-2px); }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.logo__name { font-family: var(--font-h); font-weight: 800; font-size: 1.22rem; letter-spacing: -.01em; white-space: nowrap; }
.logo__sub { display: none; font-size: .7rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
/* The strapline only fits once the header has room; below that the name alone
   must never run under the Menu button. */
@media (min-width: 560px) { .logo__sub { display: block; } }
@media (max-width: 400px) { .logo__name { font-size: 1.08rem; } .logo__mark { width: 44px; height: 26px; } }
.nav { display: none; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 10px 12px; text-decoration: none; color: var(--ink);
  font-family: var(--font-h); font-weight: 600; font-size: .95rem; border-radius: 8px;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px;
  background: var(--blue); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--blue); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: none; align-items: center; gap: 8px; text-decoration: none; color: var(--navy);
  font-family: var(--font-h); font-weight: 700; padding: 8px 6px; white-space: nowrap;
}
.header-phone .ico { color: var(--blue); transition: transform .3s var(--ease); }
.header-phone:hover .ico { transform: rotate(-12deg) scale(1.1); }
/* The header CTA sits inside the header, where the nav colour rule would win. */
.header-cta { display: none; padding: 11px 18px; font-size: .92rem; }
.site-header .header-cta, .site-header .header-cta:hover { color: #fff; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy);
  font-family: var(--font-h); font-weight: 700; font-size: .9rem; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.nav-toggle:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.nav-toggle__icon { width: 20px; height: 20px; flex: none; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
/* Mobile nav sits in normal flow inside the header and pushes the page down,
   so there is no fixed panel to fight the header's stacking context. */
.mobile-nav {
  display: none; flex-direction: column; gap: 4px; padding: 8px 0 18px;
  border-top: 1px solid var(--line);
}
.mobile-nav.is-open { display: flex; animation: drop .25s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mobile-nav a {
  padding: 12px 10px; text-decoration: none; color: var(--ink); border-radius: 10px;
  font-family: var(--font-h); font-weight: 600; font-size: 1.05rem;
}
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { background: var(--sky-soft); color: var(--blue); }
.mobile-nav .btn { margin-top: 10px; }
.mobile-nav .btn--primary, .mobile-nav .btn--primary:hover { color: #fff; }
.mobile-nav__phone { display: inline-flex; align-items: center; gap: 8px; justify-content: center; }
@media (min-width: 980px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}
@media (min-width: 1120px) { .header-phone { display: inline-flex; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-ink); color: #fff;
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(18,26,48,.55) 0%, rgba(18,26,48,.35) 40%, rgba(18,26,48,.85) 100%),
    linear-gradient(100deg, rgba(18,26,48,.92) 0%, rgba(18,26,48,.75) 45%, rgba(18,26,48,.25) 100%);
}
.hero__inner { display: grid; gap: 28px; }
.hero__copy { max-width: 640px; }
.hero .kicker { color: var(--sky); }
.hero h1 { color: #fff; }
.hero .lede { color: #dbe4f2; font-size: clamp(1.05rem, 1.2vw + .7rem, 1.25rem); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 22px; }
.hero__points { list-style: none; display: grid; gap: 10px; align-content: end; }
.hero__points li {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-family: var(--font-h); font-weight: 600; transition: background-color .25s, transform .25s var(--ease);
}
.hero__points li:hover { background: rgba(101,180,221,.22); transform: translateX(4px); }
.hero__points .ico { color: var(--sky); }
@media (min-width: 860px) {
  .hero__inner { grid-template-columns: 1.4fr .8fr; align-items: end; }
  .hero__points { grid-template-columns: 1fr; }
}

/* rating badge */
.rating {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  text-decoration: none; color: var(--ink); font-size: .9rem; box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.rating:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--ink); }
.rating__g {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(#4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0);
  color: #fff; font-family: var(--font-h); font-weight: 800; font-size: .95rem; flex: none;
}
.rating__stars { display: inline-flex; gap: 1px; }
.star { color: var(--star); width: 15px; height: 15px; }
.rating__text strong { font-family: var(--font-h); font-weight: 800; }
.rating--hero { color: var(--ink); }
.rating--dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; box-shadow: none; }
.rating--dark:hover { color: #fff; background: rgba(255,255,255,.14); }

/* ---------- trust strip ---------- */
.trust { background: var(--navy); color: #fff; }
.trust__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust__item {
  display: flex; align-items: center; gap: 12px; padding: 16px 12px; font-size: .88rem; line-height: 1.3;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.trust__item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
.trust__item > span { display: flex; flex-direction: column; gap: 2px; }
.trust__item strong { font-family: var(--font-h); font-weight: 700; }
.trust__item > span > span { color: #b8c6de; font-size: .8rem; }
.trust__ico { width: 26px; height: 26px; color: var(--sky); transition: transform .3s var(--ease); }
.trust__item:hover .trust__ico { transform: scale(1.15) rotate(-6deg); }
@media (min-width: 860px) {
  .trust__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust__item, .trust__item:nth-child(odd) { border: 0; border-right: 1px solid rgba(255,255,255,.1); padding: 20px 18px; }
  .trust__item:last-child { border-right: 0; }
}

/* ---------- sections ---------- */
.section { padding: clamp(52px, 7vw, 92px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy-deep); color: #c9d4e8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: var(--sky); }
.section--dark a:hover { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p:not(.kicker) { font-size: 1.08rem; margin-bottom: 0; }
.section-head--light .kicker { color: var(--sky); }
.section-more { margin: 32px 0 0; text-align: center; }

/* page banner */
.page-banner {
  position: relative; overflow: hidden; background: var(--navy-ink); color: #fff;
  padding: clamp(36px, 5vw, 60px) 0 clamp(40px, 6vw, 68px);
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(101,180,221,.28), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(38,120,176,.35), transparent 60%);
}
.page-banner::after {
  content: ""; position: absolute; right: -60px; bottom: -120px; width: 420px; height: 300px;
  background:
    linear-gradient(135deg, rgba(101,180,221,.14), transparent 60%);
  clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%);
}
.page-banner .wrap { position: relative; }
.page-banner .kicker { color: var(--sky); }
.page-banner h1 { color: #fff; }
.page-banner .lede { color: #d5deee; max-width: 640px; margin-bottom: 0; }
.page-banner__inner { margin-top: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: #a9b7d0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #6f7f9c; }
.crumbs a { color: #d5deee; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: var(--sky); }

/* ---------- service cards ---------- */
.svc-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 26px 24px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--body); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.svc-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--sky), var(--blue)); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--body); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card__ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sky-soft); color: var(--blue); transition: background-color .3s, color .3s, transform .35s var(--ease);
}
.svc-card__ico .ico { width: 26px; height: 26px; }
.svc-card:hover .svc-card__ico { background: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.05); }
.svc-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc-card__title { font-family: var(--font-h); font-weight: 800; font-size: 1.2rem; color: var(--ink); line-height: 1.2; }
.svc-card__text { font-size: .95rem; }
.svc-card__more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px;
  font-family: var(--font-h); font-weight: 700; color: var(--blue); font-size: .92rem;
}
.svc-card__more .ico { transition: transform .25s var(--ease); }
.svc-card:hover .svc-card__more .ico { transform: translateX(5px); }

/* ---------- split layouts ---------- */
.split { display: grid; gap: 32px; align-items: center; }
.split__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--tint); }
.split__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--ease); }
.split__media:hover img { transform: scale(1.04); }
.split__media figcaption {
  position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px;
  background: rgba(18,26,48,.78); color: #fff; font-size: .8rem; font-family: var(--font-h); font-weight: 600;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.split__media--map { box-shadow: var(--shadow); }
.split__copy > .btn { margin-top: 8px; }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 5vw, 72px); }
  .section--split-rev .split__copy { order: 1; }
  .section--split-rev .split__media { order: 2; }
  .split--form { grid-template-columns: .9fr 1.1fr; align-items: start; }
}

.ticks { list-style: none; display: grid; gap: 10px; margin: 18px 0 22px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; }
.ticks .ico { color: var(--blue); margin-top: .2em; }
.ticks strong { color: var(--ink); }
@media (min-width: 560px) { .ticks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- gallery ---------- */
.gal { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gal__item {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy-deep);
  aspect-ratio: 4 / 3;
}
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.gal__item:hover img { transform: scale(1.07); filter: brightness(.85); }
.gal__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(18,26,48,.85));
  color: #fff; font-family: var(--font-h); font-weight: 600; font-size: .86rem;
  transform: translateY(10px); opacity: .92; transition: transform .35s var(--ease), opacity .35s;
}
.gal__item:hover figcaption { transform: none; opacity: 1; }
@media (min-width: 720px) { .gal { grid-template-columns: repeat(4, minmax(0, 1fr)); } .gal__item { aspect-ratio: 1; } }
@media (min-width: 720px) { .gal--4 .gal__item { aspect-ratio: 4 / 3; } }

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; gap: 18px; counter-reset: step; }
.step {
  position: relative; padding: 26px 22px 22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step__n {
  position: absolute; top: -14px; left: 20px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-family: var(--font-h); font-weight: 800; font-size: .85rem;
}
.step__ico { width: 32px; height: 32px; color: var(--blue); margin-bottom: 12px; transition: transform .3s var(--ease); }
.step:hover .step__ico { transform: scale(1.12); }
.step h3 { font-size: 1.1rem; }
.step p { margin: 0; font-size: .95rem; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- reviews ---------- */
.review-grid { display: grid; gap: 18px; }
.review {
  margin: 0; padding: 26px 24px; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .3s var(--ease), background-color .3s, border-color .3s;
}
.review:hover { transform: translateY(-4px); background: rgba(255,255,255,.09); border-color: rgba(101,180,221,.45); }
.review__stars { display: inline-flex; gap: 2px; }
.review__stars .star { width: 17px; height: 17px; }
.review p { margin: 0; color: #e2e9f5; font-size: .98rem; }
.review footer { display: flex; flex-direction: column; gap: 1px; margin-top: auto; font-size: .85rem; color: #9fb0cc; }
.review footer strong { color: #fff; font-family: var(--font-h); }
@media (min-width: 720px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- areas ---------- */
.area-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; margin: 18px 0 24px; }
.area-list li { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.area-list .ico { color: var(--sky); width: 1em; height: 1em; }
.area-list small { color: var(--muted); }
.area-grid { list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.area-card {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s, background-color .25s;
}
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sky); background: var(--sky-soft); }
.area-card .ico { grid-row: 1 / 3; color: var(--blue); width: 22px; height: 22px; transition: transform .3s var(--ease); }
.area-card:hover .ico { transform: translateY(-3px) scale(1.1); }
.area-card__name { font-family: var(--font-h); font-weight: 700; color: var(--ink); line-height: 1.2; }
.area-card__pc { font-size: .8rem; color: var(--muted); }
@media (min-width: 640px) { .area-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .area-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.prose h2 { margin-top: 0; }

/* ---------- map ---------- */
.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sky-soft); min-height: 320px; box-shadow: var(--shadow); }
.map-frame iframe { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 380px; border: 0; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--navy); }
.map-fallback p { margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow .25s var(--ease), border-color .25s; }
.faq:hover, .faq[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px; font-family: var(--font-h); font-weight: 700; color: var(--ink); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq__ico { color: var(--blue); transform: rotate(90deg); transition: transform .3s var(--ease); }
.faq[open] .faq__ico { transform: rotate(-90deg); }
.faq__a { padding: 0 18px 18px; }
.faq__a p { margin: 0; }

/* ---------- values (about) ---------- */
.value-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.value {
  padding: 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value__ico { width: 34px; height: 34px; color: var(--blue); margin-bottom: 12px; transition: transform .3s var(--ease); }
.value:hover .value__ico { transform: rotate(-8deg) scale(1.1); }
.value h3 { font-size: 1.08rem; }
.value p { margin: 0; font-size: .95rem; }

/* ---------- services page ---------- */
.jump { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 20; }
.jump ul { list-style: none; display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.jump ul::-webkit-scrollbar { display: none; }
.jump a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-family: var(--font-h);
  font-weight: 600; font-size: .86rem; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s;
}
.jump a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.jump .ico { width: 1em; height: 1em; color: var(--blue); }
.jump a:hover .ico { color: var(--sky); }
.svc { padding: clamp(48px, 6vw, 84px) 0; border-bottom: 1px solid var(--line); }
.svc:nth-of-type(even) { background: var(--tint); }
.svc__ico {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: var(--sky-soft); color: var(--blue); margin-bottom: 14px;
}
.svc__ico .ico { width: 24px; height: 24px; }
.specs { display: grid; gap: 10px; margin: 0 0 24px; }
.spec { display: grid; gap: 2px; padding: 12px 14px; border-left: 3px solid var(--sky); background: rgba(101,180,221,.08); border-radius: 0 10px 10px 0; }
.spec dt { font-family: var(--font-h); font-weight: 700; color: var(--ink); font-size: .95rem; }
.spec dd { margin: 0; font-size: .92rem; }
@media (min-width: 900px) {
  .svc--rev .split__media { order: 2; }
  .svc--rev .split__copy { order: 1; }
  .svc .split { align-items: start; }
  .svc .split__media { position: sticky; top: calc(var(--header-h) + 70px); }
}

/* ---------- contact ---------- */
.contact-list, .contact-cards { list-style: none; display: grid; gap: 10px; margin: 18px 0 22px; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .ico { color: var(--blue); }
.contact-cards li > a, .contact-cards__static {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.contact-cards li > a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sky); color: var(--ink); }
.contact-cards li > a > span, .contact-cards__static > span { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.contact-cards strong { font-family: var(--font-h); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-cards li > a > span > span, .contact-cards__static > span > span { font-family: var(--font-h); font-weight: 700; font-size: 1.05rem; word-break: break-word; }
.contact-cards__ico { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--sky-soft); color: var(--blue); flex: none; transition: transform .3s var(--ease); }
.contact-cards li > a:hover .contact-cards__ico { transform: rotate(-10deg); }

/* ---------- form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-lg); }
.form-card__head h2, .form-card__head h3 { margin-bottom: .3em; font-size: 1.5rem; }
.form-card__head p { color: var(--muted); font-size: .95rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field label { font-family: var(--font-h); font-weight: 700; font-size: .9rem; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background-color: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232678b0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(38,120,176,.15); }
.form-note { margin: 12px 0 4px; font-size: .8rem; color: var(--muted); text-align: center; }
.form-alt { margin: 0; text-align: center; font-size: .95rem; }
.form-alt a { font-family: var(--font-h); font-weight: 700; }
.form-error {
  padding: 14px 16px; margin-bottom: 16px; border-radius: var(--radius-sm);
  background: #fdecec; border: 1px solid #f3b9b9; color: #7a1f1f; font-size: .95rem;
}
.form-error a { color: #7a1f1f; font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--blue); color: #e6f2fa; padding: clamp(44px, 6vw, 72px) 0; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 100% 50%, rgba(101,180,221,.5), transparent 70%);
}
.cta-band .wrap { position: relative; }
.cta-band__inner { display: grid; gap: 22px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; font-size: 1.05rem; max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; } }

/* ---------- thank you / 404 ---------- */
.thanks { background: var(--tint); }
.thanks__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); text-align: left; }
.thanks__ico { width: 56px; height: 56px; border-radius: 50%; background: var(--sky-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.thanks__ico .ico { width: 28px; height: 28px; }
.next-steps { padding-left: 1.2em; display: grid; gap: 8px; margin: 0 0 22px; }
.next-steps strong { color: var(--ink); }
.footer-links--inline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 22px; }
.footer-links--inline a { color: var(--blue); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-ink); color: #b8c4da; padding: clamp(44px, 6vw, 72px) 0 24px; font-size: .93rem; }
.footer-grid { display: grid; gap: 34px; }
.footer-brand p { margin: 16px 0 18px; max-width: 420px; }
.logo--footer { color: #fff; }
.logo--footer .logo__sub { color: #8fa0bf; }
.footer-h { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.footer-links a, .footer-contact a { color: #d3dced; text-decoration: none; transition: color .2s, padding-left .25s var(--ease); }
.footer-links a:hover { color: var(--sky); padding-left: 4px; }
.footer-links a[aria-current="page"] { color: var(--sky); }
.footer-contact { list-style: none; display: grid; gap: 10px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .ico { color: var(--sky); }
.footer-contact a:hover { color: var(--sky); }
.footer-areas { margin: 16px 0 0; font-size: .85rem; color: #8fa0bf; }
.footer-areas a { color: #d3dced; }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: .84rem; color: #8fa0bf;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #d3dced; }
.footer-bottom a:hover { color: var(--sky); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr .8fr 1fr 1.2fr; } }

/* ---------- reveal on scroll ---------- */
/* Elements are visible by default; JS adds .js-reveal only when it can also add .is-in. */
.js-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js-reveal { opacity: 1; transform: none; }
}
