@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=Heebo:wght@400;500;600;700;800&display=swap");

:root {
  --navy: #25236f;
  --navy-deep: #1b1955;
  --blue: #3474b8;
  --blue-light: #5a93cf;
  --teal: #13a9a7;
  --teal-deep: #0e8f8d;
  --sky: #eaf7fb;
  --sky-deep: #d7eef5;
  --white: #ffffff;
  --soft-gray: #f6f8fa;
  --charcoal: #20232a;
  --muted: #6b7280;
  --muted-soft: #9aa2ad;
  --border: rgba(37, 35, 111, 0.10);
  --shadow-soft: 0 12px 36px rgba(37, 35, 111, 0.08);
  --shadow-card: 0 18px 50px rgba(37, 35, 111, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family: Inter, "Heebo", "Noto Sans Hebrew", Assistant, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  width: min(1200px, calc(100% - 32px));
  padding: 10px 18px 10px 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(37, 35, 111, 0.08);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.logo-wrap { display: block; width: 152px; }
.logo { width: 100%; height: 50px; object-fit: contain; }
.logo-he { display: none; }
[dir="rtl"] .logo-en { display: none; }
[dir="rtl"] .logo-he { display: block; }

.nav-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--navy);
}

.nav-links a {
  text-decoration: none;
  transition: color 200ms ease;
}

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

.language-toggle {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--soft-gray);
  border-radius: 10px;
}

.lang-button {
  min-width: 42px;
  min-height: 30px;
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 8px;
  transition: all 180ms ease;
}

.lang-button.is-active {
  color: var(--white);
  background: var(--teal);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 92vh;
  padding: 120px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 18%, rgba(19, 169, 167, 0.10), transparent 30rem),
    radial-gradient(ellipse at 12% 88%, rgba(52, 116, 184, 0.10), transparent 30rem),
    linear-gradient(180deg, var(--white) 0%, var(--sky) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 60px;
  align-items: center;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* Decorative tooth-heart SVG (mirrors the logo silhouette) */
.hero-mark {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6vw;
  opacity: 0.10;
}

.hero-mark svg {
  width: clamp(380px, 48vw, 700px);
  height: auto;
}

[dir="rtl"] .hero-mark {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 6vw;
}

.eyebrow,
.section-kicker,
.doctor-role {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
  content: "";
}

[dir="rtl"] .eyebrow,
[dir="rtl"] .section-kicker,
[dir="rtl"] .doctor-role { letter-spacing: 0.04em; }

.eyebrow:has(.eyebrow-loop)::before { display: none; }

.hero h1 {
  margin: 0;
  max-width: 620px;
  color: var(--navy);
  font-family: Poppins, "Heebo", "Noto Sans Hebrew", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  position: relative;
  display: inline-block;
  color: var(--teal);
}

.hero h1 .accent::after {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 10px;
  content: "";
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' fill='none' stroke='%2313a9a7' stroke-width='2.5' stroke-linecap='round'><path d='M2 6 C 30 1, 60 1, 90 6 C 100 8, 110 7, 118 5'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.hero-copy {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--charcoal);
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.65;
  opacity: 0.85;
}

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

/* Right column: framed logo card */
.hero-logo-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 8%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

/* Floating sketched decorations around the hero logo card */
.card-doodle {
  position: absolute;
  z-index: 3;
  color: var(--teal);
  pointer-events: none;
}

.card-doodle--sparkle {
  top: -22px;
  left: -22px;
  width: 60px;
  height: 60px;
  transform: rotate(-12deg);
}

.card-doodle--tooth {
  bottom: -28px;
  right: -28px;
  width: 86px;
  height: 86px;
  transform: rotate(14deg);
  color: var(--blue);
}

.card-doodle--star {
  top: 38%;
  right: -34px;
  width: 32px;
  height: 32px;
  color: var(--navy);
  opacity: 0.55;
}

[dir="rtl"] .card-doodle--sparkle { left: auto; right: -22px; transform: rotate(12deg); }
[dir="rtl"] .card-doodle--tooth { right: auto; left: -28px; transform: rotate(-14deg) scaleX(-1); }
[dir="rtl"] .card-doodle--star { right: auto; left: -34px; }

.card-doodle svg { width: 100%; height: 100%; }

.hero-logo-card::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  content: "";
  background: linear-gradient(135deg, var(--navy), var(--blue) 45%, var(--teal) 80%);
  border-radius: 22px;
  opacity: 0.18;
  filter: blur(18px);
}

