:root {
  color-scheme: light dark;
  --ink: #173734;
  --ink-2: #385652;
  --paper: #fffdf8;
  --surface: #ffffff;
  --mist: #eff8f3;
  --mint: #d8efe0;
  --mint-2: #b8e2cb;
  --teal: #0e6d67;
  --teal-2: #07514e;
  --lime: #d8ee77;
  --peach: #f8b68c;
  --sun: #f5d16e;
  --line: #dbe7df;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(14, 74, 68, 0.13);
  --shadow-small: 0 14px 40px rgba(14, 74, 68, 0.09);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef8f2;
    --ink-2: #c1d4cd;
    --paper: #0e1b19;
    --surface: #152622;
    --mist: #182e29;
    --mint: #23463b;
    --mint-2: #315d4d;
    --teal: #70c9bb;
    --teal-2: #a4ded0;
    --lime: #b9cf62;
    --peach: #d98962;
    --sun: #d9b84f;
    --line: #2c4941;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    --shadow-small: 0 14px 40px rgba(0, 0, 0, 0.2);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 14px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Newsreader", serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.99;
}

h1 {
  font-size: clamp(3.3rem, 6.7vw, 6.2rem);
  max-width: 780px;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(2.6rem, 4.5vw, 4.6rem);
  margin-bottom: 24px;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

p {
  color: var(--ink-2);
}

.section-copy {
  max-width: 650px;
  font-size: 1.1rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 46px;
}

.section-head h2 {
  margin-bottom: 0;
  max-width: 630px;
}

.section-head p {
  max-width: 490px;
  margin-bottom: 5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 23px;
  border-radius: 999px;
  background: var(--teal-2);
  color: var(--white);
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(7, 81, 78, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.arrow {
  transition: transform 0.2s ease;
}

.btn:hover .arrow,
.text-link:hover .arrow {
  transform: translateX(4px);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--teal);
  font-weight: 700;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.nav-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 216px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  color: var(--teal);
}

.brand span small {
  display: block;
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-size: 0.91rem;
  font-weight: 600;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--teal);
  transition: right 0.2s ease;
}

.nav-links a:hover::after {
  right: 0;
}

.nav-phone {
  font-weight: 700;
  white-space: nowrap;
  font-size: 0.92rem;
}

.nav-cta {
  min-height: 46px;
  padding-inline: 19px;
}

.menu-btn {
  display: none;
  background: transparent;
  color: var(--ink);
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.hero {
  padding: 76px 0 52px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -260px;
  top: 30px;
  border-radius: 50%;
  border: 70px solid var(--mint);
  opacity: 0.52;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 68px;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  font-size: 1.17rem;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.trust-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 600;
}

.avatar-stack {
  display: flex;
}

.avatar-stack img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--paper);
  margin-left: -7px;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.hero-visual {
  position: relative;
  padding: 16px 10px 30px 20px;
}

.hero-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.9;
  border-radius: 48% 48% 20% 20% / 34% 34% 13% 13%;
  background: var(--mint);
  box-shadow: var(--shadow);
}

.hero-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.spark {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.spark-a {
  width: 135px;
  height: 135px;
  background: var(--lime);
  right: -34px;
  top: 3px;
}

.spark-b {
  width: 86px;
  height: 86px;
  background: var(--peach);
  left: -4px;
  bottom: 0;
}

.rating-card {
  position: absolute;
  left: -18px;
  bottom: 61px;
  background: var(--surface);
  box-shadow: var(--shadow-small);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 20px;
  min-width: 190px;
}

.rating-card strong {
  font-size: 1.3rem;
  display: block;
  color: var(--ink);
}

.stars {
  color: #d39208;
  letter-spacing: 0.08em;
}

.rating-card span {
  color: var(--ink-2);
  font-size: 0.84rem;
  font-weight: 600;
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--mist);
}

.trust-grid {
  min-height: 132px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-icon {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--teal);
}

