:root {
  --navy: #0f4c67;
  --teal: #14b8a6;
  --sky: #67e8f9;
  --soft: #e6f6f7;
  --muted: #64748b;
  --ink: #123047;
  --line: #c9dde3;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 76, 103, 0.12);
}

/* Netlify injects this promotional badge after the page loads. */
#nl-badge-frame {
  display: none !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(103, 232, 249, 0.24), transparent 32rem),
    linear-gradient(180deg, #f8feff 0%, #ffffff 44%, #f5fbfb 100%);
}

body.en {
  font-family: "Montserrat", sans-serif;
}

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

.ltr-text {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

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

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(103, 232, 249, 0.28), transparent 20rem),
    linear-gradient(135deg, #f8feff 0%, #e6f6f7 46%, #ffffff 100%);
  animation: introFadeOut 0.75s ease 3.35s forwards;
}

.intro-screen::before,
.intro-screen::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  filter: blur(4px);
}

.intro-screen::before {
  width: 36vw;
  height: 36vw;
  min-width: 260px;
  min-height: 260px;
  inset-inline-start: -12vw;
  top: -12vw;
}

.intro-screen::after {
  width: 30vw;
  height: 30vw;
  min-width: 220px;
  min-height: 220px;
  inset-inline-end: -10vw;
  bottom: -12vw;
}

.intro-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  animation: introContentIn 3.5s ease forwards;
}

.intro-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: min(390px, 72vw);
}

.intro-logo-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  filter: drop-shadow(0 20px 35px rgba(15, 76, 103, 0.18));
}

.intro-pulse {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: 999px;
  animation: introPulse 1.7s ease-out infinite;
}

.intro-logo-wrap .intro-heart-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  clip-path: polygon(57% 0, 100% 0, 100% 70%, 73% 70%, 57% 51%);
  filter: brightness(1.13) saturate(1.24) drop-shadow(0 0 7px rgba(20, 184, 166, 0.5));
  transform-origin: 82% 27%;
  animation:
    introHeartReveal 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2) 0.25s both,
    introHeartBeat 0.95s ease-in-out 1.2s 2;
}

.intro-content p {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.15rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0;
}

.intro-line {
  display: block;
  width: min(260px, 46vw);
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.18);
}

.intro-line::after {
  content: "";
  display: block;
  width: 44%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: introLine 1.45s ease-in-out infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 86px;
  height: 86px;
  padding: 8px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(201, 221, 227, 0.75);
  backdrop-filter: blur(16px);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-weight: 700;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-download-link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 15px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, #087f8c 52%, var(--teal) 100%);
  border: 1px solid rgba(20, 184, 166, 0.58);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 76, 103, 0.2);
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.app-download-link::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 52px;
  height: 170%;
  inset-inline-start: -72px;
  top: -35%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(18deg);
  animation: appButtonShine 4.2s ease-in-out infinite;
}

.app-download-link:hover {
  color: #fff;
  filter: saturate(1.08);
  box-shadow: 0 14px 30px rgba(15, 76, 103, 0.3);
  transform: translateY(-2px);
}

.app-download-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.app-download-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes appButtonShine {
  0%, 62% { inset-inline-start: -72px; }
  82%, 100% { inset-inline-start: calc(100% + 28px); }
}

.mobile-app-promo {
  display: none;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline-end: 4px;
}

.social-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--navy);
  background: rgba(230, 246, 247, 0.9);
  border: 1px solid rgba(201, 221, 227, 0.92);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(15, 76, 103, 0.08);
  animation: socialFloat 3.4s ease-in-out infinite;
  transition:
    transform 0.25s ease,
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.social-icon:nth-child(2) {
  animation-delay: 0.22s;
}

.social-icon:nth-child(3) {
  animation-delay: 0.44s;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-instagram svg,
.social-whatsapp svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-facebook svg {
  fill: currentColor;
}

.social-icon:hover {
  animation-play-state: paused;
  color: white;
  background: var(--teal);
  border-color: rgba(20, 184, 166, 0.76);
  box-shadow: 0 14px 28px rgba(20, 184, 166, 0.28);
  transform: translateY(-4px) scale(1.05);
}

.language-toggle,
.primary-link,
.button,
.booking-form button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.language-toggle {
  padding: 0 14px;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--line);
}

.primary-link,
.button.primary,
.booking-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: white;
  background: linear-gradient(135deg, var(--navy), #058696);
}

