:root {
  --teal-950: #0b3733;
  --teal-900: #0e453f;
  --teal-800: #125349;
  --teal-700: #166b5c;
  --teal-600: #1c8571;
  --teal-500: #22a087;
  --teal-100: #e3f2ee;
  --teal-50: #f2f8f6;
  --ink: #14231f;
  --ink-soft: #5b6b66;
  --line: #e4e9e7;
  --bg: #f7f9f8;
  --paper: #ffffff;
  --danger: #e35b5b;

  --font: "Cairo", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

a {
  text-decoration: none;
}

.container-nar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 88px 0;
}

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

/* ---------- NAVBAR ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}

.site-header .row-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--teal-600), var(--teal-900));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.brand-icon svg {
  width: 22px;
  height: 22px;
}

.brand-text h1 {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
  line-height: 1.3;
}

.brand-text p {
  font-size: 12px;
  margin: 0;
  color: var(--ink-soft);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 6px 2px;
}

.nav-links a.active {
  color: var(--teal-800);
  font-weight: 700;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -4px;
  height: 2px;
  background: var(--teal-700);
  border-radius: 2px;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.btn-book {
  background: var(--teal-800);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.btn-book:hover {
  background: var(--teal-900);
  color: #fff;
}

.btn-book svg {
  width: 16px;
  height: 16px;
}

.mob-back-btn {
  background: var(--teal-800);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- HERO ---------- */
.hero {
  padding: 76px 0 60px;
  background:
    radial-gradient(
      700px 320px at 85% -10%,
      rgba(34, 160, 135, 0.1),
      transparent 60%
    ),
    radial-gradient(
      600px 260px at 10% 10%,
      rgba(18, 83, 73, 0.06),
      transparent 60%
    ),
    var(--bg);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  color: var(--teal-800);
  padding: 7px 16px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 26px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-600);
  flex-shrink: 0;
}

.hero h2 {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.28;
  color: var(--ink);
  max-width: 820px;
  margin: 0 auto 22px;
}

.hero h2 .accent {
  color: var(--teal-700);
}

.hero p.lead-text {
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--ink-soft);
  max-width: 660px;
  margin: 0 auto 34px;
}

.hero .cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary-teal {
  background: var(--teal-800);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 24px -8px rgba(14, 69, 63, 0.45);
  transition:
    transform 0.15s ease,
    background 0.2s ease;
}

.btn-primary-teal:hover {
  background: var(--teal-900);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-soft {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.btn-outline-soft:hover {
  border-color: var(--teal-600);
  color: var(--teal-800);
}

@media (max-width: 575.98px) {
  .hero {
    padding: 44px 0 40px;
    text-align: center;
  }

  .hero h2 {
    font-size: 30px;
  }

  .hero p.lead-text {
    font-size: 15px;
  }

  .eyebrow {
    font-size: 12px;
    padding: 6px 12px;
    text-align: center;
  }
}

/* ---------- SERVICES ---------- */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h3 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--ink);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 575.98px) {
  .section-head h3 {
    font-size: 24px;
  }
}

.svc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 26px;
  height: 100%;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -18px rgba(14, 69, 63, 0.25);
  border-color: var(--teal-100);
}

.svc-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--teal-50);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.svc-icon svg {
  width: 24px;
  height: 24px;
}

.svc-card h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--ink);
}

.svc-card p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- BOOKING ---------- */
.booking-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.booking-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 38px;
}

@media (max-width: 575.98px) {
  .booking-card {
    padding: 22px;
  }
}

.field-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  display: block;
}

.field-label .req {
  color: var(--danger);
}

.field-wrap {
  position: relative;
}

.field-wrap .fi {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 14px;
  color: var(--ink-soft);
  display: flex;
  pointer-events: none;
}

.field-wrap .fi svg {
  width: 17px;
  height: 17px;
}

.form-control-clinic {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 42px 12px 14px;
  font-size: 14.5px;
  font-family: var(--font);
  color: var(--ink);
}

.form-control-clinic:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(34, 160, 135, 0.15);
}

.form-control-clinic::placeholder {
  color: #a7b3af;
}

select.form-control-clinic {
  appearance: none;
  -webkit-appearance: none;
}

.form-row-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}

.privacy-note svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn-submit {
  background: var(--teal-800);
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 13px 28px;
  font-weight: 700;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: background 0.2s ease;
}

.btn-submit:hover {
  background: var(--teal-900);
  color: #fff;
}

/* ---------- CONTACT ---------- */
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 21px;
  height: 21px;
}

.contact-card h5 {
  font-size: 15.5px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--ink);
}

.contact-card p {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- FOOTER ---------- */
.site-footer {
  padding: 26px 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 13px;
}

/* focus visibility */
a:focus-visible,
button:focus-visible,
.form-control-clinic:focus-visible {
  outline: 2px solid var(--teal-600);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
