/* =========================================================
   Casa Dental Med — varianta 2 (structura în stilul noltesuceava.ro)
   Culorile vin din clinică: violetul uniformelor echipei și haloul
   siglei și acoperișul bronz al siglei de pe perete. Fundalurile sunt
   crem deschis, la cererea clientei (23 oct 2026: crem „pe tot” site-ul,
   apoi „mai deschis” decât bejul).
   ========================================================= */

:root {
  --paper: #faf6ee;     /* crem deschis */
  --plaster: #f2eadc;   /* crem, pe secțiunile alternante */
  --card: #fffdf8;
  --ink: #1c1726;       /* negru-vânăt */
  --ink-soft: #3b3447;
  --muted: #625a6f;
  --line: rgba(28, 23, 38, .12);
  --line-light: rgba(250, 246, 238, .16);
  --violet: #5b35b5;    /* violetul uniformelor */
  --violet-hi: #6a45c6;
  --night: #1f1830;     /* secțiunile închise */
  --lavender: #e9e4fa;  /* haloul siglei, deschis */
  --lilac: #c9bbf5;     /* accent pe fundal închis */
  --roof: #8a5d37;      /* acoperișul bronz al siglei */
  --focus: #7c56e0;
  --wa: #1d9d4f;
  --open: #3aa76d;
  --closed: #d4664b;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --pad: clamp(20px, 5vw, 64px);
  --space: clamp(84px, 10vw, 136px);
  --r-sm: 14px;
  --r: 20px;
  --r-lg: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- bază ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* overflow-x pe html: așa, decuparea de pe body se aplică chiar paginii și pe telefon nu se mai poate trage stânga-dreapta */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.62 var(--sans);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
ul, dl, dd { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--lilac); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--space); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: fixed; left: 16px; top: 16px; z-index: 300; transform: translateY(-200%);
  background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 600;
}
.skip:focus { transform: none; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fill { fill: currentColor; stroke: none; }

/* ---------- etichete și titluri ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: clamp(16px, 2.2vw, 22px);
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--lilac); }

.h2 {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(2.05rem, 4.3vw, 3.45rem);
  line-height: 1.08; letter-spacing: -.022em;
  text-wrap: balance; overflow-wrap: break-word;
}
.h2 em, .hero__title em, .work__cta-title em {
  font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em;
}
.h2--light { color: var(--paper); }
.section-head { max-width: 780px; }
.section-head__note { margin-top: 18px; max-width: 58ch; color: var(--ink-soft); }
.section-head__note a { font-weight: 600; }
.nw { white-space: nowrap; }

/* ---------- butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font-size: .9rem; font-weight: 700; letter-spacing: .01em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s, color .3s, box-shadow .3s var(--ease);
}
.btn .ic { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: .95rem; }
.btn--primary { background: var(--violet); color: #fff; }
.btn--primary:hover { background: var(--violet-hi); box-shadow: 0 12px 26px -12px rgba(91, 53, 181, .7); }
.btn--light { background: var(--lilac); color: var(--night); }
.btn--light:hover { background: #d8cdfa; box-shadow: 0 12px 26px -12px rgba(201, 187, 245, .55); }
.btn--ghost { color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(250, 246, 238, .75); }
.btn--ghost:hover { background: rgba(250, 246, 238, .12); }
.btn--outline { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(28, 23, 38, .28); }
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { box-shadow: 0 12px 26px -12px rgba(29, 157, 79, .7); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 50%; color: var(--ink); background: var(--card);
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow .3s, transform .3s var(--ease);
}
.icon-btn:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-1px); }

/* ---------- status deschis / închis ---------- */
.status {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px 8px 13px; border-radius: 999px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  font-size: .86rem; font-weight: 500; color: var(--ink-soft);
  max-width: 100%; text-wrap: balance; /* pe ecrane de 320px „Închis acum · deschidem mâine la 09:00” trece pe două rânduri, nu iese din ecran */
}
.status--light { background: rgba(31, 24, 48, .6); box-shadow: inset 0 0 0 1px rgba(250, 246, 238, .22); color: var(--paper); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.is-open .dot { background: var(--open); animation: pulse 2.4s infinite; }
.is-closed .dot { background: var(--closed); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(58, 167, 109, .5); }
  70% { box-shadow: 0 0 0 8px rgba(58, 167, 109, 0); }
  100% { box-shadow: 0 0 0 0 rgba(58, 167, 109, 0); }
}

/* =========================================================
   ANTET — bara plutitoare
   ========================================================= */
.header { position: fixed; top: 14px; left: 14px; right: 14px; z-index: 150; }
.header__inner {
  max-width: 1280px; margin-inline: auto;
  display: flex; align-items: center; gap: 18px;
  padding: 7px 8px 7px 18px; border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 10px 34px rgba(28, 23, 38, .12);
  transition: box-shadow .4s, background-color .4s;
}
.header.is-scrolled .header__inner { box-shadow: 0 14px 40px rgba(28, 23, 38, .18); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.brand__mark { width: 38px; height: 35px; flex: none; --roof: var(--roof); --heart: var(--ink); stroke-width: 16; stroke-linejoin: round; }
.brand__name { font-size: .8125rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; white-space: nowrap; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__link {
  position: relative; display: block; padding: 10px 12px;
  font-size: .92rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; white-space: nowrap;
  transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink); }
.nav__extra { display: none; }

.header__actions { display: flex; align-items: center; gap: 6px; flex: none; }
.header__cta { min-height: 44px; padding: 0 20px; }
.header__call, .nav-toggle { display: none; }
.nav-toggle {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  background: var(--night); color: var(--paper);
}
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.8px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
body.nav-open .nav-toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* pagina de confidențialitate: pe telefon, „Înapoi la site” devine buton rotund, ca să încapă lângă siglă */
@media (max-width: 480px) {
  .header__back { width: 44px; padding: 0; }
  .header__back-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(620px, 100svh, 1020px);
  display: flex; align-items: flex-end;
  color: var(--paper); background: var(--night);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.js .hero__media img { animation: heroZoom 2.6s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(20, 19, 23, .88) 0%, rgba(20, 19, 23, .42) 46%, rgba(20, 19, 23, .12) 74%),
    linear-gradient(90deg, rgba(20, 19, 23, .62) 0%, rgba(20, 19, 23, .18) 48%, rgba(20, 19, 23, 0) 70%);
}
.hero__content { padding-block: clamp(150px, 20vh, 200px) clamp(64px, 10vh, 112px); }
.hero__eyebrow { margin-bottom: 22px; }
.hero__title {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(2.45rem, 6.3vw, 5.6rem);
  line-height: 1.03; letter-spacing: -.032em;
}
.hl { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hl__in { display: inline-block; }
.js .hl__in { animation: lineUp 1s var(--ease) both; }
.js .hl:nth-child(1) .hl__in { animation-delay: .15s; }
.js .hl:nth-child(2) .hl__in { animation-delay: .27s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
.hero__lead { max-width: 54ch; margin-top: clamp(18px, 2.4vw, 28px); font-size: clamp(1.02rem, 1.25vw, 1.2rem); color: rgba(250, 246, 238, .9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 3.6vw, 40px); }
.js .hero__eyebrow, .js .hero__lead, .js .hero__actions, .js .hero__spec { animation: fadeUp .9s var(--ease) both; }
.js .hero__eyebrow { animation-delay: .05s; }
.js .hero__lead { animation-delay: .42s; }
.js .hero__actions { animation-delay: .54s; }
.js .hero__spec { animation-delay: .7s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero__spec {
  position: absolute; right: var(--pad); bottom: clamp(64px, 10vh, 112px);
  display: none; flex-direction: column; align-items: flex-end; gap: 10px;
}
.hero__tag {
  padding: 7px 15px; border-radius: 999px; background: var(--lilac); color: var(--night);
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}

/* =========================================================
   CABINETUL
   ========================================================= */
.about__grid { display: grid; gap: 32px clamp(40px, 6vw, 96px); align-items: end; }
.about__body > p:not(.eyebrow) { margin-top: 18px; max-width: 56ch; color: var(--ink-soft); }
.about__body .h2 { margin-bottom: 6px; }
.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.stats dt { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(2.3rem, 4vw, 3.2rem); line-height: 1; color: var(--violet); }
.stats dd { margin-top: 8px; font-size: .9rem; line-height: 1.4; color: var(--muted); }

.contact__media figcaption {
  position: absolute; left: 16px; bottom: 16px;
  padding: 8px 15px; border-radius: 999px; background: var(--paper);
  font-size: .84rem; font-weight: 600; color: var(--ink);
}

.pillars {
  display: grid; gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(64px, 8vw, 104px); padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--line);
}
.pillar h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.02; letter-spacing: -.015em; color: var(--ink); }
.pillar p { margin-top: 16px; max-width: 38ch; color: var(--ink-soft); }

/* =========================================================
   RÂNDURI GLISANTE — carduri cu chenar și glisare liberă, ca la Nolte
   (fără animații pe fiecare card și fără „agățare”, ca să nu se miște sacadat)
   ========================================================= */
.reel {
  margin-top: clamp(40px, 5vw, 64px);
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.reel::-webkit-scrollbar { display: none; }
.reel:focus-visible { outline-offset: -4px; }
.reel.is-draggable { cursor: grab; }
.reel.is-grabbing, .reel.is-grabbing * { cursor: grabbing; user-select: none; }
.reel__track {
  display: flex; gap: 16px; width: max-content;
  padding: 4px max(var(--pad), calc((100% - 1280px) / 2 + var(--pad))) 12px;
}
.reel-card {
  position: relative; flex: 0 0 auto; width: var(--card-w, 250px);
  border-radius: var(--r-lg); overflow: hidden; background: var(--plaster);
  isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); mask-image: radial-gradient(white, black);
}
.reel--wide .reel-card { --card-w: min(80vw, 330px); aspect-ratio: 4 / 3; }
.reel--tall .reel-card { --card-w: min(64vw, 250px); aspect-ratio: 3 / 4; }
.reel-card__btn { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.reel-card__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.reel-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(20, 19, 23, .9) 0%, rgba(20, 19, 23, .5) 42%, rgba(20, 19, 23, 0) 70%);
}
/* cardurile înalte cu aparatura au texte mai lungi (STA), deci întunecarea urcă mai sus, ca titlul să se citească și pe 320px */
.reel--tall .reel-card::after { background: linear-gradient(to top, rgba(20, 19, 23, .92) 0%, rgba(20, 19, 23, .62) 48%, rgba(20, 19, 23, 0) 82%); }
.reel-card__overlay { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; display: grid; gap: 6px; text-align: left; pointer-events: none; }
.reel-card__title { font-size: 1.06rem; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: #fff; }
.reel-card__text { font-size: .875rem; line-height: 1.45; color: rgba(250, 246, 238, .9); }
.reel-card__by { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lilac); }
/* aparatura: culori aproape naturale (23 oct 2026; nuanțele lavandă și bej arătau ciudat pe poze) */
.reel--tint .reel-card__media { filter: saturate(.92) contrast(1.02); }
video.reel-card__media { cursor: pointer; }
/* semnul „play” apare doar cât timp clipul e oprit */
.play-badge {
  position: absolute; top: 50%; left: 50%; z-index: 2; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(31, 24, 48, .6); color: #fff; pointer-events: none; transition: opacity .25s;
}
.play-badge .ic { width: 22px; height: 22px; margin-left: 3px; }
.is-playing > .play-badge { opacity: 0; }
@media (hover: hover) {
  .reel-card:hover .reel-card__media { transform: scale(1.04); }
}

/* =========================================================
   LUCRĂRI
   ========================================================= */
.works { background: var(--plaster); }
.works__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: clamp(40px, 5vw, 56px); }
.work { aspect-ratio: 1; min-width: 0; }
.work--wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.work--full { grid-column: 1 / -1; }
.work__btn {
  position: relative; display: block; width: 100%; height: 100%;
  border-radius: var(--r); overflow: hidden; background: #15111d; cursor: zoom-in;
}
.work__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work__btn:hover img, .work__btn:focus-visible img { transform: scale(1.04); }
.work__cap {
  position: absolute; left: 12px; bottom: 12px;
  padding: 7px 13px; border-radius: 999px; background: var(--paper);
  font-size: .8125rem; font-weight: 600; color: var(--ink); text-align: left;
}
.work__zoom {
  position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); color: var(--ink);
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease);
}
.work__btn:hover .work__zoom, .work__btn:focus-visible .work__zoom { opacity: 1; transform: none; }
.work--cta { aspect-ratio: auto; }
.work__cta {
  height: 100%; min-height: 220px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px;
  padding: clamp(24px, 3vw, 40px); border-radius: var(--r); background: var(--violet); color: rgba(255, 255, 255, .9);
}
.work__cta-text p:last-child { margin-top: 10px; }
.work__cta-title { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.work__cta .btn { margin-top: 6px; }

/* =========================================================
   TEHNOLOGIE
   ========================================================= */
/* scanarea și lampa Philips Zoom: blocuri separate, mai mari (cerința clinicii) */
.features { display: grid; gap: 16px; margin-top: clamp(40px, 5vw, 56px); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border-radius: var(--r-lg); overflow: hidden; background: var(--night); color: var(--paper); }
.feature__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--plaster); }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.02); }
/* poza Philips e o fotografie de produs: întreagă, pe fundalul ei alb, fără tăiere și fără filtru */
.feature__media--product { background: #fff; }
.feature__media--product img { object-fit: contain; padding: 6% 6% 13%; filter: none; }
.feature__credit { position: absolute; left: 10px; bottom: 10px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: rgba(250, 246, 238, .92); color: var(--ink-soft); font-size: .8125rem; font-weight: 500; }
.feature__body { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(22px, 3vw, 36px); }
.feature__tag { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lilac); }
.feature h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.feature__body p:not(.feature__tag) { color: rgba(250, 246, 238, .86); font-size: 1rem; line-height: 1.6; }
.feature__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: pointer; background: var(--plaster); filter: saturate(.92) contrast(1.02); }
/* clipurile din containere rotunjite: decupare forțată (altfel Chrome lasă un colț negru) */
.feature { isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); mask-image: radial-gradient(white, black); }
.tech .reel { margin-top: 16px; }

