/* =========================================================
   Medtic Dental Rădăuți – stiluri
   Același sistem vizual ca site-ul Royal 3D Smile Design: antet transparent
   peste poze mari, casete deschise și închise, butoane drepte,
   Manrope pentru titluri și Work Sans pentru text.
   Culorile sunt cele ale brandului Medtic (albastru din logo).
   Clasele păstrează numele vechi (btn-brown, section-cream) ca să rămână
   compatibile cu sistemul; „brown” = culoarea închisă, „cream” = fundalul deschis.
   ========================================================= */

/* Fonturi găzduite pe site (fără cereri către Google Fonts) */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/manrope-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/manrope-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/worksans-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/worksans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --brown: #0F2D4F;
  --brown-header: #133A63;
  --ink: #0A1A2C;
  --cream: #E7EEF4;
  --panel: #F2F6F9;
  --white: #FFFFFF;
  --gold: #6CC0EE;
  --gold-fab: #2172C9;
  --muted: #4A5B6E;
  --line: rgba(10, 26, 44, .14);

  --head: "Manrope", system-ui, sans-serif;
  --body: "Work Sans", system-ui, sans-serif;

  --wrap: 1100px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(4rem, 8vw, 6.5rem);
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: .01em;
}

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

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); line-height: 1.15; }
h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.3rem); font-weight: 600; }
h1 strong, h2 strong { font-weight: 700; }

: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: 200;
  background: var(--white); color: var(--ink); padding: .6rem 1rem;
}
.skip:focus { top: 1rem; }

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

.section { padding-block: var(--section); }
.section-cream { background: var(--cream); }
.section-brown { background: var(--brown); color: var(--white); }

.center { text-align: center; }
.nowrap { white-space: nowrap; }
.intro {
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.intro p { margin-top: 1.25rem; font-size: 1.05rem; }

.lead { font-size: 1.05rem; max-width: 60ch; }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 20px;
  border: 0;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.btn::after {
  content: "";
  width: 7px; height: 7px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(-45deg);
  margin-left: .1rem;
}
.btn-brown { background: var(--brown); color: var(--white); }
.btn-brown:hover { background: var(--ink); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--cream); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
  text-decoration: none;
}
.link-more::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}
.link-more:hover { text-decoration: underline; }

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

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

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a {
  text-decoration: none;
  font-size: 1rem;
  white-space: nowrap;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--gold); }
.nav-cta { display: none; }

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.brand img { width: 58px; height: 58px; }
.brand-text {
  font-family: var(--head);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
}

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

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  place-items: center;
}
.bars, .bars::before, .bars::after {
  display: block;
  width: 24px; height: 2px;
  background: currentColor;
  position: relative;
  transition: transform .2s, background-color .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 cu poză (toate paginile) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(100svh, 900px);
  display: grid;
  place-items: center;
  padding: 150px var(--gutter) 90px;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.hero.short { min-height: min(78svh, 720px); }
.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(8, 24, 42, .55);
  z-index: -1;
}
.hero-content { max-width: 820px; }
.hero h1 strong { display: block; }
.hero-sub {
  margin-top: 1.75rem;
  font-family: var(--head);
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  font-weight: 600;
  line-height: 1.2;
}
.hero-text { margin-top: 1.5rem; font-size: 1.15rem; font-weight: 500; }
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.25rem;
}
.breadcrumb {
  margin-bottom: 1.25rem;
  font-size: .95rem;
  opacity: .9;
}
.breadcrumb a { color: inherit; }

/* ---------- Despre (poză + casetă maro) ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--brown);
  color: var(--white);
}
.about img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.about-box {
  display: grid;
  align-content: center;
  gap: 1.5rem;
  justify-items: start;
  padding: clamp(2rem, 5vw, 3.5rem);
}

/* ---------- De ce noi (carusel) ---------- */
.why {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) 1.25fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-left: max(var(--gutter), (100% - 1300px) / 2);
}
.why-text { display: grid; gap: 1.25rem; padding-top: 1rem; }
.why-text p { font-size: 1.05rem; }

.carousel { min-width: 0; }
.carousel-track {
  display: flex;
  gap: 1.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: .25rem;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; flex: 0 0 auto; }
.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.25rem;
  padding-right: var(--gutter);
}
.carousel-arrows { display: flex; gap: .9rem; }
.carousel-arrows button {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--brown);
  background: var(--cream);
  color: var(--brown);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.carousel-arrows button:hover { background: var(--brown); color: var(--white); }