.hero-logo-card img {
  width: 88%;
  height: auto;
  object-fit: contain;
}

[dir="rtl"] .hero-logo-card .logo-en { display: none; }
[dir="rtl"] .hero-logo-card .logo-he { display: block; }
.hero-logo-card .logo-he { display: none; }

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 8px;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

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

.arrow {
  display: inline-block;
  width: 26px;
  height: 14px;
  background-color: currentColor;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 14' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'><path d='M2 7.4 C 6 7.0, 12 7.8, 21 7.1'/><path d='M16 2.4 C 18 4, 19.5 5.6, 22.5 7.2 C 19.8 8.6, 18.2 10, 16 11.6'/></svg>") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 14' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'><path d='M2 7.4 C 6 7.0, 12 7.8, 21 7.1'/><path d='M16 2.4 C 18 4, 19.5 5.6, 22.5 7.2 C 19.8 8.6, 18.2 10, 16 11.6'/></svg>") no-repeat center / contain;
  font-size: 0;
  color: transparent;
  transition: transform 200ms ease;
}

.button:hover .arrow,
.button-text:hover .arrow { transform: translateX(4px); }

[dir="rtl"] .arrow { transform: scaleX(-1); }
[dir="rtl"] .button:hover .arrow,
[dir="rtl"] .button-text:hover .arrow { transform: scaleX(-1) translateX(4px); }

.button-primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 10px 22px rgba(19, 169, 167, 0.28);
}

.button-primary:hover {
  background: var(--teal-deep);
  box-shadow: 0 14px 28px rgba(19, 169, 167, 0.36);
}

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

.button-secondary:hover {
  background: var(--sky);
}

.button-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
  transition: gap 200ms ease, color 200ms ease;
}

.button-text:hover { gap: 12px; color: var(--teal-deep); }

/* ---------- Sections ---------- */

section:not(.hero) {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

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

.section-heading.left { margin-left: 0; text-align: left; }
[dir="rtl"] .section-heading.left { margin-left: auto; margin-right: 0; text-align: right; }

h2 {
  margin: 0;
  color: var(--navy);
  font-family: Poppins, "Heebo", "Noto Sans Hebrew", sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h2 .accent {
  position: relative;
  display: inline-block;
  color: var(--teal);
}

h2 .accent::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 8px;
  content: "";
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' fill='none' stroke='%2313a9a7' stroke-width='2.5' stroke-linecap='round'><path d='M2 6 C 30 1, 60 1, 90 6 C 100 8, 110 7, 118 5'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* ---------- Handwritten notes & decorations ---------- */

.handwritten {
  display: inline-block;
  font-family: "Caveat", "Heebo", "Noto Sans Hebrew", cursive;
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: 0.005em;
}

/* Hero note: appears under the hero buttons with a curly arrow */
.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 28px 0 0;
  max-width: 460px;
}

.hero-note .note-arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  margin-top: 4px;
  color: var(--teal);
}

.hero-note .handwritten {
  transform: rotate(-1.5deg);
  transform-origin: left center;
}

[dir="rtl"] .hero-note .handwritten { transform: rotate(1.5deg); transform-origin: right center; }
[dir="rtl"] .hero-note .note-arrow { transform: scaleX(-1); }

/* Grid note: spans both doctor cards, with arrows pointing up to each */
.grid-note {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 6px;
  text-align: center;
  color: var(--navy);
}

.grid-note .note-arrows {
  width: min(440px, 90%);
  height: 56px;
  color: var(--teal);
}

.grid-note .handwritten {
  margin-top: -4px;
  font-size: 1.55rem;
  transform: rotate(-1deg);
}

.grid-note-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.grid-note-heart {
  width: 22px;
  height: 22px;
  color: var(--teal);
  transform: rotate(8deg);
}

/* Inline aside note (subtle, used after care list) */
.aside-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  color: var(--navy);
}