/* =========================================================
   TRATAMENTE
   ========================================================= */
.treat { background: var(--plaster); }
.treat__grid { display: grid; gap: clamp(40px, 6vw, 96px); }
.treat__media { margin-top: clamp(28px, 3vw, 40px); }
.treat__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: var(--paper); }
.treat__list { border-top: 1px solid var(--line); }
.treat__item { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.treat__item h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.treat__item p { max-width: 54ch; color: var(--ink-soft); font-size: 1rem; }
.treat__doc {
  justify-self: start; margin-top: 4px;
  padding: 6px 12px; border-radius: 999px; background: var(--lavender);
  font-size: .8125rem; font-weight: 600; color: var(--violet); white-space: nowrap;
}

/* =========================================================
   MEDICI COLABORATORI — portrete 3:4, de mărime medie
   ========================================================= */
.team { overflow-x: hidden; overflow-x: clip; } /* cardurile intră din lateral (±32px) și altfel lărgeau pagina pe telefon */
/* pe telefon: Petra singură sus, Dragoș și Rania alături, Liana singură jos (4 semi-coloane, ca să se centreze cele singure) */
.team__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 16px; margin-top: clamp(36px, 5vw, 56px); }
.doc { display: flex; flex-direction: column; gap: 14px; min-width: 0; grid-column: span 2; }
.doc--top, .doc--bottom { grid-column: 2 / span 2; }
.doc__photo { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); background: var(--plaster); }
.doc__name { font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; }
.doc__role { margin-top: 4px; font-size: .95rem; line-height: 1.45; color: var(--ink-soft); }