.trust-icon svg {
  width: 19px;
}

.trust-item strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.15;
}

.trust-item span {
  display: block;
  color: var(--ink-2);
  font-size: 0.82rem;
  margin-top: 4px;
}

section {
  padding: 80px 0;
}

.principles {
  background: var(--paper);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.principle {
  position: relative;
  min-height: 305px;
  padding: 32px;
  border-radius: 30px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-small);
}

.principle:nth-child(2) {
  background: var(--mint);
}

.principle:nth-child(3) {
  background: color-mix(in srgb, var(--peach) 26%, var(--surface));
}

.principle .num {
  font-family: "Newsreader", serif;
  color: var(--teal);
  font-size: 2rem;
  margin-bottom: 66px;
  display: block;
}

.principle p {
  margin-bottom: 0;
  max-width: 300px;
}

.principle::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 18px solid color-mix(in srgb, var(--teal) 14%, transparent);
  right: -29px;
  top: -25px;
}

.services {
  background: var(--mist);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.service {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 28px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-small);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--teal-2);
  margin-bottom: 35px;
}

.service-icon svg {
  width: 24px;
}

.service p {
  font-size: 0.93rem;
  margin-bottom: 22px;
}

.service .text-link {
  margin-top: auto;
  font-size: 0.9rem;
}

.feature {
  padding: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 670px;
}

.feature-photo {
  overflow: hidden;
  position: relative;
}

.feature-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 80px clamp(42px, 7vw, 120px);
  background: var(--teal-2);
  color: var(--white);
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  max-width: 520px;
}

.feature-copy .eyebrow {
  color: var(--lime);
}

.feature-copy .btn {
  margin-top: 15px;
  background: var(--lime);
  color: #1c3b35;
}

.doctor-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 92px;
  align-items: center;
}

.doctor-photo {
  position: relative;
}

.doctor-photo::before {
  content: "";
  position: absolute;
  inset: 28px -25px -26px 32px;
  border-radius: 34px;
  background: var(--mint);
  z-index: -1;
}

.doctor-photo img {
  aspect-ratio: 0.88;
  object-fit: cover;
  object-position: center;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.doctor-copy .lead {
  font-family: "Newsreader", serif;
  font-size: 1.75rem;
  line-height: 1.25;
  color: var(--ink);
}

.credential {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 27px 0;
  padding: 17px 0;
  border-block: 1px solid var(--line);
  font-weight: 700;
}

.credential svg {
  width: 25px;
  color: var(--teal);
}

.reviews {
  background: color-mix(in srgb, var(--mint) 55%, var(--paper));
  overflow: hidden;
}

.reviews-top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 38px;
}

.review-meta {
  text-align: right;
}

.review-meta .stars {
  display: block;
  font-size: 1.2rem;
}

.review-meta a {
  font-weight: 700;
  color: var(--teal);
  font-size: 0.9rem;
}

.carousel {
  position: relative;
}

.review-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.review-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 34px;
  overflow: hidden;
}

blockquote {
  margin: 0;
  padding: 58px 60px 50px;
  font-family: "Newsreader", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.13;
  letter-spacing: -0.025em;
}

blockquote footer {
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  color: var(--ink-2);
  margin-top: 28px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.review-aside {
  padding: 46px;
  background: var(--teal-2);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-aside p {
  color: rgba(255, 255, 255, 0.75);
}

.review-count {
  font-family: "Newsreader", serif;
  font-size: 4.7rem;
  line-height: 1;
}

.carousel-controls {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.carousel-controls button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease;
}

.carousel-controls button:hover {
  background: var(--mint);
}

.tech {
  background: var(--paper);
}

.tech-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 44px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  box-shadow: var(--shadow-small);
}

.tech-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tech-gallery img {
  height: 360px;
  object-fit: cover;
  border-radius: 24px;
  background: var(--mist);
}

.tech-gallery img:nth-child(2) {
  margin-top: 36px;
}

.tech-copy {
  padding: 30px 20px 30px 0;
}

.tech-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 35px;
  border-top: 1px solid var(--line);
}