.section-band,
.content-section {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: 26px;
  align-items: stretch;
  padding: 22px;
  min-height: calc(100vh - 132px);
  background:
    linear-gradient(135deg, rgba(230, 246, 247, 0.95), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 20% 20%, rgba(103, 232, 249, 0.32), transparent 26rem);
  border: 1px solid rgba(201, 221, 227, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  align-self: center;
  padding: clamp(16px, 3.2vw, 42px);
}

.hero-brand {
  display: block;
  width: clamp(230px, 25vw, 360px);
  margin: 0 auto 18px;
  filter: drop-shadow(0 12px 24px rgba(15, 76, 103, 0.08));
}

.hero-brand img {
  width: 100%;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-weight: 800;
}

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

h1 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(2rem, 3.55vw, 3.85rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  color: var(--navy);
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.18;
}

.hero-lead,
.section-heading p,
.doctors-copy > p,
.booking p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.82;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.button {
  padding: 0 22px;
}

.button.secondary {
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
}

.button.ghost {
  color: var(--teal);
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.26);
}

.hero-media {
  position: relative;
  min-height: 520px;
  border-radius: 22px;
  overflow: hidden;
}

.hero-media::after,
.journey-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(0deg, rgba(15, 76, 103, 0.58), transparent);
  pointer-events: none;
}

.hero-media img,
.journey-image img,
.doctors-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img {
  object-position: center center;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 42px;
}

.quick-actions a {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 20px 12px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 76, 103, 0.07);
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: white;
  background: var(--teal);
  border-radius: 50%;
  font-weight: 800;
}

.content-section {
  padding: 40px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-headline-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.section-headline-row .section-heading {
  margin-bottom: 0;
}

.section-heading.compact {
  max-width: none;
  text-align: center;
}

.gallery-section {
  padding: 42px 0 28px;
  overflow: hidden;
}

.gallery-section .section-heading {
  margin-inline: auto;
  text-align: center;
}

.gallery-marquee {
  position: relative;
  margin-top: 26px;
  overflow: hidden;
  border-radius: 22px;
}

.gallery-marquee::before,
.gallery-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(110px, 18vw);
  pointer-events: none;
}

.gallery-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #f8feff, transparent);
}

.gallery-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #f8feff, transparent);
}

.gallery-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: galleryScroll 42s linear infinite;
}

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

.gallery-track figure {
  width: clamp(280px, 36vw, 520px);
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 221, 227, 0.86);
  border-radius: 20px;
  background: var(--soft);
  box-shadow: 0 16px 36px rgba(15, 76, 103, 0.12);
}

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

.gallery-track figure:hover img {
  transform: scale(1.035);
}

.trust-grid article,
.doctor-list article,
.booking,
.booking-form {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 76, 103, 0.06);
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 52px 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 22%, rgba(103, 232, 249, 0.26), transparent 18rem),
    linear-gradient(135deg, rgba(15, 76, 103, 0.96), rgba(20, 184, 166, 0.9)),
    linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2));
  color: white;
  overflow: hidden;
  position: relative;
}

.trust-section::after {
  content: "";
  position: absolute;
  inset-inline-start: -80px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  pointer-events: none;
}

.trust-section h2,
.trust-section .eyebrow {
  color: white;
}

.trust-copy {
  position: relative;
  z-index: 1;
}

.trust-copy h2 {
  margin-bottom: 14px;
}

.trust-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.9;
}

.trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.trust-metrics article {
  display: grid;
  gap: 4px;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
}

.trust-metrics strong {
  color: white;
  font-size: 1.65rem;
  line-height: 1;
}

.trust-metrics span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  position: relative;
  z-index: 1;
}

.trust-grid article {
  display: grid;
  gap: 10px;
  padding: 22px;
  color: var(--ink);
}

.trust-grid article span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--teal);
  background: var(--soft);
  border-radius: 14px;
  font-size: 1.35rem;
  font-weight: 900;
}

.trust-grid strong {
  color: var(--navy);
  font-size: 1.1rem;
}

