:root {
  --blue: #075d9b;
  --blue-dark: #064572;
  --pool: #0ca9d8;
  --sky: #dff5fc;
  --foam: #f7fcfe;
  --white: #ffffff;
  --sun: #f5c84c;
  --ink: #153449;
  --muted: #597284;
  --line: #b9dce9;
  --display: "Trebuchet MS", "Avenir Next", Arial, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --utility: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --shadow: 0 18px 50px rgba(7, 93, 155, 0.16);
}

* { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body);
  line-height: 1.55;
}

a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3, p { text-wrap: balance; }
h1, h2, h3 {
  margin-top: 0;
  font-family: var(--display);
  line-height: 1.02;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 15px;
  color: var(--white);
  background: var(--blue-dark);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }
:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 4px;
}

.topbar {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 5vw, 72px);
  padding: 6px 22px;
  color: var(--white);
  background: var(--blue);
  font-family: var(--utility);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topbar p { margin: 0; }
.topbar span {
  padding: 0 6px;
  color: var(--sun);
}

.topbar a {
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.site-header {
  display: flex;
  min-height: 102px;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(22px, 6vw, 92px);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-dark);
  font-family: var(--utility);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.5vw, 34px);
}

nav a {
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

nav a:hover { color: var(--pool); }

.nav-call {
  padding: 12px 16px;
  border: 2px solid var(--blue);
  border-radius: 8px;
}

.nav-call:hover {
  color: var(--white);
  background: var(--blue);
}

.hero {
  position: relative;
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 0.91fr) minmax(480px, 1.09fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  padding: clamp(62px, 8vw, 120px) clamp(22px, 7vw, 108px) clamp(78px, 9vw, 132px);
  overflow: hidden;
  background: radial-gradient(circle at 4% 94%, rgba(12, 169, 216, 0.14) 0 18%, transparent 18.4%), linear-gradient(180deg, var(--white), var(--foam));
}

.hero::after {
  position: absolute;
  right: -10%;
  bottom: -76px;
  width: 72%;
  height: 125px;
  border-radius: 50% 0 0;
  background: var(--pool);
  content: "";
  transform: rotate(-2deg);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.kicker {
  margin: 0 0 17px;
  color: var(--blue);
  font-family: var(--utility);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.kicker.light { color: var(--sun); }

h1 {
  max-width: 740px;
  margin-bottom: 24px;
  color: var(--blue-dark);
  font-size: clamp(3.2rem, 5.4vw, 6rem);
  letter-spacing: -0.058em;
}

.hero-lede {
  max-width: 640px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.65vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 2px solid var(--blue);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.button-primary {
  color: var(--white);
  background: var(--blue);
}

.button-primary:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.button-secondary {
  color: var(--blue);
  background: var(--white);
}

.button-secondary:hover { background: var(--sky); }

.button-sun {
  border-color: var(--sun);
  color: var(--ink);
  background: var(--sun);
}

.button-sun:hover {
  border-color: var(--white);
  background: var(--white);
}

.quick-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 800;
  list-style: none;
}

.quick-trust li::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--sun);
  content: "";
}

.hero-visual {
  min-width: 0;
  padding: 18px 0 34px 18px;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  border: 10px solid var(--white);
  border-radius: 42px 42px 42px 8px;
  background: var(--sky);
  box-shadow: var(--shadow);
}

.photo-frame::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 3px solid rgba(255, 255, 255, 0.55);
  border-radius: 32px 32px 32px 0;
  content: "";
  pointer-events: none;
}

.photo-frame img {
  display: block;
  width: 100%;
  height: clamp(410px, 38vw, 560px);
  object-fit: cover;
  object-position: 52% center;
}

.photo-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  margin: 0;
  padding: 10px 14px;
  border-radius: 7px;
  color: var(--blue-dark);
  background: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.photo-label span { color: var(--pool); }

