:root {
  --navy: #06265a;
  --navy-dark: #031b43;
  --gold: #d39a32;
  --gold-dark: #af7a20;
  --ink: #071f4d;
  --muted: #5d6880;
  --line: #e7ebf1;
  --paper: #ffffff;
  --soft: #f7f9fc;
  --shadow: 0 18px 48px rgba(6, 38, 90, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Roboto, Arial, sans-serif;
  font-size: 15px;
  font-weight: 300;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

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

section[id],
div[id] {
  scroll-margin-top: 120px;
}

.top-strip {
  display: grid;
  grid-template-columns: repeat(5, auto);
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 64px);
  min-height: 40px;
  padding: 0 24px;
  color: #ffffff;
  background: var(--navy-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.strip-cta {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 0 24px;
  background: var(--gold);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 96px;
  padding: 16px clamp(24px, 6vw, 88px);
  background: #ffffff;
  border-bottom: 1px solid rgba(6, 38, 90, 0.08);
}

.brand,
.nav,
.hero-actions,
.hero-badges,
.visit,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 14px;
}

.brand-logo {
  width: clamp(170px, 17vw, 248px);
  height: auto;
  max-height: 76px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 60px;
  place-items: center;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-mark path {
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.brand-text {
  display: grid;
  gap: 2px;
  line-height: 1;
  text-transform: uppercase;
}

.brand-text strong {
  color: var(--navy);
  font-size: clamp(1.55rem, 2.7vw, 2.45rem);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.brand-text small {
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.brand-text em {
  color: var(--navy);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 0.72rem;
  text-transform: none;
}

.nav {
  gap: clamp(12px, 2.1vw, 34px);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 12px 0;
}

.nav a.active,
.nav a:hover {
  color: var(--gold-dark);
}

.nav a.active::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  content: "";
}

.hero {
  position: relative;
  min-height: 515px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 118px) clamp(24px, 6vw, 88px);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.36) 100%),
    url("assets/clinic-hero-opt.jpg") center / cover;
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  content: "";
}

.page-hero > div {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p:last-child {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.services-page-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 48%, rgba(255, 255, 255, 0.36) 100%),
    url("assets/treatment-implants.png") center / cover;
}

.doctors-page-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.36) 100%),
    url("assets/clinic-hero-opt.jpg") center right / cover;
}

.reviews-page-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 52%, rgba(255, 255, 255, 0.4) 100%),
    url("assets/reviews/reviews-hero.png") center right / cover;
}

.gallery-page-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.91) 52%, rgba(255, 255, 255, 0.36) 100%),
    url("assets/gallery/case-01-after.jpeg") center right / cover;
}

.contact-page-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 48%, rgba(255, 255, 255, 0.36) 100%),
    url("assets/dentiva-hero-patient-opt.jpg") center right / cover;
}

.hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  content: "";
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.92) 34%, rgba(255, 255, 255, 0.34) 58%, rgba(255, 255, 255, 0.04) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.92), transparent 30%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1080px, calc(100% - 48px));
  min-height: 515px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: 26px 0 52px;
}

.hero-copy-block {
  max-width: 560px;
}

h1,
h2 {
  margin: 0;
  color: var(--navy-dark);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.55rem, 4.45vw, 4.05rem);
  line-height: 1.02;
}

h1 span {
  display: block;
  color: var(--gold-dark);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.08;
}

h3,
p {
  margin-top: 0;
}

.hero-copy-block p {
  max-width: 500px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 6px;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 700;
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--gold), #dfaa45);
  box-shadow: 0 12px 28px rgba(175, 122, 32, 0.22);
}

.button.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--gold);
}

.button.light {
  background: #ffffff;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 520px;
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-badges span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 14px;
  color: var(--navy);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-badges span:nth-child(2n) {
  border-right: 0;
}

.hero-badges span:nth-child(n + 3) {
  border-bottom: 0;
}

.hero-badges b,
.service-icon,
.why-points b {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--gold-dark);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.75rem;
}

.service-icon svg,
.service-benefits svg {
  width: 58%;
  height: 58%;
  overflow: visible;
}

