:root {
  --ink: #13252e;
  --muted: #60717a;
  --teal: #0d7d7b;
  --teal-dark: #07585b;
  --gold: #c99a45;
  --line: #dfe9ea;
  --paper: #ffffff;
  --mist: #f4f8f7;
  --shadow: 0 24px 70px rgba(8, 42, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  background: var(--paper);
}

body.thanks-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(244, 248, 247, 0.94), rgba(217, 231, 235, 0.84)),
    url("assets/klinik-1.jpg") center/cover;
}

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

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

.site-header {
  position: fixed;
  inset: 28px clamp(18px, 4.5vw, 88px) auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  padding: 12px 26px 12px 34px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(11, 47, 55, 0.14);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.scrolled,
.site-header.menu-open {
  padding-block: 10px;
  box-shadow: 0 14px 34px rgba(11, 47, 55, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: clamp(170px, 14vw, 225px);
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 26px);
  font-size: 13px;
  font-weight: 600;
}

.nav a {
  position: relative;
  opacity: 0.82;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav a:hover {
  color: var(--teal);
  opacity: 1;
}

.header-actions,
.hero-buttons,
.appointment-actions,
.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.header-actions {
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 12px 30px rgba(13, 125, 123, 0.28);
}

.btn-ghost,
.btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.btn-video {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.btn-light {
  color: var(--teal-dark);
  background: #fff;
}

.thanks-shell {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 34px;
  padding: 42px 18px;
}

.thanks-brand img {
  width: min(260px, 74vw);
}

.thanks-panel {
  width: min(620px, 100%);
  padding: clamp(34px, 6vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.thanks-panel h1 {
  margin: 12px 0 16px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1;
}

.thanks-panel p {
  max-width: 470px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 17px;
}

.language {
  position: relative;
}

.language button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 108px;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--mist);
  font-weight: 800;
}

.language-chevron {
  margin-left: auto;
  font-size: 17px;
  line-height: 1;
}

.header-appointment {
  min-height: 52px;
  padding: 0 10px 0 22px;
  gap: 14px;
  background: #064c57;
  box-shadow: none;
}

.header-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
}

.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  min-width: 130px;
  padding: 10px;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.language:hover .language-menu,
.language.open .language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-menu a {
  padding: 9px 10px;
  border-radius: 6px;
}

.language-menu a:hover {
  background: var(--mist);
}

#google_translate_element {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.goog-te-banner-frame.skiptranslate,
.goog-te-balloon-frame {
  display: none !important;
}

body > .skiptranslate,
body > iframe.skiptranslate,
body > iframe.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}

body {
  top: 0 !important;
  position: static !important;
  min-height: 0 !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #d9e7eb;
  padding: 140px clamp(18px, 5vw, 76px) 90px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  position: absolute;
}

.hero-media .hero-background {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero > .doctor-photo {
  position: absolute;
  right: clamp(16px, 7vw, 150px);
  bottom: 0;
  z-index: 2;
  width: min(38vw, 540px);
  height: min(96vh, 710px);
  object-fit: cover;
  object-position: center top;
  border-radius: 240px 240px 0 0;
  box-shadow: 0 18px 48px rgba(5, 39, 49, 0.16);
  transform: translateY(-36px);
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(217, 231, 235, 0.96) 0%, rgba(217, 231, 235, 0.9) 42%, rgba(217, 231, 235, 0.32) 70%, rgba(217, 231, 235, 0.08)),
    linear-gradient(0deg, rgba(217, 231, 235, 0.5), transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(730px, 100%);
  color: var(--ink);
}

.rating-pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rating-pill {
  padding: 10px 14px;
  border: 1px solid rgba(6, 76, 87, 0.12);
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.04;
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
}

h3 {
  font-size: 21px;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.hero p {
  max-width: 640px;
  color: #45616a;
  font-size: 18px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 14px;
  max-width: 640px;
  margin: 34px 0;
}

.hero-stats div {
  padding: 20px;
  border: 1px solid rgba(6, 76, 87, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(12px);
}

.hero-stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.05;
}

.hero-stats span {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: #516971;
  opacity: 1;
}

.hero .btn-ghost,
.hero .btn-video {
  color: var(--teal-dark);
  border-color: rgba(6, 76, 87, 0.28);
  background: rgba(255, 255, 255, 0.48);
}

.section {
  padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 76px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}

.split-reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.image-panel {
  position: relative;
}

.image-panel img,
.team-card,
.service-card,
.standards article,
.compare-grid article,
.review-track article,
.appointment-form {
  border-radius: 8px;
}

.image-panel img {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  right: -18px;
  bottom: 28px;
  width: 245px;
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal-dark);
  box-shadow: var(--shadow);
}

.floating-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.1;
}

.floating-card span {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.copy {
  max-width: 670px;
}

.mission-grid,
.service-grid,
.standards,
.compare-grid {
  display: grid;
  gap: 22px;
}

.mission-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 28px;
}

.mission-grid article {
  padding-left: 20px;
  border-left: 3px solid var(--gold);
}

.mission-grid article:only-child {
  grid-column: 1 / -1;
}

.text-link,
.service-card a,
.footer a {
  color: var(--teal);
  font-weight: 800;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.article-section {
  background: #fff;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card {
  min-height: 360px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

.info-card p:last-child {
  margin-bottom: 0;
}

.compact {
  margin: 0;
}

.clinic-gallery {
  background: #fff;
}

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

.gallery-grid figure {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: var(--mist);
  box-shadow: 0 14px 35px rgba(8, 42, 51, 0.08);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
}

.gallery-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.video-section {
  background: var(--mist);
}

.video-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.video-thumb {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: #071419;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.video-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.video-thumb:hover img {
  transform: scale(1.04);
  opacity: 0.9;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.play-button::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 22px solid var(--teal);
}

.video-copy {
  max-width: 560px;
}

.service-card {
  display: flex;
  min-height: 620px;
  padding: 42px 46px 34px;
  border: 0;
  border-radius: 42px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(8, 42, 51, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(13, 125, 123, 0.4);
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  margin: 0;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #69bcc0;
  font-weight: 900;
}

.card-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.service-card:hover .card-icon {
  transform: scale(1.05);
  box-shadow: 0 14px 30px rgba(13, 125, 123, 0.26);
}

.service-card-heading {
  display: flex;
  align-items: center;
  min-height: 64px;
  gap: 20px;
  margin-bottom: 30px;
}

.service-card-heading h3 {
  margin: 0;
  color: #064c57;
  font-size: clamp(22px, 1.75vw, 31px);
  line-height: 1.18;
}

.service-card > img {
  width: 100%;
  aspect-ratio: 1.5;
  margin-bottom: 28px;
  border-radius: 28px;
  object-fit: cover;
}

.service-card > p {
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.62;
}

.service-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.service-card > a b {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #69bcc0;
  font-size: 23px;
  font-weight: 400;
}

.care,
.faq {
  background: var(--mist);
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 5px #dff1ef;
}

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

.standards article {
  min-height: 180px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(8, 42, 51, 0.07);
}

.standards article:first-child {
  grid-row: span 2;
  display: grid;
  align-content: end;
  color: #fff;
  background: linear-gradient(160deg, rgba(7, 88, 91, 0.96), rgba(13, 125, 123, 0.72)),
    url("assets/klinik-4.jpg") center/cover;
}

.standards strong {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
}

.comparison {
  background: #fff;
}

.compare-grid {
  position: relative;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
}

.compare-grid article {
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--mist);
}

.compare-grid .featured {
  color: #fff;
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.compare-grid .featured dd,
.compare-grid .featured dt {
  color: rgba(255, 255, 255, 0.84);
}

.vs {
  align-self: center;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--gold);
  font-weight: 900;
}

dl {
  display: grid;
  gap: 8px;
}

dt {
  color: var(--teal-dark);
  font-weight: 800;
}

dd {
  margin: 0 0 14px;
  color: var(--muted);
}

.team-card {
  display: grid;
  grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(38px, 5vw, 82px);
  border-radius: 52px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(8, 42, 51, 0.08);
}

.portrait {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  box-shadow: 0 18px 42px rgba(8, 42, 51, 0.12);
}

.portrait img {
  width: 100%;
  height: 570px;
  object-fit: cover;
  object-position: center top;
}

.portrait .doctor-photo {
  object-position: center top;
}

.portrait .experience {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  min-width: 170px;
  padding: 18px 24px;
  border-radius: 28px 0 0;
  color: #fff;
  background: #69bcc0;
  font-weight: 800;
}

.portrait .experience strong {
  font-size: 21px;
}

.portrait .experience small {
  margin-top: 3px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.doctor-bio .eyebrow {
  color: #69bcc0;
}

.doctor-bio h2 {
  margin: 8px 0 12px;
  color: #064c57;
  font-size: clamp(34px, 4.2vw, 62px);
}

.doctor-bio h3 {
  margin: 0 0 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  color: #69bcc0;
  font-size: clamp(20px, 2vw, 28px);
}

.doctor-bio p {
  max-width: 780px;
  color: #41616b;
  font-size: 17px;
}

.contact-row a {
  color: var(--teal-dark);
  font-weight: 800;
}

.doctor-contact-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
}

.doctor-socials {
  display: flex;
  gap: 12px;
}

.doctor-socials a {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: #064c57;
  background: #f1f6f7;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.doctor-socials a:hover {
  color: #fff;
  background: #69bcc0;
  transform: translateY(-3px);
}

.doctor-socials svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.appointment {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 32px;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--teal-dark);
}

.appointment-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 88, 91, 0.96), rgba(7, 88, 91, 0.78)),
    url("assets/klinik-1.jpg") center/cover;
}

