:root {
  --primary: #071f3d;
  --primary-2: #0c315f;
  --accent: #d6e3f2;
  --accent-2: #eef4fa;
  --surface: #ffffff;
  --text: #0f2138;
  --muted: #4d607a;
  --border: #c7d3e2;
  --success: #1ea665;
  --shadow: 0 16px 40px rgba(7, 31, 61, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0 0, rgba(7, 31, 61, 0.07) 0%, rgba(7, 31, 61, 0) 38%),
    radial-gradient(circle at 95% 100%, rgba(12, 49, 95, 0.08) 0%, rgba(12, 49, 95, 0) 34%),
    var(--surface);
  line-height: 1.65;
}

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

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 4.1rem 0;
  background: #ffffff;
}

section[id] {
  scroll-margin-top: 118px;
}

.section-alt {
  background:
    linear-gradient(180deg, #071f3d 0%, #0a2a51 100%);
}

.section-alt .card,
.section-alt .service-card,
.section-alt .testimonial,
.section-alt .appointment-form,
.section-alt .map-card,
.section-alt .hero-info {
  background: #ffffff;
}

.section-alt .section-head h2,
.section-alt .section-head p:not(.eyebrow),
.section-alt .section-head .eyebrow {
  color: #ffffff;
}

.section-alt .section-head h2 i,
.section-alt .section-head p:not(.eyebrow),
.section-alt .section-head .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

.section-alt .section-head h2 i {
  color: #9fd0ff;
}

.section-alt .service-card i,
.section-alt .service-card .service-emoji,
.section-alt .testimonial,
.section-alt .contact-list i,
.section-alt .clean-list i {
  color: var(--primary);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #194a83;
}

h1,
h2,
h3 {
  margin: 0 0 0.7rem;
  line-height: 1.2;
  color: var(--primary);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.3rem);
}

h2 {
  font-size: clamp(1.5rem, 3.3vw, 2.3rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.topbar {
  background: var(--primary);
  color: #fff;
}

.topbar-content {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  font-weight: 600;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.94);
  transition: color 0.25s ease, opacity 0.25s ease;
}

.topbar-link i {
  color: #9fd0ff;
}

.topbar-link:hover,
.topbar-link:focus-visible {
  color: #fff;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  color: var(--primary);
}

.brand-mark {
  width: 3.9rem;
  height: 3.9rem;
  border-radius: 0.5rem;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.25s ease;
  position: relative;
}

.main-nav a i {
  font-size: 0.82rem;
}

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

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.15rem;
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  background: linear-gradient(130deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 44, 85, 0.24);
}

.btn-outline {
  background: #fff;
  color: var(--primary);
  border-color: #a9bfd9;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: #f2f7fd;
}

.btn-sm {
  padding: 0.62rem 1rem;
  font-size: 0.9rem;
}

.full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: clip;
  padding-top: 6.5rem;
  background: #071f3d;
}

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

.hero-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, rgba(7, 31, 61, 0.7), rgba(7, 31, 61, 0.4) 45%, rgba(7, 31, 61, 0.7) 100%),
    linear-gradient(300deg, rgba(26, 115, 232, 0.36), rgba(12, 49, 95, 0.08) 55%),
    linear-gradient(0deg, rgba(9, 76, 148, 0.2), rgba(9, 76, 148, 0.2));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
  align-items: start;
}

.tagline {
  margin-top: 0.4rem;
  font-size: clamp(1.1rem, 2.3vw, 1.35rem);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.intro {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0 1.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 165px));
  width: fit-content;
  margin-top: 1.4rem;
  border-radius: 0.9rem;
  overflow: hidden;
  background: rgba(7, 31, 61, 0.55);
  border: 1px solid rgba(159, 208, 255, 0.16);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

.hero-stat {
  min-height: 116px;
  padding: 1.2rem 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.02);
}

.hero-stat + .hero-stat {
  border-left: 2px solid rgba(255, 255, 255, 0.9);
}

.hero-stat strong {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 500;
}

.hero .eyebrow,
.hero h1 {
  color: #ffffff;
}