.aside-note .note-arrow {
  flex-shrink: 0;
  width: 30px;
  height: 22px;
  color: var(--teal);
}

.aside-note .handwritten {
  font-size: 1.3rem;
  transform: rotate(-1deg);
}

[dir="rtl"] .aside-note .note-arrow { transform: scaleX(-1); }

/* ---------- Hand-drawn dividers & decorations ---------- */

.hand-divider {
  display: block;
  width: min(720px, calc(100% - 40px));
  height: 18px;
  margin: 0 auto;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 18' preserveAspectRatio='none' fill='none' stroke='%2313a9a7' stroke-width='2' stroke-linecap='round'><path d='M2 9 C 70 2, 140 16, 210 9 C 280 2, 350 16, 420 9 C 490 2, 560 16, 630 9 C 700 4, 750 14, 798 9'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0.55;
}

.hand-divider.tight {
  width: min(280px, calc(100% - 40px));
}

/* Loop framing the hero eyebrow */
.eyebrow-loop {
  position: relative;
  display: inline-block;
  padding: 6px 18px;
}

.eyebrow-loop::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 44' fill='none' stroke='%2313a9a7' stroke-width='1.6' stroke-linecap='round'><path d='M30 8 C 18 10, 8 16, 8 22 C 8 30, 22 36, 50 38 C 90 41, 150 40, 190 36 C 208 33, 214 26, 210 20 C 206 12, 190 8, 160 6 C 120 3, 70 4, 40 7'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

/* Small hand-drawn sparkle (used inline next to accent words) */
.sparkle {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: 0.35em;
  margin: 0 0.18em;
  color: var(--teal);
}

.sparkle svg { width: 100%; height: 100%; }

/* Tiny doodle in corner of feature cards */
.feature-card::after {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 26px;
  height: 26px;
  content: "";
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='%2313a9a7' stroke-width='1.4' stroke-linecap='round'><path d='M13 4 C 13 7, 13 10, 13 11.5'/><path d='M13 14.5 C 13 16.5, 13 19, 13 22'/><path d='M4 13 C 7 13, 10 13, 11.5 13'/><path d='M14.5 13 C 17 13, 20 13, 22 13'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.7;
  transform: rotate(-8deg);
}

[dir="rtl"] .feature-card::after { right: auto; left: 18px; transform: rotate(8deg); }

/* ---------- Services / Intro ---------- */

.intro-section { position: relative; padding: 110px 0 90px; }

.section-doodle {
  position: absolute;
  z-index: 0;
  color: var(--teal);
  opacity: 0.32;
  pointer-events: none;
}

.section-doodle svg { width: 100%; height: 100%; }

.section-doodle--tl {
  top: 70px;
  left: -10px;
  width: 78px;
  height: 78px;
  color: var(--blue);
  transform: rotate(-14deg);
}

.section-doodle--br {
  bottom: 30px;
  right: 18px;
  width: 56px;
  height: 56px;
  transform: rotate(18deg);
}

[dir="rtl"] .section-doodle--tl { left: auto; right: -10px; transform: rotate(14deg) scaleX(-1); }
[dir="rtl"] .section-doodle--br { right: auto; left: 18px; transform: rotate(-18deg); }

.intro-section .intro-grid,
.intro-section .section-heading { position: relative; z-index: 1; }

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

.feature-card {
  position: relative;
  padding: 36px 28px 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(37, 35, 111, 0.16);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  color: var(--navy);
  background: var(--sky);
  border-radius: 12px;
}

.feature-icon svg { width: 30px; height: 30px; }

.feature-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: Poppins, sans-serif;
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---------- Doctors ---------- */

.doctors-section {
  padding: 110px 0;
  background: var(--soft-gray);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  width: 100% !important;
  max-width: none;
}