.tech-item {
  padding: 19px 18px 19px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.tech-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.tech-item:nth-child(even) {
  padding-left: 18px;
}

.tech-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  margin-right: 10px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lime) 25%, transparent);
}

.family {
  background: color-mix(in srgb, var(--peach) 18%, var(--paper));
}

.family-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.family-copy p {
  max-width: 510px;
  font-size: 1.08rem;
}

.family-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  height: 560px;
}

.family-collage img {
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.family-collage img:first-child {
  grid-row: 1 / span 2;
}

.family-collage img:nth-child(2),
.family-collage img:nth-child(3) {
  min-height: 0;
}

.location {
  padding-bottom: 50px;
}

.location-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border: 1px solid var(--line);
  border-radius: 36px;
  overflow: hidden;
  background: var(--surface);
}

.location-copy {
  padding: 64px;
}

.address {
  font-family: "Newsreader", serif;
  font-size: 1.42rem;
  color: var(--ink);
  line-height: 1.35;
  margin: 28px 0;
}

.location-visual {
  position: relative;
  min-height: 450px;
  background: var(--mint);
  overflow: hidden;
}

.location-visual img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86);
}

.place-tag {
  position: absolute;
  left: 28px;
  bottom: 28px;
  right: 28px;
  background: var(--surface);
  border-radius: 20px;
  padding: 18px 22px;
  box-shadow: var(--shadow-small);
  display: flex;
  gap: 13px;
  align-items: center;
}

.pin {
  color: var(--teal);
  width: 24px;
}

.place-tag strong {
  display: block;
}

.place-tag span {
  color: var(--ink-2);
  font-size: 0.84rem;
}

.final-cta {
  padding: 50px 0 80px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 85px 54px;
  border-radius: 42px;
  text-align: center;
  background: var(--mint);
}

.cta-card::before,
.cta-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.cta-card::before {
  width: 230px;
  height: 230px;
  left: -70px;
  top: -75px;
  background: var(--lime);
}

.cta-card::after {
  width: 190px;
  height: 190px;
  right: -64px;
  bottom: -90px;
  background: var(--peach);
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  max-width: 720px;
  margin: 0 auto 22px;
}

.cta-card p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.08rem;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

footer.site-footer {
  background: #102c29;
  color: #ecf8f3;
  padding: 70px 0 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 1fr 1.05fr;
  gap: 50px;
}

.footer-brand {
  color: white;
  margin-bottom: 18px;
}

.site-footer p,
.site-footer a {
  color: #bcd1ca;
}

.footer-col h3 {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
}

.footer-col a {
  display: block;
  margin: 8px 0;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.8rem;
  color: #9fb9b1;
}

.socials {
  display: flex;
  gap: 15px;
}

.socials a {
  color: white;
}

.mobile-call,
.mobile-bar {
  display: none;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1060px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 83px;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 22px 28px 28px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-small);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .nav-phone {
    margin-left: auto;
  }

  .hero-grid {
    gap: 36px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doctor-grid {
    gap: 55px;
  }
}