.carousel-arrows svg { width: 16px; height: 16px; }
.section-brown .carousel-arrows button { border-color: var(--white); background: transparent; color: var(--white); }
.section-brown .carousel-arrows button:hover { background: var(--white); color: var(--brown); }
.carousel-dots { display: flex; gap: .4rem; }
.carousel-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(10, 26, 44, .3);
}
.carousel-dots span.active { background: var(--ink); }
.section-brown .carousel-dots span { background: rgba(255, 255, 255, .35); }
.section-brown .carousel-dots span.active { background: var(--white); }

.why-card {
  width: 254px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.6rem;
  background: var(--cream);
}
.why-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--cream);
  display: grid;
  place-items: center;
}
.why-icon svg { width: 26px; height: 26px; }
.why-card p { font-family: var(--head); font-weight: 600; font-size: 1.1rem; line-height: 1.4; }

/* ---------- Echipa (carduri alternante) ---------- */
.team-cards { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
.team-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--panel);
}
.team-card:nth-child(even) > :first-child { order: 2; }
.team-card img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}
.team-card-text {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3.5rem);
}

/* Carusel de poze din cabinet */
.office-track .office-slide {
  width: min(78vw, 640px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.office-slide img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Recenzii ---------- */
.review-card {
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.6rem;
  background: var(--panel);
  color: var(--ink);
}
.stars { color: var(--brown); font-size: 1.35rem; letter-spacing: .12em; }
.review-card p { font-size: .97rem; }
.review-card footer { margin-top: auto; font-size: .9rem; font-weight: 600; }

.video-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.video-frame {
  width: min(100%, 340px);
  aspect-ratio: 9 / 16;
  background: #000;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.rating-box { display: grid; gap: 1rem; justify-items: start; }
.rating-box strong {
  font-family: var(--head);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 300;
  line-height: 1;
}

/* ---------- Servicii (carduri cu poză) ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.service-grid.two { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.service-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.service-grid.two .service-card img { aspect-ratio: 1 / .85; }
.service-card-body {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
}
.service-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--brown);
  line-height: 1.35;
}
.service-card p { font-size: .95rem; }
.service-card .link-more { margin-top: auto; }
.section-actions { display: flex; justify-content: center; margin-top: 3rem; }

/* ---------- Pacient nou (casetă albă peste poză) ---------- */
.start {
  position: relative;
  isolation: isolate;
  padding: clamp(5rem, 12vw, 9rem) var(--gutter);
  display: grid;
  place-items: center;
}
.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: 540px;
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}
.start-box h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }

/* ---------- Formular ---------- */
.form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.form-section > img {
  width: 100%;
  height: 100%;
  max-height: 720px;
  object-fit: cover;
}
.form { display: grid; gap: 1.1rem; }
.form > p { font-size: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .95rem; font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem .9rem;
  border: 1px solid #C3CFDA;
  border-radius: 0;
  background: var(--white);
  font: inherit;
  color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--brown); box-shadow: 0 0 0 2px rgba(15, 45, 79, .2); }
.form .btn { justify-self: start; }
.form-note { font-size: .88rem; color: var(--muted); }

/* ---------- Pagini interioare ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--panel);
}
.service-detail + .service-detail { margin-top: clamp(2.5rem, 6vw, 4rem); }
.service-detail:nth-of-type(even) > :first-child { order: 2; }
.service-detail > img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}
.service-detail-text {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1.25rem;
  padding: clamp(2rem, 5vw, 3.5rem);
}
.service-detail-text h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }

.checklist {
  list-style: none;
  padding: 0;
  display: grid;
  gap: .7rem;
}
.checklist li { position: relative; padding-left: 1.75rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: .1rem; top: .35em;
  width: .45rem; height: .8rem;
  border-right: 2px solid var(--brown);
  border-bottom: 2px solid var(--brown);
  transform: rotate(45deg);
}
.section-brown .checklist li::before,
.about-box .checklist li::before { border-color: var(--gold); }
.about-box .checklist { margin-block: .25rem; }

.urgent {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--brown);
  color: var(--white);
}
.urgent h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.urgent p { margin-top: .75rem; max-width: 60ch; }

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: pas;
}
.steps li {
  counter-increment: pas;
  padding: 1.75rem 1.5rem;
  background: var(--cream);
  color: var(--ink);
}
.steps li::before {
  content: counter(pas);
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--white);
  font-family: var(--head);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.section-cream .steps li { background: var(--white); }
.steps h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .4rem; }
.steps p { font-size: .95rem; }

.faq { max-width: 860px; margin-inline: auto; }
.faq details {
  background: var(--white);
  padding: 1.25rem 1.5rem;
}
.faq details + details { margin-top: .75rem; }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.15rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  color: var(--brown);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .8rem; max-width: 70ch; }

/* Echipa */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.member { background: var(--white); }
.member img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 20%;
}
.member-body { padding: 1.25rem 1.25rem 1.5rem; display: grid; gap: .35rem; }
.member h3 { font-size: 1.3rem; font-weight: 700; color: var(--brown); }
.member-role { font-weight: 600; font-size: .9rem; }
.member p:last-child { font-size: .93rem; }