/* =========================================================
   RECENZII
   ========================================================= */
.reviews { background: var(--night); color: var(--paper); }
.reviews__grid { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
.score {
  display: flex; align-items: center; gap: 18px; width: fit-content;
  margin-top: 30px; padding: 18px 26px 18px 22px; border-radius: var(--r);
  background: rgba(250, 246, 238, .06); box-shadow: inset 0 0 0 1px var(--line-light);
}
.score__value { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(3.2rem, 5vw, 4.3rem); line-height: .9; color: var(--lilac); }
.score__stars { display: flex; gap: 3px; color: var(--lilac); }
.score__stars .ic { width: 19px; height: 19px; }
.score__text { margin-top: 6px; font-size: .94rem; color: rgba(250, 246, 238, .8); }
.score__text strong { color: var(--paper); }
.reviews__note { margin: 18px 0 24px; font-size: .9rem; color: rgba(250, 246, 238, .64); }
.reviews__list { display: grid; gap: 16px; }
.review {
  margin: 0; padding: clamp(24px, 3vw, 32px); border-radius: var(--r-lg);
  background: rgba(250, 246, 238, .06); box-shadow: inset 0 0 0 1px var(--line-light);
}
.review__mark { display: block; width: 34px; height: 28px; margin-bottom: 18px; color: var(--lilac); }
.review p { font-size: 1.06rem; line-height: 1.62; color: var(--paper); }
.review footer { margin-top: 18px; font-size: .9rem; color: rgba(250, 246, 238, .7); }
.review footer b { color: var(--paper); font-weight: 600; }

/* =========================================================
   ÎNTREBĂRI FRECVENTE
   ========================================================= */
.faq__grid { display: grid; gap: clamp(36px, 5vw, 72px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: inherit; }
.faq-item__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding: 22px 0; text-align: left;
  font-size: 1.06rem; font-weight: 600; color: var(--ink);
}
.faq-item__btn .ic { width: 22px; height: 22px; transition: transform .35s var(--ease); }
.faq-item__btn[aria-expanded="true"] .ic { transform: rotate(45deg); }
.faq-item__panel { overflow: hidden; }
.js .faq-item__panel { height: 0; transition: height .4s var(--ease); }
.faq-item__panel p { padding-bottom: 22px; max-width: 64ch; color: var(--ink-soft); }
.faq-item__panel a { font-weight: 600; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--plaster); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.contact__media { position: relative; }
.contact__media img { width: 100%; aspect-ratio: 788 / 700; object-fit: cover; border-radius: var(--r-lg); background: var(--paper); }
.contact__body .status { margin-bottom: 8px; }
.details { margin-top: 18px; }
.details__row { display: grid; gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.details__row dt { display: flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.details__row dt .ic { width: 18px; height: 18px; color: var(--violet); }
.details__row dd { color: var(--ink); }
.details__phone { font-size: 1.55rem; font-weight: 600; letter-spacing: -.01em; text-decoration: none; }
.details__phone:hover { color: var(--violet); }
.hours { width: 100%; max-width: 340px; border-collapse: collapse; font-size: .98rem; }
.hours th { padding: 3px 0; text-align: left; font-weight: 500; color: var(--ink-soft); }
.hours td { padding: 3px 0; text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.off td { color: var(--muted); }
.hours tr.today th, .hours tr.today td { font-weight: 700; color: var(--ink); }
.hours tr.today th::after {
  content: "azi"; display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
  background: var(--violet); color: #fff; font-size: .8125rem; font-weight: 700; letter-spacing: .04em; vertical-align: 1px;
}
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.contact__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; font-size: .92rem; font-weight: 600; }
.contact__links a { color: var(--ink-soft); text-decoration: underline; text-decoration-color: rgba(28, 23, 38, .3); }
.contact__links a:hover { color: var(--ink); text-decoration-color: var(--violet); }

/* =========================================================
   SUBSOL
   ========================================================= */
.footer { background: var(--night); color: rgba(250, 246, 238, .82); }
.footer__cta {
  display: grid; justify-items: center; gap: 24px; text-align: center;
  padding-block: clamp(80px, 10vw, 128px) clamp(64px, 8vw, 96px); border-bottom: 1px solid var(--line-light);
}
.footer__mark { width: 92px; height: 84px; --roof: var(--lilac); --heart: var(--paper); stroke-width: 10; stroke-linejoin: round; }
.footer__cta .h2 { max-width: 16ch; }
.footer__grid { display: grid; gap: 36px 28px; padding-block: clamp(48px, 6vw, 72px); }
.footer__name { font-size: .86rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--paper); }
.footer__motto { margin-top: 10px; max-width: 22ch; font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.3; color: var(--paper); }
.footer__social { margin-top: 18px; }
.footer__social a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--lilac); text-decoration: none; }
.footer__social a:hover { text-decoration: underline; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: .95rem; }
.footer__title { margin-bottom: 4px; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(250, 246, 238, .62); }
.footer__col a { text-decoration: none; transition: color .25s; }
.footer__col a:hover { color: var(--lilac); }
.footer__meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px;
  padding-block: 24px 34px; border-top: 1px solid var(--line-light);
  font-size: .8125rem; color: rgba(250, 246, 238, .64);
}
.footer__meta a { color: rgba(250, 246, 238, .8); }

