:root {
  --navy: #101f49;
  --blue: #0078d7;
  --blue-deep: #005bb2;
  --blue-dark: #004697;
  --orange: #ff7108;
  --orange-dark: #ed5f00;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 22px 46px rgba(6, 34, 74, 0.16);
  --soft-shadow: 0 16px 34px rgba(6, 34, 74, 0.12);
  --card-shadow: 0 16px 32px rgba(18, 80, 137, 0.11);
}

/* Premium home hero */
.home-shell::before {
  animation-duration: 30s;
  filter: saturate(1.04) contrast(1.02);
}

.home-shell::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.91) 0%, rgba(255, 255, 255, 0.69) 34%, rgba(255, 255, 255, 0.08) 68%),
    linear-gradient(180deg, rgba(5, 25, 72, 0.11), transparent 42%, rgba(5, 25, 72, 0.1));
}

.hero {
  grid-template-columns: minmax(500px, 1fr) minmax(280px, 340px);
  align-items: center;
  gap: clamp(48px, 9vw, 150px);
  max-width: 1180px;
  padding: 58px 0 34px;
}

.hero-message {
  position: relative;
  width: min(100%, 690px);
  padding: 42px 0 36px;
  text-align: center;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.72);
}

.hero-since {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 9px;
  color: var(--blue-deep);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.34em;
}

.hero-since span {
  width: clamp(40px, 7vw, 86px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 113, 8, 0.8));
}

.hero-since span:last-child { transform: scaleX(-1); }

.hero-since,
.hero .hero-title,
.hero-script,
.hero-support {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.92);
  paint-order: stroke fill;
  text-shadow:
    0 0 2px rgba(255, 255, 255, 0.98),
    0 0 7px rgba(255, 255, 255, 0.86),
    0 0 16px rgba(255, 255, 255, 0.56),
    0 3px 12px rgba(8, 43, 102, 0.2);
}

.hero .hero-title {
  max-width: none;
  margin: 0;
  color: #092c71;
  font-size: clamp(54px, 5.6vw, 84px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.hero-script {
  margin: 2px 0 0;
  color: var(--orange);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(48px, 5.5vw, 78px);
  font-weight: 500;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.92);
  paint-order: stroke fill;
  text-shadow:
    0 0 2px rgba(255, 255, 255, 0.98),
    0 0 7px rgba(255, 255, 255, 0.86),
    0 0 16px rgba(255, 255, 255, 0.56),
    0 3px 12px rgba(8, 43, 102, 0.2);
  transform: rotate(-2deg);
}

.hero-support {
  width: min(100%, 560px);
  margin: 24px auto 0;
  border-top: 1px solid rgba(9, 44, 113, 0.2);
  padding-top: 19px;
  color: #0b326e;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.55;
}

.hero-services {
  width: min(100%, 340px);
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 22px;
  padding: 10px 24px 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 54px rgba(5, 39, 86, 0.2);
  backdrop-filter: blur(14px);
}

.hero-service-list { margin: 0; padding: 0; list-style: none; }

.hero-service-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  border-bottom: 1px solid rgba(9, 44, 113, 0.13);
  color: #092c71;
  font-size: 15px;
  font-weight: 900;
}

.hero-service-list svg {
  width: 37px;
  height: 37px;
  fill: none;
  stroke: var(--blue-deep);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 9px;
  margin-top: 18px;
}

.hero-actions .btn { width: 100%; min-height: 44px; padding: 12px 10px; font-size: 12px; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 38px; }
  .hero-message, .hero-services { justify-self: center; }
  .hero-services { width: min(100%, 620px); }
  .hero-service-list { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-service-list li { grid-template-columns: 38px 1fr; border-right: 1px solid rgba(9, 44, 113, 0.13); border-bottom: 0; padding: 0 12px; }
  .hero-service-list li:last-child { border-right: 0; }
  .hero-actions { max-width: 430px; margin-inline: auto; }
}