.service-icon path,
.service-icon circle,
.service-benefits path,
.service-benefits circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.hero-form {
  padding: 20px;
  color: #ffffff;
  background: var(--navy-dark);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.hero-form h2 {
  margin-bottom: 20px;
  color: #ffffff;
  font-family: Roboto, Arial, sans-serif;
  font-size: 1.12rem;
}

.hero-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #ccd4df;
  border-radius: 5px;
  font: inherit;
}

.hero-form button {
  width: 100%;
  margin-top: 4px;
}

.section {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0;
}

.about-story {
  max-width: 880px;
}

.about-story p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.founder-card,
.contact-card,
.contact-form {
  min-width: 0;
  padding: clamp(24px, 4vw, 34px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 38px rgba(6, 38, 90, 0.07);
}

.founder-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.founder-initials {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-size: 1.45rem;
  font-weight: 800;
}

.founder-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.3rem;
}

.founder-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-list article {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-list article:last-child {
  border-bottom: 0;
}

.contact-list strong,
.contact-list span,
.contact-list a {
  display: block;
}

.contact-list strong {
  margin-bottom: 5px;
  color: var(--navy);
}

.contact-list span,
.contact-list a {
  color: var(--muted);
  line-height: 1.55;
}

.contact-map {
  min-height: 150px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form h2,
.contact-form .full-field,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form textarea {
  resize: vertical;
}

.services {
  width: min(1180px, calc(100% - 40px));
}

.section-title {
  margin-bottom: 28px;
}

.section-title.centered {
  text-align: center;
}

.section-title p {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title h2::after {
  display: block;
  width: 84px;
  height: 2px;
  margin-top: 12px;
  background: var(--gold);
  content: "";
}

.section-title.centered h2::after {
  margin-left: auto;
  margin-right: auto;
}

.services .section-title.centered h2::after {
  width: 120px;
  background:
    linear-gradient(90deg, var(--gold) 0 42%, transparent 42% 58%, var(--gold) 58% 100%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.feature-grid article,
.doctor-card,
.testimonial-grid article,
.process-grid article {
  position: relative;
  min-width: 0;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 10px 28px rgba(6, 38, 90, 0.05);
}

.service-card {
  grid-column: span 5;
  min-height: 230px;
  padding: 30px 28px;
  overflow: hidden;
}

.service-card:nth-child(n + 5) {
  grid-column: span 4;
}

.service-card:nth-child(5),
.service-card:nth-child(6),
.service-card:nth-child(7),
.service-card:nth-child(8),
.service-card:nth-child(9) {
  grid-column: span 4;
}

.service-card:nth-child(n + 5) {
  min-height: 198px;
  padding: 24px 22px;
}

.service-card.dark-card {
  color: #ffffff;
  background:
    radial-gradient(circle at 86% 88%, rgba(255, 255, 255, 0.08) 0 13%, transparent 14%),
    linear-gradient(145deg, var(--navy-dark), var(--navy));
  border-color: rgba(211, 154, 50, 0.55);
  box-shadow: 8px 8px 0 rgba(211, 154, 50, 0.92), 0 16px 38px rgba(6, 38, 90, 0.22);
}

.service-card h3,
.feature-grid h3,
.doctor-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1rem;
}

.service-card h3 {
  margin-top: 4px;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
}

.service-card:nth-child(n + 5) h3 {
  font-size: 1.04rem;
  font-family: Roboto, Arial, sans-serif;
  line-height: 1.25;
}

.service-card h3::after {
  display: block;
  width: 30px;
  height: 2px;
  margin: 18px 0 18px;
  background: var(--gold);
  content: "";
}

.service-card:nth-child(n + 5) h3::after {
  margin: 12px 0 12px;
}

.service-card.pediatric-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 249, 238, 0.94)),
    #ffffff;
  border-color: rgba(211, 154, 50, 0.42);
  box-shadow: 0 18px 42px rgba(211, 154, 50, 0.14);
}

.service-card.pediatric-card .service-icon {
  color: #ffffff;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-color: transparent;
}

.service-card.pediatric-card h3 {
  color: var(--gold-dark);
}

.service-card.dark-card h3 {
  color: #ffffff;
}

.service-card ul {
  display: grid;
  gap: 9px;
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.service-card:nth-child(n + 5) ul {
  gap: 7px;
  font-size: 0.82rem;
}

.service-card.dark-card ul {
  color: #e5edf8;
}

.service-card li::marker {
  color: var(--gold);
}

.service-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 14px;
  color: var(--gold);
  box-shadow: 0 14px 26px rgba(6, 38, 90, 0.12);
  font-size: 1.2rem;
  font-weight: 800;
}

.service-card:nth-child(n + 5) .service-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
}

