/* ========================================================
   OptiDerm Estet — Design System
   Default palette: Modern Sky (sky blue + white + vibrant orange)
   Default fonts:   Outfit (sans-only)
   ======================================================== */

:root {
  /* Brand — Modern default */
  --teal-900: #0F2A4A;
  --teal-800: #1252A8;
  --teal-700: #1565D8;
  --teal-500: #4B8AE6;
  --teal-200: #B8D3F7;
  --teal-100: #D9E5F9;

  /* Neutrals */
  --cream:        #FFFFFF;
  --cream-dark:   #F0F4F9;
  --paper:        #FFFFFF;
  --ink:          #1F2421;
  --ink-soft:     #3B4441;
  --muted:        #6B7574;
  --border:       #DBE4F0;

  /* Accent */
  --rose:         #FF7A3C;
  --rose-dark:    #D85A1E;
  --rose-soft:    #FFE3CC;

  /* Functional */
  --shadow-sm:  0 1px 2px rgba(15, 42, 74, 0.06);
  --shadow-md:  0 4px 14px rgba(15, 42, 74, 0.08);
  --shadow-lg:  0 18px 40px -10px rgba(15, 42, 74, 0.18);

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  22px;
  --radius-xl:  36px;

  /* Typography — Outfit (sans only for modern feel) */
  --font-serif: "Outfit", system-ui, -apple-system, sans-serif;
  --font-sans:  "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container:   1180px;
  --container-narrow: 880px;
  --header-h:    78px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-800); text-decoration: none; transition: color .2s; }
a:hover { color: var(--rose-dark); }
ul, ol { padding-left: 1.2rem; }
button { font: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--teal-900);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p  { margin: 0 0 1em; color: var(--ink-soft); }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
small { color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--rose-dark);
  margin-bottom: 1.2rem;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.container--narrow { max-width: var(--container-narrow); }

section { padding-block: clamp(3.5rem, 7vw, 6rem); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head--left { text-align: left; margin-inline: 0; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--teal-900);
  color: var(--teal-100);
  font-size: .82rem;
  padding: .5rem 0;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}
.topbar a { color: var(--teal-100); }
.topbar a:hover { color: var(--paper); }
.topbar__cas { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__cas::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 4px rgba(201, 132, 122, .25);
}
.topbar__contacts { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar__contacts span { opacity: .65; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 244, 236, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(20, 56, 58, 0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--teal-900);
  line-height: 1;
  letter-spacing: -0.005em;
  transition: opacity .2s;
}
.brand:hover { color: var(--teal-900); opacity: .82; }
.brand__logo {
  height: 32px;
  width: auto;
  flex-shrink: 0;
  display: block;
  transition: transform .35s cubic-bezier(.2, .7, .3, 1);
}
.brand:hover .brand__logo { transform: rotate(-6deg) scale(1.04); }
.brand__name {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__link {
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: .35rem 0;
}
.nav__link:hover, .nav__link--active { color: var(--teal-800); }
.nav__link--active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--rose);
  border-radius: 2px;
}

.nav__cta { margin-left: .5rem; }

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  width: 42px; height: 42px;
  margin-left: auto;
  color: var(--teal-900);
  border-radius: 8px;
}
.nav-toggle svg { margin: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  border: 1.5px solid transparent;
  transition: all .22s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--teal-800);
  color: var(--cream);
}
.btn--primary:hover {
  background: var(--teal-900);
  color: var(--paper);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--accent {
  background: var(--rose);
  color: var(--paper);
}
.btn--accent:hover {
  background: var(--rose-dark);
  color: var(--paper);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--teal-900);
  border-color: var(--teal-800);
}
.btn--ghost:hover {
  background: var(--teal-800);
  color: var(--cream);
}
.btn--light {
  background: var(--cream);
  color: var(--teal-900);
}
.btn--light:hover {
  background: var(--paper);
  color: var(--teal-900);
}
.btn--sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding: 0;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: clamp(520px, 70vh, 720px);
}
.hero__content {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
  position: relative;
}
.hero__content::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 220px; height: 220px;
  background: radial-gradient(circle at 30% 70%, rgba(201, 132, 122, .12), transparent 65%);
  pointer-events: none;
}
.hero__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1.2rem;
}
.hero__title em {
  font-style: italic;
  color: var(--rose-dark);
  font-weight: 400;
}
.hero__lead {
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}
.hero__meta {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}
.hero__meta-item { display: flex; flex-direction: column; gap: .15rem; }
.hero__meta-item strong {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--teal-800);
  font-weight: 600;
}
.hero__meta-item span { font-size: .85rem; color: var(--muted); }