.yard-sign {
  position: absolute;
  right: -18px;
  bottom: 0;
  z-index: 3;
  display: flex;
  min-width: 238px;
  flex-direction: column;
  padding: 17px 22px 19px;
  border: 5px solid var(--white);
  border-radius: 6px;
  color: var(--ink);
  background: var(--sun);
  box-shadow: 0 12px 30px rgba(21, 52, 73, 0.18);
  transform: rotate(2deg);
}

.yard-sign strong {
  font-family: var(--display);
  font-size: 1.38rem;
  line-height: 1;
}

.yard-sign span {
  font-family: var(--utility);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hello-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 27px clamp(22px, 7vw, 108px);
  color: var(--white);
  background: var(--blue);
}

.hello-strip p { margin: 0; }

.hello-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 3px solid var(--sun);
  border-radius: 50%;
  color: var(--sun);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 900;
}

.hello-strip strong {
  display: block;
  font-family: var(--display);
  font-size: 1.23rem;
}

.hello-strip a {
  border-bottom: 2px solid var(--sun);
  font-weight: 900;
  text-decoration: none;
}

.section { padding: clamp(76px, 9vw, 136px) clamp(22px, 7vw, 108px); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(270px, 0.9fr) minmax(270px, 0.55fr);
  gap: 15px clamp(36px, 8vw, 130px);
  align-items: end;
  margin-bottom: 50px;
}

.section-heading .kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading h2,
.direct-band h2,
.service-area h2,
.contact h2 {
  margin-bottom: 0;
  color: var(--blue-dark);
  font-size: clamp(2.75rem, 5.7vw, 6.35rem);
  letter-spacing: -0.05em;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.95fr;
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 360px;
  padding: 34px;
  border: 2px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}

.service-card.featured {
  border-color: var(--pool);
  background: var(--sky);
}

.service-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 46px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--pool);
  font-family: var(--utility);
  font-size: 0.75rem;
  font-weight: 900;
}

.service-card:not(.featured) .service-icon {
  color: var(--blue);
  background: var(--sky);
}

.card-label {
  margin: 0 0 12px;
  color: var(--blue);
  font-family: var(--utility);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--blue-dark);
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  letter-spacing: -0.035em;
}

.service-card p:not(.card-label) { color: var(--muted); }
.service-card a {
  display: inline-block;
  margin-top: 10px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.direct-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 0.75fr);
  align-items: center;
  gap: clamp(44px, 10vw, 150px);
  padding: clamp(78px, 10vw, 150px) clamp(22px, 7vw, 108px);
  color: var(--white);
  background: linear-gradient(118deg, transparent 0 59%, rgba(12, 169, 216, 0.14) 59.3% 100%), var(--blue-dark);
}

.direct-band h2 { color: var(--white); }
.direct-copy > p:not(.kicker) {
  max-width: 650px;
  margin: 24px 0 30px;
  color: #d7edf7;
  font-size: 1.08rem;
}

.liner-board {
  padding: 36px;
  border: 5px solid var(--white);
  border-radius: 8px;
  color: var(--ink);
  background: var(--sun);
  box-shadow: 18px 18px 0 var(--pool);
  transform: rotate(1deg);
}

.liner-board > p {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 900;
}

.liner-board ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.liner-board li {
  padding: 8px 11px;
  border: 1px solid rgba(21, 52, 73, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
  font-weight: 800;
}

.section-heading.narrow {
  display: block;
  max-width: 780px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 26px 0;
  border-top: 4px solid var(--pool);
}

.step-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px 10px 10px 2px;
  color: var(--white);
  background: var(--blue);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 900;
}

.step-list h3 {
  margin-bottom: 9px;
  color: var(--blue-dark);
  font-size: 1.45rem;
}

.step-list p {
  margin: 0;
  color: var(--muted);
}