.trust-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.doctors,
.journey,
.booking {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.doctors-image,
.journey-image {
  position: relative;
  min-height: 430px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.doctor-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.doctor-filter button {
  min-height: 40px;
  padding: 0 14px;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.doctor-filter button.is-active {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
}

.doctors {
  display: block;
}

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

.doctor-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.doctor-portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.doctor-portrait-frame {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #e6f3f5;
}

.doctor-portrait-frame::before {
  content: "";
  position: absolute;
  inset: -24px;
  background: url("assets/dr-hosni-almasri.png") center / cover no-repeat;
  filter: blur(18px);
  opacity: 0.34;
  transform: scale(1.08);
}

.doctor-portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
}

.doctor-portrait-frame .doctor-portrait {
  position: relative;
  z-index: 1;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.doctor-info {
  padding: 20px 20px 0;
}

.doctor-bio {
  padding-inline-start: 20px;
  margin: 14px 0 20px;
  color: var(--muted);
  line-height: 1.85;
}

.doctor-bio li + li {
  margin-top: 8px;
}

.doctor-card .doctor-actions {
  margin-top: auto;
  padding: 0 20px;
}

@media (max-width: 900px) {
  .doctor-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .doctor-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.doctor-card.is-hidden {
  display: none;
}

.doctor-avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border-radius: 16px;
  font-size: 1.35rem;
  font-weight: 900;
}

.doctor-card h3 {
  margin: 2px 0 6px;
  color: var(--navy);
  font-size: 1.2rem;
}

.doctor-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.doctor-role {
  color: var(--teal);
  font-weight: 800;
}

.doctor-actions {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.doctor-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.doctor-actions a.solid {
  color: white;
  background: var(--teal);
  border-color: var(--teal);
}

.journey {
  padding: 30px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(230, 246, 247, 0.96), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 80% 20%, rgba(103, 232, 249, 0.24), transparent 18rem);
  border: 1px solid var(--line);
}

.journey-lead {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.85;
}

.steps {
  display: grid;
  gap: 14px;
  position: relative;
  margin-top: 22px;
}

.steps::before {
  content: "";
  position: absolute;
  inset-inline-start: 28px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), rgba(20, 184, 166, 0.08));
}

.steps article {
  position: relative;
  padding: 20px;
  padding-inline-start: 78px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 76, 103, 0.06);
}

.steps span {
  position: absolute;
  inset-inline-start: 18px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: white;
  background: var(--teal);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
}

.steps h3 {
  margin: 6px 0 8px;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.journey-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.booking {
  padding: 34px;
  align-items: stretch;
}

.booking-form {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.booking-form textarea {
  min-height: 112px;
  padding-top: 14px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.booking-direct {
  align-content: center;
  padding: clamp(24px, 4vw, 42px);
}

.booking-direct-badge {
  width: fit-content;
  padding: 7px 12px;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
}

.booking-direct h3 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.booking-direct p,
.booking-direct small {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.booking-direct-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-block: 8px;
}

.booking-direct-actions .button {
  justify-content: center;
  text-align: center;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.contact-panel article {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.contact-panel span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: white;
  background: var(--teal);
  border-radius: 12px;
  font-weight: 900;
}

.contact-panel strong {
  color: var(--navy);
}

.contact-panel p,
.contact-panel a {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-panel [data-i18n="address"] {
  white-space: pre-line;
}

.contact-social-links {
  display: grid;
  gap: 6px;
}

.contact-social-links a {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding-block: 2px;
}

.contact-social-links b {
  color: var(--navy);
  font-size: 0.84rem;
}

.contact-social-links i {
  overflow-wrap: anywhere;
  font-style: normal;
}

.contact-section {
  padding: 42px 0 18px;
}

.official-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.official-contact-grid a,
.official-contact-item {
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: 174px;
  padding: 24px 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 76, 103, 0.06);
  transition: transform 180ms ease, border-color 180ms ease;
}

.official-contact-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 184, 166, 0.54);
}

.official-contact-item {
  cursor: default;
}

.official-contact-grid span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border-radius: 14px;
  font-size: 1.25rem;
  font-weight: 900;
}

.official-contact-grid strong {
  color: var(--navy);
  font-size: 1.08rem;
}

.official-contact-grid small {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-note {
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 0;
  padding: 12px 16px;
  color: var(--muted);
  background: rgba(230, 246, 247, 0.72);
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 8px;
  text-align: center;
  line-height: 1.7;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.15fr repeat(4, minmax(135px, 0.6fr));
  gap: 24px;
  align-items: start;
  margin-top: 48px;
  padding: 34px clamp(18px, 4vw, 54px);
  color: white;
  background: var(--navy);
}

.site-footer img {
  width: 260px;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links strong {
  color: white;
}

.footer-links a,
.footer-links span {
  color: rgba(255, 255, 255, 0.82);
}

.footer-links a:hover {
  color: var(--sky);
}

.footer-links .footer-app-link {
  width: fit-content;
  padding-bottom: 2px;
  color: #7de7db;
  border-bottom: 1px solid rgba(125, 231, 219, 0.5);
  font-weight: 800;
}

.footer-links .footer-app-link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.footer-align-right {
  width: 100%;
  text-align: right;
  justify-self: stretch;
}

body.en .footer-align-right {
  text-align: left;
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.floating-whatsapp {
  position: fixed;
  inset-inline-end: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  color: white;
  background: linear-gradient(135deg, #12b886, var(--teal));
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(15, 76, 103, 0.28);
  animation: whatsappPulse 2.2s ease-in-out infinite;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(20, 184, 166, 0.34);
  border-radius: inherit;
  animation: whatsappRing 2.2s ease-out infinite;
}

.floating-whatsapp svg {
  position: relative;
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-whatsapp:hover {
  animation-play-state: paused;
  filter: saturate(1.08);
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 22px 46px rgba(15, 76, 103, 0.36);
}

@keyframes socialFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes whatsappPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-3px) scale(1.04);
  }
}

@keyframes whatsappRing {
  0% {
    opacity: 0.7;
    transform: scale(0.86);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

@keyframes introContentIn {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.94);
  }

  26% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  78% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-12px) scale(1.02);
  }
}

@keyframes introPulse {
  0% {
    opacity: 0.72;
    transform: scale(0.78);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.24);
  }
}