.hero__media {
  position: relative;
  background: var(--teal-800);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 56, 58, .35) 0%, rgba(20, 56, 58, 0) 50%);
}
.hero__badge {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: rgba(248, 244, 236, .95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: .9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.hero__badge svg { width: 28px; height: 28px; color: var(--rose-dark); flex-shrink: 0; }
.hero__badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--teal-900);
  font-weight: 600;
}
.hero__badge span { font-size: .8rem; color: var(--muted); }

/* ---------- Cards: Servicii Overview ---------- */
.services {
  background: var(--cream);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.6rem;
}
.service-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card__media {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: var(--teal-100);
}
.service-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__body { padding: 1.8rem 1.6rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.service-card__icon {
  width: 52px; height: 52px;
  background: var(--cream-dark);
  color: var(--teal-800);
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 1rem;
  margin-top: -3.6rem;
  position: relative;
  z-index: 2;
  border: 4px solid var(--paper);
  box-shadow: var(--shadow-sm);
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { margin-bottom: .55rem; }
.service-card p { font-size: .95rem; }
.service-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--teal-800);
}
.service-card__link:hover { color: var(--rose-dark); gap: .65rem; }

/* ---------- CAS Banner ---------- */
.cas-banner {
  background: var(--teal-900);
  color: var(--cream);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.2rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cas-banner::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 132, 122, .25) 0%, transparent 65%);
}
.cas-banner h2 {
  color: var(--cream);
  margin-bottom: .5rem;
}
.cas-banner p { color: var(--teal-100); margin: 0; max-width: 520px; }
.cas-banner__cta { position: relative; z-index: 2; }

/* ---------- Echipa ---------- */
.team {
  background: var(--cream-dark);
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 880px;
  margin-inline: auto;
}
.doctor-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.doctor-card__photo {
  aspect-ratio: 4/5;
  background: var(--teal-100);
  overflow: hidden;
  position: relative;
}
.doctor-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.doctor-card__body {
  padding: 1.5rem 1.6rem 1.8rem;
  text-align: center;
}
.doctor-card__role {
  display: inline-block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rose-dark);
  font-weight: 600;
  margin-bottom: .6rem;
}
.doctor-card h3 { margin-bottom: .3rem; }
.doctor-card__title {
  font-size: .92rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.doctor-card__phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  color: var(--teal-800);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: .5rem;
}
.doctor-card__phone svg { width: 16px; height: 16px; }

/* ---------- Why Us ---------- */
.why {
  background: var(--cream);
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.why-item {
  position: relative;
  padding-top: 1rem;
}
.why-item__num {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 500;
  color: var(--rose);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
  opacity: .85;
}
.why-item h3 { margin-bottom: .6rem; }
.why-item p { font-size: .95rem; margin: 0; }

/* ---------- CTA Bottom ---------- */
.cta-strip {
  background: var(--teal-800);
  color: var(--cream);
  text-align: center;
}
.cta-strip h2 { color: var(--cream); margin-bottom: 1rem; }
.cta-strip p { color: var(--teal-100); max-width: 520px; margin: 0 auto 2rem; }
.cta-strip__phones {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.cta-strip__phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
}
.cta-strip__phone:hover { color: var(--paper); }
.cta-strip__phone small {
  font-family: var(--font-sans);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-200);
  margin-bottom: .35rem;
  font-weight: 600;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--teal-900);
  color: var(--teal-100);
  padding: 4rem 0 1.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer h4 {
  color: var(--cream);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.footer p, .footer li, .footer a { font-size: .92rem; }
.footer a { color: var(--teal-100); }
.footer a:hover { color: var(--cream); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: .55rem; }
.footer__brand {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--cream);
  margin-bottom: .8rem;
  font-weight: 600;
}
.footer__tagline {
  color: var(--cream);
  opacity: 0.85;
  line-height: 1.75;
  font-size: .95rem;
}
.footer__contact-row {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-bottom: .65rem;
}
.footer__contact-row svg { width: 16px; height: 16px; color: var(--rose); flex-shrink: 0; margin-top: 3px; }
.footer__bottom {
  border-top: 1px solid rgba(248, 244, 236, .12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  color: var(--teal-200);
}
.footer__legal {
  margin: .8rem 0 0;
  font-size: .72rem;
  line-height: 1.5;
  opacity: .55;
  color: var(--teal-200);
}

/* ---------- Page Header (interior pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-800) 100%);
  color: var(--cream);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  right: -200px; top: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 132, 122, .22), transparent 65%);
}
.page-header h1 { color: var(--cream); margin-bottom: .6rem; position: relative; }
.page-header__lead { color: var(--teal-100); max-width: 640px; position: relative; margin: 0; font-size: 1.1rem; }
.breadcrumb {
  display: flex; gap: .5rem;
  font-size: .85rem;
  margin-bottom: 1.4rem;
  color: var(--teal-200);
  position: relative;
}
.breadcrumb a { color: var(--teal-200); }
.breadcrumb a:hover { color: var(--cream); }
.breadcrumb span { opacity: .5; }

/* ---------- Page image (placeholder visual) ---------- */
.page-image {
  margin: 0 0 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 21/9;
  background: var(--teal-100);
  position: relative;
}
.page-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-image--inline {
  margin: 2.5rem 0;
  aspect-ratio: 16/8;
}

/* ---------- Pretty content ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; color: var(--teal-800); }
.prose ul { padding-left: 1.4rem; margin-bottom: 1.4rem; }
.prose ul li { margin-bottom: .45rem; color: var(--ink-soft); }
.prose ul li::marker { color: var(--rose); }
.prose blockquote {
  border-left: 3px solid var(--rose);
  padding: .2rem 0 .2rem 1.4rem;
  margin: 1.8rem 0;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--teal-900);
  font-style: italic;
}

/* ---------- Two-column layout for service detail ---------- */
.layout-2col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.sidecard {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.sidecard h4 { margin-bottom: 1rem; color: var(--teal-900); font-family: var(--font-serif); text-transform: none; letter-spacing: 0; font-size: 1.2rem; }
.sidecard__row {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
}
.sidecard__row:last-child { border-bottom: none; }
.sidecard__row svg { width: 18px; height: 18px; color: var(--rose-dark); flex-shrink: 0; margin-top: 2px; }
.sidecard__row strong { display: block; color: var(--teal-900); margin-bottom: 2px; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }

/* ---------- Tarife (pricing) ---------- */
.pricing-section {
  background: var(--cream);
}
.pricing-section + .pricing-section { padding-top: 1rem; }

.pricing-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.4rem;
}
.pricing-card__head {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.6rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--cream-dark);
}
.pricing-card__head--cas { background: linear-gradient(135deg, var(--teal-800), var(--teal-900)); color: var(--cream); }
.pricing-card__head--cas h3 { color: var(--cream); }
.pricing-card__head--cas .pricing-card__icon { background: rgba(248, 244, 236, .15); color: var(--cream); }
.pricing-card__head--cas .pricing-card__badge { background: var(--rose); color: var(--paper); }

