@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --bg: #fff7ef;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #fffdf8;
  --panel: #0f3b5a;
  --panel-soft: #1b6d7a;
  --accent: #ff7a59;
  --accent-dark: #e35d3d;
  --accent-bright: #ffb347;
  --accent-fresh: #39b7a5;
  --accent-pink: #ff6fa9;
  --accent-sky: #6cc8ff;
  --accent-lime: #9adf4b;
  --text: #17302d;
  --muted: #5d716d;
  --line: rgba(15, 59, 90, 0.12);
  --shadow: 0 24px 70px rgba(15, 59, 90, 0.16);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 122, 89, 0.28), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(57, 183, 165, 0.22), transparent 24%),
    radial-gradient(circle at 70% 88%, rgba(255, 179, 71, 0.2), transparent 22%),
    radial-gradient(circle at 24% 76%, rgba(255, 111, 169, 0.12), transparent 20%),
    linear-gradient(180deg, #fff8ef 0%, #ffeede 38%, #fff7f1 100%);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

iframe {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 245, 239, 0.92), rgba(242, 253, 249, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--panel);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-pink));
  box-shadow: 0 0 0 6px rgba(225, 122, 71, 0.12);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 16px 0 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 14px 0 0;
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.6;
}

main > section {
  padding: 40px 0;
}

.topbar {
  padding: 14px 0;
  font-size: 0.98rem;
  background: linear-gradient(135deg, #08263f 0%, #12486d 52%, #1a7c86 100%);
  color: rgba(255, 255, 255, 0.92);
}

.topbar .container,
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar-meta,
.topbar-social,
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar-social a:hover,
.nav-links a:hover {
  color: #fff;
}

.topbar i,
.contact-list i {
  color: var(--accent);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(255, 248, 239, 0.96), rgba(255, 243, 232, 0.92));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17, 60, 58, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  padding: 6px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 10px 24px rgba(17, 60, 58, 0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.hero-copy h1,
.stat strong,
.card h3,
.service h3,
.doctor-copy h3,
.slider-booking-panel h3,
.contact-card h3,
.footer-brand strong,
.testimonial h3,
.media-copy h3,
.clinic-card h3 {
  font-family: 'Space Grotesk', sans-serif;
}

.brand strong,
.footer-brand strong {
  display: block;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.brand span,
.footer-brand span {
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links {
  color: var(--muted);
}

.btn,
.btn-secondary,
.btn-ghost,
.slide-btn,
.slide-btn-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.25s ease;
  cursor: pointer;
  font-weight: 700;
}

.btn,
.slide-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: #fff;
  box-shadow: 0 18px 34px rgba(225, 122, 71, 0.28);
}

.btn:hover,
.btn-secondary:hover,
.btn-ghost:hover,
.slide-btn:hover,
.slide-btn-alt:hover {
  transform: translateY(-2px);
}

.btn:hover,
.slide-btn:hover {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(236, 251, 247, 0.74));
  border-color: rgba(17, 60, 58, 0.14);
  color: var(--panel);
}

.btn-ghost,
.slide-btn-alt {
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(108, 200, 255, 0.12));
  color: #fff;
  backdrop-filter: blur(12px);
}

.notice {
  margin: 18px auto 0;
  width: min(var(--container), calc(100% - 32px));
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid transparent;
}

.notice-success {
  background: rgba(31, 155, 115, 0.12);
  border-color: rgba(31, 155, 115, 0.24);
  color: #116148;
}

.notice-error {
  background: rgba(212, 79, 106, 0.12);
  border-color: rgba(212, 79, 106, 0.24);
  color: #8a2741;
}

.slider-hero-section {
  padding: 0;
  margin-top: 0;
  width: 100%;
}

.slider-container-full {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 59, 90, 0.18), rgba(57, 183, 165, 0.16), rgba(255, 111, 169, 0.1));
  backdrop-filter: blur(2px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 18px 42px rgba(15, 59, 90, 0.12);
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.95, 0.4, 1.1);
}

.slide-item {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 21 / 8;
  min-height: 360px;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 28px min(5vw, 54px);
  background: linear-gradient(90deg, rgba(10, 36, 55, 0.9) 0%, rgba(16, 62, 86, 0.74) 28%, rgba(25, 90, 101, 0.38) 50%, rgba(255, 122, 89, 0.12) 72%, rgba(255, 179, 71, 0.06) 100%);
  color: #fff;
  text-align: left;
}

