/* SBSN Pools Corp — preview site
   Deep navy, water blue, ivory. Local variable fonts. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/CormorantGaramond.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/CormorantGaramond-Italic.ttf") format("truetype");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/Outfit.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cinzel";
  src: url("../assets/fonts/Cinzel.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b1c2d;
  --navy-deep: #07131f;
  --navy-mid: #143047;
  --navy-soft: #1b3d58;
  --water: #1e7a96;
  --water-bright: #2e95b4;
  --water-pale: #e7f3f7;
  --sand: #ddd4c6;
  --ivory: #f5f2ec;
  --ivory-deep: #ece6db;
  --white: #ffffff;
  --text: #1a2430;
  --muted: #5c6770;
  --line: rgba(11, 28, 45, 0.12);
  --shadow: 0 18px 50px rgba(7, 19, 31, 0.14);
  --radius: 4px;
  --nav-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}
.wrap-wide {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid {
  background: var(--white);
  color: var(--navy);
}
.btn-solid:hover { background: var(--ivory); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-mid); box-shadow: 0 10px 28px rgba(11,28,45,.22); }
.btn-water {
  background: var(--water);
  color: var(--white);
}
.btn-water:hover { background: var(--water-bright); box-shadow: 0 10px 28px rgba(30,122,150,.28); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-ghost-dark {
  background: transparent;
  color: var(--navy);
  border-color: rgba(11,28,45,.3);
}
.btn-ghost-dark:hover { border-color: var(--navy); background: rgba(11,28,45,.04); }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
.site-header .bar {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  flex-direction: column;
  color: var(--white);
  line-height: 1;
  flex-shrink: 0;
}
.logo .mark {
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.28em;
  padding-left: 0.08em;
}
.logo .sub {
  margin-top: 5px;
  font-size: 9px;
  letter-spacing: 0.38em;
  font-weight: 400;
  text-transform: uppercase;
  opacity: 0.78;
  padding-left: 0.08em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: rgba(255,255,255,.88);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { transform: scaleX(1); }
.nav-phone {
  color: var(--white) !important;
  letter-spacing: 0.08em !important;
  font-weight: 500 !important;
  padding: 8px 0 !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-phone::after { display: none !important; }
.nav-phone svg { width: 14px; height: 14px; }
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--white);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 48%;
}
.hero-mobile { display: none; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,19,31,.78) 0%, rgba(7,19,31,.52) 38%, rgba(7,19,31,.18) 68%, rgba(7,19,31,.28) 100%),
    linear-gradient(180deg, rgba(7,19,31,.35) 0%, rgba(7,19,31,.05) 28%, rgba(7,19,31,.15) 70%, rgba(7,19,31,.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 108px;
  max-width: 1280px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--water-bright);
}
.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(44px, 6.2vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  max-width: 15ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
}
.hero-lead {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  max-width: 38em;
  color: rgba(255,255,255,.88);
  margin: 0 0 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---------- Sections shared ---------- */
.section {
  padding: 108px 0;
}
.section-head {
  margin-bottom: 64px;
  max-width: 720px;
}
.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--water);
  margin: 0 0 14px;
}
.section-head h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 16px;
}
.section-head h2 em { font-style: italic; }
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
}

/* ---------- Services ---------- */
.services { background: var(--white); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.service-card {
  padding: 32px 26px 36px;
  background: var(--ivory);
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.icon-wrap {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--water);
}
.icon-wrap svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.service-card p {
  margin: 0;
  font-size: 14.5px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
}
.services-note {
  margin: 40px 0 0;
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: 0.01em;
}
.services-note strong { color: var(--navy); font-weight: 500; }

/* ---------- Gallery ---------- */
.gallery { background: var(--ivory); }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--navy-mid);
  cursor: pointer;
  display: block;
  color: inherit;
  border: 0;
  padding: 0;
  width: 100%;
  aspect-ratio: 5 / 4;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 24px 22px;
  background: linear-gradient(180deg, transparent, rgba(7,19,31,.82));
  color: var(--white);
  transform: translateY(6px);
  opacity: 0.95;
  transition: transform 0.35s var(--ease);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }
.gallery-caption span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 4px;
}
.gallery-caption strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7,19,31,.92);
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(920px, 92vw);
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
}
.lightbox-close {
  top: 22px;
  right: 28px;
  font-size: 32px;
  line-height: 1;
  width: 48px;
  height: 48px;
}
.lightbox-prev, .lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 42px;
  width: 56px;
  height: 56px;
  opacity: 0.85;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-label {
  position: absolute;
  bottom: 24px;
  left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  letter-spacing: 0.08em;
}