.doctors-inner { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

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

.doctor-card {
  position: relative;
  overflow: visible;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.doctor-card .doctor-image-wrap { border-top-left-radius: 12px; border-top-right-radius: 12px; }

.doctor-doodle {
  position: absolute;
  z-index: 4;
  color: var(--teal);
  pointer-events: none;
}

.doctor-doodle svg { width: 100%; height: 100%; }

/* Card 1 (Dr. Aliza): big sparkle off the top-right, small heart bottom-left */
.doctor-card:nth-child(1) .doctor-doodle--a {
  top: -22px;
  right: -18px;
  width: 56px;
  height: 56px;
  color: var(--teal);
  transform: rotate(-14deg);
}

.doctor-card:nth-child(1) .doctor-doodle--b {
  bottom: 22px;
  left: -16px;
  width: 36px;
  height: 36px;
  color: var(--blue);
  transform: rotate(-18deg);
}

/* Card 2 (Dr. Benjamin): tooth doodle bottom-right, small star top-left */
.doctor-card:nth-child(2) .doctor-doodle--a {
  bottom: -28px;
  right: 26px;
  width: 78px;
  height: 78px;
  color: var(--blue);
  transform: rotate(10deg);
}

.doctor-card:nth-child(2) .doctor-doodle--b {
  top: -12px;
  left: 28px;
  width: 30px;
  height: 30px;
  color: var(--navy);
  opacity: 0.55;
  transform: rotate(22deg);
}

[dir="rtl"] .doctor-card:nth-child(1) .doctor-doodle--a { right: auto; left: -18px; transform: rotate(14deg); }
[dir="rtl"] .doctor-card:nth-child(1) .doctor-doodle--b { left: auto; right: -16px; transform: rotate(18deg); }
[dir="rtl"] .doctor-card:nth-child(2) .doctor-doodle--a { right: auto; left: 26px; transform: rotate(-10deg) scaleX(-1); }
[dir="rtl"] .doctor-card:nth-child(2) .doctor-doodle--b { left: auto; right: 28px; transform: rotate(-22deg); }

.doctor-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.doctor-image-wrap { position: relative; overflow: hidden; }

.doctor-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 18%;
}

.doctor-copy { padding: 30px 30px 32px; }

.doctor-copy .doctor-role {
  position: relative;
  padding-bottom: 8px;
}

.doctor-copy .doctor-role::after {
  position: absolute;
  bottom: -2px;
  left: 34px;
  width: 70px;
  height: 8px;
  content: "";
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 8' fill='none' stroke='%2313a9a7' stroke-width='1.5' stroke-linecap='round'><path d='M2 5 C 15 1, 30 6, 45 3.5 C 60 1.5, 70 5, 78 3.8'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

[dir="rtl"] .doctor-copy .doctor-role::after { left: auto; right: 34px; }

.doctor-copy h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-family: Poppins, sans-serif;
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: -0.015em;
}

.doctor-copy p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.97rem;
}

.doctor-copy p:last-child { margin-bottom: 0; }

/* ---------- Care band (sky background) ---------- */

.care-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 72px clamp(28px, 4vw, 56px);
  margin: 110px auto;
  background: var(--sky);
  border-radius: 16px;
}

.care-image { position: relative; }

.care-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

/* Tooth outline accent floating off the image */
.care-mark {
  position: absolute;
  bottom: -34px;
  left: -34px;
  width: 120px;
  color: var(--teal);
  opacity: 0.85;
}

[dir="rtl"] .care-mark { left: auto; right: -34px; transform: scaleX(-1); }

.care-copy h2 { margin-bottom: 10px; }

.care-tagline {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.care-list {
  display: grid;
  gap: 0;
  margin-top: 30px;
}

.care-list p {
  position: relative;
  margin: 0;
  padding: 16px 0 16px 36px;
  color: var(--charcoal);
  font-weight: 500;
  border-bottom: 1px solid rgba(37, 35, 111, 0.12);
}

.care-list p:last-child { border-bottom: 0; }

[dir="rtl"] .care-list p { padding: 16px 36px 16px 0; }

.care-list p::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 26px;
  height: 26px;
  content: "";
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%2313a9a7' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M4.5 15 C 6 16, 8.5 18.5, 11.5 21.5 C 14 17.5, 18 12, 23.5 5.5'/><path d='M11.8 21' opacity='0.5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px;
  transform: translateY(-50%) rotate(-3deg);
}

[dir="rtl"] .care-list p::before { left: auto; right: 0; }

/* ---------- Location ---------- */

.location-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 40px;
  align-items: start;
  padding: 80px 0 100px;
}