.team-photo img { width: 100%; }

.portraits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.portraits img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; }

/* Rezultate */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.result { background: var(--white); }
.result button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.result img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.result figcaption { padding: 1.1rem 1.25rem 1.3rem; font-size: .95rem; }
.result figcaption strong {
  display: block;
  font-family: var(--head);
  font-size: 1.15rem;
  color: var(--brown);
}

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 1000px);
  max-height: 92vh;
}
.lightbox::backdrop { background: rgba(6, 16, 28, .9); }
.lightbox img { max-height: 86vh; width: auto; margin-inline: auto; }
.lightbox-close {
  position: fixed;
  top: 1rem; right: 1rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* Blog */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  text-decoration: none;
}
.post-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.post-card-body {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.5rem;
  flex: 1;
}
.post-meta { font-size: .88rem; color: var(--muted); }
.post-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--brown); line-height: 1.35; }
.post-card p { font-size: .95rem; }
.post-card .link-more { margin-top: auto; }

.prose {
  max-width: 70ch;
  margin-inline: auto;
  font-size: 1.1rem;
  line-height: 1.75;
}
.prose > * + * { margin-top: 1.2em; }
.prose h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-top: 2em;
  font-weight: 700;
}
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--brown); }
.prose blockquote {
  padding: 1.5rem 1.75rem;
  background: var(--cream);
  font-family: var(--head);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.45;
}
.prose a { color: var(--brown); font-weight: 500; }
.note {
  margin-top: 3rem;
  padding: 1.75rem;
  background: var(--brown);
  color: var(--white);
  font-size: 1rem;
}
.note a { color: var(--gold); }

/* Contact */
.contact-list { display: grid; }
.contact-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}
.contact-list dt { font-weight: 600; }
.contact-list dd a { text-underline-offset: 3px; }
.status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
}
.status::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
}
.status.open::before { background: #52C27A; }

.map { min-height: 380px; background: var(--cream); margin-top: 2rem; }
.map-consent {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .9rem;
  width: 100%;
  min-height: 380px;
  padding: 2rem;
  border: 0;
  background: var(--panel) url("/img/logo.svg") no-repeat center 18% / 64px;
  color: var(--muted);
  font: inherit;
  font-size: .92rem;
  text-align: center;
  cursor: pointer;
}
.map-consent-title { margin-top: 3rem; font-family: var(--head); font-size: 1.3rem; font-weight: 700; color: var(--brown); }
.map-consent a { color: var(--brown); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ---------- Înainte / după (glisor) ---------- */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}
.ba { background: var(--white); }
.ba-frame {
  position: relative;
  overflow: hidden;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  --pos: 50%;
}
.ba-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-line {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--white);
  box-shadow: 0 0 8px rgba(10, 26, 44, .35);
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  width: 48px; height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: var(--white);
  color: var(--brown);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px -6px rgba(10, 26, 44, .55);
  pointer-events: none;
}
.ba-handle svg { width: 26px; height: 26px; }
.ba-label {
  position: absolute;
  top: 1rem;
  padding: .3rem .7rem;
  background: rgba(10, 26, 44, .7);
  color: var(--white);
  font-size: .85rem;
  font-weight: 500;
  pointer-events: none;
}
.ba-label-before { left: 1rem; }
.ba-label-after { right: 1rem; }
.ba-range {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.ba-frame:has(.ba-range:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.ba figcaption { padding: 1.1rem 1.25rem 1.3rem; font-size: .95rem; }
.ba figcaption strong {
  display: block;
  font-family: var(--head);
  font-size: 1.15rem;
  color: var(--brown);
}
.ba-hint { margin-top: 1.25rem; text-align: center; font-size: .9rem; color: var(--muted); }
.results-grid.two { grid-template-columns: repeat(2, 1fr); margin-top: 1.25rem; }
.results-grid.two .result img { aspect-ratio: 16 / 9; }

/* ---------- Plata în rate ---------- */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.pay-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--white);
  color: var(--ink);
}
.section-white .pay-card, .pay-card.alt { background: var(--cream); }
.pay-tag {
  align-self: start;
  padding: .3rem .7rem;
  background: var(--cream);
  color: var(--brown);
  font-size: .85rem;
  font-weight: 600;
}
.pay-card h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 700; color: var(--brown); }
.pay-card p { font-size: .98rem; }
.pay-card .checklist { font-size: .98rem; }
.pay-note { margin-top: 1.75rem; text-align: center; font-size: .92rem; opacity: .85; }

