:root {
  --navy: #001b8d;
  --navy-deep: #00105e;
  --sky: #83f2f1;
  --wall-blue: #1379d4;
  --ink: #071126;
  --muted: #5c6680;
  --line: #dce7f7;
  --surface: #f5fbff;
  --white: #ffffff;
  --green: #25d366;
  --shadow: 0 18px 45px rgba(0, 27, 141, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--navy);
  box-shadow: 0 10px 30px rgba(0, 16, 94, 0.22);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 10px 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--white);
}
.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}
.brand-copy { display: grid; line-height: 1; }
.brand-small { font-size: 0.86rem; font-weight: 800; }
.brand-la {
  color: var(--sky);
  font-family: "Dancing Script", "Brush Script MT", cursive;
  font-size: 2rem;
  font-weight: 700;
}
.menu-button {
  display: inline-grid;
  gap: 5px;
  width: 42px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: transparent;
}
.menu-button span { display: block; height: 2px; background: var(--white); }
.main-menu {
  position: absolute;
  top: 72px;
  right: 12px;
  left: 12px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(131, 242, 241, 0.22);
  border-radius: 8px;
  background: var(--navy-deep);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.main-menu.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.main-menu a {
  padding: 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
}
.main-menu a:focus, .main-menu a:hover { background: rgba(131, 242, 241, 0.14); }
.phone-link { color: var(--sky); }

.hero {
  display: grid;
  gap: 22px;
  padding: 24px 16px 32px;
  background: linear-gradient(180deg, #e9f9ff 0%, #ffffff 78%);
}
.hero-copy, .section-copy { max-width: 680px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--wall-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 14px;
  font-size: clamp(2.25rem, 15vw, 4.5rem);
  line-height: 0.96;
  font-weight: 900;
}
h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 10vw, 3.4rem);
  line-height: 1;
  font-weight: 900;
}
h3 { margin-bottom: 8px; font-size: 1.1rem; }
.hero-text, .section-copy p { color: var(--muted); font-size: 1.02rem; }
.hero-actions, .location-actions { display: grid; gap: 10px; margin-top: 22px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}
.button-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(0, 27, 141, 0.22);
}
.button-pulse {
  animation: buttonPulse 1.8s infinite;
}
.button-secondary { border: 1px solid var(--line); background: var(--white); color: var(--navy); }
.button-light { background: var(--white); color: var(--navy); }

.hero-carousel {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}
.carousel-track, .carousel-slide { height: 100%; }
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 420ms ease;
}
.carousel-slide.is-active { opacity: 1; }
.carousel-slide img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}
.slide-caption {
  position: absolute;
  right: 12px;
  bottom: 44px;
  left: 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(0, 16, 94, 0.78);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.slide-caption strong, .slide-caption span { display: block; }
.slide-caption span { color: #dffeff; font-size: 0.9rem; }
.carousel-control {
  position: absolute;
  top: 50%;
  width: 38px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}
.carousel-control.prev { left: 10px; }
.carousel-control.next { right: 10px; }
.carousel-dots {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
}
.carousel-dots button.is-active {
  width: 28px;
  border-radius: 8px;
  background: var(--sky);
}

.trust-strip { display: grid; gap: 1px; background: var(--line); }
.trust-strip div { padding: 18px 16px; background: var(--navy); color: var(--white); }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { color: var(--sky); font-size: 1.35rem; font-weight: 900; }
.trust-strip span { font-size: 0.88rem; }
.section { display: grid; gap: 24px; padding: 56px 16px; }
.section-intro { background: var(--white); }
.image-grid { display: grid; gap: 12px; }
.image-grid img, .client-gallery img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}
.clinic-grid img { height: 260px; }
.treatments { background: var(--surface); }
.treatment-list { display: grid; gap: 12px; }
.treatment-list article, .client-gallery article, .map-card {
  border: 1px solid rgba(19, 121, 212, 0.12);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 27, 141, 0.06);
}
.treatment-list article { padding: 24px 22px; }
.treatment-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--wall-blue) 100%);
  color: var(--sky);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.treatment-list p, .client-gallery span, .map-card p { margin-bottom: 0; color: var(--muted); }
.clients { background: var(--white); }
.client-gallery { display: grid; gap: 14px; }
.client-gallery article { overflow: hidden; }
.client-gallery img { height: 310px; }
.client-gallery div { padding: 18px 20px; }
.client-gallery strong, .client-gallery span { display: block; }
.client-gallery strong { margin-bottom: 4px; color: var(--navy); font-size: 1.05rem; }
.cta-band {
  display: grid;
  gap: 20px;
  padding: 42px 16px;
  background: var(--navy);
  color: var(--white);
}
.cta-band .eyebrow { color: var(--sky); }
.cta-band p { color: #dfefff; }
.location { background: linear-gradient(180deg, #ffffff 0%, #eefaff 100%); }
.map-card { padding: 28px 24px; border-radius: 14px; background: linear-gradient(155deg, var(--navy) 0%, #0730b8 100%); color: var(--white); }
.map-card span, .map-card strong, .map-card a { display: block; }
.map-card span { color: var(--sky); font-weight: 900; text-transform: uppercase; }
.map-card strong { margin: 12px 0; font-size: 1.6rem; line-height: 1.05; }
.map-card p { color: #dfefff; }
.map-card a { margin-top: 18px; color: var(--sky); font-weight: 900; }
.footer {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 34px 16px 96px;
  background: var(--navy-deep);
  color: var(--white);
  text-align: center;
}
.footer-logo { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.footer p { margin-bottom: 0; font-weight: 900; }
.footer a { color: var(--sky); font-weight: 900; }
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.38);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); transform: scale(1); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); transform: scale(1.03); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); transform: scale(1); }
}
@keyframes buttonPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 27, 141, 0.42), 0 14px 28px rgba(0, 27, 141, 0.22); transform: scale(1); }
  70% { box-shadow: 0 0 0 16px rgba(0, 27, 141, 0), 0 18px 34px rgba(0, 27, 141, 0.2); transform: scale(1.03); }
  100% { box-shadow: 0 0 0 0 rgba(0, 27, 141, 0), 0 14px 28px rgba(0, 27, 141, 0.22); transform: scale(1); }
}

