:root {
  --white: #ffffff;
  --off-white: #f8fbff;
  --soft-blue: #eef6ff;
  --medical-blue: #1e66d0;
  --medical-blue-2: #2d7ae5;
  --dark-blue: #0d1f3a;
  --text: #344052;
  --muted: #6a778b;
  --line: #dce6f2;
  --shadow: 0 20px 60px rgba(13, 31, 58, 0.12);
  --shadow-soft: 0 12px 30px rgba(13, 31, 58, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 108px 0;
}

.about,
.services,
.why,
.reviews,
.contact,
.faq,
.gallery,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
  text-align: center;
}

.section-heading:not(.align-left) {
  margin-left: auto;
  margin-right: auto;
}

.section-heading.align-left,
.section-heading.compact {
  text-align: left;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--medical-blue-2);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 1px 2px rgba(16, 32, 51, 0.06);
}

h1,
h2,
h3 {
  color: var(--dark-blue);
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  margin-top: 22px;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: 1.03;
  font-weight: 700;
}

h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 800;
}

h3 {
  font-size: 1.1rem;
  font-weight: 800;
}

p {
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--medical-blue), var(--medical-blue-2));
  box-shadow: 0 14px 30px rgba(30, 102, 208, 0.25);
}

.btn-secondary {
  color: var(--dark-blue);
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

/* Navbar */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 0;
  transform: translateY(0);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease, transform 0.25s ease;
}

.site-header.navbar-hidden {
  transform: translateY(-100%);
}

.site-header.navbar-scrolled,
.site-header.menu-open {
  padding: 12px 0;
  background: rgba(15, 79, 143, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 28px rgba(15, 79, 143, 0.2);
}

.navbar {
  width: min(1240px, calc(100% - 32px));
  min-height: 62px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
}

.brand-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.25s ease;
}

.brand-icon-default {
  opacity: 0;
}

.brand-icon-hero {
  opacity: 1;
}

.footer-brand-icon {
  display: block;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.site-header .brand-mark {
  display: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--dark-blue);
  border-radius: 50%;
  font-weight: 800;
}

.brand strong,
.footer-brand strong {
  display: block;
  color: #0f4f8f;
  font-size: 1.25rem;
  line-height: 1.1;
  font-weight: 800;
}

.brand small,
.footer-brand small {
  display: block;
  color: var(--medical-blue-2);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #0f4f8f;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-menu a {
  position: relative;
  color: #0f4f8f;
}

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

.nav-menu a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(15, 79, 143, 0.25);
  border-radius: 8px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #0f4f8f;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.navbar-scrolled .brand strong,
.site-header.menu-open .brand strong,
.site-header.navbar-scrolled .nav-menu a,
.site-header.menu-open .nav-menu a {
  color: var(--white);
}

.site-header.navbar-scrolled .brand small,
.site-header.menu-open .brand small {
  color: #cfe8ff;
}

.site-header.navbar-scrolled .nav-menu a::after,
.site-header.menu-open .nav-menu a::after {
  background: #e6f3ff;
}

.site-header.navbar-scrolled .nav-toggle,
.site-header.menu-open .nav-toggle {
  border-color: rgba(255, 255, 255, 0.35);
}

.site-header.navbar-scrolled .nav-toggle span,
.site-header.menu-open .nav-toggle span {
  background: var(--white);
}

.site-header.navbar-scrolled .brand-icon-default,
.site-header.menu-open .brand-icon-default {
  opacity: 1;
}

.site-header.navbar-scrolled .brand-icon-hero,
.site-header.menu-open .brand-icon-hero {
  opacity: 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 96px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 28%, rgba(31, 122, 224, 0.14) 0%, rgba(31, 122, 224, 0) 32%),
    linear-gradient(180deg, #f7fbff 0%, #eef7ff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: auto;
  bottom: 0;
  width: auto;
  height: 90px;
  aspect-ratio: auto;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
  border: 0;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "copy visual"
    "actions visual";
  align-items: center;
  column-gap: 64px;
  row-gap: 30px;
}

.hero-copy {
  grid-area: copy;
  max-width: 610px;
}

.hero h1 span {
  display: block;
  color: var(--medical-blue-2);
}