/* =========================================================
   LUCRARE MĂRITĂ
   ========================================================= */
.lightbox {
  width: min(1100px, 94vw); max-width: none; max-height: 94vh; padding: 0; border: 0;
  background: transparent; color: var(--paper); overflow: visible;
}
.lightbox::backdrop { background: rgba(20, 15, 30, .9); }
.lightbox__fig { display: grid; justify-items: center; gap: 14px; }
.lightbox__img { max-width: 100%; max-height: 80vh; width: auto; border-radius: var(--r-sm); background: #15111d; }
.lightbox__cap { font-size: .95rem; font-weight: 600; text-align: center; }
.lightbox__btn {
  position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--paper); color: var(--ink); transition: transform .3s var(--ease);
}
.lightbox__btn:hover { transform: scale(1.06); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 18px; top: 50%; margin-top: -24px; }
.lightbox[open] .lightbox__fig { animation: fadeUp .45s var(--ease) both; }

/* =========================================================
   APARIȚII LA SCROLL
   ========================================================= */
.js [data-rv] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-rv="left"] { transform: translateX(-32px); }
.js [data-rv="right"] { transform: translateX(32px); }
.js [data-rv].is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 640px) {
  .works__grid { gap: 14px; }
  .reel--wide .reel-card { --card-w: 330px; }
  .reel--tall .reel-card { --card-w: 260px; }
  /* de la tabletă în sus: romb, ca în schița clientei; Dragoș și Rania stau la jumătatea înălțimii dintre Petra și Liana */
  .team__list { grid-template-columns: repeat(3, minmax(0, 230px)); grid-template-rows: repeat(4, auto); justify-content: center; gap: 40px clamp(28px, 6vw, 88px); }
  .doc { grid-row: span 2; }
  .doc--top { grid-column: 2; grid-row: 1 / 3; }
  .doc--left { grid-column: 1; grid-row: 2 / 4; }
  .doc--right { grid-column: 3; grid-row: 2 / 4; }
  .doc--bottom { grid-column: 2; grid-row: 3 / 5; }
  .reviews__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .details__row { grid-template-columns: 150px 1fr; align-items: start; }
  .details__row dt { padding-top: 3px; }
}