/* ---------- All-on-4 / All-on-6 ---------- */
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.option-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--white);
}
.option-num {
  font-family: var(--head);
  font-size: clamp(3.5rem, 7vw, 5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--brown);
}
.option-num small { font-size: .3em; font-weight: 600; margin-left: .4rem; letter-spacing: .02em; }
.option-card h3 { font-size: 1.5rem; font-weight: 700; color: var(--brown); }
.feature-tag {
  display: inline-block;
  margin-bottom: .25rem;
  color: var(--gold);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Carduri implanturi (colț decupat cu săgeată) ----------
   Colțul din dreapta sus e „decupat” cu un bloc în culoarea fundalului secțiunii
   (--notch-bg) și două racordări concave făcute cu radial-gradient. */
.offer-grid {
  --notch: 68px;
  --notch-r: 18px;
  --notch-bg: var(--cream);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.25rem 1.4rem 1.6rem;
  border-radius: 20px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: box-shadow .25s, transform .25s;
}
a.offer-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -18px rgba(15, 45, 79, .35); }
.offer-corner {
  position: absolute;
  top: 0; right: 0;
  width: var(--notch); height: var(--notch);
  display: grid;
  place-items: end start;
  background: var(--notch-bg);
  border-bottom-left-radius: 26px;
  z-index: 1;
}
.offer-corner::before,
.offer-corner::after {
  content: "";
  position: absolute;
  width: var(--notch-r); height: var(--notch-r);
  background: radial-gradient(circle at 0 100%, transparent calc(var(--notch-r) - .5px), var(--notch-bg) var(--notch-r));
}
.offer-corner::before { top: 0; left: calc(-1 * var(--notch-r)); }
.offer-corner::after { right: 0; bottom: calc(-1 * var(--notch-r)); }
.offer-arrow {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  transform: translate(8px, -8px);
  border-radius: 50%;
  background: var(--brown);
  color: var(--white);
  transition: background-color .2s, transform .25s;
}
.offer-arrow svg { width: 16px; height: 16px; }
.offer-card:hover .offer-arrow,
.offer-corner:hover .offer-arrow { background: var(--gold-fab); transform: translate(8px, -8px) rotate(45deg); }
.offer-tag {
  align-self: flex-start;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: var(--brown);
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.offer-img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  margin: .5rem 0 .9rem;
}
.offer-card h3 { font-size: 1.4rem; font-weight: 700; color: var(--brown); }
.offer-meta { font-size: .9rem; font-weight: 600; color: var(--gold-fab); }
.offer-card p:not(.offer-meta) { font-size: .95rem; color: var(--muted); }

.offer-card-dark {
  padding-top: 2.25rem;
  background: var(--brown);
  color: var(--white);
}
.offer-card-dark h3 { color: var(--white); margin-bottom: .6rem; padding-right: calc(var(--notch) - 1rem); }
.offer-list { list-style: none; padding: 0; display: grid; gap: .1rem; margin-bottom: 1.25rem; }
.offer-list a {
  display: block;
  padding: .35rem 0;
  color: rgba(255, 255, 255, .85);
  font-size: .9rem;
  line-height: 1.4;
  text-decoration: none;
}
.offer-list a:hover { color: var(--gold); }
.offer-card-dark .link-more { margin-top: auto; font-weight: 600; color: var(--white); }
.offer-card-dark .link-more:hover { color: var(--gold); }

.offer-note {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin: 3rem auto 0;
  text-align: center;
  font-size: 1.05rem;
  color: var(--muted);
}

