:root {
  --brown: #4B3629;
  --brown-dark: #3A2A20;
  --ink: #2D1709;
  --cream: #ECE6DA;
  --cream-light: #F5F1EA;
  --white: #FFFFFF;
  --gold: #D9BD8A;
  --muted: #5E4A3E;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --head: "Manrope", system-ui, sans-serif;
  --body: "Work Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
}

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em;
}
h1 strong, h2 strong { font-weight: 700; }

h2 { font-size: clamp(1.9rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; font-weight: 600; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: 1rem; top: -60px; z-index: 100;
  background: var(--white); padding: .5rem 1rem;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

/* Butoane */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.4rem;
  font-family: var(--body);
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}
.btn-brown { background: var(--brown); color: var(--white); }
.btn-brown:hover { background: var(--brown-dark); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--cream); }
.btn-outline { border-color: var(--brown); color: var(--brown); }
.btn-outline:hover { background: var(--brown); color: var(--white); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  transition: background-color .3s;
}
.header.solid { background: var(--brown); border-bottom-color: transparent; }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem clamp(16px, 3.5vw, 56px);
}

.nav { display: flex; gap: 1.75rem; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--gold); }

.logo {
  display: grid;
  justify-items: center;
  text-decoration: none;
  line-height: 1.1;
}
.logo-name {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -.01em;
}
.logo-sub {
  font-size: .78rem;
  color: var(--gold);
  letter-spacing: .02em;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.bars,
.bars::before,
.bars::after {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  position: relative;
  transition: transform .2s;
}
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; }
.bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 860px);
  display: grid;
  place-items: center;
  padding: 140px var(--gutter) 90px;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 22, 16, .55);
  z-index: -1;
}
.hero-content { max-width: 760px; }
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 1.08;
}
.hero h1 strong { display: block; }
.hero-sub {
  margin-top: 1.5rem;
  font-family: var(--head);
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  font-weight: 600;
}
.hero-text { margin-top: 1rem; font-size: 1.1rem; }
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
}

/* ---------- Despre ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-block: clamp(4rem, 8vw, 6rem);
  background: var(--brown);
}
.about img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}
.about-box {
  padding: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  display: grid;
  align-content: center;
  gap: 1.25rem;
}
.about-box p { max-width: 52ch; }
.about-box .btn { justify-self: start; }

/* ---------- De ce noi ---------- */
.why {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: clamp(4rem, 8vw, 6rem);
}
.why-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.why-list li {
  background: var(--cream);
  padding: 1.4rem 1.5rem;
  font-weight: 500;
  line-height: 1.4;
}

/* ---------- Servicii ---------- */
.services {
  background: var(--cream);
  padding-block: clamp(4rem, 8vw, 6rem);
}
.section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}
.section-intro p { margin-top: 1rem; color: var(--muted); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.service { background: var(--white); }
.service img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.service-body { padding: 1.4rem 1.4rem 1.6rem; }
.service-body h3 { margin-bottom: .6rem; }
.service-body p { color: var(--muted); font-size: .95rem; }

/* ---------- Recenzii ---------- */
.reviews {
  background: var(--brown);
  color: var(--white);
  padding-block: clamp(4rem, 8vw, 5.5rem);
}
.reviews-inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1rem;
}
.stars {
  font-size: 1.6rem;
  letter-spacing: .2em;
  color: var(--gold);
}
.reviews .btn { margin-top: .75rem; }

/* ---------- Pacienți noi ---------- */
.start {
  position: relative;
  padding: clamp(5rem, 12vw, 9rem) var(--gutter);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.start-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}
.start-box {
  background: var(--white);
  padding: clamp(2rem, 5vw, 3rem);
  max-width: 560px;
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}
.steps {
  padding-left: 1.2rem;
  display: grid;
  gap: .8rem;
  color: var(--muted);
}
.steps strong { color: var(--ink); font-weight: 500; }
.steps li::marker { color: var(--brown); font-weight: 600; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(4rem, 8vw, 6rem);
}
.contact-info { display: grid; gap: 1.5rem; align-content: start; }
.contact-info > p { color: var(--muted); max-width: 46ch; }

.details { display: grid; gap: 1.1rem; }
.details div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--cream);
}
.details dt { font-weight: 500; color: var(--brown); }
.details dd a { color: var(--brown); text-underline-offset: 3px; }

.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.map { min-height: 420px; background: var(--cream); }
.map iframe {
  display: block;
  width: 100%; height: 100%;
  min-height: 420px;
  border: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--brown);
  color: var(--white);
  padding-top: 3.5rem;
  font-size: .95rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-brand { display: grid; align-content: start; line-height: 1.2; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer nav { display: grid; gap: .3rem; align-content: start; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .85rem;
  opacity: .85;
}

/* Buton apel plutitor */
.call-fab {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 40;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(45, 23, 9, .25);
}
.call-fab svg { width: 26px; height: 26px; }
.call-fab:hover { background: #C9A86F; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header-actions .btn-white { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: .75rem; }
  .menu-toggle { display: grid; place-items: center; }
  .logo { justify-items: start; }
  .header-actions .btn { padding: .7rem 1rem; font-size: .85rem; }
  .header-actions .btn::after { display: none; }

  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--brown);
    padding: .5rem var(--gutter) 1.25rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }

  .about, .why, .contact { grid-template-columns: 1fr; }
  .about img { min-height: 260px; max-height: 340px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .header-actions { display: none; }
  .why-list, .service-grid { grid-template-columns: 1fr; }
  .service img { aspect-ratio: 16 / 10; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* WhatsApp */
.btn-wa svg { width: 18px; height: 18px; }
.btn-wa::after { display: none; }
.btn-wa:hover { background: #25D366; border-color: #25D366; color: var(--white); }

/* Buton WhatsApp plutitor, deasupra celui de apel */
.wa-fab { bottom: 88px; background: #25D366; }
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab:hover { background: #1EBE5A; }