@media (max-width: 680px) {
  .home-shell::before { background-position: 60% center; }
  .home-shell::after { background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.65) 55%, rgba(5,25,72,.15)); }
  .hero { display: grid; width: 100%; max-width: 100%; gap: 18px; padding: 32px 0 0; overflow: visible; }
  .hero-message { width: 100%; padding: 10px 4px 6px; }
  .hero-since { gap: 9px; font-size: 11px; letter-spacing: .24em; }
  .hero .hero-title { font-size: clamp(32px, 9.7vw, 38px); white-space: normal; }
  .hero-script { font-size: clamp(38px, 10.8vw, 46px); }
  .hero-support { width: min(100%, 390px); margin-top: 17px; padding-top: 15px; font-size: 14px; }
  .hero-services { width: min(100%, 340px); padding: 8px 18px 18px; }
  .hero-service-list { display: block; }
  .hero-service-list li { min-height: 59px; border-right: 0; border-bottom: 1px solid rgba(9,44,113,.13); padding: 0; }
  .hero-actions { grid-template-columns: 1fr; }
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--navy);
  background: #dff5ff;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

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

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

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

.home-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 22px clamp(18px, 2.1vw, 34px) 28px;
  background: #dff5ff;
}

.home-shell::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: 0;
  background: url("/assets/images/dolphin-premium-pool-hero.png") center / cover no-repeat;
  animation: heroBreathingZoom 28s ease-in-out infinite;
  filter: saturate(1.14) contrast(1.05);
  transform: scale(1.035);
  transform-origin: center;
}