.appointment-content,
.appointment-form {
  position: relative;
}

.appointment p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
}

.appointment-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
}

.appointment-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.form-status.success {
  color: var(--teal-dark);
}

.form-status.error {
  color: #a53232;
}

input,
select {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
}

.review-track {
  display: flex;
  gap: 20px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.review-track article {
  flex: 0 0 330px;
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
  animation: glide 24s linear infinite;
}

.review-track:hover article {
  animation-play-state: paused;
}

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

.review-track span {
  margin: 8px 0 18px;
  color: var(--teal);
  font-weight: 800;
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion button {
  width: 100%;
  padding: 22px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.accordion button.active {
  color: #fff;
  background: var(--teal);
}

.panel {
  display: none;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.7;
}

.panel.open {
  display: block;
}

.trademark {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 390px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: linear-gradient(135deg, #f8fbfa 0%, #eef6f4 100%);
}

.trademark-copy {
  max-width: 620px;
}

.trademark-copy p {
  max-width: 540px;
}

.trademark-document {
  position: relative;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(13, 125, 123, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(8, 42, 51, 0.14);
}

.trademark-document::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 154, 69, 0.34);
  border-radius: 6px;
  pointer-events: none;
}

.trademark-document img {
  width: 100%;
  max-height: 520px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}

.footer {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 34px;
  padding: 58px clamp(18px, 5vw, 76px);
  background: #0e242b;
  color: #fff;
}

.footer p {
  color: rgba(255, 255, 255, 0.68);
}

.footer a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-brand {
  margin-bottom: 18px;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.video-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 25, 0.78);
  backdrop-filter: blur(10px);
}

.video-dialog {
  position: relative;
  width: min(980px, 100%);
  border-radius: 8px;
  background: #071419;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.video-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.video-frame {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px 0 12px;
  border-radius: 999px;
  color: #fff;
  background: #25d366;
  box-shadow: 0 16px 42px rgba(37, 211, 102, 0.42);
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px);
  background: #1ebc59;
  box-shadow: 0 20px 54px rgba(37, 211, 102, 0.52);
}

.whatsapp-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  color: #fff;
  fill: currentColor;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(28px);
}

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