@keyframes introLine {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(260%);
  }
}

@keyframes introFadeOut {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@keyframes introHeartReveal {
  0% {
    opacity: 0;
    transform: scale(0.84);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes introHeartBeat {
  0%, 100% {
    transform: scale(1);
  }
  18% {
    transform: scale(1.07);
  }
  32% {
    transform: scale(0.99);
  }
  46% {
    transform: scale(1.04);
  }
  62% {
    transform: scale(1);
  }
}

@keyframes galleryScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .social-icon,
  .floating-whatsapp,
  .floating-whatsapp::before,
  .app-download-link::before,
  .mobile-app-promo-action,
  .intro-screen,
  .intro-content,
  .intro-pulse,
  .intro-line::after,
  .gallery-track {
    animation: none;
  }

  .intro-screen {
    display: none;
  }
}

body.en .main-nav,
body.en .hero-lead,
body.en .section-heading p,
body.en .doctors-copy > p,
body.en .booking p,
body.en .trust-grid p,
body.en .steps p {
  line-height: 1.65;
}

body.en h1 {
  font-size: clamp(2rem, 3.35vw, 3.7rem);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .header-socials {
    gap: 6px;
  }

  .hero,
  .doctors,
  .journey,
  .booking {
    grid-template-columns: 1fr;
  }

  .quick-actions,
  .official-contact-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-headline-row {
    grid-template-columns: 1fr;
  }

  .trust-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .app-download-link {
    width: 42px;
    min-width: 42px;
    padding: 0;
    border-radius: 999px;
  }

  .app-download-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .mobile-app-promo {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    width: min(calc(100% - 24px), 620px);
    margin: 12px auto 0;
    padding: 11px 12px;
    overflow: hidden;
    color: var(--navy);
    background:
      radial-gradient(circle at 92% 8%, rgba(20, 184, 166, 0.2), transparent 33%),
      linear-gradient(135deg, #ffffff 0%, #effcfa 54%, #dff8f4 100%);
    border: 1px solid rgba(20, 184, 166, 0.48);
    border-radius: 18px;
    box-shadow: 0 13px 30px rgba(15, 76, 103, 0.16);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }

  .mobile-app-promo::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 86px;
    height: 86px;
    inset-inline-start: -34px;
    bottom: -48px;
    background: rgba(15, 76, 103, 0.08);
    border-radius: 999px;
  }

  .mobile-app-promo:active {
    transform: scale(0.985);
    box-shadow: 0 8px 20px rgba(15, 76, 103, 0.15);
  }

  .mobile-app-promo-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    padding: 5px;
    background: #fff;
    border: 1px solid rgba(20, 184, 166, 0.26);
    border-radius: 15px;
    box-shadow: 0 7px 18px rgba(15, 76, 103, 0.13);
  }

  .mobile-app-promo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 11px;
  }

  .mobile-app-promo-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
    line-height: 1.35;
  }

  .mobile-app-promo-copy strong {
    color: var(--navy);
    font-size: clamp(0.92rem, 3.7vw, 1.08rem);
    font-weight: 900;
  }

  .mobile-app-promo-copy small {
    color: var(--muted);
    font-size: clamp(0.72rem, 2.75vw, 0.82rem);
    line-height: 1.45;
  }

  .mobile-app-promo-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 38px;
    padding: 0 11px;
    color: #fff;
    background: linear-gradient(135deg, var(--navy), var(--teal));
    border-radius: 11px;
    box-shadow: 0 7px 18px rgba(15, 76, 103, 0.2);
    font-size: clamp(0.72rem, 2.7vw, 0.82rem);
    font-weight: 900;
    white-space: nowrap;
    animation: mobileAppCtaPulse 2.6s ease-in-out infinite;
  }

  .mobile-app-promo-action::after {
    content: "↓";
    font-size: 1rem;
    line-height: 1;
  }
}

