:root {
  --ink: #061a33;
  --ink-soft: #14395f;
  --muted: #5a6c80;
  --line: #d9e6f1;
  --line-strong: #bdd4e7;
  --aqua: #1fb6e8;
  --aqua-strong: #0076d7;
  --navy: #031f3f;
  --navy-deep: #00152d;
  --white: #ffffff;
  --wash: #f5f9fc;
  --shadow: 0 18px 50px rgba(4, 25, 48, 0.14);
  --radius: 8px;
  --shell: min(1180px, calc(100vw - 48px));
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(190, 211, 229, 0.78);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: var(--shell);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 252px 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 246px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a,
.footer-nav a {
  position: relative;
}

.site-nav a::after,
.footer-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  content: "";
  background: var(--aqua-strong);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.footer-nav a:hover::after,
.footer-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--aqua-strong);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.phone-link svg,
.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 13px 19px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, #0484e8 0%, #0067c8 100%);
  box-shadow: 0 14px 28px rgba(0, 112, 211, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 36px rgba(0, 112, 211, 0.32);
}

.button-glass {
  color: var(--white);
  background: rgba(5, 24, 43, 0.32);
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.button-glass:hover,
.button-glass:focus-visible {
  background: rgba(5, 24, 43, 0.5);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: min(670px, calc(100svh - var(--header-height) - 74px));
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background-image: url("assets/site/hero-pool.jpg");
  background-image: image-set(
    url("assets/site/hero-pool.webp") type("image/webp"),
    url("assets/site/hero-pool.jpg") type("image/jpeg")
  );
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 13, 28, 0.76) 0%, rgba(0, 19, 40, 0.62) 38%, rgba(0, 19, 40, 0.16) 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 10, 25, 0.28) 100%);
}

.hero-inner {
  width: var(--shell);
  min-height: inherit;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 54px 0 66px;
}

.hero-copy {
  width: min(620px, 100%);
}

.hero-logo {
  width: min(340px, 72vw);
  height: 104px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 20px;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35))
    drop-shadow(0 12px 28px rgba(0, 0, 0, 0.44));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 640px;
  margin-bottom: 18px;
  font-size: 86px;
  line-height: 0.98;
  font-weight: 800;
}

.hero-copy p {
  max-width: 545px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 22px;
  line-height: 1.55;
  font-weight: 600;
}

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

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.promise {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.promise-inner {
  padding: 38px 0 46px;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading h2,
.service-copy h2,
.poolserv h2,
.faq-heading h2,
.area-panel h2,
.request-form h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 45px;
  line-height: 1.12;
  font-weight: 800;
}

.section-heading p,
.service-copy > p,
.area-panel > p,
.request-form p,
.poolserv-copy p {
  color: var(--muted);
  font-size: 17px;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.promise-item {
  text-align: center;
}

.promise-item svg {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  color: var(--aqua-strong);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.promise-item h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.promise-item p {
  max-width: 240px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
}

.service-band {
  background: linear-gradient(180deg, var(--white) 0%, #f7fbfe 100%);
  border-bottom: 1px solid var(--line);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) 1.42fr;
  align-items: center;
  gap: 70px;
  padding: 70px 0;
}

.section-label {
  margin-bottom: 14px;
  color: var(--aqua-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  content: "";
  background: var(--aqua-strong);
}

.check-list li::after {
  position: absolute;
  top: 7px;
  left: 5px;
  width: 8px;
  height: 4px;
  content: "";
  border-bottom: 2px solid var(--white);
  border-left: 2px solid var(--white);
  transform: rotate(-45deg);
}

.service-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.poolserv {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 20, 43, 0.96), rgba(0, 42, 86, 0.92)),
    radial-gradient(circle at 86% 10%, rgba(31, 182, 232, 0.28), transparent 34%),
    var(--navy-deep);
}

.poolserv::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.16;
  background-image:
    linear-gradient(115deg, transparent 0 44%, rgba(255, 255, 255, 0.18) 45%, transparent 48%),
    radial-gradient(circle at 20% 40%, rgba(31, 182, 232, 0.28), transparent 22%),
    radial-gradient(circle at 65% 70%, rgba(31, 182, 232, 0.22), transparent 24%);
}

.poolserv-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.78fr 1.42fr;
  gap: 54px;
  align-items: center;
  padding: 64px 0;
}