.home-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03) 52%, rgba(255, 255, 255, 0.12)),
    linear-gradient(180deg, rgba(5, 25, 72, 0.16), rgba(5, 25, 72, 0.03) 42%, rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

@keyframes heroBreathingZoom {
  0% {
    transform: scale(1.035) translate3d(-2px, -1px, 0);
  }

  50% {
    transform: scale(1.062) translate3d(2px, 1px, 0);
  }

  100% {
    transform: scale(1.035) translate3d(-2px, -1px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-shell::before {
    animation: none;
    transform: scale(1.035);
  }
}

.site-header,
.hero {
  position: relative;
  z-index: 1;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(175px, 260px) 1fr minmax(142px, 160px);
  align-items: center;
  gap: 24px;
  max-width: 1234px;
  min-height: 108px;
  margin: 0 auto;
  padding: 16px 48px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  width: 186px;
  max-width: 100%;
  align-items: center;
}

.brand img,
.contact-card img {
  display: block;
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 4vw, 56px);
  font-size: 15px;
  font-weight: 900;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  padding: 10px 0 16px;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: #02a7e7;
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after {
  width: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 10px;
  padding: 14px 24px;
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  box-shadow: 0 12px 24px rgba(7, 39, 87, 0.16);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(7, 39, 87, 0.22);
}

.btn-orange {
  background: linear-gradient(180deg, #ff7f18 0%, var(--orange) 100%);
}

.btn-orange:hover,
.btn-orange:focus-visible {
  background: var(--orange-dark);
}

.btn-blue {
  background: linear-gradient(180deg, #0795e7 0%, var(--blue) 100%);
}

.btn-blue:hover,
.btn-blue:focus-visible {
  background: var(--blue-deep);
}

.header-call {
  justify-self: end;
  min-width: 146px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 530px) minmax(220px, 1fr);
  align-items: end;
  gap: clamp(40px, 8vw, 170px);
  max-width: 1110px;
  min-height: calc(100vh - 148px);
  margin: 0 auto;
  padding: 62px 0 24px;
}

.hero-card {
  width: min(100%, 530px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 30px 38px 29px;
  background: linear-gradient(145deg, var(--blue) 0%, #0069c8 42%, var(--blue-dark) 100%);
  color: var(--white);
  box-shadow: 0 22px 46px rgba(4, 54, 120, 0.18);
  position: relative;
  overflow: hidden;
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: #ffc037;
  opacity: 0.9;
}

.hero-card::before {
  right: 22px;
  top: 22px;
}

.hero-card::after {
  right: 42px;
  top: 42px;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.hero-heading-row {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  align-items: start;
}

.water-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
}

.water-icon svg {
  width: 46px;
  height: 46px;
  fill: #ffffff;
  stroke: #ffffff;
  stroke-width: 2.6;
  stroke-linecap: round;
}

h1 {
  margin: 0;
  max-width: 400px;
  font-size: clamp(28px, 2.85vw, 34px);
  font-weight: 900;
  line-height: 1.13;
  letter-spacing: 0;
}

h1 span {
  color: #ffc037;
}

.hero-subtitle,
.hero-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-subtitle {
  margin: 20px 0 0;
  padding-top: 19px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.hero-slogan {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.hero-slogan::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: #ffc037;
  box-shadow: 14px 0 0 rgba(255, 255, 255, 0.74);
}

.hero-copy {
  margin: 17px 0 0;
  padding-top: 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.contact-card {
  display: grid;
  width: min(100%, 220px);
  justify-self: end;
  gap: 10px;
  margin-bottom: 8px;
  border: 1px solid rgba(22, 109, 173, 0.08);
  border-radius: 14px;
  padding: 18px 16px 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.contact-card img {
  width: 146px;
  justify-self: center;
  margin-bottom: 3px;
}

.contact-card .btn {
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 18px 24px 22px;
  }

  .main-nav {
    flex-wrap: wrap;
    row-gap: 0;
  }

  .header-call {
    justify-self: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-width: 0;
    align-items: start;
    gap: 24px;
    min-height: auto;
  }

  .hero-card,
  .contact-card {
    justify-self: center;
  }
}

@media (min-width: 681px) and (max-width: 1020px) {
  .site-header {
    grid-template-columns: minmax(130px, 150px) minmax(0, 1fr) minmax(128px, 138px);
    min-height: 92px;
    justify-items: stretch;
    gap: 16px;
    padding: 14px 22px;
  }

  .brand {
    width: 148px;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 13px;
    line-height: 1.1;
  }

  .main-nav a {
    padding: 8px 0 12px;
  }

  .header-call {
    justify-self: end;
    min-width: 132px;
    padding-inline: 16px;
  }
}

@media (max-width: 680px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .home-shell {
    min-height: 100svh;
    padding: 14px 14px 28px;
  }

  .site-header {
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    padding: 16px 14px 20px;
    overflow: hidden;
  }

  .brand {
    width: 172px;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(126px, max-content));
    max-width: 100%;
    justify-content: center;
    gap: 8px 10px;
    font-size: 12px;
  }

  .main-nav a {
    justify-content: center;
    padding: 8px 8px 12px;
  }

  .hero {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 28px 0 0;
    overflow: hidden;
  }

  .hero-card {
    width: min(100%, 320px);
    max-width: calc(100vw - 48px);
    min-width: 0;
    margin: 0;
    padding: 23px 20px;
    overflow: hidden;
  }

  .hero-heading-row {
    grid-template-columns: 1fr;
    gap: 16px;
    min-width: 0;
  }

  .water-icon {
    width: 60px;
    height: 60px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(25px, 7vw, 28px);
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-copy {
    font-size: 14.5px;
    line-height: 1.58;
  }

  .contact-card {
    width: min(100%, 260px);
    margin: 24px auto 0;
  }
}

@media (max-width: 410px) {
  .main-nav {
    grid-template-columns: repeat(2, minmax(118px, max-content));
    gap: 8px;
  }

  .btn {
    width: 100%;
  }
}

.home-slogan-band {
  position: relative;
  overflow: visible;
  padding: 22px clamp(18px, 3vw, 42px) 0;
  background:
    radial-gradient(circle at 50% -15%, rgba(255, 255, 255, 0.95), rgba(247, 252, 255, 0.92) 42%, rgba(234, 248, 255, 0.96) 100%),
    linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
  color: #07184c;
}

.home-slogan-band-inner {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 1180px);
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 20px 44px rgba(6, 34, 74, 0.2);
  opacity: 0;
  overflow: hidden;
  transform: translateY(40px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease;
}

.home-slogan-band-inner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-slogan-band-inner.is-visible:hover {
  box-shadow: 0 24px 52px rgba(6, 34, 74, 0.26);
  transform: translateY(-2px);
}

.home-slogan-band-inner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .home-slogan-band-inner,
  .home-slogan-band-inner.is-visible,
  .home-slogan-band-inner.is-visible:hover {
    opacity: 1;
    transform: translateY(0);
    transition: none;
  }
}

@media (max-width: 680px) {
  .home-slogan-band {
    padding: 16px 16px 0;
  }

  .home-slogan-band-inner {
    border-radius: 12px;
  }

}

.services-section {
  position: relative;
  overflow: hidden;
  padding: 80px clamp(18px, 3vw, 42px) 48px;
  background:
    radial-gradient(circle at 50% -15%, rgba(255, 255, 255, 0.95), rgba(247, 252, 255, 0.92) 42%, rgba(234, 248, 255, 0.96) 100%),
    linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
}

.services-section::before,
.services-section::after {
  content: "";
  position: absolute;
  bottom: -72px;
  width: 52vw;
  height: 170px;
  border-radius: 50% 50% 0 0;
  background: rgba(50, 177, 232, 0.18);
  pointer-events: none;
}

.services-section::before {
  left: -11vw;
  transform: rotate(6deg);
}

.services-section::after {
  right: -10vw;
  bottom: -52px;
  background:
    linear-gradient(135deg, rgba(60, 190, 239, 0.34), rgba(7, 146, 214, 0.12)),
    repeating-linear-gradient(145deg, rgba(255, 255, 255, 0.34) 0 5px, transparent 5px 15px);
  transform: rotate(-4deg);
}

.services-inner {
  position: relative;
  z-index: 1;
  max-width: 1210px;
  margin: 0 auto;
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 8px;
  color: #1597d3;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.section-label span {
  width: 44px;
  height: 2px;
  border-radius: 999px;
  background: #75bce0;
}

.services-section h2 {
  margin: 0;
  color: #07184c;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.wave-divider {
  display: flex;
  justify-content: center;
  margin: 11px 0 7px;
}

.wave-divider svg {
  width: 54px;
  height: 18px;
  fill: none;
  stroke: #15a5e4;
  stroke-linecap: round;
  stroke-width: 3;
}

.services-subtitle {
  margin: 0;
  color: #363a47;
  font-size: 19px;
  font-weight: 600;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 18px;
  margin-top: 28px;
}

.service-card {
  display: flex;
  height: 100%;
  min-height: 338px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid rgba(22, 109, 173, 0.08);
  border-bottom: 4px solid #079ee2;
  border-radius: var(--radius);
  padding: 24px 20px 19px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--card-shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card:hover {
  border-color: rgba(18, 159, 226, 0.22);
  transform: translateY(-4px);
  box-shadow: 0 22px 38px rgba(18, 80, 137, 0.16);
}

.service-icon {
  display: grid;
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 999px;
  background: #f0f8ff;
}

.service-icon svg {
  width: 68px;
  height: 68px;
  fill: none;
  stroke: #101f49;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.service-icon svg path:last-child,
.service-icon svg circle + path + path,
.service-icon svg path:nth-last-child(2) {
  stroke: #129fe2;
}

.service-card h3 {
  min-height: 58px;
  margin: 0;
  color: #07184c;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.service-card h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin: 15px auto 0;
  border-radius: 999px;
  background: #139fe4;
}

.service-card p {
  min-height: 50px;
  margin: 16px 0 18px;
  color: #363a47;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.28;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: auto;
  color: #0c8ed0;
  font-size: 13px;
  font-weight: 900;
}

.service-card a span {
  color: #129fe2;
  font-size: 24px;
  line-height: 1;
}

.trust-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  color: #07184c;
  text-align: left;
}

.trust-line svg {
  width: 42px;
  height: 50px;
  fill: none;
  stroke: var(--orange);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.trust-line p {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.trust-line span {
  display: block;
  color: #07184c;
  font-size: 18px;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 690px;
    margin-inline: auto;
  }

  .service-card {
    min-height: 326px;
  }
}

@media (max-width: 680px) {
  .services-section {
    padding: 58px 16px 38px;
  }

  .section-label {
    gap: 10px;
    font-size: 12px;
  }

  .section-label span {
    width: 32px;
  }

  .services-subtitle {
    font-size: 17px;
    line-height: 1.35;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 330px;
    gap: 16px;
  }

  .service-card {
    min-height: 314px;
    padding: 24px 22px 20px;
  }

  .service-card h3,
  .service-card p {
    min-height: auto;
  }

  .trust-line {
    max-width: 330px;
    align-items: flex-start;
  }
}

.technology-section {
  padding: 58px clamp(18px, 3vw, 42px) 72px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.88), rgba(237, 248, 255, 0.94) 58%, rgba(228, 244, 253, 0.98) 100%),
    linear-gradient(180deg, #f7fcff 0%, #eaf7ff 100%);
}

.technology-inner {
  max-width: 1196px;
  margin: 0 auto;
  text-align: center;
}

.technology-section h2 {
  margin: 0;
  color: #07184c;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.tech-divider {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 25px 0 15px;
}

.tech-divider span {
  display: block;
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: #16a4e5;
}

.tech-divider span:last-child {
  width: 10px;
}

.technology-subtitle {
  max-width: 650px;
  margin: 0 auto;
  color: #5a6170;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.55;
}

.technology-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 28px;
  margin-top: 34px;
}

.technology-card {
  display: flex;
  min-height: 370px;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 109, 173, 0.14);
  border-radius: var(--radius);
  padding: 34px 26px 38px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--card-shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.technology-card:hover {
  border-color: rgba(18, 159, 226, 0.22);
  transform: translateY(-4px);
  box-shadow: 0 22px 38px rgba(18, 80, 137, 0.16);
}

.technology-icon {
  display: grid;
  width: 142px;
  height: 142px;
  place-items: center;
  margin-bottom: 24px;
}

.technology-icon svg {
  width: 128px;
  height: 128px;
  fill: none;
  stroke: #0a367b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.technology-card h3 {
  margin: 0;
  color: #07184c;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: 0;
}

.technology-card h3::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: #65bcea;
}

@media (max-width: 1100px) {
  .technology-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    margin-inline: auto;
  }

  .technology-card {
    min-height: 330px;
  }
}

@media (max-width: 680px) {
  .technology-section {
    padding: 42px 16px 54px;
  }

  .technology-subtitle {
    font-size: 17px;
  }

  .technology-grid {
    grid-template-columns: 1fr;
    max-width: 330px;
    gap: 16px;
  }

  .technology-card {
    min-height: 286px;
    padding: 28px 22px 32px;
  }

  .technology-icon {
    width: 116px;
    height: 116px;
    margin-bottom: 18px;
  }

  .technology-icon svg {
    width: 108px;
    height: 108px;
  }

  .technology-card h3 {
    font-size: 24px;
  }

  .technology-card h3::before {
    margin-bottom: 18px;
  }
}

.reviews-section {
  overflow: hidden;
  padding: 62px clamp(18px, 3vw, 42px) 70px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.94), rgba(242, 248, 253, 0.96) 54%, rgba(232, 241, 250, 0.98) 100%),
    linear-gradient(180deg, #f8fcff 0%, #eef5fc 100%);
}

.reviews-inner {
  max-width: 1190px;
  margin: 0 auto;
  text-align: center;
}

.reviews-section h2 {
  margin: 0;
  color: #07184c;
  font-size: clamp(34px, 4.3vw, 52px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.reviews-subtitle {
  margin: 18px 0 0;
  color: #5d6370;
  font-size: 18px;
  font-weight: 600;
}

.reviews-slider {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
}

.reviews-viewport {
  overflow: hidden;
  min-width: 0;
  padding: 2px 0 16px;
}

.reviews-track {
  display: flex;
  width: max-content;
  gap: 34px;
  will-change: transform;
}

.review-card {
  display: flex;
  width: calc((min(1038px, 100vw - 204px) - 68px) / 3);
  min-height: 364px;
  flex: 0 0 auto;
  flex-direction: column;
  border: 1px solid rgba(22, 109, 173, 0.12);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--card-shadow);
  text-align: left;
}

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

.google-mark {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  flex: 0 0 auto;
  color: #4285f4;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.review-stars {
  color: #ffc400;
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
}

.review-time {
  margin-left: auto;
  color: #7a8393;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.review-card p {
  flex: 1 1 auto;
  margin: 28px 0 24px;
  color: #18243f;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.72;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(11, 55, 103, 0.1);
  padding-top: 18px;
}

.review-avatar {
  display: inline-grid;
  width: 50px;
  height: 50px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(145deg, #239bea, #0067d8);
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.review-author strong,
.review-author small {
  display: block;
}

.review-author strong {
  color: #07184c;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
}

.review-author small {
  margin-top: 3px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
}

.reviews-arrow {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  color: #118dd3;
  box-shadow: 0 14px 28px rgba(18, 80, 137, 0.14);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.reviews-arrow span {
  display: block;
  font-size: 48px;
  font-weight: 400;
  line-height: 0.85;
}

.reviews-arrow:hover,
.reviews-arrow:focus-visible {
  color: #0069c8;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(18, 80, 137, 0.2);
  outline: none;
}

.reviews-arrow:focus-visible {
  outline: 3px solid rgba(20, 160, 226, 0.28);
  outline-offset: 3px;
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 22px;
}

.reviews-dots button {
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition:
    width 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.reviews-dots button::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #d1e3f1;
  transform: translate(-50%, -50%);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.reviews-dots button.active::before,
.reviews-dots button:hover::before,
.reviews-dots button:focus-visible::before {
  background: #0b98df;
  transform: translate(-50%, -50%) scale(1.08);
}

.reviews-dots button:focus-visible {
  outline: 3px solid rgba(20, 160, 226, 0.28);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .reviews-slider {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 18px;
  }

  .review-card {
    width: calc((100vw - 132px - 24px) / 2);
    min-height: 344px;
  }

  .reviews-track {
    gap: 24px;
  }
}

@media (max-width: 680px) {
  .reviews-section {
    padding: 44px 16px 58px;
  }

  .reviews-subtitle {
    font-size: 17px;
    line-height: 1.35;
  }

  .reviews-slider {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 34px;
  }

  .reviews-viewport {
    order: 1;
    width: calc(100vw - 64px);
    margin: 0 auto;
  }

  .reviews-arrow {
    position: absolute;
    top: calc(50% - 26px);
    z-index: 2;
    width: 46px;
    height: 46px;
  }

  .reviews-prev {
    left: -8px;
  }

  .reviews-next {
    right: -8px;
  }

  .reviews-arrow span {
    font-size: 40px;
  }

  .review-card {
    width: calc(100vw - 64px);
    min-height: 352px;
    padding: 26px 22px 24px;
  }

  .review-card p {
    font-size: 15px;
    line-height: 1.62;
  }

  .review-topline {
    gap: 8px;
  }

  .review-stars {
    font-size: 18px;
    letter-spacing: 0;
  }

  .review-time {
    font-size: 11px;
  }
}

.certifications-section {
  padding: 58px clamp(18px, 3vw, 42px) 68px;
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.98), rgba(250, 253, 255, 0.96) 58%, rgba(241, 248, 253, 0.98) 100%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.certifications-inner,
.service-areas-inner {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.service-areas-inner {
  max-width: 1420px;
}

.certifications-section h2,
.service-areas-section h2 {
  margin: 0;
  color: #07184c;
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.certifications-subtitle,
.service-areas-subtitle {
  margin: 18px auto 0;
  color: #5d6370;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.certification-card {
  display: flex;
  min-height: 266px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 109, 173, 0.11);
  border-radius: var(--radius);
  padding: 28px 22px 26px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--card-shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.certification-card:hover {
  border-color: rgba(18, 159, 226, 0.22);
  transform: translateY(-4px);
  box-shadow: 0 22px 38px rgba(18, 80, 137, 0.15);
}

.certification-card img {
  display: block;
  width: auto;
  max-width: 158px;
  height: 92px;
  object-fit: contain;
}

.certification-card span {
  display: block;
  width: 38px;
  height: 3px;
  margin: 24px auto 20px;
  border-radius: 999px;
  background: #75bce0;
}

.certification-card h3 {
  margin: 0;
  color: #07184c;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
}

.service-areas-section {
  padding: 58px clamp(18px, 3vw, 42px) 220px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.86), rgba(234, 247, 255, 0.95) 58%, rgba(226, 242, 252, 0.98) 100%),
    linear-gradient(180deg, #eef8ff 0%, #eaf6ff 100%);
}

.areas-grid,
.areas-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.areas-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
  margin-inline: auto;
  text-align: left;
}

.seo-areas-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
  gap: 10px 12px;
}

.area-card {
  display: flex;
  min-height: 156px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 109, 173, 0.1);
  border-radius: var(--radius);
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--card-shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.area-card:hover,
.area-card:focus-visible {
  border-color: rgba(18, 159, 226, 0.32);
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(18, 80, 137, 0.16);
  outline: none;
}

.areas-list .area-card {
  min-height: 0;
  flex-direction: row;
  justify-content: flex-start;
  border-color: rgba(16, 31, 73, 0.12);
  border-left: 4px solid #101f49;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.96);
}

.areas-list .area-card::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-right: 12px;
  border-radius: 2px;
  background: #0078d7;
  box-shadow: 0 0 0 5px rgba(0, 120, 215, 0.09);
}

.area-pin {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #ecf8ff;
}

.area-pin svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #0b98df;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.area-card strong {
  color: #07184c;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.areas-list .area-card strong {
  font-size: 14px;
  line-height: 1.35;
}

.service-areas-cta {
  min-width: 356px;
  margin-top: 34px;
  font-size: 20px;
}

.service-areas-cta span {
  font-size: 34px;
  line-height: 0.6;
}

.location-page {
  background: #f2f9ff;
}

.page-wrap {
  padding: 22px clamp(18px, 2.1vw, 34px) 0;
  background:
    linear-gradient(180deg, rgba(232, 248, 255, 0.98), rgba(248, 252, 255, 0.98) 58%, #eef8ff 100%);
}

.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 0 230px;
}

.location-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 32px;
}

.location-copy,
.location-panel,
.service-areas-page-card {
  border: 1px solid rgba(22, 109, 173, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--card-shadow);
}

.location-copy {
  padding: 38px;
}

.location-copy .section-label {
  margin-bottom: 12px;
}

.location-copy h1,
.service-areas-page-card h1 {
  margin: 0;
  color: #07184c;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.location-copy p,
.service-areas-page-card p {
  margin: 20px 0 0;
  color: #3f4858;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.62;
}

.location-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.location-panel {
  padding: 28px;
}

.location-panel h2,
.location-section h2 {
  margin: 0 0 18px;
  color: #07184c;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
}

.location-panel ul,
.location-section ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.location-panel li,
.location-section li {
  position: relative;
  padding-left: 24px;
  color: #24304a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.location-panel li::before,
.location-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #0b98df;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.location-section {
  border: 1px solid rgba(22, 109, 173, 0.12);
  border-radius: 14px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--card-shadow);
}

.map-card {
  grid-column: 1 / -1;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: 10px;
}

.nearby-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nearby-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-radius: 999px;
  background: #ebf7ff;
  color: #0b5eaa;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 900;
}

.site-footer {
  border-top: 1px solid rgba(22, 109, 173, 0.14);
  padding: 26px clamp(18px, 3vw, 42px);
  background: #07184c;
  color: #ffffff;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
}

.service-areas-page-card {
  padding: 38px;
  text-align: center;
}

.service-areas-page-card h1 {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.service-areas-page-card > p {
  max-width: 760px;
  margin-inline: auto;
}

.service-areas-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

@media (max-width: 1100px) {
  .certifications-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    margin-inline: auto;
  }

  .areas-grid,
  .areas-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 760px;
    margin-inline: auto;
  }

  .seo-areas-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
  }

  .location-hero,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .service-areas-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .certifications-section {
    padding: 44px 16px 58px;
  }

  .service-areas-section {
    padding: 44px 16px 220px;
  }

  .certifications-grid,
  .service-areas-page-grid {
    grid-template-columns: 1fr;
    max-width: 330px;
  }

  .areas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 420px;
  }

  .areas-list {
    grid-template-columns: 1fr;
    max-width: 390px;
  }

  .areas-list .area-card {
    padding: 14px 15px;
  }

  .certification-card {
    min-height: 236px;
  }

  .service-areas-cta {
    min-width: 0;
    width: min(100%, 330px);
    font-size: 17px;
  }

  .page-wrap {
    padding: 14px 14px 0;
  }

  .page-main {
    padding: 30px 0 230px;
  }

  .location-copy,
  .location-panel,
  .location-section,
  .service-areas-page-card {
    padding: 24px 20px;
  }

  .location-copy p,
  .service-areas-page-card p {
    font-size: 16px;
  }

  .location-ctas .btn {
    width: 100%;
  }

  .map-card iframe {
    height: 280px;
  }
}

/* Hero cascade placement: keep these layout rules after legacy page styles. */
.home-shell::before {
  animation-duration: 30s;
  filter: saturate(1.04) contrast(1.02);
}

.home-shell::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.91) 0%, rgba(255, 255, 255, 0.69) 34%, rgba(255, 255, 255, 0.08) 68%),
    linear-gradient(180deg, rgba(5, 25, 72, 0.11), transparent 42%, rgba(5, 25, 72, 0.1));
}

