@font-face {
  font-family: "Barlow";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/barlow-400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/barlow-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Semi Condensed";
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/barlow-semi-condensed-500.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Semi Condensed";
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-semi-condensed-700.woff2") format("woff2");
}

:root {
  --navy: #1f277b;
  --navy-deep: #161c5e;
  --ink: #1c2148;
  --muted: #4f5470;
  --green: #3b8536;
  --mist: #eef0f7;
  --white: #ffffff;

  --font-body: "Barlow", system-ui, sans-serif;
  --font-display: "Barlow Semi Condensed", "Arial Narrow", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --measure: 38rem;
  --wide: 72rem;
  --section-y: clamp(3rem, 2rem + 5vw, 6rem);
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
}

h1, h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  color: var(--navy);
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
}

p { margin: 0; max-width: var(--measure); }

a { color: inherit; }

a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Masthead: logo is navy-on-transparent, so it sits on white above the navy hero */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.875rem var(--gutter);
}

.brand { display: block; flex: 0 1 22rem; }

.logo { display: block; width: 100%; height: auto; }

.call-pill {
  flex: none;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.call-pill:hover { background: var(--green); }

/* Hero: the phone number is the headline act, like door livery */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
}

.hero-inner {
  position: relative;
  max-width: var(--wide);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}

.hero h1 {
  max-width: 24ch;
  font-weight: 500;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
}

.hero-lede {
  margin-top: 0.75rem;
  max-width: 38rem;
  color: rgb(255 255 255 / 0.82);
}

.big-number {
  display: inline-block;
  margin: clamp(1.25rem, 0.5rem + 3vw, 2.5rem) 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 1rem + 9vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 0.06em solid var(--green);
  transition: border-color 150ms ease;
}

.big-number:hover { border-bottom-color: var(--white); }

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.badges a { display: block; border-radius: 8px; }

.badges img { display: block; width: auto; height: 48px; }

/* White rose, cropped off the right edge */
.rose {
  position: absolute;
  top: 50%;
  right: -12rem;
  width: clamp(26rem, 20rem + 25vw, 44rem);
  transform: translateY(-50%) rotate(-8deg);
}

/* White petals faded per layer (group opacity) so overlaps don't stack; navy strokes part the petals */
.rose-sepals path { fill: var(--green); opacity: 0.6; }
.rose-petals circle { fill: var(--white); stroke: var(--navy-deep); stroke-width: 2.5; }
.rose-outer { opacity: 0.08; }
.rose-inner { opacity: 0.13; }
.rose-heart { fill: var(--white); opacity: 0.2; }

/* About: copy beside the five towns, set like a signpost */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  max-width: var(--wide);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}

.about-text p { margin-top: 1rem; color: var(--muted); }

.towns {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 4px solid var(--green);
}

.towns li {
  padding: 0.2rem 0 0.2rem 1rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem);
  line-height: 1.15;
}

/* Services */
.services { background: var(--mist); }

.services-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}

.services p { margin-top: 1rem; color: var(--muted); }

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.625rem;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
}

.service-list li {
  padding: 0.375rem 0.875rem;
  border: 1.5px solid rgb(31 39 123 / 0.25);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9375rem;
}

/* Contact */
.contact {
  max-width: var(--wide);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}

.contact > p { margin-top: 0.75rem; color: var(--muted); }

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 3rem;
  margin: 1.75rem 0 0;
}

.contact-list dt { color: var(--muted); font-size: 0.9375rem; }

.contact-list dd { margin: 0; }

.contact-list a {
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 150ms ease;
}

.contact-list a:hover { border-bottom-color: var(--green); }

/* Side padding lines the footer up with the content column at any width */
.site-footer {
  padding: 1.5rem max(var(--gutter), calc((100% - var(--wide)) / 2 + var(--gutter)));
  background: var(--navy-deep);
  color: rgb(255 255 255 / 0.75);
  font-size: 0.875rem;
}

.site-footer p { margin: 0; }

@media (min-width: 48rem) {
  .about { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: center; gap: 4rem; }
}

@media (max-width: 30rem) {
  .call-pill-number { display: none; }
  .rose { right: -14rem; opacity: 0.7; }
}

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

/* Footer links to the policy pages */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.footer-links a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / 0.35); }

.footer-links a:hover { border-bottom-color: var(--white); }

.footer-links a[aria-current="page"] { border-bottom-color: var(--green); }

/* Policy pages: a slim navy band, then a single readable column */
.page-head {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
}

.page-head-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(2rem, 1.5rem + 3vw, 4rem) var(--gutter);
}

.page-head h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); }

.page-head p { margin-top: 0.5rem; color: rgb(255 255 255 / 0.8); }

.legal {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(2rem, 1.5rem + 3vw, 4rem) var(--gutter) var(--section-y);
}

.legal > * { max-width: var(--measure); }

.legal h2 { margin-top: 2.5rem; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem); }

.legal h2:first-child { margin-top: 0; }

.legal p, .legal ul { margin: 0.75rem 0 0; color: var(--ink); }

.legal ul { padding-left: 1.25rem; }

.legal li + li { margin-top: 0.375rem; }

.legal a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; text-decoration-color: var(--green); }

.legal address { margin-top: 0.75rem; font-style: normal; }

/* Book page: the one action sits in the navy band, white on navy like the call pill reversed */
.book-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}

.book-button:hover { background: var(--green); color: var(--white); }

/* Homepage: outlined pill under the app badges, matching their 48px height so it reads as a third way to book */
.hero-book {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 0.75rem;
  padding: 0 1.5rem;
  border: 2px solid var(--white);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.hero-book:hover { background: var(--green); border-color: var(--green); }