.pricing-card__icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--teal-800);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.pricing-card__icon svg { width: 24px; height: 24px; }
.pricing-card__head h3 { margin: 0; font-size: 1.4rem; }
.pricing-card__badge {
  margin-left: auto;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: var(--rose-soft);
  color: var(--rose-dark);
}

.pricing-list { list-style: none; padding: 0; margin: 0; }
.pricing-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
}
.pricing-list li:last-child { border-bottom: none; }
.pricing-list li:hover { background: var(--cream); }
.pricing-list__name { color: var(--ink); font-weight: 500; }
.pricing-list__name small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; margin-top: 2px; }
.pricing-list__price {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--teal-800);
  white-space: nowrap;
}
.pricing-list__price small { font-family: var(--font-sans); font-size: .75rem; color: var(--muted); font-weight: 500; margin-left: .25rem; }
.pricing-list__price--free { color: var(--rose-dark); }
.pricing-list__price sup {
  font-family: var(--font-sans);
  font-size: .6em;
  font-weight: 700;
  margin-left: 2px;
  color: var(--rose);
  vertical-align: super;
  line-height: 0;
}

.pricing-card__footnote {
  margin: 0;
  padding: 1rem 2rem 1.4rem;
  font-size: .82rem;
  color: var(--muted);
  background: var(--cream);
  border-top: 1px dashed var(--border);
  line-height: 1.55;
}
.pricing-card__footnote sup {
  color: var(--rose-dark);
  font-weight: 700;
  margin-right: 2px;
}
.pricing-card__footnote strong { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) {
  .pricing-card__footnote { padding: 1rem 1.4rem 1.2rem; }
}

.pricing-note {
  background: var(--rose-soft);
  border-radius: var(--radius);
  padding: 1.2rem 1.6rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  color: var(--ink-soft);
  font-size: .95rem;
}
.pricing-note svg { width: 22px; height: 22px; color: var(--rose-dark); flex-shrink: 0; margin-top: 2px; }
.pricing-note strong { color: var(--rose-dark); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info { padding-right: 1rem; }
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-child { border-bottom: none; }
.contact-row__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--cream-dark);
  color: var(--teal-800);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-row__icon svg { width: 20px; height: 20px; }
.contact-row strong {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--rose-dark);
  margin-bottom: .25rem;
  font-weight: 600;
}
.contact-row p, .contact-row a { font-size: 1.05rem; color: var(--ink); margin: 0; }
.contact-row a:hover { color: var(--rose-dark); }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 460px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* ---------- Misc ---------- */
.center { text-align: center; }
.divider {
  height: 1px;
  background: var(--border);
  margin: 3rem 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 11/10; }
}