.poolserv h2,
.poolserv-copy p {
  color: var(--white);
}

.poolserv-copy p {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.78);
}

.poolserv-logo {
  width: min(330px, 100%);
  height: auto;
  margin-bottom: 24px;
  object-fit: contain;
  object-position: left center;
}

.portal-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.portal-action {
  min-height: 194px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 26px;
  color: var(--white);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform 180ms ease, color 180ms ease;
}

.portal-action:hover,
.portal-action:focus-visible {
  color: #8fe6ff;
  transform: translateY(-2px);
}

.portal-action svg {
  width: 54px;
  height: 54px;
  color: #39b9ff;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portal-action span {
  color: var(--white);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.portal-action small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.gallery-strip {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  height: 320px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.gallery-strip picture,
.gallery-strip img {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-strip img {
  object-fit: cover;
}

.faq-section {
  position: relative;
  z-index: 1;
  clear: both;
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 58px;
  align-items: start;
  padding: 46px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(8, 42, 74, 0.08);
}

.faq-section .section-shell {
  margin-top: 70px;
  margin-bottom: 70px;
}

.faq-heading p:not(.section-label) {
  color: var(--muted);
  font-size: 17px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.faq-list summary {
  position: relative;
  display: block;
  min-height: 62px;
  padding: 20px 58px 18px 22px;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 21px;
  right: 22px;
  width: 18px;
  height: 18px;
  content: "";
  background:
    linear-gradient(var(--aqua-strong), var(--aqua-strong)) center / 18px 2px no-repeat,
    linear-gradient(var(--aqua-strong), var(--aqua-strong)) center / 2px 18px no-repeat;
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 15px;
}

.contact-section {
  background: var(--wash);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 58px;
  align-items: stretch;
  padding: 70px 0;
}

.area-panel,
.request-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(8, 42, 74, 0.08);
}

.area-panel {
  position: relative;
  overflow: hidden;
  padding: 42px;
}

.area-panel::after {
  position: absolute;
  right: -48px;
  bottom: -74px;
  width: 230px;
  height: 230px;
  content: "";
  background: url("assets/crystal-clean-logo-mark.png") center / contain no-repeat;
  opacity: 0.06;
}

.area-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 18px;
  margin: 32px 0;
}

.area-grid span {
  position: relative;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 800;
  padding-left: 24px;
}

.area-grid span::before {
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  content: "";
  border: 2px solid var(--aqua-strong);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.direct-contact {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--aqua-strong);
  font-weight: 800;
}

.direct-contact address,
.footer-contact address {
  margin: 0;
  color: inherit;
  font-style: normal;
  line-height: 1.45;
}

.direct-contact address {
  color: rgba(7, 27, 49, 0.76);
  font-size: 14px;
  font-weight: 700;
}

.request-form {
  display: grid;
  gap: 18px;
  padding: 42px;
}

.form-heading {
  margin-bottom: 4px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fbfdff;
  color: var(--ink);
  padding: 13px 14px;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--aqua-strong);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 118, 215, 0.12);
}

.request-form .button {
  width: 100%;
  border: 0;
}

.request-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.form-status.is-success {
  color: #0f6d4f;
}

.form-status.is-error {
  color: #b3261e;
}

.site-footer {
  color: var(--white);
  background:
    linear-gradient(90deg, #00152d, #03284f 58%, #001b38);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 54px;
  align-items: center;
  padding: 40px 0 26px;
}

.footer-brand img {
  width: 286px;
  height: 82px;
  object-fit: contain;
  object-position: left center;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.3))
    drop-shadow(0 10px 26px rgba(0, 0, 0, 0.28));
}