@media (max-width: 1200px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer-img { height: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  a.offer-card:hover { transform: none; }
}

/* ---------- Recenzii (benzi care alunecă, carduri înclinate 3D) ----------
   main.js dublează conținutul fiecărei benzi, iar animația o mută cu -50%,
   deci bucla e continuă. Banda se oprește la hover sau focus. */
.reviews-section { overflow: hidden; }
.reviews-rating {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  color: rgba(255, 255, 255, .8);
}
.reviews-rating strong { color: var(--white); font-size: 1.15rem; }
.reviews-rating .g-logo { width: 20px; height: 20px; }
.reviews-marquee {
  display: grid;
  gap: 1.25rem;
  padding-block: .5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.reviews-track {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  width: max-content;
  padding-block: .75rem;
  animation: review-drift 160s linear infinite;
  will-change: transform;
}
.reviews-track--reverse { animation-name: review-drift-reverse; animation-duration: 190s; }
.reviews-marquee:hover .reviews-track,
.reviews-marquee:focus-within .reviews-track { animation-play-state: paused; }
@keyframes review-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes review-drift-reverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.review-float {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  width: 300px;
  flex-shrink: 0;
  padding: 1.15rem 1.25rem 1.3rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: var(--white);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transform: perspective(1400px) translateZ(var(--z, 0)) rotateY(var(--ry, 0deg));
  opacity: var(--o, 1);
  transition: transform .4s, opacity .4s, background-color .25s, border-color .25s;
}
/* înclinări diferite, ca benzile să pară că plutesc */
.review-float:nth-child(5n+1) { --ry: -10deg; --z: -60px; --o: .85; }
.review-float:nth-child(5n+2) { --ry: 6deg; }
.review-float:nth-child(5n+3) { --ry: -4deg; --z: -20px; }
.review-float:nth-child(5n+4) { --ry: 12deg; --z: -90px; --o: .8; }
.review-float:nth-child(5n+5) { --ry: -7deg; --z: -40px; --o: .92; }
.review-float:hover,
.review-float:focus-visible {
  --ry: 0deg; --z: 30px; --o: 1;
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .28);
}
.review-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.review-who { font-size: .85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-who span { font-weight: 400; color: rgba(255, 255, 255, .65); }
.review-float .g-logo { width: 18px; height: 18px; flex-shrink: 0; }
.review-stars { color: #F5B83D; font-size: .95rem; letter-spacing: .1em; }
.review-quote { font-size: .95rem; line-height: 1.55; color: rgba(255, 255, 255, .88); }
.reviews-section .section-actions { margin-top: 2.5rem; }

/* Fereastra cu recenziile complete */
.reviews-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: min(86vh, 900px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5);
  overflow: hidden;
}
.reviews-dialog[open] { display: flex; flex-direction: column; animation: dialog-in .25s ease-out; }
.reviews-dialog::backdrop { background: rgba(10, 26, 44, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.reviews-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem 1.1rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.reviews-dialog-head h2 { font-size: 1.2rem; font-weight: 700; color: var(--brown); }
.reviews-dialog-close {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--brown);
  cursor: pointer;
}
.reviews-dialog-close:hover { background: var(--brown); color: var(--white); }
.reviews-dialog-close svg { width: 16px; height: 16px; }
.reviews-dialog-list {
  list-style: none;
  margin: 0;
  padding: 1rem 1.25rem;
  display: grid;
  gap: .75rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.review-full {
  display: grid;
  gap: .6rem;
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  background: var(--panel);
}
.review-full.is-current { background: var(--cream); box-shadow: inset 0 0 0 2px var(--gold-fab); }
.review-full-head { display: flex; align-items: center; gap: .75rem; }
.review-full-head > div { display: grid; flex: 1; line-height: 1.3; }
.review-full-head strong { font-size: .95rem; color: var(--brown); }
.review-full-head span { font-size: .8rem; color: var(--muted); }
.review-full-head .g-logo { width: 18px; height: 18px; flex-shrink: 0; }
.review-avatar {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brown);
  color: var(--white);
  font-weight: 600;
}
.review-full .review-stars { font-size: .9rem; }
.review-full p { font-size: .95rem; line-height: 1.6; color: var(--ink); }
.reviews-dialog-foot { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--line); display: flex; justify-content: center; }
.reviews-dialog-foot .btn { padding: 14px 18px; white-space: normal; text-align: center; }
.reviews-marquee.is-paused .reviews-track { animation-play-state: paused; }
html:has(.reviews-dialog[open]) { overflow: hidden; }

@media (max-width: 600px) {
  .review-float { width: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; }
  .reviews-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .review-float { --ry: 0deg !important; --z: 0 !important; --o: 1 !important; }
}

/* ---------- Footer ---------- */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
}
.footer-legal-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .9rem; }
.footer-legal-links a { text-decoration: none; opacity: .85; }
.footer-legal-links a:hover { opacity: 1; text-decoration: underline; }
.footer-anpc { display: inline-block; line-height: 0; border-radius: 6px; background: var(--white); }
.footer-anpc img { width: 201px; height: 50px; }