.hero-info,
.card,
.service-card,
.testimonial,
.map-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.section-head {
  margin-bottom: 1.5rem;
  max-width: 70ch;
}

.section-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.section-head h2 i {
  color: #2d629e;
  font-size: 0.95em;
}

#services .section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#services .section-head h2 {
  white-space: nowrap;
}

#contact .section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#contact .section-head h2 {
  justify-content: center;
}

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

.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.4rem;
  align-items: center;
}

.about-card {
  height: fit-content;
  padding: 1.35rem;
  background: linear-gradient(180deg, #0a2a51 0%, #071f3d 100%);
  color: #ffffff;
  border: 1px solid rgba(159, 208, 255, 0.16);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  margin-top: -1.5rem;
}

.about-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.about-avatar {
  width: 5.25rem;
  height: 5.25rem;
  flex: 0 0 5.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #2b6cb0 0%, #4a89d8 100%);
  border: 3px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.about-card-label,
.about-card-subtitle,
.about-card h3 {
  color: #ffffff;
  margin: 0;
}

.about-card-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.25rem;
}

.about-card-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.about-credentials {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.about-credentials li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1rem 1rem 0.95rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
}

.about-credential-icon {
  width: 1.6rem;
  height: 1.6rem;
  flex: 0 0 1.6rem;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  text-rendering: optimizeLegibility;
}

.credential-emoji {
  width: 1.4rem;
  height: 1.4rem;
  display: block;
  object-fit: contain;
}

.about-credentials strong,
.about-credentials span {
  display: block;
}

.about-credentials strong {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.about-credentials span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
}

.about-content {
  padding: 0.25rem 0 0 0.25rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-tag {
  margin-bottom: 0.55rem;
  color: #2d629e;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
}

.about-content h3 {
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  margin-bottom: 0.95rem;
}

.about-content p {
  color: #4a607f;
  font-size: 1rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.55rem;
}

.about-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.72rem 0.9rem 0.7rem;
  background: #ffffff;
  border: 1px solid #dde5ef;
  border-radius: 0.9rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.about-highlight-icon {
  font-size: 1.2rem;
  line-height: 1;
  margin-top: 0.05rem;
}

.about-highlight-item h4 {
  margin: 0;
  color: var(--primary);
  font-size: 1.05rem;
}

.patient-centered-text {
  color: #2b6cb0;
}

.about-highlight-item p {
  margin: 0.18rem 0 0;
  color: #587392;
  font-size: 0.95rem;
}

.about-highlight-item:hover,
.about-highlight-item:focus-within {
  border-color: #3e84d6;
  box-shadow: 0 10px 22px rgba(46, 106, 176, 0.2);
  transform: translateY(-2px);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.about-actions .btn {
  min-width: 10rem;
}

.card {
  padding: 1.3rem;
}

.clean-list,
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.clean-list li,
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.4rem 0;
}

.clean-list i,
.contact-list i {
  margin-top: 0.18rem;
  color: #2d629e;
}

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

.service-card {
  padding: 1.2rem;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.service-card i {
  display: inline-grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: 0.75rem;
  margin-bottom: 0.8rem;
  color: var(--primary);
  background: var(--accent);
}

.service-card .service-emoji {
  display: inline-grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: 0.75rem;
  margin-bottom: 0.8rem;
  font-size: 1.45rem;
  line-height: 1;
  background: var(--accent);
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.service-card .service-emoji img {
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
  display: block;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 20px 34px rgba(11, 44, 85, 0.18);
  border-color: #a8c8ea;
  background: #f7fbff;
}

.service-card:hover .service-emoji,
.service-card:focus-within .service-emoji,
.service-card:hover i,
.service-card:focus-within i {
  transform: scale(1.08);
  background: #cfe3f8;
}

#testimonials {
  position: relative;
}

#testimonials .section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-showcase {
  position: relative;
  border-radius: 1.15rem;
  padding: 1.45rem;
  background: linear-gradient(105deg, #071f3d 0%, #0a2a51 40%, #0c315f 100%);
  border: 1px solid rgba(159, 208, 255, 0.22);
  box-shadow: 0 22px 44px rgba(7, 31, 61, 0.25);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.05rem;
}

.reviews-carousel {
  position: relative;
  overflow: hidden;
  padding: 0 2.4rem;
}

.reviews-summary {
  padding: 0.55rem 0.35rem;
  color: #ffffff;
}

.summary-kicker {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.01em;
  font-weight: 800;
  color: #ffffff;
}

.summary-stars {
  margin-top: 0.72rem;
  display: inline-flex;
  gap: 0.22rem;
  font-size: 2.05rem;
  color: #fbbc04;
}

.summary-count {
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.05rem;
  font-weight: 600;
}

.summary-google-logo {
  width: 138px;
  margin-top: 0.72rem;
}

.summary-more-reviews {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
}

.summary-more-reviews a {
  color: #9fd0ff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.summary-more-reviews a:hover,
.summary-more-reviews a:focus-visible {
  color: #cbe6ff;
}

.testimonials-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 1.6rem) / 3);
  gap: 0.8rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.testimonials-grid::-webkit-scrollbar {
  display: none;
}

.review-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 18, 28, 0.92);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.review-arrow span {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}

.review-arrow:hover,
.review-arrow:focus-visible {
  background: #1a73e8;
  border-color: #5aa0ff;
}

.review-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.review-arrow-prev {
  left: 0.2rem;
}

.review-arrow-next {
  right: 0.2rem;
}

.testimonial-google {
  scroll-snap-align: start;
  min-height: 250px;
  border-left: 0;
  padding: 1.05rem 1rem 1rem;
  border: 1px solid rgba(159, 208, 255, 0.18);
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #0a2a51 0%, #071f3d 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.testimonial-google:hover,
.testimonial-google:focus-within {
  transform: translateY(-3px);
  border-color: rgba(66, 133, 244, 0.55);
}

.review-head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.reviewer-avatar {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #ffffff;
  background: linear-gradient(145deg, #ff5f00 0%, #ff8c00 100%);
  flex: 0 0 2.1rem;
}

.reviewer-meta {
  min-width: 0;
}

.reviewer-meta h3 {
  margin: 0;
  font-size: 1.04rem;
  color: #f7f9fc;
}

.reviewer-meta p {
  margin: 0.12rem 0 0;
  font-style: normal;
  color: #b6becc;
  font-size: 0.9rem;
}

.google-icon {
  margin-left: auto;
  width: 1.26rem;
  height: 1.26rem;
  flex: 0 0 1.26rem;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
  min-height: 1.1rem;
}

.stars {
  display: inline-flex;
  gap: 0.12rem;
  color: #fbbc04;
  font-size: 0.95rem;
}

.stars i {
  color: #fbbc04;
  display: inline-block;
}

.verified-badge {
  display: inline-grid;
  place-items: center;
  background: transparent;
  color: #1a73e8;
  font-size: 0.76rem;
}

.review-text {
  margin: 0;
  font-style: normal;
  color: #f0f3f8;
  line-height: 1.36;
  font-size: 0.98rem;
}

#why-choose {
  background: #ffffff;
}

.why-choose-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.6rem;
  align-items: center;
}

.why-choose-content h2 {
  margin-bottom: 0.85rem;
  color: var(--primary);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.12;
}

.why-choose-content h2 span {
  color: #1a73e8;
}

.why-choose-content p {
  color: #506782;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.why-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

.why-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  color: #49617d;
  font-size: 1rem;
  font-weight: 600;
}

.why-points li::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--primary-2);
  flex: 0 0 0.8rem;
  box-shadow: 0 0 0 4px rgba(7, 31, 61, 0.08);
}

