:root {
  --navy: #0b1f3a;
  --hydro: #0ea5e9;
  --hydro-deep: #0284c7;
  --white: #ffffff;
  --slate: #f4f7fb;
  --ink: #0b1f3a;
  --muted: #4a5d73;
  --line: #d9e2ec;
  --danger: #9f1239;
  --font: "Inter", "Segoe UI", sans-serif;
  --display: "Plus Jakarta Sans", "Inter", "Segoe UI", sans-serif;
  --content: 1080px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.02rem;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: var(--hydro-deep); }

h1, h2, h3, legend, .brand-name {
  font-family: var(--display);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; }

p { margin: 0; }

button, input, textarea { font: inherit; color: inherit; }

.container { width: min(var(--content), calc(100% - 2rem)); margin-inline: auto; }
.narrow { max-width: 40rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--white);
  color: var(--navy);
  padding: 0.55rem 0.75rem;
  z-index: 40;
  border-radius: 8px;
}
.skip:focus { top: 0.7rem; }

[id] { scroll-margin-top: 5.5rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  min-height: 76px;
  padding-block: 0.7rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--navy);
  flex: none;
}

.brand-name { font-weight: 800; font-size: 1.05rem; white-space: nowrap; }

.desktop-nav { display: none; gap: 1.15rem; }
.desktop-nav a, .mobile-menu a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}

.header-tools { display: flex; align-items: center; gap: 0.7rem; margin-left: auto; }
.header-phone { color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.1rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
}
.btn-primary { background: var(--hydro); color: var(--white); }
.btn-primary:hover { background: var(--hydro-deep); }
.btn-light { background: var(--white); color: var(--navy); }
.btn:disabled { opacity: 0.7; cursor: progress; }

.mobile-menu { position: relative; }
.mobile-menu summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  display: grid;
  gap: 0.4rem;
  min-width: 180px;
  padding: 0.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.hero {
  position: relative;
  min-height: 560px;
  background: var(--navy);
  color: var(--white);
  display: grid;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--navy);
}
.hero-shade {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 560px;
  background: linear-gradient(90deg, rgba(11, 31, 58, 0.88) 0%, rgba(11, 31, 58, 0.55) 55%, rgba(11, 31, 58, 0.25) 100%);
}
.hero-copy { padding: 4.5rem 0 3.5rem; max-width: 40rem; }
.hero-copy p { margin-top: 1rem; font-size: 1.12rem; color: #e7eef6; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

.section { padding: 4.2rem 0; }
.section-slate { background: var(--slate); }
.eyebrow {
  margin-bottom: 0.45rem;
  color: var(--hydro-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section h2 { margin-bottom: 1.2rem; }

.service-grid { display: grid; gap: 1rem; }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.service-photo {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: var(--navy);
}
.service-copy { padding: 1rem 1.05rem 1.15rem; }
.service-copy p { margin-top: 0.4rem; color: var(--muted); }

.addon-heading { margin: 1.6rem 0 0.7rem; }
.addon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.addon-list li { color: var(--muted); }
.addon-list strong { color: var(--navy); margin-right: 0.35rem; }

.towns { font-size: 1.08rem; max-width: 40rem; }

.quote-section { background: var(--white); }
.quote-grid { display: grid; gap: 1.5rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.55rem; font-weight: 600; }
.contact-list a { color: var(--navy); text-decoration: none; }
.contact-list a:hover { color: var(--hydro-deep); }

.quote-form {
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem;
}
.field { display: grid; gap: 0.35rem; margin-bottom: 0.8rem; }
.field label, .field legend { font-weight: 700; font-size: 0.95rem; }
.optional { color: var(--muted); font-weight: 600; }
fieldset.field { border: 0; margin: 0; padding: 0; }
input, textarea {
  width: 100%;
  border: 1px solid #c5d2e0;
  background: var(--white);
  border-radius: 12px;
  padding: 0.8rem 0.85rem;
}
input:focus, textarea:focus { outline: 2px solid var(--hydro); border-color: var(--hydro); }
.checks { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.45rem; }
.check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}
.check input { width: 1rem; height: 1rem; accent-color: var(--hydro-deep); }
.check:has(input:checked) { border-color: var(--hydro); background: #e0f2fe; }
.form-alert {
  background: #fff1f2;
  color: var(--danger);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  margin-bottom: 0.8rem;
}
.form-alert ul { margin: 0; padding-left: 1.1rem; }
.confirm { font-size: 1.15rem; font-weight: 700; padding: 0.4rem 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.noscript { margin-top: 0.8rem; }

.site-footer { background: var(--navy); color: #d7e3ef; padding: 1.4rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.site-footer a { color: var(--white); text-decoration: none; }

.legal-copy { max-width: 42rem; display: grid; gap: 0.8rem; }
.legal-copy h1 { margin-bottom: 0.4rem; }
.legal-entity { margin-top: 1.4rem; font-size: 0.72rem; color: #7b8c9a; }

:focus-visible { outline: 2px solid var(--hydro); outline-offset: 3px; }

@media (max-width: 720px) {
  .brand-name { font-size: 0.95rem; }
}

@media (min-width: 800px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-grid { grid-template-columns: 0.85fr 1.15fr; gap: 2.5rem; }
}

@media (min-width: 980px) {
  .desktop-nav { display: flex; }
  .mobile-menu { display: none; }
  .service-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .service-card:nth-child(-n + 2) { grid-column: span 3; }
  .service-card:nth-child(n + 3) { grid-column: span 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