@media (max-width: 920px) {
  .layout-2col { grid-template-columns: 1fr; }
  .sidecard { position: static; }

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

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .cas-banner { grid-template-columns: 1fr; text-align: center; }
}

/* Hamburger menu apare mai devreme (la iPad portrait etc.) ca să nu se suprapună cu logo-ul */
@media (max-width: 1024px) {
  .nav { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav__cta { display: none; }

  .nav.is-open {
    display: block;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open .nav__list {
    flex-direction: column;
    gap: 0;
  }
  .nav.is-open .nav__link {
    display: block;
    padding: .9rem 0;
    border-bottom: 1px solid var(--border);
  }
  .nav.is-open .nav__link--active::after { display: none; }
}

@media (max-width: 760px) {
  .topbar { font-size: .75rem; }
  .topbar__contacts { display: none; }

  .hero__meta { gap: 1.5rem; }
  .hero__meta-item strong { font-size: 1.3rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; }

  .pricing-card__head { flex-wrap: wrap; padding: 1.2rem 1.4rem; }
  .pricing-card__badge { margin-left: 0; order: 3; flex-basis: 100%; text-align: center; }
  .pricing-list li { padding: 1rem 1.4rem; gap: 1rem; }
  .pricing-list__price { font-size: 1.15rem; }

  .cta-strip__phones { gap: 1.5rem; }
  .cta-strip__phone { font-size: 1.2rem; }
}

/* Focus visible (accessibility) */
:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ========================================================
   SPECIALTIES — Split-screen full-bleed (Oftalmologie + Dermatologie)
   ======================================================== */
.specialties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-block: 0;
}
.specialty {
  position: relative;
  overflow: hidden;
  min-height: clamp(500px, 68vh, 680px);
  display: flex;
  align-items: flex-start;
  padding: clamp(2.8rem, 5vw, 4rem) clamp(1.8rem, 4vw, 3.5rem);
  isolation: isolate;
}
.specialty--ofta { background: #eef3f9; }
.specialty--derma { background: #f7ede2; }

.specialty__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  z-index: -1;
}
.specialty--ofta .specialty__media { background-position: left center; }
.specialty--derma .specialty__media { background-position: right center; }

.specialty__body {
  max-width: 300px;
  position: relative;
}
.specialty--ofta .specialty__body { margin-left: auto; text-align: right; }
.specialty--derma .specialty__body { margin-right: auto; }

/* Pentru oftalmologie — alinierea iconurilor la dreapta */
.specialty--ofta .specialty__features li {
  flex-direction: row-reverse;
  justify-content: flex-start;
}

.specialty__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  display: inline-block;
  margin-bottom: 1.1rem;
}
.specialty--ofta .specialty__eyebrow { color: #4a7c9e; }
.specialty--derma .specialty__eyebrow { color: #9c6651; }

.specialty__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
  margin: 0 0 0.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.specialty--ofta .specialty__title { color: var(--teal-900); }
.specialty--derma .specialty__title { color: #4a2f24; }

.specialty__tagline {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 1.2rem;
  line-height: 1.35;
  min-height: calc(1.35em * 2);
}

.specialty__lead {
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin: 0 0 1.8rem;
  line-height: 1.65;
  min-height: calc(1.65em * 3);
}

.specialty__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.specialty__cta svg { transition: transform 0.2s; }
.specialty__cta:hover { transform: translateY(-1px); color: #fff; }
.specialty__cta:hover svg { transform: translateX(3px); }

.specialty--ofta .specialty__cta {
  background: #1565D8;
  box-shadow: 0 6px 20px rgba(21, 101, 216, 0.25);
}
.specialty--ofta .specialty__cta:hover {
  background: #0E4FBF;
  box-shadow: 0 8px 26px rgba(21, 101, 216, 0.32);
}
.specialty--derma .specialty__cta {
  background: #d97561;
  box-shadow: 0 6px 20px rgba(217, 117, 97, 0.3);
}
.specialty--derma .specialty__cta:hover {
  background: #c5604c;
  box-shadow: 0 8px 26px rgba(217, 117, 97, 0.38);
}

.specialty__features {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.specialty__features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.3;
}
.specialty__features svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.specialty--ofta .specialty__features svg { color: #1565D8; }
.specialty--derma .specialty__features svg { color: #d97561; }

/* Tablet/mobile: stack vertically + center image */
@media (max-width: 920px) {
  .specialties { grid-template-columns: 1fr; }
  .specialty {
    min-height: 540px;
    padding: 3rem 1.5rem;
  }
  .specialty__body { max-width: 100%; margin: 0; }
  .specialty--ofta .specialty__media,
  .specialty--derma .specialty__media {
    background-position: center 25%;
    opacity: 0.45;
  }
  .specialty--ofta { background: #e6eef7; }
  .specialty--derma { background: #f4e6d8; }
}

