/* ============================================================
   ATLANTA POOL BUILDERS — Stylesheet
   Palette sampled directly from the brand logo:
     Navy   #001C4E   Pool Blue #0091E0   Pool Cyan #3EC0FA
     Sand   #C9A876 (travertine deck accent)
   ============================================================ */

:root {
  --navy: #001c4e;
  --navy-deep: #010f2e;
  --navy-soft: #0b3268;
  --pool-blue: #0091e0;
  --pool-cyan: #3ec0fa;
  --sand: #c9a876;
  --sand-deep: #a9895e;
  --paper: #fbfcfe;
  --mist: #eaf1f8;
  --ink: #16232f;
  --ink-soft: #4a5866;
  --white: #ffffff;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", Helvetica, Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(0, 15, 46, 0.08);
  --shadow-md: 0 12px 32px rgba(0, 15, 46, 0.14);
  --shadow-lg: 0 24px 60px rgba(0, 15, 46, 0.22);

  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy);
}

p {
  margin: 0 0 1em;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 3px solid var(--pool-cyan);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pool-blue);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--sand);
  display: inline-block;
}

.eyebrow.on-dark {
  color: var(--pool-cyan);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pool-cyan), var(--pool-blue));
  color: var(--navy-deep);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(251, 252, 254, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 58px;
  width: auto;
  transition: height 0.3s ease;
}

.site-header.is-scrolled .brand img,
.site-header.is-solid .brand img {
  height: 48px;
}

.brand.on-dark-logo {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--white);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--pool-cyan);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.site-header.is-scrolled .nav-links a,
.site-header.is-solid .nav-links a {
  color: var(--navy);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}

.site-header.is-scrolled .nav-phone,
.site-header.is-solid .nav-phone {
  color: var(--navy);
}

.nav-phone svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--white);
}

.site-header.is-scrolled .nav-toggle,
.site-header.is-solid .nav-toggle {
  color: var(--navy);
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
}

/* Pages with a solid (non-transparent-hero) header need dark nav text immediately */
.site-header.is-solid .nav-links a,
.site-header.is-solid .nav-phone,
.site-header.is-solid .nav-toggle {
  color: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero.page-hero {
  min-height: 56vh;
  padding-top: 90px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 12, 38, 0.55) 0%, rgba(0, 12, 38, 0.42) 35%, rgba(0, 16, 46, 0.86) 100%);
}

.hero.page-hero .hero-media::after {
  background: linear-gradient(180deg, rgba(0, 12, 38, 0.62) 0%, rgba(0, 16, 46, 0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 160px 0 120px;
}

.page-hero .hero-content {
  padding: 40px 0 80px;
  max-width: 700px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0.4em;
}

.hero-content .eyebrow {
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin-bottom: 36px;
}

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

.breadcrumb {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--pool-cyan);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Skyline divider — signature element echoing the logo */
.skyline-divider-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  line-height: 0;
}

.skyline-divider {
  width: 100%;
  height: 70px;
  display: block;
}

.skyline-divider rect,
.skyline-divider polygon {
  fill: var(--paper);
}

.skyline-divider.on-navy rect,
.skyline-divider.on-navy polygon {
  fill: var(--navy);
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--mist);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 40px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-item svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--pool-blue);
}

.trust-item span {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
}

/* ---------- Sections ---------- */
section {
  padding: 100px 0;
}

.section-alt {
  background: var(--mist);
}

.section-navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--mist);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pool-cyan), var(--pool-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin: 0;
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
  position: relative;
}

.process-step {
  position: relative;
  padding: 0 24px;
  text-align: left;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 27px;
  left: calc(50% + 30px);
  right: calc(-50% + 30px);
  height: 0;
  border-top: 2px dashed rgba(255, 255, 255, 0.28);
}

.process-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-deep);
  background: var(--pool-cyan);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.process-step p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(0deg, rgba(0, 12, 38, 0.85), rgba(0, 12, 38, 0));
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

.gallery-note {
  margin-top: 28px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-align: center;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 10, 32, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 40px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--white);
  font-size: 0.95rem;
}

.lightbox-close {
  position: absolute;
  top: 26px;
  right: 30px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}

.lightbox-close svg {
  width: 28px;
  height: 28px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 192, 250, 0.25), transparent 70%);
  top: -180px;
  right: -120px;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 480px;
}

.cta-text {
  position: relative;
  z-index: 1;
}

.cta-actions {
  position: relative;
  z-index: 1;
}

/* ---------- Two column layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media {
  position: relative;
}

.split-media-tag {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--white);
  padding: 18px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.split-media-tag svg {
  width: 26px;
  height: 26px;
  color: var(--pool-blue);
  flex-shrink: 0;
}

.split-media-tag strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
}

.split-media-tag span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.split h2 {
  margin-bottom: 20px;
}

.split p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* ---------- Value / feature list ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.value-card {
  padding: 4px;
}

.value-card svg {
  width: 34px;
  height: 34px;
  color: var(--pool-blue);
  margin-bottom: 16px;
}

.value-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.value-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--mist);
}

.check-list li:last-child {
  border-bottom: none;
}

.check-list svg {
  width: 22px;
  height: 22px;
  color: var(--pool-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.check-list strong {
  color: var(--navy);
  display: block;
  margin-bottom: 2px;
}

.check-list span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Testimonial-style / sample review cards ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--mist);
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--sand);
}

.review-stars svg {
  width: 18px;
  height: 18px;
}

.review-card p {
  font-style: italic;
  color: var(--ink);
  margin-bottom: 18px;
}

.review-name {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
}

.review-loc {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Service area ---------- */
.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.area-pills span {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--mist);
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 500;
}

/* ---------- Forms ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--mist);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--pool-blue);
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 14px;
}

.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}

.form-status.is-success {
  display: block;
  background: #e6f7ee;
  color: #1a7a49;
}

.form-status.is-error {
  display: block;
  background: #fdeceb;
  color: #b4382a;
}

/* Contact info card */
.info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 24px;
}

.info-card h3 {
  color: var(--white);
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row svg {
  width: 22px;
  height: 22px;
  color: var(--pool-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-row strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.info-row span,
.info-row a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.info-row a:hover {
  color: var(--pool-cyan);
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  line-height: 0;
}

.map-embed iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.social-row a:hover {
  background: var(--pool-cyan);
}

.social-row svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  padding-top: 90px;
}

.footer-skyline {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  transform: translateY(-99%);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 62px;
  width: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--pool-cyan);
}

.footer-col .area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col .area-list span:not(:last-child)::after {
  content: "·";
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 26px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
  color: var(--pool-cyan);
}

/* ---------- Reveal on scroll ----------
   Progressive enhancement: content is fully visible by default.
   Only when JS confirms it's running (html.js, set immediately in
   <head>) do .reveal elements start hidden and animate in — so a
   slow connection, blocked script, or non-JS crawler never leaves
   content permanently invisible. */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 48px;
  }
  .process-step:not(:last-child)::after {
    display: none;
  }
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    gap: 40px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-phone {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 90;
  }

  .nav-links.is-open a {
    color: var(--white);
    font-size: 1.3rem;
    font-family: var(--font-display);
  }

  .mobile-cta {
    display: none;
  }

  .nav-links.is-open .mobile-cta {
    display: inline-flex;
    margin-top: 10px;
  }

  section {
    padding: 72px 0;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split-media {
    order: -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 40px 28px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .value-grid {
    grid-template-columns: 1fr;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .gallery-item.tall {
    grid-row: span 1;
  }
  .hero-content {
    padding: 130px 0 90px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .form-card {
    padding: 28px;
  }
}