.service-card.dark-card .service-icon {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(211, 154, 50, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 14px 28px rgba(0, 0, 0, 0.24);
}

.service-number {
  position: absolute;
  top: 44px;
  left: 126px;
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 800;
}

.service-card:nth-child(n + 5) .service-number {
  top: 42px;
  left: 92px;
  font-size: 1rem;
}

.service-benefits {
  display: grid;
  width: min(920px, 100%);
  margin: 34px auto 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(6, 38, 90, 0.06);
}

.service-benefits article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}

.service-benefits article:last-child {
  border-right: 0;
}

.service-benefits span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--gold-dark);
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-weight: 800;
}

.service-benefits svg {
  width: 62%;
  height: 62%;
}

.service-benefits h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 0.9rem;
}

.service-benefits p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.kids-focus {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: stretch;
  padding-top: 18px;
}

.kids-copy {
  padding: clamp(24px, 4vw, 42px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(3, 27, 67, 0.96), rgba(6, 38, 90, 0.94)),
    var(--navy-dark);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.kids-copy h2 {
  color: #ffffff;
}

.kids-copy p:not(.eyebrow) {
  margin: 16px 0 0;
  color: #dbe6f5;
  line-height: 1.7;
}

.kids-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.kids-care-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.kids-care-grid article {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(6, 38, 90, 0.08);
}

.kids-care-grid span {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--gold-dark);
  background: #fff8eb;
  border: 1px solid rgba(211, 154, 50, 0.28);
  border-radius: 50%;
}

.kids-care-grid svg {
  width: 34px;
  height: 34px;
}

.kids-care-grid path,
.kids-care-grid circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.kids-care-grid h3 {
  margin: 0 0 8px;
  color: var(--navy);
}

.kids-care-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.process {
  padding-top: 10px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.process-grid article {
  position: relative;
  overflow: hidden;
}

.process-grid article::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(var(--gold), rgba(211, 154, 50, 0));
  content: "";
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold-dark);
  font-weight: 800;
}

.process-grid h3 {
  margin: 0 0 10px;
  color: var(--navy);
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.why {
  position: relative;
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 26px auto 0;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  overflow: hidden;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 42%, rgba(255, 255, 255, 0.3) 70%, rgba(255, 255, 255, 0.1) 100%),
    var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 46px rgba(6, 38, 90, 0.08);
}

.why-content {
  position: relative;
  z-index: 1;
  padding: 58px clamp(26px, 5vw, 72px);
}

.why-content p {
  max-width: 470px;
  color: var(--muted);
  line-height: 1.7;
}

.why img {
  position: absolute;
  inset: 0 0 0 auto;
  width: 100%;
  height: 100%;
  max-width: 55%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
}

.why-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 560px;
  margin-top: 28px;
}

.why-points article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 12px 32px rgba(6, 38, 90, 0.06);
}

.why-points h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 0.94rem;
}

.why-points b {
  width: 52px;
  height: 52px;
  margin: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(175, 122, 32, 0.24);
}

.why-points svg {
  width: 58%;
  height: 58%;
}

.why-points path,
.why-points circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.why-points p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.why-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
}

.watch-link {
  color: var(--navy);
  font-weight: 800;
}