@keyframes glide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-350px * 4));
  }
}

@media (max-width: 980px) {
  .site-header {
    inset-inline: 14px;
    border-radius: 26px;
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
    color: currentColor;
  }

  .nav,
  .header-actions {
    grid-column: 1 / -1;
    display: none;
    justify-content: flex-start;
  }

  .site-header.menu-open .nav,
  .site-header.menu-open .header-actions {
    display: flex;
  }

  .nav {
    flex-direction: column;
    gap: 12px;
  }

  .hero {
    min-height: 860px;
  }

  .hero > .doctor-photo {
    right: 18px;
    width: min(44vw, 400px);
    height: 610px;
    transform: translateY(-20px);
  }

  .split,
  .split-reverse,
  .team-card,
  .video-feature,
  .appointment,
  .faq,
  .trademark,
  .footer {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .article-grid,
  .gallery-grid,
  .standards,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 240px;
  }

  .gallery-feature {
    grid-column: span 1;
    grid-row: span 1;
  }

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

  .vs {
    margin: -4px auto;
  }

  .floating-card {
    right: 16px;
  }
}

@media (max-width: 620px) {
  .site-header {
    inset: 12px 10px auto;
    padding: 10px 14px;
  }

  .brand img {
    width: 175px;
  }

  .header-actions {
    align-items: stretch;
  }

  .header-appointment {
    min-height: 46px;
  }

  .hero {
    min-height: 820px;
    padding-inline: 18px;
  }

  .hero > .doctor-photo {
    right: -8px;
    top: 250px;
    bottom: auto;
    z-index: 4;
    display: block;
    width: 78vw;
    height: 530px;
    opacity: 1;
    filter: contrast(1.03);
    transform: none;
  }

  .hero-content {
    width: 62%;
    z-index: 5;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding: 30px 26px;
    border-radius: 28px;
  }

  .team-card {
    gap: 30px;
    padding: 26px;
    border-radius: 30px;
  }

  .doctor-bio h3 {
    padding-bottom: 20px;
  }

  .doctor-contact-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .trademark {
    gap: 24px;
  }

  .trademark-document {
    padding: 10px;
  }

  .trademark-document img {
    max-height: none;
  }

  .service-card-heading {
    margin-bottom: 22px;
  }

  .portrait img {
    height: 360px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 52px;
    padding-right: 14px;
  }

  .whatsapp-label {
    display: none;
  }
}
