/* =====================================================================
   Exemplu pachet BUSINESS — Smaltis, clinică stomatologică (Cluj-Napoca)
   Stil: profesionist, structură bogată. Alb curat, teal medical,
   bleumarin pentru zonele de încredere, coral doar ca accent.
   Font: Plus Jakarta Sans (găzduit local, SIL Open Font License 1.1).
   ===================================================================== */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-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 {
  --bg: #FFFFFF;
  --soft: #F1F7F8;
  --ink: #0D2A33;
  --muted: #4A636D;
  --line: #DAE6E9;
  --teal: #0B7A83;
  --teal-dark: #075E66;
  --teal-soft: #E1F1F2;
  --navy: #0D2A33;
  --coral: #F07A52;
  --radius: 20px;
  --shadow: 0 24px 48px -30px rgba(13, 42, 51, 0.35);
  --head: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html {
  scroll-padding-top: 96px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.65 var(--body);
}

a {
  color: var(--teal);
}

::selection {
  background: var(--teal);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 32px);
}

/* ---------- Butoane ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font: 600 0.98rem/1.1 var(--body);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.25s var(--ease-out);
}

.btn-primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 14px 30px -16px rgba(11, 122, 131, 0.9);
}

.btn-outline {
  color: var(--teal-dark);
  background: #fff;
  border: 1.5px solid #B9D9DC;
}

.btn-light {
  color: var(--navy);
  background: #fff;
}

.btn:active {
  transform: scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-2px);
  }

  .btn-primary:hover {
    background: var(--teal-dark);
  }

  .btn-outline:hover {
    border-color: var(--teal);
  }

  .btn:hover svg {
    transform: translateX(3px);
  }
}

/* Ecrane înguste: textul lung al unui buton trece pe două rânduri, nu iese din casetă */
@media (max-width: 479px) {
  .btn {
    padding-top: 12px;
    padding-bottom: 12px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}

.link-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease-out);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- Bara de sus (program + urgențe) ---------- */
.topbar {
  display: none;
  background: var(--navy);
  color: #C9DCE1;
  font-size: 0.84rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 40px;
}

.topbar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar svg {
  width: 15px;
  height: 15px;
  color: #6FD3DA;
}

.topbar-group {
  display: flex;
  gap: 28px;
}

@media (min-width: 900px) {
  .topbar {
    display: block;
  }
}

/* ---------- Antet ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
}

.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: 0 14px 30px -22px rgba(13, 42, 51, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.site-header.is-scrolled::before,
.site-header.nav-open::before {
  opacity: 1;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
}

.brand-name {
  display: block;
  font: 700 1.06rem/1.1 var(--head);
  letter-spacing: -0.015em;
}

.brand-sub {
  display: block;
  margin-top: 3px;
  font-size: 0.75rem;
  line-height: 1.2;
  color: var(--muted);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -6px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle-bars {
  position: relative;
  width: 20px;
  height: 14px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after,
.nav-toggle-bars span {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}

.nav-toggle-bars::before {
  top: 0;
}

.nav-toggle-bars span {
  top: 6px;
}

.nav-toggle-bars::after {
  bottom: 0;
}

.nav-open .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle-bars span {
  opacity: 0;
}

.nav-open .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 10px clamp(18px, 5vw, 32px) 22px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 26px 40px -30px rgba(13, 42, 51, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
}

.nav-open .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s ease, transform 0.3s var(--ease-out), visibility 0s;
}

html:not(.js) .nav-panel {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
}

html:not(.js) .nav-toggle {
  display: none;
}

.nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.nav-list a[aria-current="page"] {
  color: #08666E;   /* teal mai închis: ≥ 4,5:1 și pe antetul colorat */
  font-weight: 600;
}