.slide-copy {
  width: min(440px, calc(100% - 620px));
  max-width: 440px;
  min-width: 300px;
  margin: 0;
  margin-left: clamp(24px, 4vw, 72px);
  padding: 28px 30px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(7, 31, 48, 0.54), rgba(7, 31, 48, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.16);
}

.slide-copy h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.7vw, 3rem);
  letter-spacing: -0.05em;
  font-weight: 700;
  line-height: 1.02;
  max-width: 9ch;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.slide-copy p {
  font-size: 1rem;
  opacity: 0.96;
  margin-top: 12px;
  max-width: 30ch;
  line-height: 1.55;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.slide-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.slider-booking-panel {
  position: absolute;
  right: min(5vw, 54px);
  top: 50%;
  transform: translateY(-50%);
  width: min(430px, calc(100% - 96px));
  z-index: 16;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 244, 235, 0.94), rgba(239, 252, 248, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 26px 60px rgba(15, 59, 90, 0.22);
  backdrop-filter: blur(14px);
  padding: 22px;
}

.slider-booking-panel .eyebrow {
  background: rgba(255, 122, 89, 0.1);
  border-color: rgba(255, 122, 89, 0.16);
}

.slider-booking-panel h3 {
  margin-top: 14px;
  font-size: 1.55rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--panel);
}

.slider-booking-panel p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.96rem;
}

.slider-booking-panel .form-grid {
  margin-top: 16px;
  gap: 12px;
}

.slider-booking-panel .field label {
  font-size: 0.88rem;
  color: var(--panel-soft);
}

.slider-booking-panel .field input,
.slider-booking-panel .field select,
.slider-booking-panel .field textarea {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
}

.slider-booking-panel .field textarea {
  min-height: 84px;
}

.slider-booking-note {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--muted);
}

.slider-dots-panel {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 15;
}

.dot-indicator {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dot-indicator.active-dot {
  background: var(--accent);
  width: 28px;
  border-radius: 20px;
}

.hero {
  padding: 32px 0 56px;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
}

.hero-copy,
.info-strip,
.doctor-card,
.contact-card,
.testimonial,
.footer-wrap,
.photo-card,
.video-card,
.service,
.clinic-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 247, 242, 0.78));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 24px 32px 28px;
  border-radius: 36px;
  overflow: hidden;
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.hero-copy-body {
  min-width: 0;
}

.hero-copy h1 {
  margin: 12px 0 0;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
  max-width: 12ch;
}

.hero-copy p {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.62;
  color: var(--muted);
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.hero-portrait {
  min-height: 320px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(17, 60, 58, 0.1);
  background: linear-gradient(160deg, rgba(255, 244, 235, 0.94), rgba(240, 252, 248, 0.92));
  box-shadow: 0 22px 48px rgba(15, 59, 90, 0.12);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.hero-aside-card {
  padding: 22px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 249, 244, 0.96), rgba(241, 252, 248, 0.92));
  border: 1px solid rgba(17, 60, 58, 0.08);
}

.hero-aside-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--panel);
}

.hero-aside-card h3 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.hero-aside-card p {
  margin: 10px 0 0;
  max-width: none;
  font-size: 0.98rem;
}

.hero-aside-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.hero-aside-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 60, 58, 0.08);
  color: var(--text);
  font-weight: 600;
}

.hero-aside-list i {
  color: var(--panel);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.stat {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 247, 241, 0.8), rgba(240, 252, 248, 0.76));
  border: 1px solid rgba(17, 60, 58, 0.08);
}

.stat strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
}

.info-strip {
  padding: 22px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 247, 241, 0.82), rgba(239, 251, 247, 0.74));
  border: 1px solid rgba(17, 60, 58, 0.08);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.card-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 122, 89, 0.14), rgba(255, 179, 71, 0.2));
}

.card h3 {
  margin: 0;
  line-height: 1.15;
}

.card p {
  margin: 0;
}

.card i,
.service i,
.feature-bullet i {
  color: var(--panel);
}

.services-grid,
.photo-gallery-grid,
.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service,
.testimonial {
  padding: 28px;
  border-radius: 28px;
  transition: transform 0.25s ease;
}

.service {
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 290px;
  padding: 30px 28px 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 240, 0.9)),
    linear-gradient(135deg, rgba(255, 122, 89, 0.18), rgba(108, 200, 255, 0.08));
  box-shadow: 0 22px 60px rgba(15, 59, 90, 0.12);
}

.service::before {
  content: '';
  position: absolute;
  inset: auto -40px -54px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.3) 0%, rgba(255, 179, 71, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.service::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.38);
  pointer-events: none;
}