.footer {
  background: var(--brown);
  color: var(--white);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1.2fr .8fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-logo img { width: 110px; height: 110px; }
.footer h3 {
  font-family: var(--body);
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: .8rem;
}
.footer p + p { margin-top: .3rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.5rem 2rem;
  font-size: .88rem;
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: inherit;
  text-decoration: none;
  opacity: .75;
  transition: opacity .2s;
}
.footer-credit:hover { opacity: 1; }
.webthat-logo {
  display: block;
  height: 18px;
  aspect-ratio: 1000 / 173;
  background: currentColor;
  -webkit-mask: url("/img/webthat-logo.png") no-repeat center / contain;
          mask: url("/img/webthat-logo.png") no-repeat center / contain;
}
.footer-social { display: flex; gap: 1.25rem; }
.footer-social svg { width: 20px; height: 20px; }

/* ---------- Butoane plutitoare ---------- */
.fabs {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 90;
  display: grid;
  gap: .7rem;
}
.fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(10, 26, 44, .5);
  transition: transform .2s;
}
.fab:hover { transform: translateY(-2px); }
.fab svg { width: 28px; height: 28px; }
.fab-wa { background: #25D366; }
.fab-call { background: var(--gold-fab); }
.fab-call svg { width: 25px; height: 25px; }

/* ---------- Responsive ---------- */
@media (max-width: 1500px) {
  .nav { gap: 1.25rem; }
}

@media (max-width: 1200px) {
  .header-actions .btn-white { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .portraits { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-logo { grid-column: 1 / -1; }
}

@media (max-width: 1360px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .menu-toggle { display: grid; }
  .brand { justify-self: start; order: -1; }
  .header-actions .btn { padding: 12px 16px; font-size: .9rem; }
  .header-actions .btn::after { display: none; }
  .nav {
    position: fixed;
    inset: 98px 0 auto;
    max-height: calc(100svh - 98px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem var(--gutter) 1.5rem;
    background: var(--brown-header);
    overflow-y: auto;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .15); font-size: 1.1rem; }
  .nav-cta { display: inline-flex; margin-top: 1.25rem; border-bottom: 0 !important; }
}

@media (max-width: 1000px) {
  .about,
  .team-card,
  .service-detail,
  .form-section,
  .video-row { grid-template-columns: 1fr; }
  .team-card:nth-child(even) > :first-child,
  .service-detail:nth-of-type(even) > :first-child { order: 0; }
  .about img, .team-card img, .service-detail > img { min-height: 0; max-height: 420px; }
  .why { grid-template-columns: 1fr; padding-left: var(--gutter); }
  .results-grid, .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .urgent { grid-template-columns: 1fr; }
  .urgent .btn { justify-self: start; }
  .video-row { justify-items: center; text-align: center; }
  .rating-box { justify-items: center; }
}

@media (max-width: 600px) {
  .header-inner { padding-block: .9rem; }
  .brand img { width: 46px; height: 46px; }
  .brand-text { font-size: 1.15rem; }
  .header-actions .btn { display: none; }
  .nav { inset: 78px 0 auto; max-height: calc(100svh - 78px); }
  .hero { padding-top: 120px; }
  .hero-actions .btn { width: 100%; }
  .service-grid,
  .service-grid.two,
  .results-grid,
  .results-grid.two,
  .posts-grid,
  .pay-grid,
  .option-grid,
  .team-grid,
  .steps,
  .form-row { grid-template-columns: 1fr; }
  .portraits { grid-template-columns: repeat(2, 1fr); }
  .service-card img { aspect-ratio: 16 / 11; }
  .why-card { width: 230px; min-height: 260px; }
  .review-card { width: 280px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-list div { grid-template-columns: 1fr; gap: .2rem; }
  .fab { width: 52px; height: 52px; }
}

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