.nav-cta {
  width: 100%;
  margin-top: 16px;
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .nav-panel {
    position: static;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .nav-list {
    display: flex;
    gap: 6px;
  }

  .nav-list a {
    position: relative;
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    font-size: 0.95rem;
  }

  .nav-list a[aria-current="page"] {
    background: var(--teal-soft);
  }

  .nav-list a:hover {
    color: var(--teal);
  }

  .nav-cta {
    width: auto;
    margin: 0;
    min-height: 46px;
    padding: 0 22px;
    font-size: 0.93rem;
  }
}

/* ---------- Tipografie ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-dark);
}

.chip-dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal-soft);
}

.chip-dot svg {
  width: 14px;
  height: 14px;
}

.kicker {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--head);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.h1 {
  font-size: clamp(2.3rem, 6.6vw, 3.3rem);
  line-height: 1.07;
}

.h1 em {
  font-style: normal;
  color: var(--teal);
}

.h2 {
  font-size: clamp(1.8rem, 4.4vw, 2.6rem);
  line-height: 1.12;
}

.lead {
  margin: 20px 0 0;
  max-width: 36em;
  font-size: clamp(1.02rem, 2.3vw, 1.14rem);
  line-height: 1.7;
  color: var(--muted);
}

.section-head {
  max-width: 660px;
  margin: 0 0 44px;
}

.section-head .lead {
  margin-top: 14px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  max-width: none;
}

.section-head--row > div {
  max-width: 640px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 40px 0 64px;
  background: linear-gradient(180deg, #FFFFFF 0%, #EEF7F8 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  right: -180px;
  top: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 122, 131, 0.1), rgba(11, 122, 131, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 44px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-note svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--teal);
}

@media (max-width: 479px) {
  .hero-actions .btn {
    width: 100%;
  }
}

@media (min-width: 980px) {
  .hero {
    padding: 72px 0 104px;
  }

  .hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 56px;
  }
}

/* Vizualul din hero: SVG + două carduri de interfață care plutesc ușor */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.hero-visual svg {
  width: 100%;
  height: auto;
}

.float-card {
  position: absolute;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 22px 44px -22px rgba(13, 42, 51, 0.45), 0 0 0 1px rgba(13, 42, 51, 0.05);
  font-size: 0.84rem;
  line-height: 1.35;
}

.float-card strong {
  display: block;
  font-family: var(--head);
  font-size: 0.95rem;
  color: var(--ink);
}

.float-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.fc-1 {
  top: 6%;
  left: 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 230px;
}

.fc-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
}

.fc-icon svg {
  width: 20px;
  height: 20px;
}

.fc-slots {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.fc-slots span {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
}

.fc-slots .is-on {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.fc-2 {
  right: 0;
  bottom: 8%;
  width: 210px;
}

.fc-2 ul {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.fc-2 li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.fc-2 li span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
}

.fc-2 li span svg {
  width: 11px;
  height: 11px;
}

.fc-2 li.is-next span {
  background: #fff;
  border: 1.5px dashed #9CC3C7;
}

.js .float-card {
  animation: floatY 6s ease-in-out infinite alternate;
}

.js .fc-2 {
  animation-delay: -3s;
}

@keyframes floatY {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -10px, 0); }
}

/* Ecrane mici: cardurile devin compacte și stau pe margini, departe de dinte */
@media (max-width: 559px) {
  .float-card {
    padding: 9px 11px;
    border-radius: 13px;
    font-size: 0.76rem;
  }

  .float-card strong {
    font-size: 0.84rem;
  }

  .float-card small {
    display: none;
  }

  .fc-1 {
    top: 0;
    gap: 9px;
    max-width: 178px;
  }

  .fc-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .fc-icon svg {
    width: 16px;
    height: 16px;
  }

  .fc-slots {
    gap: 4px;
    margin-top: 7px;
  }

  .fc-slots span {
    padding: 3px 7px;
    font-size: 0.7rem;
  }

  .fc-slots span:nth-child(3) {
    display: none;
  }

  .fc-2 {
    bottom: 0;
    width: 150px;
  }

  .fc-2 ul {
    gap: 5px;
    margin-top: 7px;
  }

  .fc-2 li span {
    width: 16px;
    height: 16px;
  }
}

/* Bandă cu beneficii, suprapusă peste finalul hero-ului */
.perks {
  position: relative;
  z-index: 2;
  margin-top: -36px;
}

.perks-card {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
}

@media (min-width: 640px) {
  .perks-card {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .perks-card {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.perk {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
}

.perk-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal);
}

.perk-icon svg {
  width: 22px;
  height: 22px;
}

.perk strong {
  display: block;
  font-family: var(--head);
  font-size: 1rem;
}

.perk span {
  display: block;
  margin-top: 2px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Secțiuni ---------- */
.section {
  padding: clamp(72px, 10vw, 112px) 0;
}

.section--soft {
  background: var(--soft);
}

.grid-3 {
  display: grid;
  gap: 18px;
}

@media (min-width: 680px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (min-width: 1000px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease-out);
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-5px);
  }

  .card:hover::after {
    opacity: 1;
  }
}

.icon-circle {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
}

.icon-circle svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  font-size: 1.22rem;
  line-height: 1.25;
}

.card p {
  margin: 10px 0 0;
  font-size: 0.97rem;
  color: var(--muted);
}

.card .link-arrow {
  margin-top: auto;
  padding-top: 12px;
}

/* Despre (teaser) */
.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }

  .split--rev > :first-child {
    order: 2;
  }
}

.art-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(160deg, #E6F3F4, #F6FAFB);
  border: 1px solid var(--line);
}

.art-frame svg {
  width: 100%;
  height: auto;
}

.tick-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
}

.tick-list span {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
}