@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

@media (min-width: 1100px) {
  .reel--wide .reel-card { --card-w: 380px; }
  /* aparatura: pe ecran mare încap toate patru, fără glisare */
  .reel--fit .reel__track { width: auto; }
  .reel--fit .reel-card { flex: 1 1 0; width: auto; min-width: 0; }
}

@media (min-width: 1024px) {
  .about__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .about__grid .stats { padding-top: 0; border-top: 0; }
  .works__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .treat__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .treat__side { position: sticky; top: 112px; align-self: start; }
  .treat__item { grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; }
  .treat__item h3, .treat__item p { grid-column: 1; }
  .treat__doc { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin-top: 2px; }
  .work__cta { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; min-height: 0; }
  .work__cta .btn { margin-top: 0; flex: none; }
  .reviews__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .faq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .faq__grid > div:first-child { position: sticky; top: 112px; }
  .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero__spec { display: flex; }
}


/* meniul pe ecrane mai mici: panou închis pe tot ecranul (ca la Nolte) */
@media (max-width: 1099.98px) {
  .header__cta { display: none; }
  .header__actions { margin-left: auto; } /* meniul e panou fix, deci butoanele se împing singure în colț */
  .header__call, .nav-toggle { display: inline-grid; }
  .nav {
    position: fixed; inset: 0; z-index: -1; margin: 0;
    display: flex; flex-direction: column; justify-content: center; gap: 30px;
    padding: 110px var(--pad) 48px; overflow-y: auto;
    background: var(--night);
    transform: translateY(-102%); transition: transform .6s var(--ease);
  }
  body.nav-open .nav { transform: none; }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__link {
    padding: 6px 0; font-size: clamp(1.7rem, 7vw, 2.4rem); font-weight: 500; letter-spacing: -.015em; color: var(--paper);
    opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .25s;
  }
  .nav__link::after { display: none; }
  .nav__link:hover, .nav__link.is-active { color: var(--lilac); }
  body.nav-open .nav__link { opacity: 1; transform: none; }
  body.nav-open .nav__list li:nth-child(1) .nav__link { transition-delay: .08s; }
  body.nav-open .nav__list li:nth-child(2) .nav__link { transition-delay: .13s; }
  body.nav-open .nav__list li:nth-child(3) .nav__link { transition-delay: .18s; }
  body.nav-open .nav__list li:nth-child(4) .nav__link { transition-delay: .23s; }
  body.nav-open .nav__list li:nth-child(5) .nav__link { transition-delay: .28s; }
  body.nav-open .nav__list li:nth-child(6) .nav__link { transition-delay: .33s; }
  .nav__extra { display: grid; justify-items: start; gap: 14px; opacity: 0; transition: opacity .5s var(--ease) .4s; }
  body.nav-open .nav__extra { opacity: 1; }
  .nav__addr { color: rgba(250, 246, 238, .7); }
  body.nav-open { overflow: hidden; }
  body.nav-open .header__inner { background: transparent; box-shadow: none; }
  body.nav-open .brand { color: var(--paper); }
  body.nav-open .brand__mark { --roof: var(--lilac); --heart: var(--paper); }
  body.nav-open .header__call { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(250, 246, 238, .4); }
  body.nav-open .nav-toggle { background: var(--paper); color: var(--ink); }
}