.service:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(15, 59, 90, 0.16);
}

.service-head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
}

.service-icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 122, 89, 0.2), rgba(255, 179, 71, 0.24));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.service-icon i {
  font-size: 1.45rem;
}

.service h3 {
  margin: 0;
  line-height: 1.15;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.service p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
  font-size: 1rem;
}

.service-link,
.clinic-link {
  margin-top: auto;
  padding-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--panel);
}

.service-link {
  justify-content: space-between;
}

.service-link-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 122, 89, 0.16), rgba(57, 183, 165, 0.16));
  transition: transform 0.25s ease, background 0.25s ease;
}

.service:hover .service-link-icon {
  transform: translateX(3px);
  background: linear-gradient(135deg, rgba(255, 122, 89, 0.24), rgba(57, 183, 165, 0.22));
}

.services-grid .service:nth-child(3n + 2) .service-icon {
  background: linear-gradient(135deg, rgba(57, 183, 165, 0.18), rgba(108, 200, 255, 0.24));
}

.services-grid .service:nth-child(3n) .service-icon {
  background: linear-gradient(135deg, rgba(255, 111, 169, 0.18), rgba(255, 179, 71, 0.24));
}

.doctor-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.doctor-card,
.contact-card {
  padding: 30px;
  border-radius: 32px;
}

.doctor-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 22px;
}

.doctor-copy p,
.contact-card p,
.testimonial p,
.clinic-card p,
.media-copy p,
.footer-col p,
.footer-col ul,
.section-note {
  color: var(--muted);
  line-height: 1.6;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.feature-bullet {
  display: block;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 245, 238, 0.78), rgba(238, 250, 246, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 14px 34px rgba(15, 59, 90, 0.08);
}

.feature-copy {
  display: grid;
  gap: 10px;
}

.feature-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.feature-bullet-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(15, 59, 90, 0.1), rgba(57, 183, 165, 0.18));
}

.feature-bullet h3 {
  margin: 0;
  line-height: 1.2;
}

.feature-bullet p {
  margin: 0;
  padding-left: 46px;
}

.feature-bullet i {
  margin-top: 0;
}

.stories-full-width,
.gallery-full-width,
.services-full-width,
.cta-full-width {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 54px 0;
  isolation: isolate;
}

.stories-full-width {
  background: linear-gradient(135deg, #fff1e2 0%, #ffd9d8 25%, #fff1b8 52%, #d6f8f0 76%, #e8f3ff 100%);
}

.gallery-full-width {
  background: linear-gradient(135deg, #fff8ef 0%, #ffe4d7 24%, #fff6c8 50%, #dff7f3 74%, #eef5ff 100%);
}

.services-full-width {
  background: linear-gradient(135deg, #fff4e8 0%, #ffdcd0 22%, #fff2b8 48%, #d9f6ef 72%, #edf5ff 100%);
}

.cta-full-width {
  background: linear-gradient(135deg, #0f3b5a 0%, #176678 42%, #39b7a5 100%);
}

.stories-full-width::before,
.stories-full-width::after,
.gallery-full-width::before,
.gallery-full-width::after,
.services-full-width::before,
.services-full-width::after,
.cta-full-width::before,
.cta-full-width::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
}

.stories-full-width::before {
  background:
    radial-gradient(circle at 14% 24%, rgba(255, 122, 89, 0.22), transparent 18%),
    radial-gradient(circle at 86% 26%, rgba(57, 183, 165, 0.22), transparent 18%),
    radial-gradient(circle at 52% 84%, rgba(255, 179, 71, 0.18), transparent 20%);
  animation: storiesGlowShift 14s ease-in-out infinite alternate;
}

.stories-full-width::after,
.gallery-full-width::after,
.services-full-width::after,
.cta-full-width::after {
  background-size: 220% 220%;
  opacity: 0.48;
  animation: storiesGradientFlow 16s ease infinite;
}

.stories-full-width::after {
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.06) 24%, rgba(255, 255, 255, 0.22) 52%, rgba(255, 255, 255, 0.04) 78%, rgba(255, 255, 255, 0.18) 100%);
}

.gallery-full-width::before {
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 122, 89, 0.18), transparent 18%),
    radial-gradient(circle at 85% 24%, rgba(57, 183, 165, 0.18), transparent 18%),
    radial-gradient(circle at 58% 82%, rgba(108, 200, 255, 0.18), transparent 18%);
  animation: galleryGlowShift 13s ease-in-out infinite alternate;
}