.why-points li i {
  display: none;
}

.why-choose-content .btn {
  margin-top: 1.4rem;
}

.why-choose-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.why-image-doctor {
  width: 100%;
}

.why-card {
  border-radius: 1rem;
  overflow: hidden;
}

.why-image {
  min-height: 560px;
  padding: 0.2rem;
  border: 1px solid rgba(26, 115, 232, 0.08);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(26, 115, 232, 0.06);
}

.why-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 0.7rem;
}

.how-it-works {
  background: linear-gradient(180deg, #0a2a51 0%, #071f3d 100%);
}

.how-it-works-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 780px;
}

.how-it-works-head h2 {
  display: block;
  color: #ffffff;
}

.how-it-works-head p {
  color: rgba(255, 255, 255, 0.84);
}

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

.step-card {
  position: relative;
  padding: 4.35rem 1.35rem 1.25rem;
  background: #ffffff;
  border-radius: 1.25rem;
  box-shadow: 0 18px 34px rgba(7, 31, 61, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.72);
  text-align: center;
}

.step-number {
  position: absolute;
  top: 0;
  left: 0;
  width: 5.25rem;
  height: 5.25rem;
  display: grid;
  place-items: center;
  border-radius: 1.25rem 0 1.25rem 0;
  background: #071f3d;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(7, 31, 61, 0.18);
}