.hero-text {
  max-width: 560px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 0;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-pills span,
.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #0f4f8f;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 2px rgba(16, 32, 51, 0.06);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-visual {
  grid-area: visual;
  position: relative;
  min-height: 600px;
}

.hero-image-card {
  position: absolute;
  inset: 24px 24px 24px 66px;
  overflow: hidden;
  border-radius: 36px;
  background: linear-gradient(145deg, #eaf4ff, #ffffff);
  box-shadow: var(--shadow);
}

.hero-image-card::after,
.about-photo::after,
.gallery-item::after,
.certificate-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: inherit;
  pointer-events: none;
}

.image-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: rgba(13, 31, 58, 0.38);
  background: linear-gradient(145deg, #eaf4ff, #f9fcff);
  border: 0;
  border-radius: 0;
  text-align: center;
  font-weight: 800;
}

.image-placeholder i {
  font-size: 4.5rem;
}

.hero-image-card img,
.about-photo img,
.certificate-grid img,
.gallery-item img {
  position: relative;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.hero-image-card img.is-loaded,
.about-photo img.is-loaded,
.certificate-grid img.is-loaded,
.gallery-item img.is-loaded {
  opacity: 1;
}

.hero-image-card.has-loaded .image-placeholder,
.about-photo.has-loaded .image-placeholder {
  opacity: 0;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 250px;
  padding: 14px 16px;
  border: 1px solid rgba(217, 232, 246, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 36px rgba(16, 32, 51, 0.12);
  backdrop-filter: blur(12px);
}

.floating-card i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--white);
  background: var(--medical-blue);
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card span {
  color: var(--muted);
  line-height: 1.35;
}

.floating-card strong {
  color: var(--dark-blue);
}

.card-one {
  top: 55px;
  left: 0;
}

.card-two {
  right: 0;
  bottom: 86px;
}

/* About */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  grid-template-areas:
    "media intro"
    "media content";
  align-items: start;
  column-gap: 70px;
  row-gap: 1px;
}

.about-intro {
  grid-area: intro;
}

.about-media {
  grid-area: media;
  position: sticky;
  top: 118px;
  align-self: start;
}

.about-photo {
  position: relative;
  height: 560px;
  overflow: hidden;
  border-radius: 32px;
  background: var(--soft-blue);
  box-shadow:
    0 0 18px rgba(13, 31, 58, 0.05),
    0 0 36px rgba(13, 31, 58, 0.08),
    var(--shadow);
}

.license-box {
  position: absolute;
  right: -22px;
  bottom: 34px;
  max-width: 310px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.license-box span {
  display: block;
  color: var(--medical-blue);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.license-box strong {
  display: block;
  color: var(--dark-blue);
  margin-top: 5px;
}

.about-content p {
  margin-top: 18px;
  color: var(--muted);
}

.about-content {
  grid-area: content;
  padding-top: 8px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.about-info-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 30px;
}

.about-certificates {
  margin-top: 30px;
}

.certificate-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.certificate-header p {
  color: var(--muted);
  font-size: 0.9rem;
}

.info-card,
.service-card,
.why-card,
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(13, 31, 58, 0.05);
}

.info-card {
  padding: 26px;
}

.info-card i,
.service-card i,
.why-card i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--medical-blue);
  background: rgba(30, 102, 208, 0.09);
  border-radius: 14px;
  font-size: 1.2rem;
}

.info-card p,
.service-card p,
.why-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.certificate-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.certificate-inline {
  gap: 18px;
}

.certificate-item {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 120px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  box-shadow: none;
}