.home-shell .hero {
  grid-template-columns: minmax(500px, 1fr) minmax(280px, 340px);
  align-items: center;
  gap: clamp(48px, 9vw, 150px);
  max-width: 1180px;
  padding: 58px 0 34px;
}

@media (max-width: 1020px) {
  .home-shell .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 38px; }
}

@media (max-width: 680px) {
  .home-shell::before { background-position: 60% center; }
  .home-shell::after { background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.65) 55%, rgba(5,25,72,.15)); }
  .home-shell .hero { display: grid; width: 100%; max-width: 100%; gap: 18px; padding: 32px 0 0; overflow: visible; }
}

/* Service Areas directory and city navigation */
.service-areas-directory {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(44px, 6vw, 76px);
  text-align: left;
}

.service-areas-directory::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  width: auto;
  aspect-ratio: auto;
  background:
    linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.88) 48%, rgba(227,247,255,.68) 100%),
    url("/assets/images/south-florida-map-background-v2.png") 78% center / cover no-repeat;
  opacity: 1;
  pointer-events: none;
}

.service-areas-page-heading {
  max-width: 820px;
  margin-bottom: clamp(38px, 5vw, 62px);
}

.service-areas-page-heading .section-label,
.service-areas-page-heading h1,
.service-areas-page-heading > p {
  margin-inline: 0;
  text-align: left;
}