@keyframes mobileAppCtaPulse {
  0%, 62%, 100% { box-shadow: 0 7px 18px rgba(15, 76, 103, 0.2); }
  74% { box-shadow: 0 7px 18px rgba(15, 76, 103, 0.2), 0 0 0 6px rgba(20, 184, 166, 0.13); }
}

@media (max-width: 370px) {
  .mobile-app-promo {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .mobile-app-promo-icon {
    width: 52px;
    height: 52px;
  }

  .mobile-app-promo-action {
    grid-column: 2;
    justify-self: start;
    min-height: 34px;
  }
}

@media (max-width: 620px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 8px 16px;
    min-height: 74px;
    height: 74px;
  }

  .primary-link {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .social-icon {
    width: 38px;
    height: 38px;
  }

  .social-icon svg {
    width: 18px;
    height: 18px;
  }

  .section-band,
  .content-section,
  .quick-actions {
    width: min(100% - 20px, 1180px);
  }

  .hero {
    padding: 12px;
    border-radius: 20px;
  }

  .hero-copy {
    padding: 20px 12px;
  }

  .hero-actions {
    display: grid;
  }

  .quick-actions,
  .official-contact-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-section {
    padding: 34px 18px;
  }

  .trust-metrics {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .doctors-image,
  .journey-image {
    min-height: 320px;
  }

  .hero-brand {
    width: min(280px, 82vw);
  }

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

  .booking-direct-actions {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    width: 54px;
    height: 54px;
    inset-inline-end: 16px;
    bottom: 16px;
  }

  .floating-whatsapp svg {
    width: 28px;
    height: 28px;
  }
}

/* Mobile app-like navigation */
.mobile-menu-toggle,
.mobile-brand,
.mobile-menu-shell {
  display: none;
}

@media (max-width: 760px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  .site-header {
    position: sticky;
    display: flex;
    justify-content: flex-end;
    min-height: 64px;
    height: 64px;
    padding: 8px 12px;
    box-shadow: 0 8px 28px rgba(15, 76, 103, 0.09);
  }

  .main-nav,
  .header-socials,
  .primary-link {
    display: none;
  }

  .header-actions {
    position: absolute;
    right: 12px;
    direction: ltr;
    gap: 7px;
  }

  .language-toggle,
  .app-download-link {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
  }

  .mobile-menu-toggle {
    position: absolute;
    left: 12px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--navy);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 13px;
    box-shadow: 0 8px 20px rgba(15, 76, 103, 0.1);
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
  }

  .mobile-brand {
    position: absolute;
    left: 50%;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 3px;
    background: #f4ffff;
    border: 1px solid rgba(20, 184, 166, 0.24);
    border-radius: 15px;
    transform: translateX(-50%);
  }

  .mobile-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .mobile-menu-shell {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: block;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 0.3s;
  }

  .mobile-menu-shell.is-open {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(7, 32, 46, 0.5);
    border: 0;
    opacity: 0;
    backdrop-filter: blur(3px);
    transition: opacity 0.25s ease;
  }

  .mobile-menu-shell.is-open .mobile-menu-backdrop {
    opacity: 1;
  }

  .mobile-menu-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: min(86vw, 340px);
    padding: 18px 16px 24px;
    overflow-y: auto;
    color: var(--ink);
    background:
      radial-gradient(circle at 12% 4%, rgba(103, 232, 249, 0.25), transparent 11rem),
      #fff;
    box-shadow: 20px 0 48px rgba(7, 32, 46, 0.25);
    transform: translateX(-105%);
    transition: transform 0.3s cubic-bezier(0.2, 0.85, 0.3, 1);
  }

  .mobile-menu-shell.is-open .mobile-menu-panel {
    transform: translateX(0);
  }

  .mobile-menu-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(201, 221, 227, 0.8);
  }

  .mobile-menu-heading > div {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-menu-heading img {
    width: 48px;
    height: 48px;
    padding: 3px;
    object-fit: contain;
    background: #e9fbf8;
    border-radius: 15px;
  }

  .mobile-menu-heading span {
    display: grid;
    gap: 2px;
  }

  .mobile-menu-heading strong {
    color: var(--navy);
    font-size: 1rem;
  }

  .mobile-menu-heading small {
    color: var(--muted);
    font-size: 0.72rem;
  }

  .mobile-menu-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0 0 3px;
    color: var(--navy);
    background: #eef9f9;
    border: 0;
    border-radius: 12px;
    font: inherit;
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-menu-close:focus-visible,
  .mobile-menu-toggle:focus-visible {
    outline: 3px solid rgba(20, 184, 166, 0.38);
    outline-offset: 2px;
  }

  .mobile-menu-nav {
    display: grid;
    gap: 7px;
    margin-top: 16px;
  }

  .mobile-menu-nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 51px;
    padding: 8px 11px;
    color: var(--navy);
    background: #f8fcfc;
    border: 1px solid rgba(201, 221, 227, 0.7);
    border-radius: 14px;
  }

  .mobile-menu-nav a span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    color: var(--teal);
    background: #e5f8f6;
    border-radius: 10px;
    font-weight: 900;
  }

  .mobile-menu-nav a b {
    font-size: 0.91rem;
  }

  .mobile-menu-nav .mobile-menu-app {
    color: #fff;
    background: linear-gradient(135deg, var(--navy), var(--teal));
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(15, 76, 103, 0.18);
  }

  .mobile-menu-nav .mobile-menu-app span {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
  }

  .mobile-menu-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--muted);
    font-size: 0.72rem;
  }

  .mobile-menu-legal strong {
    width: 100%;
    color: var(--navy);
  }

  body.mobile-nav-enhanced .mobile-optional-section {
    display: none !important;
  }

  body.mobile-nav-enhanced .trust-section.mobile-section-active,
  body.mobile-nav-enhanced .doctors.mobile-section-active,
  body.mobile-nav-enhanced .journey.mobile-section-active {
    display: grid !important;
    animation: mobileSectionIn 0.38s ease both;
  }

  body.mobile-nav-enhanced .gallery-section.mobile-section-active,
  body.mobile-nav-enhanced .contact-section.mobile-section-active {
    display: block !important;
    animation: mobileSectionIn 0.38s ease both;
  }

  body.mobile-nav-enhanced .site-footer {
    margin-top: 38px;
    padding-top: 34px;
  }

  body.mobile-nav-enhanced .site-footer > .footer-links:nth-of-type(2),
  body.mobile-nav-enhanced .site-footer > .footer-links:nth-of-type(3),
  body.mobile-nav-enhanced .site-footer > .footer-links:nth-of-type(4) {
    display: none;
  }

  body.mobile-nav-enhanced .site-footer .footer-brand,
  body.mobile-nav-enhanced .site-footer > .footer-links:nth-of-type(5) {
    text-align: center;
    align-items: center;
  }

  .hero {
    margin-top: 14px;
  }

  .hero-media {
    min-height: 250px;
  }

  .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .quick-actions a {
    min-height: 104px;
  }

  .booking {
    margin-top: 42px;
  }
}

@keyframes mobileSectionIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .app-download-link {
    width: auto;
    min-width: 148px;
    height: 42px;
    padding: 0 12px;
    border-radius: 13px;
  }

  .app-download-text {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
    border: 0;
    font-size: 0.74rem;
  }

  .app-download-icon,
  .app-download-icon svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 350px) {
  .app-download-link {
    min-width: 136px;
    padding: 0 9px;
  }

  .app-download-text {
    font-size: 0.68rem;
  }
}