.certificate-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(220, 230, 242, 0.9);
  box-shadow:
    0 0 0 8px rgba(238, 246, 255, 0.9),
    0 12px 28px rgba(13, 31, 58, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.certificate-item span {
  display: block;
  color: var(--dark-blue);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.certificate-item::after {
  display: none;
}

.certificate-item:hover img {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 0 0 8px rgba(238, 246, 255, 1),
    0 16px 34px rgba(13, 31, 58, 0.16);
}

/* Services and conditions */
.services,
.why,
.faq {
  background: linear-gradient(180deg, var(--off-white), var(--white));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(30, 102, 208, 0.3);
  box-shadow: var(--shadow-soft);
}

.service-card.featured {
  background: linear-gradient(180deg, #ffffff, #f2f8ff);
  border-color: rgba(30, 102, 208, 0.24);
}

.service-card-flip {
  min-height: 330px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  perspective: 1400px;
  transform-style: preserve-3d;
  outline: none;
}

.service-card-flip.featured {
  background: transparent;
  border-color: transparent;
}

.service-card-flip:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.service-card-flip:focus-visible {
  box-shadow: 0 0 0 4px rgba(30, 102, 208, 0.14);
  border-radius: var(--radius);
}

.service-card-inner {
  position: relative;
  height: 100%;
  min-height: 330px;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card-flip:hover .service-card-inner {
  transform: rotateY(10deg) translateY(-4px);
}

.service-card-flip.is-flipped:hover .service-card-inner,
.service-card-flip.is-flipped .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-flip.is-flipped .service-bubble {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.service-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(220, 230, 242, 0.9);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(13, 31, 58, 0.12);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.service-front {
  background:
    linear-gradient(180deg, rgba(7, 20, 38, 0.02) 0%, rgba(7, 20, 38, 0.28) 100%),
    var(--soft-blue);
}

.service-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 24, 44, 0.02) 0%, rgba(11, 24, 44, 0.48) 100%);
  pointer-events: none;
}

.service-bubble {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow:
    0 14px 34px rgba(13, 31, 58, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.service-bubble i,
.service-back-content i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  margin: 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--medical-blue), var(--medical-blue-2));
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(30, 102, 208, 0.25);
  font-size: 1.15rem;
}

.service-bubble h3 {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.2;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.26);
}

.service-back {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(45, 122, 229, 0.12), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  transform: rotateY(180deg);
}

.service-back-content {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.service-back-content h3 {
  font-size: 1.16rem;
}

.service-back-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.condition-panel {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.condition-group {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.condition-group:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.condition-group h3 {
  margin-bottom: 14px;
}

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

.chips span {
  background: #f7fbff;
}

/* Differentiators */
.why-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
}

.why-video-panel {
  display: grid;
  gap: 18px;
  align-content: start;
}

.why-video-copy {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.why-video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(220, 230, 242, 0.9);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(45, 122, 229, 0.16), transparent 36%),
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
  box-shadow: 0 18px 42px rgba(13, 31, 58, 0.12);
}

.why-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 35%;
  background: #dfeaf7;
}