.tick-list span svg {
  width: 14px;
  height: 14px;
}

/* Pașii unei vizite */
.process {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 680px) {
  .process {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

.process li {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.process-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font: 700 0.95rem/1 var(--head);
}

.process h3 {
  font-size: 1.1rem;
}

.process p {
  margin: 8px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Blog (exemplu de conținut) */
.blog-note {
  margin: 20px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.post {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.post-art {
  display: grid;
  place-items: center;
  height: 150px;
  background: linear-gradient(135deg, #DDEFF1, #F2F8F9);
  color: var(--teal);
}

.post-art svg {
  width: 56px;
  height: 56px;
}

.post:nth-child(2) .post-art {
  background: linear-gradient(135deg, #FCE7DE, #FFF6F2);
  color: var(--coral);
}

.post:nth-child(3) .post-art {
  background: linear-gradient(135deg, #E3E8F4, #F5F7FB);
  color: #3D5A99;
}

.post-body {
  padding: 22px 24px 26px;
}

.post-meta {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}

.post h3 {
  font-size: 1.12rem;
  line-height: 1.35;
}

.post p {
  margin: 10px 0 0;
  font-size: 0.94rem;
  color: var(--muted);
}

.example-tag {
  color: #B8471F;   /* coral închis: contrast ≥ 4,5:1 */
}

/* Întrebări frecvente */
.faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq details {
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 16px 22px;
  font: 600 1.04rem/1.35 var(--head);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%230B7A83' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform 0.3s var(--ease-out);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

/* Bandă CTA */
.cta-band {
  position: relative;
  padding: clamp(40px, 7vw, 64px);
  border-radius: 28px;
  background: var(--navy);
  color: #D5E5E9;
  overflow: hidden;
}

.cta-band::before,
.cta-band::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-band::before {
  right: -90px;
  top: -110px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(20, 163, 173, 0.45), rgba(20, 163, 173, 0) 70%);
}

.cta-band::after {
  left: 38%;
  bottom: -160px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

@media (min-width: 900px) {
  .cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
  }
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.15;
}

.cta-band p {
  margin: 12px 0 0;
  color: rgba(213, 229, 233, 0.85);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #fff;
  font-weight: 600;
}

.cta-phone svg {
  width: 20px;
  height: 20px;
  color: #6FD3DA;
}

@media (max-width: 479px) {
  .cta-actions .btn {
    width: 100%;
  }
}

/* ---------- Pagini interioare ---------- */
.page-hero {
  position: relative;
  padding: 40px 0 60px;
  background: linear-gradient(180deg, #FFFFFF 0%, #EEF7F8 100%);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(11, 122, 131, 0.12);
  pointer-events: none;
}

@media (min-width: 980px) {
  .page-hero {
    padding: 64px 0 84px;
  }
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--muted);
}

.crumbs li + li::before {
  content: '›';
  margin-right: 8px;
  color: #8FB3B8;
}

.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: -12px 0;
  color: var(--muted);
}

.anchor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.anchor-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.anchor-chips a:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* Servicii detaliate */
.svc-blocks {
  display: grid;
  gap: 20px;
}

.svc-block {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
}

@media (min-width: 900px) {
  .svc-block {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 44px;
    align-items: start;
  }
}

.svc-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.svc-title .icon-circle {
  margin: 0;
}

.svc-block h2 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  line-height: 1.2;
}

.svc-block p {
  margin: 14px 0 0;
  color: var(--muted);
}

.svc-inc {
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--soft);
}

.svc-inc h3 {
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.svc-inc ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-inc li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.97rem;
}

.svc-inc li svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--teal);
}

/* Valori + echipă */
.values {
  display: grid;
  gap: 16px;
}

@media (min-width: 680px) {
  .values {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .values {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.team {
  display: grid;
  gap: 18px;
}

@media (min-width: 680px) {
  .team {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.member {
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
}

.member svg {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
}

.member h3 {
  font-size: 1.12rem;
}

.member p {
  margin: 8px 0 0;
  font-size: 0.94rem;
  color: var(--muted);
}

.team-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

/* ---------- Programare (formular avansat) ---------- */
.contact-grid {
  display: grid;
  gap: 22px;
  align-items: start;
}

@media (min-width: 1000px) {
  .contact-grid {
    grid-template-columns: 1.22fr 0.78fr;
    gap: 28px;
  }
}

.form-card,
.side-card {
  padding: clamp(22px, 4vw, 40px);
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.form-card {
  box-shadow: var(--shadow);
}

.form-card h2,
.side-card h2 {
  font-size: 1.45rem;
}

.form-card > p {
  margin: 8px 0 26px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .field--full {
    grid-column: 1 / -1;
  }
}

.field label,
.field .label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.field .opt {
  font-weight: 400;
  color: var(--muted);
}

.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid #CFDFE2;
  border-radius: 14px;
  background: #FBFDFD;
  font-size: 1rem;
  line-height: 1.4;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230B7A83' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.field input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.field.has-error input:not([type="checkbox"]),
.field.has-error select,
.field.has-error textarea {
  border-color: #C2412A;
  background: #FFF8F6;
}

.field-error {
  display: flex;
  gap: 6px;
  color: #A8371F;
  font-weight: 500;
}

.field-hint {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.radio-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.radio-chips legend {
  width: 100%;
  margin-bottom: 8px;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.radio-chips label {
  position: relative;
  display: inline-flex;
  margin: 0;
  cursor: pointer;
}

.radio-chips input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.radio-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid #CFDFE2;
  background: #FBFDFD;
  font-size: 0.92rem;
  font-weight: 500;
}

.radio-chips input:checked + span {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.radio-chips input:focus-visible + span {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.check-field input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--teal);
}

.check-field label {
  margin: 0;
  font-weight: 400;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

@media (max-width: 639px) {
  .form-actions .btn {
    width: 100%;
  }
}

.form-demo-note {
  color: var(--muted);
}

.form-status.is-ok {
  background: var(--teal-soft);
  color: var(--teal-dark);
  border: 1px solid #BFE0E3;
}

.form-status.is-error {
  background: #FDEEE9;
  color: #92301B;
  border: 1px solid #F5CFC3;
}

.side-stack {
  display: grid;
  gap: 18px;
}

.side-list {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.side-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.side-list .fc-icon {
  width: 40px;
  height: 40px;
}

.side-list strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.side-list span {
  display: block;
  margin-top: 2px;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.hours {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours th,
.hours td {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 500;
}

.hours td {
  text-align: right;
  color: var(--muted);
}

.hours tr:last-child th,
.hours tr:last-child td {
  border-bottom: 0;
}

.map-art {
  margin-top: 18px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-art svg {
  width: 100%;
  height: auto;
}

.map-caption {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- Subsol ---------- */
.site-footer {
  padding: 72px 0 32px;
  background: var(--navy);
  color: #B7CDD3;
}

.footer-grid {
  display: grid;
  gap: 36px;
}

@media (min-width: 680px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
  }
}

.site-footer .brand {
  color: #fff;
}

.site-footer .brand-sub {
  color: #9FB9C0;
}

.footer-about {
  margin: 16px 0 0;
  max-width: 34ch;
  font-size: 0.95rem;
}

.footer-title {
  margin: 0 0 12px;
  font: 700 0.8rem/1.3 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6FD3DA;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-links span {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #DCE8EB;
  text-decoration: none;
  font-size: 0.96rem;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #8FA9B0;
}

/* =====================================================================
   BUSINESS — strat de mișcare („wow" moderat, profesionist)
   Mecanica e în ../assets/motion.css + motion.js. Aici doar aspectul.
   Doar transform + opacity. Pe telefon: mai puține straturi, fără tilt.
   ===================================================================== */
:root {
  --progress: linear-gradient(90deg, #0B7A83, #14A3AD 65%, #F07A52);
}

/* ---------- Apariții la derulare: puțin mai ample, decalate ---------- */
@media (prefers-reduced-motion: no-preference) {
  .motion .reveal {
    transform: translate3d(0, 30px, 0) scale(0.985);
    transition-duration: 0.9s, 0.9s;
  }
}

/* ---------- Hero: fundal viu, discret ---------- */
.hero-grid,
.page-hero > .wrap {
  z-index: 1;
}

.page-hero > .wrap {
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.hb-1 {
  left: -220px;
  top: -260px;
  width: 640px;
  height: 640px;
  background: radial-gradient(closest-side, rgba(20, 163, 173, 0.2), rgba(20, 163, 173, 0));
  animation: hbDrift1 22s ease-in-out infinite alternate;
}

.hb-2 {
  right: -180px;
  bottom: -240px;
  width: 560px;
  height: 560px;
  background: radial-gradient(closest-side, rgba(240, 122, 82, 0.13), rgba(240, 122, 82, 0));
  animation: hbDrift2 26s ease-in-out infinite alternate;
}

.hb-3 {
  left: 36%;
  top: 18%;
  width: 440px;
  height: 440px;
  background: radial-gradient(closest-side, rgba(11, 122, 131, 0.1), rgba(11, 122, 131, 0));
  animation: hbDrift3 30s ease-in-out infinite alternate;
}

@keyframes hbDrift1 {
  to { transform: translate3d(150px, 90px, 0) scale(1.15); }
}

@keyframes hbDrift2 {
  to { transform: translate3d(-170px, -80px, 0) scale(1.2); }
}

@keyframes hbDrift3 {
  to { transform: translate3d(-130px, 70px, 0) scale(0.85); }
}

/* Forme plutitoare (SVG în elemente HTML, ca animația să rămână pe placa video) */
.fl {
  position: absolute;
  width: 20px;
  height: 20px;
  color: var(--teal);
  opacity: 0;
  animation: flIn 1.4s var(--ease-out) 0.6s forwards, flFloat 9s ease-in-out infinite alternate;
}

.fl svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fl-1 { left: 5%; top: 14%; --o: 0.4; }
.fl-2 { left: 47%; top: 7%; width: 26px; height: 26px; color: var(--coral); --o: 0.35; animation-delay: 0.7s, -2s; }
.fl-3 { right: 7%; top: 58%; width: 15px; height: 15px; --o: 0.35; animation-delay: 0.8s, -4s; }
.fl-4 { left: 2.5%; bottom: 20%; width: 30px; height: 30px; --o: 0.2; animation-delay: 0.9s, -6s; }
.fl-5 { right: 44%; bottom: 7%; width: 16px; height: 16px; --o: 0.3; animation-delay: 1s, -3s; }
.fl-6 { right: 17%; top: 6%; color: var(--coral); --o: 0.4; animation-delay: 1.1s, -5s; }

@keyframes flIn {
  to { opacity: var(--o, 0.35); }
}

@keyframes flFloat {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(0, -18px, 0) rotate(24deg); }
}

@media (max-width: 899px) {
  .hb-3,
  .fl-3,
  .fl-4,
  .fl-5 {
    display: none;
  }

  /* Pe telefon formele stau lângă ilustrație, departe de titlu */
  .fl-1 { left: auto; right: 7%; top: auto; bottom: 36%; }
  .fl-2 { left: 5%; top: auto; bottom: 30%; }
  .fl-6 { right: 10%; top: auto; bottom: 6%; }

  .hb-1 {
    width: 460px;
    height: 460px;
  }

  .hb-2 {
    width: 400px;
    height: 400px;
  }
}

/* Titlul intră cinematic, cuvânt cu cuvânt, după ce pagina e gata */
.hero .h1,
.page-hero .h1 {
  --split-delay: 120ms;
}

/* ---------- Butoane: reflex de lumină la hover, apăsare clară ---------- */
.btn-primary {
  overflow: hidden;
  isolation: isolate;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary::after {
    transition: transform 0.8s var(--ease-out);
  }

  .btn-primary:hover::after {
    transform: translateX(120%);
  }
}

.btn:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

/* ---------- Meniu: legăturile intră pe rând (telefon), pastilă fină la hover (desktop) ---------- */
@media (max-width: 899px) {
  .motion .nav-list li,
  .motion .nav-cta {
    opacity: 0;
    transform: translate3d(0, -8px, 0);
    transition: opacity 0.3s ease, transform 0.45s var(--ease-out);
  }

  .motion .nav-open .nav-list li,
  .motion .nav-open .nav-cta {
    opacity: 1;
    transform: none;
  }

  .motion .nav-open .nav-list li:nth-child(2) { transition-delay: 0.04s; }
  .motion .nav-open .nav-list li:nth-child(3) { transition-delay: 0.08s; }
  .motion .nav-open .nav-list li:nth-child(4) { transition-delay: 0.12s; }
  .motion .nav-open .nav-cta { transition-delay: 0.16s; }
}

@media (min-width: 900px) {
  .nav-list a {
    isolation: isolate;
  }

  .nav-list a::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--teal-soft);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.25s ease, transform 0.35s var(--ease-out);
  }

  .nav-list a:hover::before {
    opacity: 0.8;
    transform: none;
  }
}

/* ---------- Carduri: tilt + lumină pe desktop, apăsare pe telefon ---------- */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 0%), rgba(20, 163, 173, 0.12), rgba(20, 163, 173, 0) 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.card.is-tilting::before,
.card.is-tilting::after {
  opacity: 1;
}

.icon-circle {
  transition: transform 0.45s var(--ease-out);
}

.post {
  transition: transform 0.35s var(--ease-out);
}

.post-art svg {
  transition: transform 0.5s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover .icon-circle {
    transform: rotate(-8deg) scale(1.08);
  }

  .post:hover {
    transform: translateY(-4px);
  }

  .post:hover .post-art svg {
    transform: scale(1.12) rotate(-6deg);
  }
}

@media (hover: none) {
  .card,
  .post,
  .member,
  .perk {
    transition: transform 0.2s var(--ease-out);
  }

  .card:active,
  .post:active,
  .member:active,
  .perk:active {
    transform: scale(0.985);
  }
}

/* ---------- Cifre animate (marcate „Exemplu de conținut") ---------- */
.stats {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  margin: 0;
  padding: 16px 14px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.stat-num {
  display: block;
  font: 700 clamp(1.7rem, 4.6vw, 2.25rem)/1 var(--head);
  letter-spacing: -0.02em;
  color: var(--teal);
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--muted);
}

.stats-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 14px 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
}

/* ---------- „Cum decurge o vizită", povestit la derulare ---------- */
.story-grid {
  display: grid;
  gap: 8px;
}

.story-stage {
  position: sticky;
  top: 76px;
  z-index: 2;
  padding-top: 8px;
  padding-bottom: 14px;
  background: var(--bg);
}

.story-stage::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 26px;
  background: linear-gradient(var(--bg), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.story-card {
  position: relative;
  padding: 16px 18px 10px;
  border-radius: 24px;
  background: linear-gradient(160deg, #F4FAFB, #E7F3F4);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.story-top {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--teal-dark);
}

.story-count {
  flex: none;
}

.story-count b {
  font: 700 1rem/1 var(--head);
  color: var(--ink);
}

.story-bar {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: rgba(11, 122, 131, 0.14);
  overflow: hidden;
}

.story-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}

.story-scenes {
  position: relative;
  height: 196px;
  margin-top: 4px;
}

.scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(0.96);
  transition: opacity 0.5s ease, transform 0.7s var(--ease-out);
}

.scene.is-active {
  opacity: 1;
  transform: none;
}

.scene .pop {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 0.4s ease, transform 0.6s var(--ease-out);
}

.scene.is-active .pop {
  opacity: 1;
  transform: none;
  transition-delay: 0.12s;
}

.scene.is-active .pop-2 {
  transition-delay: 0.28s;
}

.scene.is-active .pop-3 {
  transition-delay: 0.44s;
}

.story-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-step {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 42vh;
  padding: 18px 4px;
  opacity: 0.9;
  transform: scale(0.98);
  transition: opacity 0.45s ease, transform 0.6s var(--ease-out);
}

.story-step:last-child {
  min-height: 34vh;
}

.story-step.is-active {
  opacity: 1;
  transform: none;
}

html:not(.js) .story-step {
  opacity: 1;
  transform: none;
}

.story-step .process-num {
  flex: none;
  margin: 0;
}

.story-step h3 {
  font-size: 1.2rem;
  line-height: 1.25;
}

.story-step p {
  margin: 8px 0 0;
  color: var(--muted);
}

/* Ecrane joase (telefon culcat): fără scenă fixă, ca textul să aibă loc */
@media (max-height: 560px) {
  .story-stage {
    position: relative;
    top: auto;
  }

  .story-step {
    min-height: 0;
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 900px) {
  .story-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
  }

  .story-stage {
    top: max(110px, calc(50vh - 250px));
    padding: 0;
    background: none;
  }

  .story-stage::after {
    display: none;
  }

  .story-card {
    padding: 26px 28px 18px;
    border-radius: 28px;
  }

  .story-scenes {
    height: auto;
    aspect-ratio: 4 / 3;
    margin-top: 12px;
  }

  .story-steps {
    gap: 0;
  }

  .story-steps {
    position: relative;
    padding-left: 34px;
  }

  /* Linia de progres de lângă pași */
  .story-steps::before,
  .story-steps::after {
    content: '';
    position: absolute;
    left: 0;
    top: 12vh;
    bottom: 12vh;
    width: 2px;
    border-radius: 2px;
    background: var(--line);
  }

  .story-steps::after {
    background: linear-gradient(var(--teal), #14A3AD);
    transform-origin: 50% 0;
    transform: scaleY(var(--p, 0));
  }

  .story-step {
    min-height: 50vh;
    padding: 0;
    gap: 22px;
  }

  .story-step:last-child {
    min-height: 46vh;
  }

  .story-step .process-num {
    width: 52px;
    height: 52px;
    font-size: 1.1rem;
  }

  .story-step h3 {
    font-size: 1.7rem;
  }

  .story-step p {
    font-size: 1.08rem;
    max-width: 26em;
  }
}

@media (min-width: 900px) and (max-height: 560px) {
  .story-step,
  .story-step:last-child {
    min-height: 0;
    padding: 20px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-step {
    transform: none;
  }
}

/* ---------- Banda de programare: lumina se mișcă lent ---------- */
.cta-band::before {
  animation: ctaGlow 14s ease-in-out infinite alternate;
}

@keyframes ctaGlow {
  to { transform: translate3d(-90px, 60px, 0) scale(1.25); }
}

@media (max-width: 899px) {
  .page-hero .fl {
    display: none;
  }
}

/* Tabletă: scena fixă puțin mai mare */
@media (min-width: 600px) and (max-width: 899px) {
  .story-scenes {
    height: 250px;
  }
}

.crumbs a {
  min-width: 44px;
}

/* =====================================================================
   BUSINESS — nivelul 2 de mișcare (business.js)
   Apariții decalate pe rânduri, titluri cuvânt cu cuvânt, banda de servicii,
   pași povestiți mai clari, contoare cu bară, „Clinica în cifre”.
   ===================================================================== */

/* ---------- Apariții decalate: elementele din același rând intră pe rând ---------- */
.js [data-stagger] > :not(.is-shown) {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.985);
}

.bz-on [data-stagger] > .is-in:not(.is-shown) {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.95s var(--ease-out);
  transition-delay: calc(var(--si, 0) * 95ms);
}

/* Plasă de siguranță: dacă business.js nu pornește, totul apare după 3 secunde */
html.js:not(.bz-on) [data-stagger] > :not(.is-shown) {
  animation: bzShow 0.01s linear 3s forwards;
}

@keyframes bzShow {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Banda cu servicii (decorativă; lista reală e în secțiunea de mai jos) ---------- */
.marquee {
  position: relative;
  margin-top: clamp(40px, 6vw, 64px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: bzMarquee 46s linear infinite;
}

.marquee-group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 34px;
  padding: 18px 17px;
  margin: 0;
  list-style: none;
}

.marquee-group li {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  font: 600 clamp(1.02rem, 2.4vw, 1.3rem)/1.2 var(--head);
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.marquee-group li::after {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.55;
}

.marquee-group li:nth-child(3n)::after {
  background: var(--coral);
}

@keyframes bzMarquee {
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 899px) {
  .marquee-track {
    animation-duration: 60s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ---------- Pași povestiți: pasul activ iese clar în față ---------- */
.js .story-step {
  opacity: 0.42;
}

.js .story-step.is-active {
  opacity: 1;
}

.story-step .process-num {
  position: relative;
  transition: transform 0.5s var(--ease-out);
}

.story-step .process-num::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.story-step .process-num::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(11, 122, 131, 0.35);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s ease, transform 0.6s var(--ease-out);
}

.story-step.is-active .process-num {
  transform: scale(1.06);
}

.story-step.is-active .process-num::before {
  opacity: 1;
}

.story-step.is-active .process-num::after {
  opacity: 1;
  transform: none;
}

/* cifra rămâne deasupra fundalului colorat */
.story-step .process-num {
  isolation: isolate;
}

.story-step .process-num::before {
  z-index: -1;
}

@media (max-height: 560px) {
  .js .story-step {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .story-step {
    opacity: 1;
  }
}

/* ---------- Contoare: bara se umple odată cu cifra ---------- */
.stat {
  position: relative;
  overflow: hidden;
}

.stat::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--teal), #14A3AD 70%, var(--coral));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.5s var(--ease-out);
}

.is-counted .stat::after {
  transform: scaleX(1);
}

.is-counted .stat:nth-child(2)::after { transition-delay: 0.12s; }
.is-counted .stat:nth-child(3)::after { transition-delay: 0.24s; }
.is-counted .stat:nth-child(4)::after { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .stat::after {
    transform: scaleX(1);
  }
}

/* ---------- „Clinica în cifre” (pagina Despre) ---------- */
.numbers {
  position: relative;
  padding: clamp(56px, 8vw, 88px) 0;
  background: var(--navy);
  color: #CFE0E4;
  overflow: hidden;
}

.numbers::before {
  content: '';
  position: absolute;
  left: -160px;
  top: -200px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 163, 173, 0.32), rgba(20, 163, 173, 0));
  pointer-events: none;
  animation: hbDrift1 24s ease-in-out infinite alternate;
}

.numbers .wrap {
  position: relative;
}

.numbers-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 28px;
  margin-bottom: 34px;
}

.numbers .kicker {
  color: #6FD3DA;
}

.numbers .h2 {
  color: #fff;
}

.numbers .example-tag {
  color: #F5A98C;
}

.numbers .stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 900px) {
  .numbers .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

.numbers .stat {
  padding: 24px 22px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.numbers .stat-num {
  font-size: clamp(2.2rem, 6vw, 3.1rem);
  color: #fff;
}

.numbers .stat-label {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #B7CDD3;
}

.numbers .stats-note {
  margin-top: 20px;
  color: #9FB9C0;
}

/* =====================================================================
   Smaltis — detalii de site real
   ===================================================================== */
:root {
  --ck-bg: #FFFFFF;
  --ck-fg: var(--ink);
  --ck-muted: var(--muted);
  --ck-line: var(--line);
  --ck-accent: var(--teal);
  --ck-accent-fg: #FFFFFF;
  --ck-soft: var(--soft);
  --ck-radius: 20px;
  --ck-btn-radius: 999px;
  --ck-font: var(--body);
  --open-color: #11724A;
  --closed-color: #B23A21;
}

.topbar .open-status {
  --open-color: #7FE0B3;
  --open-ring: rgba(127, 224, 179, 0.2);
  --closing-color: #FFC978;
  --closed-color: #FFA591;
  --closed-ring: rgba(255, 165, 145, 0.2);
}

.topbar .ext {
  color: #FFFFFF;
  font-weight: 600;
}

/* ---------- Fotografia din hero ---------- */
.hero-visual {
  isolation: isolate;
}

.hero-visual::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 7% -3% -5% 9%;
  border-radius: 36px;
  background: linear-gradient(140deg, #14A3AD, #0A6F77);
  opacity: 0.16;
  transform: rotate(3deg);
}

.hero-photo {
  margin: 0;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 28px;
  background: var(--teal-soft);
  box-shadow: 0 34px 60px -36px rgba(13, 42, 51, 0.55);
}

.hero-visual .fc-1 {
  top: auto;
  bottom: 5%;
  left: 8px;
}

.hero-visual .fc-2 {
  top: 5%;
  bottom: auto;
  right: 8px;
}

@media (min-width: 1100px) {
  .hero-visual .fc-1 {
    left: -28px;
  }

  .hero-visual .fc-2 {
    right: -24px;
  }
}

/* ---------- Carduri de servicii: preț ---------- */
.card-price {
  margin: 14px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.card-price strong {
  color: var(--teal-dark);
  font-size: 1.06rem;
  font-weight: 800;
}

.card p.card-price {
  margin-top: 14px;
}

/* ---------- Fotografii în rame ---------- */
.art-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

/* ---------- Blog ---------- */
.post-art {
  display: block;
  height: auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--teal-soft);
}

.post-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .post:hover .post-art img {
    transform: scale(1.04);
  }
}

.post-meta span {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

/* ---------- Echipa ---------- */
.member {
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.member img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--teal-soft);
}

.member-body {
  padding: 20px 22px 24px;
}

.member .member-role {
  margin: 4px 0 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--teal-dark);
}

/* ---------- Servicii: prețuri ---------- */
.svc-prices {
  margin: 20px 0 6px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.svc-prices li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}

.svc-prices span {
  color: var(--ink);
}

.svc-prices strong {
  flex: none;
  max-width: 50%;
  text-align: right;
  color: var(--teal-dark);
  font-weight: 800;
}

.svc-note {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- Programări: date de contact ---------- */
.side-list .side-sub {
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--muted);
}

.side-list .side-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.side-list .ext {
  font-size: 0.95rem;
}

.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font: 600 0.85rem/1 var(--body);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s var(--ease-out);
}

.chip-btn svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}

.chip-btn:hover {
  border-color: var(--teal);
}

.chip-btn:active {
  transform: scale(0.97);
}

.side-card .open-status {
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.map-art text {
  font-family: var(--body);
}

button.cta-phone {
  padding: 0;
  border: 0;
  background: none;
  font: 600 1rem/1.2 var(--body);
  cursor: pointer;
  text-decoration: none;
}

/* ---------- Subsol ---------- */
.site-footer .open-status {
  margin: 10px 0 0;
  font-size: 0.9rem;
  --open-color: #7FE0B3;
  --open-ring: rgba(127, 224, 179, 0.2);
  --closing-color: #FFC978;
  --closed-color: #FFA591;
  --closed-ring: rgba(255, 165, 145, 0.2);
}

.footer-links .ext {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #DCE8EB;
  font-size: 0.96rem;
  text-decoration: none;
}

.footer-links .ext:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer .social-links button {
  border-color: rgba(255, 255, 255, 0.22);
  color: #DCE8EB;
}

.footer-bottom {
  align-items: center;
}

.footer-bottom a {
  color: #DCE8EB;
}

/* ---------- Pagini scurte: legal, 404 ---------- */
.legal {
  max-width: 780px;
}

.legal h2 {
  margin: 38px 0 10px;
  font-size: 1.35rem;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal ul {
  padding-left: 1.2em;
}

.legal-note {
  margin: 0 0 8px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #FFF4EE;
  border: 1px solid #F6D8CB;
  color: #7A3B24;
  font-size: 0.92rem;
}

.nf {
  text-align: center;
}

.nf-code {
  margin: 0 0 8px;
  font: 800 clamp(4.5rem, 16vw, 8rem)/1 var(--head);
  letter-spacing: -0.04em;
  color: var(--teal);
}

.nf .lead {
  margin-left: auto;
  margin-right: auto;
}

.nf .hero-actions {
  justify-content: center;
}

.site-footer .footer-legal a,
.site-footer .footer-legal button {
  color: #C9DCE1;
}