.footer-contact,
.footer-nav {
  display: grid;
  gap: 8px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.footer-contact address {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.footer-nav {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 700;
}

.copyright {
  width: var(--shell);
  margin: 0 auto;
  padding: 0 0 26px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: min(360px, calc(100vw - 44px));
  padding: 15px 16px;
  color: var(--white);
  background: rgba(0, 21, 45, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 15, 32, 0.24);
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  :root {
    --shell: min(100vw - 36px, 900px);
  }

  .header-inner {
    grid-template-columns: 218px 1fr auto;
    gap: 16px;
  }

  .brand img {
    width: 210px;
  }

  .site-nav {
    gap: 18px;
  }

  .phone-link {
    display: none;
  }

  .service-layout,
  .poolserv-inner,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  h1 {
    font-size: 68px;
  }

  .hero-copy p {
    font-size: 20px;
  }

  .section-heading h2,
  .service-copy h2,
  .poolserv h2,
  .faq-heading h2,
  .area-panel h2,
  .request-form h2 {
    font-size: 38px;
  }

  .portal-actions {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 0;
  }

  .gallery-strip {
    height: 280px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .brand img {
    width: 212px;
    height: 54px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav,
  .header-actions {
    position: fixed;
    left: 18px;
    right: 18px;
    display: none;
    background: var(--white);
  }

  .site-nav {
    top: calc(var(--header-height) + 12px);
    z-index: 11;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 10px;
  }

  .site-nav a {
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .header-actions {
    top: calc(var(--header-height) + 258px);
    z-index: 11;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 12px;
  }

  .header-actions .button {
    width: 100%;
  }

  body.menu-open .site-nav,
  body.menu-open .header-actions {
    display: flex;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 72px;
    --shell: min(100vw - 28px, 640px);
  }

  .site-header {
    height: var(--header-height);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .brand img {
    width: 212px;
    height: 54px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav,
  .header-actions {
    position: fixed;
    left: 14px;
    right: 14px;
    display: none;
    background: var(--white);
  }

  .site-nav {
    top: calc(var(--header-height) + 12px);
    z-index: 11;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 10px;
  }

  .site-nav a {
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .header-actions {
    top: calc(var(--header-height) + 258px);
    z-index: 11;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 12px;
  }

  .header-actions .button {
    width: 100%;
  }

  body.menu-open .site-nav,
  body.menu-open .header-actions {
    display: flex;
  }

  .hero {
    min-height: min(650px, calc(100svh - var(--header-height) - 56px));
  }

  .hero-inner {
    padding: 42px 0 52px;
  }

  .hero-logo {
    width: min(315px, 84vw);
    height: 92px;
  }

  h1 {
    font-size: 54px;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .section-heading h2,
  .service-copy h2,
  .poolserv h2,
  .faq-heading h2,
  .area-panel h2,
  .request-form h2 {
    font-size: 34px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .promise-inner,
  .service-layout,
  .poolserv-inner,
  .contact-layout {
    padding: 48px 0;
  }

  .faq-section .section-shell {
    margin-top: 48px;
    margin-bottom: 48px;
  }

  .faq-layout {
    padding: 32px;
  }

  .promise-grid,
  .portal-actions,
  .form-grid,
  .area-grid {
    grid-template-columns: 1fr;
  }

  .promise-grid {
    gap: 30px;
  }

  .service-layout {
    gap: 30px;
  }

  .portal-action {
    min-height: auto;
    padding: 0 0 24px;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .portal-action:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .gallery-strip {
    grid-template-columns: 1fr;
    height: auto;
  }

  .gallery-strip picture,
  .gallery-strip img {
    height: 220px;
  }

  .area-panel,
  .request-form {
    padding: 28px;
  }

  .faq-layout {
    padding: 28px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-brand img {
    width: 256px;
  }
}

@media (max-width: 430px) {
  .brand img {
    width: 184px;
  }

  .hero-logo {
    height: 82px;
  }

  h1 {
    font-size: 46px;
  }

  .section-heading h2,
  .service-copy h2,
  .poolserv h2,
  .faq-heading h2,
  .area-panel h2,
  .request-form h2 {
    font-size: 30px;
  }

  .button {
    padding-inline: 16px;
  }

  .area-panel,
  .request-form {
    padding: 24px;
  }

  .faq-layout {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.legal-page {
  min-height: 100vh;
  background: #061d32;
  color: #10233a;
}

.legal-shell {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 28px;
}

.legal-brand img {
  width: min(360px, 78vw);
  height: auto;
}

.legal-shell article {
  background: #fff;
  border-radius: 8px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.legal-shell h1,
.legal-shell h2 {
  color: #071b31;
}

.legal-shell h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.legal-shell h2 {
  margin: 30px 0 10px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.legal-shell p {
  color: #486175;
  line-height: 1.72;
}

.legal-shell a {
  color: #0070bf;
  font-weight: 700;
}
