:root {
  --ink: #17211f;
  --muted: #63726f;
  --paper: #fbfcfb;
  --soft: #edf4f1;
  --line: rgba(23, 33, 31, 0.12);
  --teal: #007c75;
  --teal-dark: #005d58;
  --mint: #bfe7dc;
  --coral: #d94d45;
  --gold: #b98932;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(24, 40, 37, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

body[dir="rtl"] {
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, padding 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px rgba(21, 33, 31, 0.09);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-name,
.brand-sub {
  display: block;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.24rem;
  font-weight: 800;
}

.brand-sub {
  color: currentColor;
  font-size: 0.78rem;
  opacity: 0.78;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.language-toggle {
  min-height: 42px;
  padding: 0 18px;
  color: inherit;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid currentColor;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.site-header.is-scrolled .language-toggle {
  color: var(--teal-dark);
  background: var(--soft);
  border-color: rgba(0, 124, 117, 0.22);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

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

.hero-media {
  background:
    linear-gradient(90deg, rgba(9, 35, 32, 0.9), rgba(9, 35, 32, 0.62) 42%, rgba(9, 35, 32, 0.12)),
    url("https://images.unsplash.com/photo-1538108149393-fbbd81895907?auto=format&fit=crop&w=1800&q=82") center/cover;
  transform: scale(1.04);
  animation: heroDrift 14s ease-in-out infinite alternate;
}

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 18% 30%, rgba(191, 231, 220, 0.18), transparent 34%),
    linear-gradient(0deg, rgba(8, 26, 24, 0.82) 0%, rgba(8, 26, 24, 0) 42%);
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 154px 0 118px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 13px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact-panel h2 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 8vw, 6.2rem);
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-badges span {
  padding: 9px 13px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: var(--radius);
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 12px 28px rgba(217, 77, 69, 0.28);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.74);
}

.button.secondary.dark {
  color: var(--teal-dark);
  background: var(--white);
  border-color: var(--line);
}

.hero-strip {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 24px;
  left: clamp(18px, 4vw, 56px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px 18px;
  padding: 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.hero-strip span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.hero-strip a {
  font-weight: 900;
}

.section,
.contact-section {
  padding: clamp(72px, 10vw, 128px) clamp(18px, 4vw, 56px);
  scroll-margin-top: 78px;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.78fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(310px, 0.78fr) minmax(0, 1fr);
}

.split.reverse > :first-child {
  order: 2;
}

.section h2,
.contact-panel h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4.8vw, 4rem);
}

.section p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}

.lead-copy {
  color: var(--ink) !important;
  font-size: clamp(1.1rem, 2vw, 1.28rem) !important;
  font-weight: 700;
}

.about-section {
  background: var(--paper);
}

.image-feature,
.service-image {
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-feature img,
.service-image img {
  transition: transform 650ms ease, filter 650ms ease;
}

.image-feature:hover img,
.service-image:hover img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.045);
}