.service-areas-page-heading h1 {
  font-size: clamp(42px, 5.5vw, 68px);
}

.service-areas-page-grid {
  display: block;
  columns: 3;
  column-gap: clamp(34px, 5vw, 72px);
  margin-top: 0;
}

.service-area-letter-group {
  min-width: 0;
}

.service-area-letter-group h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #07184c;
  font-size: 24px;
  font-weight: 900;
}

.service-area-letter-group h2::after {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0b98df, rgba(11, 152, 223, 0));
}

.service-area-letter-group > div {
  display: grid;
  gap: 6px;
}

.service-areas-directory .area-card {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 9px;
  min-height: 0;
  border: 0;
  border-radius: 8px;
  padding: 8px 7px;
  background: transparent;
  box-shadow: none;
  color: #18315f;
  text-align: left;
  break-inside: avoid;
  margin-bottom: 5px;
}

.service-areas-directory .area-card:hover,
.service-areas-directory .area-card:focus-visible {
  background: rgba(11, 152, 223, 0.08);
  color: #005bb2;
  transform: translateX(3px);
}

.service-areas-directory .area-pin {
  width: 20px;
  height: 20px;
  margin: 0;
  color: #ff7108;
}

.service-areas-directory .area-pin svg {
  width: 20px;
  height: 20px;
}