.step-card h3 {
  margin: 0 0 0.6rem;
  color: var(--primary);
  font-size: 1.45rem;
}

.step-card p {
  margin: 0;
  color: #546b86;
  font-size: 0.98rem;
  line-height: 1.58;
}

.appointment-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

#appointment .section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#appointment .section-head h2 {
  justify-content: center;
}

.appointment-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.65rem;
  max-width: 860px;
  margin: 0 auto;
}

.appointment-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.appointment-form label {
  font-weight: 600;
  color: var(--primary);
}

.required-mark {
  color: #d13b3b;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #bfd0e5;
  border-radius: 0.7rem;
  padding: 0.72rem 0.85rem;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--text);
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  outline: 2px solid #98bbe4;
  border-color: #98bbe4;
}

.appointment-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.3rem;
}

.appointment-call {
  margin: 0.2rem 0 0;
  text-align: center;
  color: #4b6079;
  font-size: 0.95rem;
}

.appointment-call a {
  color: var(--primary);
  font-weight: 700;
}

.form-note {
  margin: 0.2rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: #2c5f96;
  font-weight: 600;
}

.map-card {
  min-height: 100%;
  overflow: hidden;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.site-footer {
  background: linear-gradient(180deg, #071f3d 0%, #051628 100%);
  color: #ffffff;
  padding: 3.2rem 0 1.8rem;
  border-top: 1px solid rgba(159, 208, 255, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 2rem 1.8rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-logo {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.6rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(159, 208, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-brand h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.25rem;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
  line-height: 1.45;
}

.footer-section h4 {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.footer-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-list li i {
  color: rgba(159, 208, 255, 0.6);
  margin-top: 0.12rem;
  flex: 0 0 auto;
}

.footer-list li strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.25s ease;
  position: relative;
}

.footer-list a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.25s ease;
}

.footer-list a:hover::after,
.footer-list a:focus-visible::after {
  width: 100%;
}

.footer-social {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-social a {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(159, 208, 255, 0.14);
  border: 1px solid rgba(159, 208, 255, 0.28);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: rgba(159, 208, 255, 0.28);
  border-color: rgba(159, 208, 255, 0.48);
  transform: translateY(-2px);
}

.footer-social a img {
  width: 1.12rem;
  height: 1.12rem;
  display: block;
  transition: filter 0.2s ease;
}

.footer-social .social-facebook:hover,
.footer-social .social-facebook:focus-visible {
  background: #1877f2;
  border-color: #1877f2;
}

.footer-social .social-google:hover,
.footer-social .social-google:focus-visible {
  background: #ffffff;
  border-color: #ffffff;
}

.footer-social .social-x:hover,
.footer-social .social-x:focus-visible {
  background: #ffffff;
  border-color: #ffffff;
}

.footer-social .social-x:hover img,
.footer-social .social-x:focus-visible img {
  filter: brightness(0) saturate(100%);
}

.footer-bottom {
  border-top: 1px solid rgba(159, 208, 255, 0.12);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.92rem;
}

.footer-bottom p {
  margin: 0;
}

.whatsapp-container {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 999;
}

.whatsapp-label {
  background: #fff;
  color: #333;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.whatsapp-float {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--success);
  box-shadow: 0 12px 28px rgba(30, 166, 101, 0.35);
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.whatsapp-float img {
  width: 1.8rem;
  height: 1.8rem;
  display: block;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(30, 166, 101, 0.4);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .hero-grid,
  .appointment-wrap,
  .services-grid,
  .about-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-showcase {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

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

  .why-choose-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .why-choose-visual {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
  }

  .testimonials-grid {
    grid-auto-columns: calc((100% - 0.8rem) / 2);
  }

  .review-arrow {
    display: none;
  }

  .reviews-carousel {
    padding: 0;
  }

  .hero {
    padding-top: 5.2rem;
  }

  .hero-image img {
    object-position: 60% center;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem 1.4rem;
  }
}

@media (max-width: 780px) {
  section[id] {
    scroll-margin-top: 106px;
  }

  .topbar-content {
    justify-content: center;
    padding: 0.45rem 0;
  }

  .site-header {
    background: var(--primary);
    border-bottom-color: rgba(159, 208, 255, 0.18);
  }

  .nav-wrap {
    min-height: 62px;
  }

  .brand {
    color: #ffffff;
    gap: 0.5rem;
  }

  .brand-text {
    font-size: 1rem;
  }

  .brand-mark {
    width: 2.55rem;
    height: 2.55rem;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1.02rem;
    line-height: 1;
    flex: 0 0 auto;
    z-index: 1001;
  }

  .nav-toggle i {
    display: none;
  }

  .nav-toggle::before {
    content: "";
    width: 1rem;
    height: 2px;
    border-radius: 2px;
    background: #ffffff;
    box-shadow: 0 -6px 0 #ffffff, 0 6px 0 #ffffff;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem 4%;
    gap: 0.7rem;
  }

  .main-nav.open {
    display: flex;
  }

  .btn-sm {
    display: none;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .hero-stat {
    min-height: 96px;
    padding: 0.95rem 0.8rem;
  }

  .hero-stat + .hero-stat {
    border-left: 1px solid rgba(255, 255, 255, 0.9);
    border-top: 0;
  }

  .hero-stat strong {
    font-size: clamp(1.35rem, 7vw, 2rem);
  }

  .hero-stat span {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .hero-image img {
    object-fit: cover;
    object-position: 72% center;
    padding: 0;
  }

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

  .step-card {
    min-height: 0;
    padding: 4.35rem 1.2rem 1.35rem;
  }

  .step-number {
    width: 4.8rem;
    height: 4.8rem;
    font-size: 1.75rem;
  }

  .testimonials-showcase {
    padding: 1.1rem;
  }

  .summary-kicker {
    font-size: 1.7rem;
  }

  .summary-stars {
    font-size: 1.7rem;
  }

  .summary-count {
    font-size: 0.98rem;
  }

  .testimonials-grid {
    grid-auto-columns: 84%;
  }

  .why-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 0.85rem;
  }

  .why-points li {
    font-size: 0.9rem;
    gap: 0.45rem;
  }

  .why-points li::before {
    width: 0.68rem;
    height: 0.68rem;
    flex-basis: 0.68rem;
  }

  .why-choose-visual {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .why-image-doctor {
    width: min(100%, 460px);
    max-width: 460px;
    margin: 0 auto;
    justify-self: center;
  }

  .why-image {
    min-height: 220px;
    width: 100%;
    padding: 0.14rem;
    margin: 0;
  }

  .why-image img {
    width: 100%;
    height: auto;
    object-position: center center;
  }

  #services .section-head h2 {
    white-space: normal;
  }

  .about-card,
  .about-content {
    padding: 1.1rem;
  }

  .about-content {
    padding-left: 0;
  }

  .about-card-head {
    align-items: flex-start;
  }

  .about-avatar {
    width: 4.35rem;
    height: 4.35rem;
    flex-basis: 4.35rem;
  }

  .about-avatar i {
    font-size: 1.6rem;
  }

  .about-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.4rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .site-footer {
    padding: 2.6rem 0 1.4rem;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