.gallery-full-width::after {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.06) 22%, rgba(255, 255, 255, 0.18) 46%, rgba(255, 255, 255, 0.04) 72%, rgba(255, 255, 255, 0.16) 100%);
}

.services-full-width::before {
  background:
    radial-gradient(circle at 10% 22%, rgba(255, 122, 89, 0.2), transparent 18%),
    radial-gradient(circle at 88% 20%, rgba(57, 183, 165, 0.18), transparent 18%),
    radial-gradient(circle at 56% 86%, rgba(255, 179, 71, 0.2), transparent 22%);
  animation: servicesGlowShift 13s ease-in-out infinite alternate;
}

.services-full-width::after {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 22%, rgba(255, 255, 255, 0.22) 48%, rgba(255, 255, 255, 0.06) 76%, rgba(255, 255, 255, 0.2) 100%);
}

.cta-full-width::before {
  background:
    radial-gradient(circle at 15% 25%, rgba(255, 179, 71, 0.28), transparent 18%),
    radial-gradient(circle at 82% 30%, rgba(255, 122, 89, 0.22), transparent 20%),
    radial-gradient(circle at 58% 82%, rgba(255, 255, 255, 0.12), transparent 18%);
  animation: ctaGlowShift 12s ease-in-out infinite alternate;
}

.cta-full-width::after {
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 30%, rgba(255, 255, 255, 0.12) 55%, rgba(255, 255, 255, 0.02) 80%, rgba(255, 255, 255, 0.08) 100%);
}

.feedback-scroll-shell,
.clinic-scroll-shell {
  position: relative;
}

.feedback-scroll-actions,
.clinic-scroll-actions {
  position: absolute;
  top: -74px;
  right: 0;
  display: flex;
  gap: 12px;
}

.feedback-scroll-btn,
.clinic-scroll-btn {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 30px rgba(15, 59, 90, 0.12);
  color: var(--panel);
  cursor: pointer;
  transition: 0.24s ease;
}

.feedback-scroll-btn:hover,
.clinic-scroll-btn:hover {
  background: var(--panel);
  color: #fff;
}

.feedback-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  overflow-x: auto;
  padding: 6px 6px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.feedback-scroller::-webkit-scrollbar,
.clinic-scroller::-webkit-scrollbar {
  display: none;
}

.feedback-scroller .testimonial,
.clinic-card {
  scroll-snap-align: start;
}

.testimonial header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-fresh));
}

.stars {
  margin-top: 16px;
  color: #f5a623;
}

.clinics-section {
  padding-top: 12px;
}

.clinic-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 290px);
  gap: 20px;
  overflow-x: auto;
  padding: 6px 6px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.clinic-card {
  padding: 24px;
  border-radius: 28px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.branch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(57, 183, 165, 0.14), rgba(108, 200, 255, 0.14));
  color: var(--panel-soft);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.clinic-card h3 {
  margin-top: 18px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.clinic-meta {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.clinic-meta span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.photo-card,
.video-card {
  display: block;
  border-radius: 28px;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  cursor: pointer;
}

.photo-card:hover,
.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 72px rgba(15, 59, 90, 0.18);
}

.photo-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.video-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 0;
}

.media-copy {
  padding: 18px 20px 20px;
}

.media-copy h3 {
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}

.cta-full-width-inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 38px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-full-width-copy h2 {
  margin: 16px 0 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.cta-full-width-copy p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  max-width: 700px;
}

.cta-full-width-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.map-frame {
  border: 0;
  width: 100%;
  height: 240px;
  border-radius: 24px;
  margin-top: 20px;
}

.expanded-footer {
  background: linear-gradient(135deg, #0f3b5a 0%, #12486d 46%, #1a7c86 100%);
  color: #e0e3df;
  margin-top: 40px;
  border-radius: 44px 44px 0 0;
  padding: 56px 0 32px;
  border-top: 1px solid rgba(255, 255, 240, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: -0.02em;
}

.expanded-footer,
.expanded-footer p,
.expanded-footer li,
.expanded-footer a,
.expanded-footer span {
  color: rgba(255, 255, 255, 0.9);
}

.expanded-footer .footer-col p,
.expanded-footer .footer-col ul,
.expanded-footer .footer-bottom {
  color: rgba(236, 245, 245, 0.92);
}

.expanded-footer .footer-col ul li a {
  color: rgba(255, 255, 255, 0.9);
}

.expanded-footer .footer-col ul li a:hover {
  color: #ffffff;
}

.expanded-footer .footer-bottom {
  opacity: 1;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.social-icons a {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 179, 71, 0.12));
  width: 40px;
  height: 40px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.social-icons a:hover {
  background: var(--accent);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 245, 0.15);
  padding-top: 28px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.floating-action {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 22px 36px rgba(37, 211, 102, 0.28);
  z-index: 40;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 22, 33, 0.82);
  backdrop-filter: blur(10px);
  z-index: 120;
}

.modal.active {
  display: flex;
}

.modal-dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: 90vh;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 250, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.28);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 59, 90, 0.88);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 2;
}