.image-feature.tall {
  min-height: 520px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.stats-row div {
  min-height: 118px;
  padding: 22px;
  background: linear-gradient(180deg, var(--white), var(--soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(26, 52, 48, 0.06);
}

.stats-row strong,
.stats-row span {
  display: block;
}

.stats-row strong {
  color: var(--teal-dark);
  font-size: 2rem;
  line-height: 1;
}

.stats-row span {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.promise-section,
.specialties-section,
.additional-section {
  background: #f3f8f6;
}

.promise-section {
  position: relative;
}

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

.promise-item {
  min-height: 260px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(26, 52, 48, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.promise-item:hover {
  border-color: rgba(0, 124, 117, 0.24);
  box-shadow: 0 22px 48px rgba(26, 52, 48, 0.13);
  transform: translateY(-4px);
}

.promise-item span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: var(--radius);
  font-weight: 900;
}

.promise-item h3 {
  margin: 26px 0 10px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.promise-item p {
  margin: 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.specialty-card,
.service-card,
.additional-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.specialty-card {
  min-height: 118px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 26px rgba(26, 52, 48, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.specialty-card:hover,
.service-card:hover,
.additional-item:hover {
  border-color: rgba(0, 124, 117, 0.26);
  box-shadow: 0 16px 36px rgba(26, 52, 48, 0.12);
  transform: translateY(-3px);
}

.card-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 900;
}

.specialty-card strong {
  display: block;
  margin-top: 18px;
  line-height: 1.25;
}

.surgery-section {
  background: var(--paper);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

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

.service-card {
  min-height: 112px;
  padding: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card strong {
  display: block;
  color: var(--teal-dark);
  line-height: 1.25;
}

.service-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

.additional-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.additional-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.additional-item span:first-child {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--white);
  background: var(--coral);
  border-radius: var(--radius);
  font-weight: 900;
}

.additional-item strong {
  display: block;
}

.contact-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 124, 117, 0.22), rgba(217, 77, 69, 0.08)),
    #183f3b;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.contact-panel {
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.contact-card {
  min-height: 132px;
  padding: 18px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
}

.contact-cards span,
.contact-cards small,
address span {
  display: block;
}

.contact-cards span,
.contact-cards small {
  color: var(--muted);
  font-weight: 750;
}

.contact-cards strong {
  display: block;
  margin: 8px 0;
  color: var(--teal-dark);
  font-size: 1.25rem;
}

.mini-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.mini-actions a {
  display: inline-flex;
  min-height: 34px;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: var(--white);
  background: var(--teal);
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 850;
}

.mini-actions a:first-child {
  background: var(--coral);
}

address {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

address strong {
  display: block;
  color: var(--white);
  margin-bottom: 7px;
}

.map-wrap {
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
}

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

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.booking-modal.is-open {
  display: flex;
}

.booking-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 26, 24, 0.66);
  backdrop-filter: blur(8px);
}

.booking-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(720px, calc(100vh - 36px));
  overflow-y: auto;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(6, 18, 17, 0.32);
}

.booking-dialog h2 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.08;
}

.booking-intro {
  margin: 12px 0 0;
  color: var(--muted);
}

.booking-top-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 18px;
}

.booking-close,
.booking-language {
  min-height: 36px;
  padding: 0 12px;
  color: var(--teal-dark);
  background: var(--soft);
  border: 1px solid rgba(0, 124, 117, 0.16);
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
}

.booking-language {
  color: var(--white);
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

body[dir="rtl"] .booking-top-actions {
  justify-content: flex-start;
}

.booking-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.form-field {
  display: grid;
  gap: 7px;
  border: 0;
  margin: 0;
  padding: 0;
}

.form-field label,
.form-field legend {
  font-size: 0.92rem;
  font-weight: 850;
}

.form-field label span,
.form-field legend span {
  color: var(--coral);
}

.booking-method-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.booking-method-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.booking-method-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--teal-dark);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  color: var(--ink);
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: var(--white);
  border-color: rgba(0, 124, 117, 0.56);
  box-shadow: 0 0 0 3px rgba(0, 124, 117, 0.12);
}

.booking-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.booking-status.is-error {
  color: var(--coral);
}

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

.booking-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.booking-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  gap: 10px;
}

body[dir="rtl"] .floating-actions {
  right: auto;
  left: 18px;
}

.float-btn {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(20, 30, 28, 0.24);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.float-btn svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.float-btn:hover {
  box-shadow: 0 18px 42px rgba(20, 30, 28, 0.28);
  transform: translateY(-3px);
}

.float-btn.whatsapp {
  background: #1fa463;
}

.float-btn.call {
  background: var(--coral);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  padding: 28px 18px 96px;
  color: var(--muted);
  background: #f3f8f6;
}

.footer span:first-child {
  color: var(--teal-dark);
  font-weight: 900;
}

body[dir="rtl"] .hero-media {
  background:
    linear-gradient(270deg, rgba(10, 39, 37, 0.9), rgba(10, 39, 37, 0.58) 45%, rgba(10, 39, 37, 0.18)),
    url("https://images.unsplash.com/photo-1538108149393-fbbd81895907?auto=format&fit=crop&w=1800&q=82") center/cover;
}

body[dir="rtl"] .hero-content {
  text-align: right;
}

body[dir="rtl"] .eyebrow,
body[dir="rtl"] .section-kicker {
  text-transform: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms ease, transform 620ms ease;
  transition-delay: var(--delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.09) translate3d(-16px, -8px, 0);
  }
}

@media (max-width: 1040px) {
  .specialty-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .split,
  .split.reverse,
  .service-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split.reverse > :first-child {
    order: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    padding: 12px 14px;
  }

  .nav-links {
    display: none;
  }

  .language-toggle {
    min-height: 40px;
    padding: 0 12px;
  }

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

  .brand-name {
    font-size: 1.06rem;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-media {
    background:
      linear-gradient(0deg, rgba(10, 39, 37, 0.92), rgba(10, 39, 37, 0.62) 60%, rgba(10, 39, 37, 0.18)),
      url("https://images.unsplash.com/photo-1538108149393-fbbd81895907?auto=format&fit=crop&w=1200&q=82") center/cover;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 132px 0 140px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.8rem);
  }

  .button {
    width: 100%;
  }

  .hero-badges {
    gap: 8px;
  }

  .hero-badges span {
    flex: 1 1 100%;
  }

  .hero-strip {
    bottom: 14px;
    justify-content: flex-start;
    font-size: 0.9rem;
  }

  .booking-modal {
    align-items: flex-end;
    padding: 10px;
  }

  .booking-dialog {
    max-height: calc(100vh - 20px);
  }

  .stats-row,
  .specialty-grid,
  .service-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .promise-item {
    min-height: 0;
  }

  .image-feature,
  .image-feature.tall,
  .service-image,
  .map-wrap,
  .map-wrap iframe {
    min-height: 330px;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
  }

  body[dir="rtl"] .floating-actions {
    left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