@media (min-width: 701px) and (max-width: 1100px) and (orientation: portrait) {
  .hero__media img { object-position: 80% 42%; }
}

@media (max-width: 700px) {
  /* pe telefon: poza umple spațiul rămas deasupra textului, apoi se topește în fundalul închis */
  .hero { display: grid; grid-template-rows: minmax(210px, 1fr) auto; align-items: stretch; }
  /* overflow: hidden, altfel la zoomul de la deschidere poza iese sub umbră și se vede o dungă verde (iarba) deasupra titlului */
  .hero__media { position: relative; inset: auto; z-index: 0; grid-row: 1; overflow: hidden; }
  .hero__media img { position: absolute; inset: 0; height: 100%; object-position: 86% 50%; }
  .hero__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(to top, var(--night), rgba(31, 24, 48, 0)); }
  .hero__scrim { display: none; }
  .hero__content { grid-row: 2; position: relative; z-index: 1; margin-top: -34px; padding-top: 0; padding-bottom: 44px; }
  .work__cap { left: 8px; bottom: 8px; padding: 5px 10px; font-size: .8125rem; }
  .work__zoom { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hl, .hl__in { display: inline; }
  .js .hl__in { animation: fadeUp .9s var(--ease) .15s both; }
  .stats { gap: 14px; }
  .stats dd { font-size: .84rem; }
}


