:root {
  --cream: #f6efe6;
  --cream-2: #efe5d7;
  --paper: #fffaf3;
  --ink: #3b2f28;
  --muted: #6a5a4f;
  --line: #e2d6c6;
  --accent: #b5562f;        /* cărămiziu */
  --accent-dark: #93421f;
  --accent-light: #f2a882;  /* pe fundal închis */
  --dark: #2b211b;          /* maro foarte închis */
  --wa: #1f8a4c;
  --head: "Fraunces", Georgia, serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.4rem; font-weight: 500; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
p { margin: 0 0 1em; text-wrap: pretty; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.skip { position: absolute; left: 16px; top: -60px; background: var(--dark); color: #fff; padding: 10px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-block; padding: 15px 26px; border-radius: 10px;
  background: var(--accent); color: #fff; border: 1.5px solid var(--accent);
  font-weight: 600; font-size: 1.02rem; text-decoration: none; font-variant-numeric: tabular-nums;
  transition: background-color .2s, border-color .2s, transform .1s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* Header: transparent peste poză, crem după scroll */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  transition: background-color .25s, box-shadow .25s;
}
.site-header.solid { background: rgba(246, 239, 230, .97); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-family: var(--head); font-size: 1.3rem; transition: color .25s; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: #fff; text-decoration: none; font-weight: 500; transition: color .25s; }
.nav a:hover { color: var(--accent-light); }
.nav .nav-call { padding: 9px 16px; border-radius: 10px; background: #fff; color: var(--dark); font-weight: 700; font-variant-numeric: tabular-nums; }
.nav .nav-call:hover { color: var(--accent); }
.site-header.solid .brand, .site-header.solid .nav a { color: var(--ink); }
.site-header.solid .nav a:hover { color: var(--accent); }
.site-header.solid .nav .nav-call { background: var(--accent); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 11px 10px; margin-right: -10px;
  background: none; border: 0; color: #fff; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; margin: 0 0 7px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle span:last-child { margin-bottom: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.site-header.solid .nav-toggle { color: var(--ink); }

/* Hero: poză pe tot ecranul (B) */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--dark); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(36, 26, 20, .88) 0%, rgba(36, 26, 20, .6) 42%, rgba(36, 26, 20, 0) 72%),
    linear-gradient(180deg, rgba(36, 26, 20, .55) 0%, rgba(36, 26, 20, 0) 18%),
    linear-gradient(0deg, rgba(36, 26, 20, .5) 0%, rgba(36, 26, 20, 0) 40%);
}
.hero-inner { position: relative; z-index: 1; padding: 140px 0 80px; }
.hero-copy { max-width: 620px; }
.kicker { font-size: 1rem; color: #e9d9c8; margin-bottom: 18px; }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--accent-light); }
.lead { font-size: 1.25rem; color: #eadfd3; max-width: 28em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Bandă informații (B) */
.infobar { background: var(--dark); color: #fff; }
.infobar-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.infobar-inner > div { padding: 24px 24px 26px; border-left: 1px solid rgba(255, 255, 255, .12); font-variant-numeric: tabular-nums; }
.infobar-inner > div:first-child { border-left: 0; padding-left: 0; }
.infobar small { display: block; color: var(--accent-light); font-size: .85rem; font-weight: 600; margin-bottom: 2px; }
.infobar a { color: #fff; text-decoration: none; }
.infobar a:hover { text-decoration: underline; }

/* Sections */
.section { padding: clamp(80px, 10vw, 120px) 0 clamp(88px, 11vw, 132px); }
.section-alt { background: var(--cream-2); }
.head { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: end; margin-bottom: 52px; }
.head h2 { margin: 0; }
.head p { margin: 0; color: var(--muted); max-width: 26em; }

/* Servicii (C) */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.services li { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--line); }
.services li:not(:nth-child(4n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.s-ico { width: 38px; height: 38px; margin-bottom: 18px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.services h3 { margin-bottom: 8px; }
.services p { margin: 0; color: var(--muted); font-size: 1rem; }
.svc-cta { background: var(--paper); }
.svc-cta a { display: inline-block; margin-top: 14px; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.svc-cta a:hover { text-decoration: underline; }

/* Echipa: colaj (C) */
.team { background: var(--paper); }
.team-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: center; }
.team-copy p { color: var(--muted); max-width: 30em; }
.collage { position: relative; height: 520px; }
.collage .c1 { position: absolute; left: 0; top: 0; width: 100%; height: 88%; object-fit: cover; border-radius: 220px 220px 10px 10px; }
.collage .c2 { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 1; object-fit: cover; object-position: 30% 30%; border-radius: 10px; border: 8px solid var(--paper); }
.note {
  position: absolute; right: 5%; bottom: 3%;
  background: #fff; padding: 16px 22px; border-radius: 10px;
  box-shadow: 0 16px 34px -20px rgba(60, 40, 20, .55);
  font-size: 1rem; line-height: 1.5; transform: rotate(-1.5deg);
}
.note b { display: block; font-family: var(--head); font-weight: 500; font-size: 1.25rem; margin-bottom: 2px; }

/* Prima vizită */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.steps li { border-top: 1px solid var(--ink); padding-top: 22px; }
.step-n { display: block; font-family: var(--head); font-style: italic; font-size: 3.2rem; line-height: 1; color: var(--accent); margin-bottom: 16px; }
.steps p { color: var(--muted); margin: 0; }

/* Program și adresă */
.visit { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: stretch; }
.hours { width: 100%; max-width: 420px; border-collapse: collapse; margin: 8px 0 36px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 600; }
.hours td { text-align: right; }
.hours tr.closed th, .hours tr.closed td { color: #a89a8c; font-weight: 400; }
.address p { margin-bottom: 6px; }
.address a { font-weight: 600; text-decoration: none; }
.address a:hover { text-decoration: underline; }
.map { min-height: 460px; background: #e6dccd; border-radius: 10px; overflow: hidden; }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: sepia(.15) saturate(.85); }

/* Call band */
.call-band { background: var(--dark); color: #fff; }
.call-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 72px 0; }
.call-band h2 { margin: 0; color: #fff; }
.call-band h2 em { color: var(--accent-light); }
.call-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--dark); color: #c9bcae; border-top: 1px solid rgba(255, 255, 255, .1); padding: 28px 0; font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; }
.footer-inner p { margin: 0; }
.footer-inner strong { color: #fff; font-weight: 600; }

.quickbar { display: none; }

/* Responsive */
@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .services li:not(:nth-child(4n + 1)) { padding-left: 0; border-left: 0; }
  .services li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  /* pe ecrane înguste: listă cu eticheta în stânga și valoarea în dreapta */
  .infobar { border-top: 1px solid rgba(255, 255, 255, .14); }
  .infobar-inner { grid-template-columns: 1fr; padding: 6px 0 10px; }
  .infobar-inner > div,
  .infobar-inner > div:first-child {
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
    padding: 14px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); text-align: right;
  }
  .infobar-inner > div:first-child { border-top: 0; }
  .infobar small { flex: none; margin: 0; font-size: .9rem; text-align: left; }
}

@media (max-width: 900px) {
  .head, .team-grid, .visit { grid-template-columns: 1fr; gap: 20px; }
  .team-grid, .visit { gap: 40px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .collage { height: 440px; }
  .map, .map iframe { min-height: 340px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 4px 16px 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a, .site-header .nav a { color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-call, .site-header.solid .nav .nav-call { margin-top: 12px; text-align: center; background: var(--accent); color: #fff; border: 0; }

  .hero { min-height: 88svh; }
  .hero-bg { height: 58%; bottom: auto; object-position: 66% 50%; }
  .hero::after {
    background: linear-gradient(180deg, rgba(36, 26, 20, .65) 0%, rgba(36, 26, 20, 0) 14%, rgba(36, 26, 20, 0) 38%, var(--dark) 58%);
  }
  .hero-inner { padding: 120px 0 44px; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }


  .collage { height: 380px; }
  .collage .c1 { width: 100%; }
  .note { right: 0; }

  .quickbar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding-bottom: env(safe-area-inset-bottom); background: var(--dark);
  }
  .quickbar a { text-align: center; padding: 15px; font-weight: 700; text-decoration: none; color: #fff; background: var(--accent); }
  .quickbar .qb-wa { background: var(--wa); }
  body { padding-bottom: 54px; }
}

@media (max-width: 420px) {
  body { font-size: 17px; }
  .brand span { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ===== Pagini interioare ===== */
.nav a[aria-current="page"] { color: var(--accent-light); }
.site-header.solid .nav a[aria-current="page"] { color: var(--accent); }

.page-head { background: var(--dark); color: #fff; padding: 150px 0 72px; }
.page-head h1 { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin-bottom: 14px; }
.page-head h1 em { color: var(--accent-light); }
.page-head p { color: #eadfd3; font-size: 1.2rem; max-width: 34em; margin: 0; }
.crumbs { font-size: .95rem; color: #c9bcae; margin-bottom: 18px; }
.crumbs a { color: #e9d9c8; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.more-link { display: inline-block; margin-top: 28px; font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.more-link:hover { text-decoration: underline; }

/* Echipa: căsuțe */
.team-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.member { background: var(--paper); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.member img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.member-body { padding: 18px 18px 22px; }
.member h3 { margin: 0 0 4px; font-size: 1.25rem; }
.member .role { margin: 0 0 10px; color: var(--accent); font-weight: 600; font-size: .95rem; }
.member .bio { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }

.team-wide { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.team-wide img { width: 100%; border-radius: 12px; }
.team-wide p { color: var(--muted); }

@media (max-width: 1100px) {
  .team-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .team-wide { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .page-head { padding: 120px 0 48px; }
  .nav a[aria-current="page"] { color: var(--accent); }
}
@media (max-width: 560px) {
  .team-cards { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .member-body { padding: 14px 14px 18px; }
  .member h3 { font-size: 1.1rem; }
}

/* Servicii pe telefon: iconița în stânga, rânduri compacte */
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .services li, .services li:nth-child(even) {
    display: grid; grid-template-columns: 36px 1fr; column-gap: 16px;
    padding: 20px 0; border-left: 0;
  }
  .services .s-ico { grid-row: span 2; width: 32px; height: 32px; margin: 2px 0 0; }
  .services h3 { margin-bottom: 4px; font-size: 1.25rem; }
  .services .svc-cta { display: block; padding: 20px !important; margin-top: 8px; }
}

/* Prima vizită pe ecrane înguste: cifra în stânga, rânduri compacte */
@media (max-width: 900px) {
  .steps { gap: 0; }
  .steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
  .steps li:first-child { border-top: 1px solid var(--ink); }
  .step-n { grid-row: span 2; font-size: 2.4rem; margin: -4px 0 0; }
  .steps h3 { margin-bottom: 4px; font-size: 1.25rem; }
}