.why-video-frame video.is-playing {
  object-fit: contain;
  object-position: center;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.why-card {
  padding: 24px;
}

.doctoralia-section {
  display: grid;
  align-content: start;
  justify-items: center;
  text-align: center;
  gap: 0;
}

.doctoralia-card {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 12px;
  height: 354px;
  padding: 8px 16px 0;
  transition: transform 0.25s ease;
}

.doctoralia-card:hover {
  transform: translateY(-4px);
}

.doctoralia-photo-wrap {
  position: relative;
  padding-bottom: 2px;
}

.doctoralia-photo {
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(220, 230, 242, 0.95);
  background: #eef6ff;
  box-shadow: 0 18px 40px rgba(13, 31, 58, 0.12);
}

.doctoralia-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.doctoralia-badge {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-left: -26px;
  border: 6px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: #159a7d;
  box-shadow: 0 10px 24px rgba(21, 154, 125, 0.28);
  font-size: 1.45rem;
}

.doctoralia-info {
  display: grid;
  justify-items: center;
  gap: 1px;
  padding: 14px 18px;
  width: 210px;
  min-width: 210px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(13, 31, 58, 0.08);
}

.doctoralia-info strong {
  color: var(--dark-blue);
  font-size: 0.98rem;
}

.doctoralia-stars {
  color: #159a7d;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}

.doctoralia-info small {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

/* Reviews */
.reviews {
  overflow: hidden;
  background: var(--white);
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.reviews-main {
  min-width: 0;
}

.reviews-intro {
  margin: 0 0 24px;
  color: var(--muted);
  text-align: center;
}

.review-carousel {
  overflow: hidden;
  padding-left: 2px;
  touch-action: pan-y;
}

.review-track {
  display: flex;
  transition: transform 0.55s ease;
}

.review-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-height: 250px;
  max-height: 330px;
  margin-right: 20px;
  padding: 30px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.stars {
  color: #e3a72f;
  letter-spacing: 0.05em;
}

.review-card p {
  margin-top: 20px;
  color: var(--dark-blue);
  font-size: 1.15rem;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-card span {
  display: block;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: auto;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.review-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9d6e7;
  transition: width 0.25s ease, background 0.25s ease;
}

.review-dots span.active {
  width: 28px;
  border-radius: 999px;
  background: var(--medical-blue);
}

/* Gallery */
.gallery {
  background: var(--off-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--soft-blue);
  cursor: pointer;
}

.gallery-item span {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: rgba(13, 31, 58, 0.58);
  font-weight: 800;
}

.gallery-item span i {
  font-size: 2rem;
  color: rgba(30, 102, 208, 0.5);
}

.gallery-item.has-loaded span {
  opacity: 0;
}

.gallery-item::before {
  content: "\f00e";
  position: absolute;
  z-index: 5;
  inset: auto 16px 16px auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--dark-blue);
  background: rgba(255, 255, 255, 0.88);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.certificate-item img,
.gallery-item img {
  transition: transform 0.35s ease;
}

.gallery-item:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:hover img,
.certificate-item:hover img {
  transform: scale(1.04);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  overflow: hidden;
}

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  border: 0;
  color: var(--dark-blue);
  background: transparent;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-item i {
  color: var(--medical-blue);
  transition: transform 0.25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 22px 22px;
  color: var(--muted);
}

.faq-item.active i {
  transform: rotate(180deg);
}

/* Contact */
.contact {
  background:
    radial-gradient(circle at 5% 20%, rgba(30, 102, 208, 0.09), transparent 30%),
    linear-gradient(180deg, #ffffff, #f6fbff);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: start;
}

.contact-info > p {
  max-width: 560px;
  margin-top: 18px;
  color: var(--muted);
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.contact-card i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: var(--white);
  background: var(--medical-blue);
}

.contact-card strong {
  display: block;
  color: var(--dark-blue);
}

.contact-card span {
  color: var(--muted);
}

.location-box,
.map-placeholder,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.location-box {
  margin-top: 18px;
  padding: 24px;
}

.location-box p {
  margin-top: 12px;
  color: var(--muted);
}

.map-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  min-height: 230px;
  margin-top: 18px;
  color: var(--medical-blue);
  background: repeating-linear-gradient(45deg, #eef6ff, #eef6ff 12px, #f8fbff 12px, #f8fbff 24px);
  font-weight: 800;
}

.map-placeholder i {
  font-size: 2rem;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 34px;
}

.contact-form h3 {
  margin-bottom: 4px;
  font-size: 1.45rem;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--dark-blue);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--text);
  background: #fbfdff;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(30, 102, 208, 0.55);
  box-shadow: 0 0 0 4px rgba(30, 102, 208, 0.1);
}

.contact-form .field-error {
  border-color: #c83b3b;
}

.error-message {
  min-height: 18px;
  color: #c83b3b;
  font-size: 0.78rem;
  font-weight: 700;
}

.form-status {
  min-height: 24px;
  color: var(--medical-blue);
  font-weight: 800;
}

/* Footer */
.site-footer {
  padding: 78px 0 28px;
  background: #f5f7fa;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.1fr;
  gap: 54px;
  padding-bottom: 46px;
  border-bottom: 1px solid #dce2ea;
}

.footer-grid h3 {
  margin-bottom: 16px;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-grid a:not(.footer-brand),
.footer-grid p {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  color: var(--muted);
}

.footer-credit-link {
  position: relative;
  display: inline-block;
  color: var(--dark-blue);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.footer-credit-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--medical-blue-2);
  transition: width 0.25s ease;
}

.footer-credit-link:hover::after {
  width: 100%;
}

/* Floating WhatsApp and lightbox */
.whatsapp-float {
  position: fixed;
  z-index: 1001;
  right: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.34);
  font-size: 1.85rem;
}

.lightbox {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(5, 12, 24, 0.84);
}

.lightbox.active {
  display: grid;
}

.lightbox img {
  width: min(100%, 980px);
  max-height: 86vh;
  border-radius: 18px;
  object-fit: contain;
  background: var(--soft-blue);
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 28px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: var(--dark-blue);
  background: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 1210;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 12, 24, 0.62);
}

.review-modal.active {
  display: flex;
}

.review-modal-panel {
  position: relative;
  width: min(720px, 92vw);
  max-height: 72vh;
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(220, 230, 242, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(5, 12, 24, 0.24);
}

.review-modal-panel .stars {
  margin-bottom: 18px;
}

.review-modal-panel p {
  margin: 0;
  color: var(--dark-blue);
  font-size: 1.02rem;
  line-height: 1.8;
  white-space: pre-line;
}

.review-modal-panel span {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-weight: 700;
}

.review-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--dark-blue);
  background: #eef4fb;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* Responsive */
@media (max-width: 1120px) {
  .nav-cta {
    display: none;
  }

  .nav-menu {
    gap: 14px;
    font-size: 0.82rem;
  }

  .services-grid,
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .section {
    padding: 82px 0;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 0;
    box-shadow: none;
  }

  .site-header.navbar-scrolled,
  .site-header.menu-open {
    background: rgba(15, 79, 143, 0.97);
    border-bottom: 0;
  }

  .nav-toggle {
    display: block;
  }

  .navbar {
    border-radius: 0;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 34px rgba(13, 31, 58, 0.12);
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .site-header.menu-open .nav-menu {
    background: rgba(15, 79, 143, 0.97);
  }

  .nav-menu.open {
    max-height: 560px;
  }

  .nav-menu a {
    padding: 16px 20px;
    border-bottom: 1px solid #eef2f7;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding: 96px 0 56px;
  }

  .service-card-flip,
  .service-card-inner {
    min-height: 300px;
  }

  .hero-grid,
  .about-grid,
  .why-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    gap: 24px;
  }

  .reviews-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-grid {
    grid-template-areas:
      "intro"
      "media"
      "content";
    gap: 28px;
  }

  .about-media {
    position: relative;
    top: auto;
  }

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

  .hero-grid {
    grid-template-areas:
      "copy"
      "visual"
      "actions";
    gap: 38px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-image-card {
    inset: 0 30px;
  }

  .about-photo {
    height: 480px;
  }

  .license-box {
    right: 18px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-card {
    flex-basis: calc((100% - 20px) / 2);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    padding: 10px 0;
  }

  .navbar {
    width: min(100% - 20px, 1240px);
    min-height: 66px;
    padding: 0;
  }

  .brand small {
    font-size: 0.62rem;
  }

  .brand strong {
    font-size: 1.08rem;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding: 98px 0 44px;
  }

  .hero-grid {
    gap: 24px;
  }

  .why-grid {
    gap: 18px;
  }

  .reviews-layout {
    gap: 22px;
  }

  .doctoralia-photo {
    width: 180px;
    height: 180px;
  }

  .doctoralia-info {
    width: min(100%, 320px);
  }

  .service-card-flip,
  .service-card-inner {
    min-height: 420px;
  }

  .service-card-flip {
    width: min(100%, 320px);
    margin: 0 auto;
  }

  .service-card-inner {
    aspect-ratio: 0.76 / 1;
  }

  .service-bubble {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 12px 14px;
    border-radius: 20px;
  }

  .service-bubble h3,
  .service-back-content h3 {
    font-size: 1rem;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero-text {
    font-size: 1.03rem;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .about-media {
    position: relative;
    top: auto;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-image-card {
    inset: 34px 0 0;
    width: auto;
    height: auto;
    border-radius: 28px;
  }

  .floating-card {
    min-width: 250px;
    padding: 14px 16px;
    max-width: none;
  }

  .card-one {
    display: none;
  }

  .card-two {
    left: auto;
    right: 0;
    bottom: 20px;
    width: auto;
    transform: none;
  }

  .services-grid,
  .info-grid,
  .why-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    justify-items: center;
    text-align: center;
  }

  .footer-grid a:not(.footer-brand),
  .footer-grid p,
  .footer-grid h3 {
    text-align: center;
  }

  .certificate-grid {
    justify-content: center;
  }

  .condition-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .review-card {
    flex-basis: 100%;
    margin-right: 14px;
  }

  .contact-form {
    padding: 22px;
  }

  .footer-bottom {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
  }
}


/* Google Maps */
.map-container {
  border-radius: 20px;
  overflow: hidden;
  margin-top: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.map-container iframe {
  display: block;
}