.watch-link::before {
  display: inline-grid;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  place-items: center;
  color: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 50%;
  content: ">";
  font-size: 0.82rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article {
  padding: 0 0 16px;
  overflow: hidden;
  text-align: center;
}

.feature-grid img {
  width: 100%;
  height: 118px;
  object-fit: cover;
}

.feature-grid h3 {
  margin: 14px 14px 6px;
}

.feature-grid p,
.doctor-card p,
.doctor-card small,
.testimonial-grid p,
.visit p {
  color: var(--muted);
  line-height: 1.55;
}

.feature-grid p {
  margin: 0 18px;
  font-size: 0.82rem;
}

.smile-gallery {
  padding-top: 54px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-preview {
  margin-bottom: 24px;
}

.gallery-actions {
  display: flex;
  justify-content: center;
}

.gallery-case {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(6, 38, 90, 0.08);
}

.case-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.case-head span {
  color: var(--gold-dark);
  font-weight: 800;
}

.case-head strong {
  color: var(--navy);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 0.95rem;
  text-align: right;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.before-after figure {
  position: relative;
  min-width: 0;
  margin: 0;
  background: #ffffff;
}

.before-after img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  background: var(--soft);
}

.before-after figcaption {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 9px;
  color: #ffffff;
  background: rgba(3, 27, 67, 0.86);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.split-row {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
}

.doctor-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.doctor-photo {
  width: 100%;
  height: 150px;
  margin-bottom: 14px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  background: var(--soft);
}

.doctor-card p {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
}

.doctor-achievements {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.doctor-achievements article {
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.doctor-achievements strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 0.92rem;
}

.doctor-achievements p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.team-link {
  margin-top: 18px;
}

.doctor-directory .doctor-photo {
  height: 230px;
}

.achievements-page {
  padding-top: 10px;
}

.achievements-row {
  width: min(1060px, 100%);
  margin: 0 auto;
}

.achievements-row article {
  min-height: 150px;
  padding: 24px;
  border-color: rgba(211, 154, 50, 0.26);
  box-shadow: 0 14px 34px rgba(6, 38, 90, 0.07);
}

.review-showcase {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
}

.review-showcase-copy {
  padding: clamp(24px, 4vw, 42px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(3, 27, 67, 0.97), rgba(6, 38, 90, 0.94)),
    var(--navy-dark);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.review-showcase-copy h2 {
  color: #ffffff;
}

.review-showcase-copy p:not(.eyebrow) {
  color: #dbe6f5;
  line-height: 1.7;
}

.review-showcase > img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(6, 38, 90, 0.12);
}

.review-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.review-stats article {
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.review-stats strong,
.review-stats span {
  display: block;
}

.review-stats strong {
  color: #ffffff;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 1.15rem;
}

.review-stats span {
  margin-top: 4px;
  color: #dbe6f5;
  font-size: 0.78rem;
  line-height: 1.35;
}

.reviews-wall-section {
  padding-top: 16px;
}

.review-wall {
  column-count: 3;
  column-gap: 18px;
}

.review-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(6, 38, 90, 0.08);
  break-inside: avoid;
}

.review-card img {
  width: 100%;
  border-radius: 7px;
}

.testimonial-grid article {
  padding: 20px;
}

.testimonial-grid span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
}

.testimonial-grid p {
  margin: 12px 0;
  font-size: 0.86rem;
}

.consultation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 30px clamp(24px, 6vw, 88px);
  color: #ffffff;
  background: var(--navy-dark);
}

.consultation h2 {
  color: #ffffff;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.consultation p {
  margin: 8px 0 0;
  color: #d8e2ef;
}

.visit {
  align-items: flex-start;
  gap: clamp(24px, 5vw, 68px);
  padding: 38px clamp(24px, 6vw, 88px);
  color: #dbe7f7;
  background: var(--navy);
}

.visit > div {
  flex: 1;
}

.visit h3 {
  margin: 0 0 14px;
  color: #ffffff;
}

.visit a,
.visit p {
  display: block;
  margin: 0 0 8px;
  color: #dbe7f7;
  font-size: 0.9rem;
}

.footer-brand .brand-text strong,
.footer-brand .brand-text small,
.footer-brand .brand-text em {
  color: #ffffff;
}

.footer-brand .brand-mark path {
  stroke: var(--gold);
}

.footer-brand .brand-logo {
  width: min(230px, 100%);
}

.map-card {
  display: grid;
  min-height: 96px;
  margin-top: 14px;
  place-items: center;
  color: var(--navy);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    #e9eef5;
  background-size: 22px 22px;
  border-radius: 8px;
  font-weight: 800;
}

.reveal,
.service-card,
.kids-care-grid article,
.feature-grid article,
.gallery-case,
.review-card,
.doctor-card,
.doctor-achievements article,
.testimonial-grid article,
.process-grid article {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible,
.service-card.is-visible,
.kids-care-grid article.is-visible,
.feature-grid article.is-visible,
.gallery-case.is-visible,
.review-card.is-visible,
.doctor-card.is-visible,
.doctor-achievements article.is-visible,
.testimonial-grid article.is-visible,
.process-grid article.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:nth-child(2),
.kids-care-grid article:nth-child(2),
.feature-grid article:nth-child(2),
.gallery-case:nth-child(2),
.review-card:nth-child(2),
.doctor-card:nth-child(2),
.doctor-achievements article:nth-child(2),
.testimonial-grid article:nth-child(2),
.process-grid article:nth-child(2) {
  transition-delay: 80ms;
}

.service-card:nth-child(3),
.kids-care-grid article:nth-child(3),
.feature-grid article:nth-child(3),
.gallery-case:nth-child(3),
.review-card:nth-child(3),
.doctor-card:nth-child(3),
.doctor-achievements article:nth-child(3),
.testimonial-grid article:nth-child(3),
.process-grid article:nth-child(3) {
  transition-delay: 140ms;
}

.service-card:nth-child(4),
.feature-grid article:nth-child(4),
.gallery-case:nth-child(4),
.process-grid article:nth-child(4) {
  transition-delay: 200ms;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(24px, 6vw, 88px);
  color: #b9c9df;
  background: var(--navy-dark);
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

.mobile-actions {
  display: none;
}

@media (max-width: 1060px) {
  .top-strip {
    grid-template-columns: repeat(2, auto);
    justify-content: space-between;
  }

  .strip-cta {
    display: none;
  }

  .nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 300px;
  }

  .hero-form {
    width: min(100%, 460px);
  }

  .hero img {
    height: 390px;
    object-position: center top;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0.84) 42%, rgba(255, 255, 255, 0.12) 100%);
  }

  .service-grid,
  .feature-grid,
  .gallery-grid,
  .process-grid,
  .kids-care-grid,
  .doctor-achievements {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-wall {
    column-count: 2;
  }

  .service-card,
  .service-card:nth-child(5),
  .service-card:nth-child(6),
  .service-card:nth-child(7),
  .service-card:nth-child(8),
  .service-card:nth-child(9) {
    grid-column: auto;
  }

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

  .service-benefits article:nth-child(2) {
    border-right: 0;
  }

  .service-benefits article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .why,
  .kids-focus,
  .review-showcase,
  .split-row,
  .consultation,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .why {
    width: min(100% - 40px, 720px);
  }

  .why img {
    position: relative;
    max-width: none;
    min-height: 260px;
    order: 2;
  }

  .visit {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  section[id],
  div[id] {
    scroll-margin-top: 84px;
  }

  body {
    padding-bottom: 64px;
    font-size: 14px;
  }

  .top-strip {
    display: none;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 76px;
    padding: 12px 16px;
    box-shadow: 0 8px 24px rgba(6, 38, 90, 0.08);
  }

  .brand-mark {
    width: 38px;
    height: 46px;
  }

  .brand-logo {
    width: 154px;
    max-height: 50px;
  }

  .brand-text strong {
    font-size: 1.34rem;
    letter-spacing: 0.08em;
  }

  .brand-text small,
  .brand-text em {
    display: none;
  }

  .hero-inner {
    width: min(100% - 28px, 500px);
    padding-top: 250px;
    padding-bottom: 74px;
  }

  h1 {
    font-size: 2.34rem;
    line-height: 1.04;
  }

  h2 {
    font-size: 1.78rem;
  }

  .hero {
    min-height: auto;
  }

  .hero img {
    height: 310px;
    object-position: 58% top;
  }

  .hero-copy-block p {
    max-width: 92%;
    font-size: 0.92rem;
    line-height: 1.62;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-badges,
  .why-points,
  .service-grid,
  .service-benefits,
  .kids-care-grid,
  .doctor-achievements,
  .review-stats,
  .feature-grid,
  .gallery-grid,
  .process-grid,
  .doctor-grid,
  .testimonial-grid,
  .visit {
    grid-template-columns: 1fr;
  }

  .hero-badges {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .hero-badges span {
    min-width: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-badges span:nth-child(n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .hero-badges span:last-child {
    border-bottom: 0;
  }

  .service-benefits article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-benefits article:last-child {
    border-bottom: 0;
  }

  .kids-focus {
    gap: 16px;
  }

  .kids-copy,
  .kids-care-grid article {
    padding: 20px;
  }

  .kids-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .review-showcase {
    gap: 16px;
  }

  .review-showcase-copy {
    padding: 20px;
  }

  .review-wall {
    column-count: 1;
  }

  .review-card {
    padding: 8px;
  }

  .hero-form {
    display: none;
  }

  .section {
    width: min(100% - 28px, 500px);
    padding: 38px 0;
  }

  .section-title {
    margin-bottom: 22px;
  }

  .section-title p {
    font-size: 0.92rem;
  }

  .service-card,
  .service-card:nth-child(n + 5) {
    min-height: auto;
    padding: 22px 20px;
  }

  .service-card.dark-card {
    box-shadow: 5px 5px 0 rgba(211, 154, 50, 0.92), 0 14px 30px rgba(6, 38, 90, 0.2);
  }

  .service-icon,
  .service-card:nth-child(n + 5) .service-icon {
    width: 58px;
    height: 58px;
  }

  .service-number,
  .service-card:nth-child(n + 5) .service-number {
    top: 36px;
    left: 94px;
  }

  .service-card h3,
  .service-card:nth-child(n + 5) h3 {
    font-size: 1.18rem;
  }

  .service-benefits {
    margin-top: 22px;
  }

  .service-benefits article {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 16px;
  }

  .service-benefits span {
    width: 40px;
    height: 40px;
  }

  .why-content,
  .consultation,
  .visit,
  .page-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .why {
    width: min(100% - 32px, 520px);
    margin-top: 12px;
  }

  .why-points {
    grid-template-columns: 1fr;
  }

  .why-points article {
    grid-template-columns: 1fr;
    padding: 15px;
    text-align: center;
  }

  .why-points b {
    width: 46px;
    height: 46px;
    margin: 0 auto;
  }

  .why-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .feature-grid img {
    height: 150px;
  }

  .before-after img {
    height: 190px;
  }

  .doctor-photo {
    height: 190px;
  }

  .consultation {
    gap: 14px;
    text-align: center;
  }

  .visit {
    gap: 24px;
  }

  .page-hero {
    padding-top: 58px;
    padding-bottom: 68px;
  }

  .page-hero p:last-child {
    font-size: 0.94rem;
  }

  .founder-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .founder-initials {
    margin: 0 auto;
  }

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

  .map-card {
    min-height: 78px;
  }

  .mobile-actions {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(6, 38, 90, 0.22);
  }

  .mobile-actions a {
    display: grid;
    min-height: 48px;
    place-items: center;
    color: var(--navy);
    border-right: 1px solid var(--line);
    font-size: 0.86rem;
    font-weight: 800;
  }

  .mobile-actions a:last-child {
    color: #ffffff;
    background: var(--gold);
    border-right: 0;
  }
}

@media (max-width: 420px) {
  .hero-inner {
    padding-top: 230px;
  }

  .hero img {
    height: 288px;
  }

  h1 {
    font-size: 2.05rem;
  }

  .brand-text strong {
    font-size: 1.18rem;
  }

  .service-card ul {
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .service-card,
  .kids-care-grid article,
  .feature-grid article,
  .gallery-case,
  .review-card,
  .doctor-card,
  .doctor-achievements article,
  .testimonial-grid article,
  .process-grid article {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