.service-areas-directory .area-card strong {
  font-size: 13px;
  line-height: 1.42;
}

.location-page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  border: 1px solid rgba(22, 109, 173, 0.12);
  border-radius: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(18, 80, 137, 0.08);
}

.location-page-nav > div {
  display: flex;
  gap: 10px;
}

.location-page-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 9px 12px;
  color: #075eb4;
  font-size: 13px;
  font-weight: 900;
  transition: background 180ms ease, color 180ms ease;
}

.location-page-nav a:hover,
.location-page-nav a:focus-visible {
  background: #e7f6ff;
  color: #07184c;
}

.location-page-nav-bottom {
  margin: 28px 0 0;
}

@media (max-width: 1100px) {
  .service-areas-page-grid { columns: 3; }
}

@media (max-width: 760px) {
  .service-areas-page-grid { columns: 2; }
  .service-areas-directory::before {
    background:
      linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,.86)),
      url("/assets/images/south-florida-map-background-v2.png") 70% center / cover no-repeat;
  }
}

@media (max-width: 520px) {
  .service-areas-directory { padding: 32px 20px; }
  .service-areas-page-heading h1 { font-size: clamp(34px, 11vw, 44px); }
  .service-areas-page-grid { columns: 1; max-width: none; }
  .service-areas-directory .area-card strong { font-size: 14px; }
  .location-page-nav { align-items: stretch; flex-direction: column; }
  .location-page-nav > div { display: grid; grid-template-columns: 1fr 1fr; }
  .location-page-nav a { justify-content: center; text-align: center; }
}