.modal-media {
  background: #071621;
}

.modal-media img,
.modal-media iframe {
  width: 100%;
  display: block;
  border: 0;
}

.modal-media img {
  max-height: 72vh;
  object-fit: contain;
  background: #071621;
}

.modal-media iframe {
  aspect-ratio: 16 / 9;
  min-height: 320px;
}

.modal-copy {
  padding: 22px 24px 24px;
}

.modal-copy h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.modal-copy p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.7s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ctaGlowShift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.9;
  }
  to {
    transform: translate3d(14px, -12px, 0) scale(1.06);
    opacity: 1;
  }
}

@keyframes storiesGlowShift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-12px, 16px, 0) scale(1.08);
  }
}

@keyframes storiesGradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes servicesGlowShift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(12px, -14px, 0) scale(1.06);
  }
}

@keyframes galleryGlowShift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-10px, 14px, 0) scale(1.06);
  }
}

@media (max-width: 1080px) {
  .services-grid,
  .photo-gallery-grid,
  .video-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-main {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
    align-items: stretch;
  }

  .info-strip,
  .doctor-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .slide-copy {
    width: min(390px, calc(100% - 430px));
    max-width: 390px;
    min-width: 260px;
    margin-left: 18px;
    padding: 24px 24px 26px;
  }

  .slider-booking-panel {
    width: 380px;
    padding: 18px;
  }

  .feedback-scroller {
    grid-auto-columns: calc((100% - 20px) / 2);
  }
}

@media (max-width: 760px) {
  .services-grid,
  .photo-gallery-grid,
  .video-gallery-grid {
    grid-template-columns: 1fr;
  }

  .topbar .container,
  .navbar .container {
    align-items: flex-start;
  }

  .topbar-meta,
  .topbar-social,
  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links .btn {
    margin-top: 6px;
  }

  .hero-copy {
    padding: 24px;
  }

  .hero-main,
  .hero-aside {
    grid-template-columns: 1fr;
  }

  .hero-portrait {
    min-height: 260px;
  }

  .hero-stats,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .feature-bullet p {
    padding-left: 0;
  }

  .slide-item {
    aspect-ratio: 4 / 3;
    min-height: 260px;
  }

  .slide-overlay {
    padding: 20px 18px 24px;
    align-items: flex-end;
    justify-content: center;
    background: linear-gradient(180deg, rgba(15, 59, 90, 0.18) 0%, rgba(15, 59, 90, 0.34) 32%, rgba(15, 59, 90, 0.88) 100%);
  }

  .slide-copy {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-left: 0;
    text-align: center;
    padding: 0 4px;
    align-items: center;
    border-radius: 0;
    background: none;
    border: 0;
    backdrop-filter: none;
    box-shadow: none;
  }

  .slide-copy h3,
  .slide-copy p {
    max-width: none;
  }

  .slide-actions {
    margin-top: 18px;
    justify-content: center;
  }

  .slide-btn,
  .slide-btn-alt {
    width: 100%;
  }

  .slider-container-full {
    overflow: visible;
    display: flex;
    flex-direction: column;
  }

  .slider-track {
    order: 1;
  }

  .slider-booking-panel {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: calc(100% - 32px);
    margin: 16px auto 0;
    padding: 16px;
    order: 2;
  }

  .slider-dots-panel {
    position: relative;
    order: 3;
    bottom: auto;
    margin-top: 10px;
    padding-bottom: 6px;
  }

  .feedback-scroll-actions,
  .clinic-scroll-actions {
    position: static;
    justify-content: flex-end;
    margin-bottom: 16px;
  }

  .feedback-scroller {
    grid-auto-columns: 88%;
  }

  .clinic-scroller {
    grid-auto-columns: 84%;
  }

  .cta-full-width-inner {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .expanded-footer {
    border-radius: 32px 32px 0 0;
  }

  .footer-grid {
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