@media (max-width: 520px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature__media { aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: 1fr; gap: 14px; }
  .stats > div { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 14px; }
  .stats dd { margin-top: 0; font-size: .95rem; }
}

@media (max-width: 420px) {
  .header { top: 10px; left: 10px; right: 10px; }
  .header__inner { padding-left: 14px; gap: 10px; }
  .brand { gap: 8px; }
  .brand__mark { width: 32px; height: 30px; }
  .brand__name { font-size: .8125rem; letter-spacing: .12em; }
  .contact__actions .btn { flex: 1 1 100%; }
}

/* fără animații pentru cine le-a dezactivat */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-rv] { opacity: 1; transform: none; transition: none; }
  .js .hero__media img, .js .hl__in, .js .hero__eyebrow, .js .hero__lead, .js .hero__actions, .js .hero__spec { animation: none; }
  .is-open .dot { animation: none; }
  .btn, .icon-btn, .work__btn img, .reel-card__media { transition: none; }
  .btn:hover, .icon-btn:hover { transform: none; }
}

/* =========================================================
   PAGINI SIMPLE (confidențialitate, 404)
   ========================================================= */
.page-top { padding-top: 130px; }
.legal { max-width: 780px; padding-bottom: clamp(72px, 9vw, 120px); }
.legal h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
.legal .upd { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.legal h2 { margin: 40px 0 12px; font-size: 1.35rem; letter-spacing: -.01em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 1.3em; }
.legal li { margin-bottom: 8px; }
.legal a { font-weight: 600; }
.notfound { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 120px var(--pad) 64px; }
.notfound__mark { width: 140px; height: 128px; --roof: var(--roof); --heart: var(--ink); stroke-width: 9; stroke-linejoin: round; }
.notfound h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.025em; }
.notfound p { max-width: 36ch; color: var(--ink-soft); }
.notfound .hero__actions { justify-content: center; }