@media (min-width: 620px) {
  .hero-actions, .location-actions { display: flex; flex-wrap: wrap; }
  .button { min-width: 190px; }
  .trust-strip { grid-template-columns: repeat(3, 1fr); }
  .client-gallery, .treatment-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .topbar { max-width: 1180px; min-height: 82px; margin: 0 auto; padding: 12px 24px; }
  .brand-logo { width: 58px; height: 58px; }
  .brand-small { font-size: 1rem; }
  .brand-la { font-size: 2.45rem; }
  .menu-button { display: none; }
  .main-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .main-menu a { padding: 10px 12px; }
  .hero {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 34px;
    padding: 52px 24px 64px;
  }
  .hero, .section, .cta-band { margin-right: auto; margin-left: auto; }
  .hero-copy { padding-left: max(0px, calc((100vw - 1180px) / 2)); }
  .hero-carousel { min-height: 560px; border-radius: 8px 0 0 8px; }
  .carousel-slide img { min-height: 560px; }
  .slide-caption { right: 24px; bottom: 58px; left: auto; width: min(390px, 44vw); }
  .trust-strip {
    max-width: 1180px;
    margin: -30px auto 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .section {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    max-width: 1180px;
    padding: 86px 24px;
  }
  .clinic-grid { grid-template-columns: 1fr 1fr; }
  .clinic-grid img { height: 420px; }
  .treatments, .clients, .location { max-width: none; }
  .treatments > *, .clients > *, .location > * { min-width: 0; }
  .treatment-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .clients { grid-template-columns: 1fr; }
  .clients .section-copy, .clients .client-gallery,
  .treatments .section-copy, .treatments .treatment-list,
  .location .section-copy, .location .map-card {
    width: min(100%, 1180px);
    margin-right: auto;
    margin-left: auto;
  }
  .client-gallery img { height: 360px; }
  .cta-band {
    grid-template-columns: 1fr auto;
    align-items: center;
    max-width: 1180px;
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 48px;
    border-radius: 8px;
  }
  .location { grid-template-columns: 1fr 0.8fr; }
  .map-card { min-height: 310px; }
}

/* Visual refinements requested after first pass */
.google-rating {
  display: grid;
  justify-items: start;
  gap: 2px;
  width: fit-content;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 27, 141, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px rgba(0, 27, 141, 0.08);
}

.google-rating strong {
  color: var(--navy);
  font-size: 0.92rem;
  line-height: 1.1;
}

.google-rating span:not(.star-row) {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.star-row {
  color: #ffc400;
  font-size: 1.08rem;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(7, 17, 38, 0.14);
}

.trust-strip {
  text-align: center;
}

.trust-strip div {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 106px;
}

.google-proof {
  background: linear-gradient(145deg, var(--navy) 0%, #0730b8 100%) !important;
}

.google-proof .star-row {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.treatment-list article,
.client-gallery article,
.map-card {
  position: relative;
  overflow: hidden;
}

.treatment-list article {
  background: linear-gradient(160deg, #ffffff 0%, #f5faff 100%);
  border-top: 3px solid transparent;
  background-clip: padding-box;
}

.treatment-list article:hover {
  border-top-color: var(--sky);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 27, 141, 0.13);
}

.treatment-list article,
.client-gallery article {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.client-gallery article:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 27, 141, 0.13);
}

.client-gallery div {
  background: var(--white);
}

.client-gallery strong::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 8px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--sky), var(--wall-blue));
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: currentColor;
}

.button-whatsapp {
  gap: 10px;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.34);
  animation: whatsappPulse 1.8s infinite;
}

.whatsapp-float {
  width: 64px;
  min-width: 64px;
  height: 64px;
  min-height: 64px;
  padding: 0;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.38);
  animation: whatsappPulse 1.8s infinite;
}

.whatsapp-float .whatsapp-icon {
  width: 34px;
  height: 34px;
}

.whatsapp-float span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@keyframes whatsappPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5), 0 14px 34px rgba(37, 211, 102, 0.38); transform: scale(1); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0), 0 18px 38px rgba(37, 211, 102, 0.32); transform: scale(1.04); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 14px 34px rgba(37, 211, 102, 0.38); transform: scale(1); }
}

.footer {
  gap: 22px;
  padding: 42px 16px 24px;
}

.footer-main {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(100%, 760px);
  padding: 18px;
  border: 1px solid rgba(131, 242, 241, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.footer-main div {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.footer-main span {
  max-width: 560px;
  color: #dfefff;
  font-size: 0.9rem;
}

.footer-bottom {
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid rgba(131, 242, 241, 0.18);
  color: #b7c9ff;
  font-size: 0.86rem;
  font-weight: 700;
}

@media (min-width: 620px) {
  .google-rating {
    justify-items: center;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .footer-main {
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: left;
  }

  .footer-main div {
    justify-items: start;
  }
}

/* Logo and footer link adjustments */
.brand-logo,
.footer-logo {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  mix-blend-mode: normal;
}

.brand-logo {
  object-fit: contain;
}

.footer-logo {
  object-fit: contain;
}

.footer-bottom a {
  color: var(--sky);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}