.service-area {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1fr);
  align-items: end;
  gap: clamp(44px, 9vw, 130px);
  padding: clamp(75px, 9vw, 130px) clamp(22px, 7vw, 108px);
  color: var(--white);
  background: var(--pool);
}

.service-area h2 { color: var(--white); }
.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.12rem, 2.1vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
}

.cities span { color: var(--blue-dark); }

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(330px, 0.7fr);
  align-items: center;
  gap: clamp(45px, 10vw, 160px);
  padding: clamp(80px, 10vw, 150px) clamp(22px, 7vw, 108px);
  background: var(--sky);
}

.contact h2 { max-width: 720px; }
.contact > div:first-child > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
  border: 2px solid var(--blue);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 12px 12px 0 var(--sun);
}

.contact-card p {
  margin: 0 0 8px;
  color: var(--blue);
  font-family: var(--utility);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card a {
  margin-top: 12px;
  color: var(--blue-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-card .big-phone {
  margin-top: 2px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  text-decoration: none;
}

footer {
  display: grid;
  grid-template-columns: 0.75fr 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 30px clamp(22px, 7vw, 108px);
  color: #d7edf7;
  background: var(--blue-dark);
  font-size: 0.79rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 900;
  text-decoration: none;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

footer p { margin: 0; }

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 10% 90%, rgba(12, 169, 216, 0.18) 0 18%, transparent 18.4%), var(--sky);
}

.error-card {
  width: min(760px, 100%);
  padding: clamp(34px, 7vw, 74px);
  border: 2px solid var(--blue);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 16px 16px 0 var(--sun);
}

.error-card img {
  display: block;
  width: 88px;
  height: 88px;
  margin-bottom: 28px;
  object-fit: contain;
}

.error-card h1 {
  max-width: 650px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 6.5rem);
}

.error-card > p:not(.kicker) {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

@media (max-width: 980px) {
  nav a:not(.nav-call) { display: none; }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }
  .hero-copy { max-width: 790px; }
  .hero-visual {
    width: min(780px, 96%);
    margin: 0 auto;
  }
  .section-heading,
  .direct-band,
  .service-area,
  .contact { grid-template-columns: 1fr; }
  .section-heading { gap: 18px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card.featured { grid-column: 1 / -1; }
  .step-list { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr 1fr; }
  footer p:last-child { grid-column: 1 / -1; }
}

@media (max-width: 660px) {
  .topbar {
    justify-content: space-between;
    gap: 12px;
    font-size: 0.62rem;
  }
  .topbar p { max-width: 185px; }
  .topbar span { display: none; }
  .site-header {
    min-height: 82px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .brand img {
    width: 60px;
    height: 60px;
  }
  .brand span { display: none; }
  .nav-call {
    padding: 10px 12px;
    font-size: 0.74rem;
  }
  .hero {
    min-height: 0;
    gap: 38px;
    padding-top: 54px;
    padding-bottom: 92px;
  }
  h1 { font-size: clamp(3.15rem, 15vw, 4.25rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .quick-trust {
    display: grid;
    gap: 8px;
  }
  .hero-visual {
    width: 100%;
    padding: 7px 0 42px;
  }
  .photo-frame {
    border-width: 6px;
    border-radius: 26px 26px 26px 6px;
  }
  .photo-frame img { height: 300px; }
  .yard-sign {
    right: -5px;
    min-width: 205px;
    padding: 14px 17px;
  }
  .hello-strip {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hello-mark {
    width: 48px;
    height: 48px;
  }
  .service-grid { grid-template-columns: 1fr; }
  .service-card.featured { grid-column: auto; }
  .service-card {
    min-height: 0;
    padding: 27px;
  }
  .service-icon { margin-bottom: 36px; }
  .liner-board {
    padding: 26px;
    box-shadow: 10px 10px 0 var(--pool);
  }
  .contact-card {
    padding: 26px;
    box-shadow: 8px 8px 0 var(--sun);
  }
  footer {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  footer p:last-child { grid-column: auto; }
}

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