.location-section .section-doodle--tl {
  top: 80px;
  left: -16px;
  width: 70px;
  height: 70px;
  color: var(--teal);
  transform: rotate(-22deg);
}

.location-section > * { position: relative; z-index: 1; }

.location-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0 0;
}

.location-note .note-arrow {
  flex-shrink: 0;
  width: 34px;
  height: 30px;
  margin-top: 4px;
  color: var(--teal);
}

.location-note .handwritten {
  font-size: 1.35rem;
  transform: rotate(-1.5deg);
  transform-origin: left center;
}

[dir="rtl"] .location-note .handwritten { transform: rotate(1.5deg); transform-origin: right center; }
[dir="rtl"] .location-note .note-arrow { transform: scaleX(-1); }

/* Sketchy doodle on top-right of the location card */
.location-card-doodle {
  position: absolute;
  top: -18px;
  right: -14px;
  width: 48px;
  height: 48px;
  color: var(--blue);
  pointer-events: none;
  transform: rotate(16deg);
}

.location-card-doodle svg { width: 100%; height: 100%; }

[dir="rtl"] .location-card-doodle { right: auto; left: -14px; transform: rotate(-16deg); }

.location-text {
  max-width: 500px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.location-card {
  position: relative;
  padding: 34px 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.location-card::before {
  position: absolute;
  top: -14px;
  left: 30px;
  width: 36px;
  height: 36px;
  content: "";
  background-color: var(--teal);
  border: 4px solid var(--white);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
}

[dir="rtl"] .location-card::before { left: auto; right: 30px; }

.address {
  margin: 0 0 22px;
  color: var(--navy);
  font-family: Poppins, "Heebo", sans-serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.location-card .button { width: 100%; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 56px 0 42px;
  color: var(--white);
  background: var(--navy);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  font-size: 0.9rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-family: Poppins, sans-serif;
}

.footer-mark {
  width: 36px;
  height: 36px;
  color: var(--teal);
}

.site-footer p { margin: 0; opacity: 0.85; }

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-link svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.footer-link:hover { opacity: 1; color: var(--sky); }

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.footer-icon:hover {
  background: var(--teal);
  color: var(--navy);
  transform: translateY(-2px);
}

.credit a {
  color: var(--sky);
  text-decoration: none;
  opacity: 0.75;
}

.credit a:hover { color: var(--white); text-decoration: underline; opacity: 1; }

[dir="rtl"] .nav-links,
[dir="rtl"] .hero-actions,
[dir="rtl"] .footer-inner { flex-direction: row-reverse; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto auto; border-radius: 12px; }
  .nav-links { display: none; }

  .hero-inner,
  .intro-grid,
  .doctor-grid,
  .care-section,
  .location-section {
    grid-template-columns: 1fr;
  }

  .hero-logo-card { max-width: 420px; margin: 0 auto; }
  .hero-mark { opacity: 0.06; padding-right: 0; justify-content: center; }
  [dir="rtl"] .hero-mark { padding-left: 0; justify-content: center; }
  .care-section { padding: 56px 28px; gap: 40px; }
  .care-mark { width: 92px; bottom: -22px; left: -22px; }
  [dir="rtl"] .care-mark { right: -22px; }
}

@media (max-width: 620px) {
  .site-header { top: 10px; width: calc(100% - 20px); gap: 12px; }
  .logo-wrap { width: 124px; }
  .logo { height: 42px; }
  .lang-button { min-width: 36px; min-height: 28px; }

  .hero { min-height: auto; padding: 110px 0 70px; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .hero-actions, .footer-inner { flex-direction: column; align-items: flex-start; }
  .button { width: 100%; }

  section:not(.hero) { width: min(100% - 28px, 1200px); }
  .doctors-inner { width: min(100% - 28px, 1200px); }

  .intro-section { padding: 80px 0 50px; }
  .doctors-section { padding: 80px 0; }
  .doctor-copy { padding: 24px; }
  .doctor-image-wrap img { aspect-ratio: 1 / 1; }
  .care-section { padding: 32px 22px; margin: 80px auto; }
  .location-section { padding: 60px 0 90px; }
}