@media (max-width: 800px) {
  .shell {
    width: min(100% - 34px, 680px);
  }

  .site-nav .nav-cta {
    display: none;
  }

  .nav-phone {
    font-size: 0;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
  }

  .nav-phone::before {
    content: "☎";
    font-size: 1rem;
  }

  .hero {
    padding: 28px 0 32px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero .eyebrow {
    font-size: 0.68rem;
    margin-bottom: 9px;
  }

  h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.35rem);
    line-height: 0.96;
    margin-bottom: 14px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 0.93rem;
    line-height: 1.45;
    margin-bottom: 17px;
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-actions .btn {
    flex: 1 1 140px;
    min-height: 45px;
    padding-inline: 15px;
    font-size: 0.86rem;
  }

  .hero-doctor {
    display: none;
  }

  .mobile-call {
    display: inline-flex;
  }

  .trust-note {
    display: none;
  }

  .hero-visual {
    margin-top: 0;
    padding: 0 0 14px;
  }

  .hero-photo {
    aspect-ratio: 1.45;
    border-radius: 30px;
  }

  .rating-card {
    left: 10px;
    bottom: 28px;
    padding: 11px 14px;
    min-width: 160px;
  }

  .rating-card strong {
    font-size: 1.05rem;
  }

  .rating-card span {
    font-size: 0.75rem;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item {
    justify-content: flex-start;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(3),
  .trust-item:nth-child(4) {
    border-bottom: 0;
  }

  section {
    padding: 78px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 32px;
  }

  .section-head h2 {
    margin-bottom: 18px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: 230px;
  }

  .principle .num {
    margin-bottom: 38px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service {
    min-height: 215px;
  }

  .feature-grid,
  .doctor-grid,
  .family-grid,
  .location-card,
  .tech-wrap {
    grid-template-columns: 1fr;
  }

  .feature-photo {
    min-height: 460px;
  }

  .feature-copy {
    padding: 65px 28px;
  }

  .doctor-grid {
    gap: 55px;
  }

  .doctor-photo img {
    max-height: 600px;
  }

  .reviews-top {
    grid-template-columns: 1fr;
  }

  .review-meta {
    text-align: left;
  }

  .review-slide {
    grid-template-columns: 1fr;
  }

  blockquote {
    padding: 42px 28px 38px;
  }

  .review-aside {
    padding: 30px 28px;
    flex-direction: row;
    align-items: end;
  }

  .review-count {
    font-size: 3.4rem;
  }

  .tech-wrap {
    padding: 24px;
    gap: 18px;
  }

  .tech-gallery img {
    height: 300px;
  }

  .tech-copy {
    padding: 18px 4px 10px;
  }

  .family-grid {
    gap: 45px;
  }

  .family-collage {
    height: 500px;
  }

  .location-copy {
    padding: 45px 28px;
  }

  .location-visual {
    min-height: 380px;
  }

  .cta-card {
    padding: 65px 24px;
    border-radius: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mobile-bar {
    position: fixed;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    left: 14px;
    right: 14px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 70;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.25);
  }

  .mobile-bar a {
    min-height: 56px;
    display: grid;
    place-items: center;
    background: var(--surface);
    color: var(--ink);
    font-weight: 700;
  }

  .mobile-bar a:last-child {
    background: var(--teal-2);
    color: white;
  }

  footer.site-footer {
    padding-bottom: 120px;
  }
}

@media (max-width: 500px) {
  .shell {
    width: calc(100% - 28px);
  }

  .nav-inner {
    min-height: 72px;
    gap: 10px;
  }

  .brand {
    min-width: 0;
    font-size: 0.88rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .brand span small {
    font-size: 0.56rem;
  }

  .nav-links {
    top: 71px;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  .trust-item {
    padding: 20px 13px;
    gap: 10px;
  }

  .trust-icon {
    display: none;
  }

  .trust-item strong {
    font-size: 1.05rem;
  }

  .family-collage {
    height: 450px;
    gap: 8px;
  }

  .family-collage img {
    border-radius: 18px;
  }

  .tech-gallery img {
    height: 240px;
    border-radius: 16px;
  }

  .tech-list {
    grid-template-columns: 1fr;
  }

  .tech-item:nth-child(odd) {
    border-right: 0;
  }

  .tech-item:nth-child(even) {
    padding-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    display: block;
  }

  .socials {
    margin-top: 16px;
  }
}
.trust-item .trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-wrapper {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #102c29;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
}

.loader {
  width: 120px;
  height: auto;
  animation: pulse 0.8s linear infinite;
}
.loader img {
  width: 100%;
}