/* ---------- Areas ---------- */
.areas { background: var(--navy); color: var(--white); }
.areas .kicker { color: var(--water-bright); }
.areas .section-head h2 { color: var(--white); }
.areas .section-head p { color: rgba(255,255,255,.72); }
.area-layout {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.home-base {
  background: var(--navy-mid);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 28px;
  row-gap: 0;
  align-items: start;
  border-top: 3px solid var(--water-bright);
}
.home-base .pin {
  grid-column: 1;
  grid-row: 1 / 4;
  align-self: center;
}
.home-base h3,
.home-base .city,
.home-base p { grid-column: 2; }
.home-base .pin {
  width: 48px;
  height: 48px;
  margin-bottom: 0;
  color: var(--water-bright);
}
.home-base .pin svg { width: 42px; height: 42px; }
.home-base h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  margin: 0 0 8px;
}
.home-base .city {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--water-bright);
  margin: 0 0 20px;
}
.home-base p {
  margin: 0;
  color: rgba(255,255,255,.75);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
}
.state-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.state-card {
  border: 1px solid rgba(255,255,255,.14);
  padding: 28px 26px 30px;
  background: rgba(255,255,255,.03);
  display: flex;
  flex-direction: column;
}
.state-card .abbr {
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--water-bright);
  margin: 0 0 10px;
}
.state-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  margin: 0 0 16px;
}
.state-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.state-card li {
  font-size: 14.5px;
  font-weight: 300;
  color: rgba(255,255,255,.78);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.state-card li:last-child { border-bottom: 0; }
.state-card li.muted { color: rgba(255,255,255,.48); font-style: italic; }
.state-note {
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,.68);
}
.home-base h3 { margin-top: 0; }


/* ---------- Why ---------- */
.why { background: var(--ivory); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.why-card {
  padding: 8px 8px 0 0;
}
.why-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 28px;
  color: var(--water);
  display: block;
  margin-bottom: 16px;
}
.why-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 10px;
}
.why-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.7;
}
.why-rule {
  width: 36px;
  height: 1px;
  background: var(--sand);
  margin: 0 0 28px;
}

/* ---------- Consult ---------- */
.consult { background: var(--white); }
.consult-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.consult-copy h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  color: var(--navy);
  margin: 0 0 18px;
}
.consult-copy p {
  color: var(--muted);
  font-weight: 300;
  font-size: 16.5px;
  line-height: 1.7;
  margin: 0 0 32px;
}
.consult-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.consult-contacts li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.consult-contacts span {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--water);
  font-weight: 500;
}
.consult-contacts a, .consult-contacts p {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 400;
}
.consult-contacts a:hover { color: var(--water); }

.consult-form {
  background: var(--ivory);
  padding: 44px 44px 40px;
  border: 1px solid var(--ivory-deep);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-soft);
  margin-bottom: 8px;
  font-weight: 500;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(11,28,45,.14);
  border-radius: 2px;
  padding: 13px 14px;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--water);
  box-shadow: 0 0 0 3px rgba(30,122,150,.15);
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%230b1c2d' stroke-width='1.2' d='M1 1.5L6 6.5L11 1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.form-hint {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 300;
  margin: 0;
}
.form-success {
  display: none;
  padding: 16px 18px;
  background: var(--water-pale);
  color: var(--navy);
  font-size: 14.5px;
  margin-bottom: 18px;
  border-left: 3px solid var(--water);
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.78);
  padding: 64px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p {
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 34em;
  margin: 0;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col a, .footer-col p {
  display: block;
  margin: 0 0 8px;
  font-size: 14.5px;
  font-weight: 300;
  color: rgba(255,255,255,.75);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
  font-weight: 300;
}
.footer-bottom strong { color: rgba(255,255,255,.72); font-weight: 500; }

/* ---------- Mobile call bar ---------- */
.call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--navy);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(0,0,0,.2);
}
.call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--water);
  color: var(--white);
  padding: 14px 16px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
}
.call-bar svg { width: 16px; height: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card:nth-child(4),
  .service-card:nth-child(5) { /* still fine in 3-col */ }
  .consult-layout { grid-template-columns: 1fr; gap: 32px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
}
@media (max-width: 860px) {
  :root { --nav-h: 72px; }
  .menu-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 24px 32px;
    gap: 0;
  }
  body.nav-open .nav { display: flex; }
  .nav a {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav a::after { display: none; }
  .nav-phone { margin-top: 10px; border-bottom: 0 !important; }
  .hero-desktop { display: none; }
  .hero-mobile { display: block; }
  .hero-media img { object-position: 50% 22%; }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(7,19,31,.4) 0%, rgba(7,19,31,.2) 30%, rgba(7,19,31,.45) 60%, rgba(7,19,31,.88) 100%);
  }
  .hero-content { padding-bottom: 120px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
  .gallery-item { aspect-ratio: 5 / 4; height: auto; }
  .home-base { grid-template-columns: auto 1fr; padding: 32px 26px; column-gap: 18px; }
  .home-base .pin { grid-row: 1 / 4; margin-bottom: 0; }
  .home-base .city { letter-spacing: 0.14em; }
  .hero-actions .btn-ghost { display: none; }
  .form-actions .btn { width: 100%; }
  .site-footer { padding-bottom: 110px; }
  .state-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .consult-form { padding: 28px 22px; }
  .call-bar { display: block; }
  .section { padding: 80px 0; }
  .wrap, .wrap-wide, .site-header .bar, .hero-content {
    width: min(1280px, calc(100% - 32px));
  }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 5 / 4; height: auto; }
  .hero h1 { font-size: 44px; }
  .hero-lead { font-size: 16px; }
  .home-base { padding: 32px 26px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
