:root {
  --ink: #0f172a;
  --body: #1e293b;
  --mute: #64748b;
  --line: #e2e8f0;
  --paper: #ffffff;
  --page: #f8fafc;
  --brand: #2563eb;
  --brand-hover: #1d4ed8;
  --navy: #0a1929;
  --sans: "DM Sans", system-ui, sans-serif;
  --display: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}
body.site {
  margin: 0;
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  font-family: var(--sans);
  color: var(--body);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2rem);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(10px);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.nav__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
  background: var(--brand);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: -0.03em;
}

.nav__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
}

.nav__links a {
  color: var(--mute);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); }

.nav__drawer-label {
  display: none;
}

.nav__burger {
  display: none;
  appearance: none;
  position: relative;
  z-index: 22;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav__burger:hover,
.nav__burger:focus-visible {
  border-color: var(--line);
  background: var(--paper);
}
.nav__burger:active {
  background: transparent;
}
.nav__burger span {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
  transform-origin: center;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__backdrop {
  display: none;
}

@media (max-width: 720px) {
  .nav__name {
    font-size: 0.95rem;
  }
  .nav__burger { display: inline-flex; }

  .nav__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 18;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease);
  }
  body.is-nav-open .nav__backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 19;
    box-sizing: border-box;
    display: flex;
    width: min(18.5rem, 88%);
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    margin: 0;
    padding: 0 1.25rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: var(--paper);
    border-left: 1px solid var(--line);
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.12);
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transition: transform 0.25s var(--ease), visibility 0.25s var(--ease);
  }
  .nav__drawer-label {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    /* același rând ca headerul / butonul X */
    min-height: calc(0.85rem + 2.5rem + 0.85rem);
    margin: 0 0 0.55rem;
    padding: 0 3rem 0 0.95rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
  }
  body.is-nav-open .nav__links {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav__links a {
    display: block;
    padding: 0.85rem 0.95rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    color: var(--ink);
  }
  .nav__links a:hover,
  .nav__links a[aria-current="page"] {
    background: var(--page);
    color: var(--brand);
  }

  body.is-nav-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
  }
  /* Headerul rămâne pe ecran când body e „înghețat” la scroll */
  body.is-nav-open .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--paper);
    backdrop-filter: none;
  }
  body.is-nav-open .nav__burger {
    background: transparent;
    border-color: transparent;
  }
  body.is-nav-open .nav__links {
    touch-action: pan-y;
  }
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.45rem 0.95rem !important;
  border-radius: 0.7rem;
  background: var(--brand) !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.nav__cta:hover { background: var(--brand-hover) !important; }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(78svh, 42rem);
  display: grid;
  align-items: end;
  overflow: clip;
  color: #fff;
}

/* Landing: hero umple ecranul (sub nav) — Prețuri doar după scroll */
body.site--landing {
  --nav-h: calc(0.85rem + 2.5rem + 0.85rem);
}
body.site--landing .hero.landing-page {
  min-height: calc(100svh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  box-sizing: border-box;
}

.hero__media,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__media { z-index: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.04);
  animation: hero-zoom 16s var(--ease) both;
}

.hero__veil {
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(10, 25, 41, 0.88) 0%, rgba(10, 25, 41, 0.55) 48%, rgba(10, 25, 41, 0.28) 100%),
    linear-gradient(180deg, rgba(10, 25, 41, 0.2) 0%, rgba(10, 25, 41, 0.55) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.5rem 0 3rem;
  animation: rise 0.8s var(--ease) both;
}

.hero__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #93c5fd;
}

.hero__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 8vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  max-width: 12ch;
}

.hero__lead {
  margin: 1rem 0 0;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border: 0;
  border-radius: 0.75rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn[hidden] {
  display: none !important;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
}
.btn--primary:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.banner {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.14);
  color: #fde68a;
  font-size: 0.875rem;
}

/* —— Sections —— */
main {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.75rem 0 1rem;
  display: grid;
  gap: 2.5rem;
}

/* Index: hero full-bleed + secțiuni în flow */
body.site--landing main.landing-pages {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
}
body.site--landing .landing-pages > #preturi {
  width: min(1100px, calc(100% - 2rem));
  margin: 2.75rem auto 0;
}
body.site--landing .landing-pages > #contact {
  width: min(1100px, calc(100% - 2rem));
  margin: 2.5rem auto 0;
}
body.site--landing > .foot {
  margin-top: 2rem;
}

.section {
  animation: rise 0.7s 0.05s var(--ease) both;
}

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.section__head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.section__head p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mute);
}

.prices {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.prices li {
  margin: 0;
  padding: 0;
  border: 0;
}

.prices .price-btn {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition:
    border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    transform 0.18s var(--ease),
    background 0.18s var(--ease);
}
.prices .price-btn:hover,
.prices .price-btn:focus-visible {
  border-color: #93c5fd;
  background: #f8fbff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
  outline: none;
}
.prices .price-btn:active {
  transform: translateY(1px);
}
.prices .price-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.prices .price-list__name {
  font-size: 1rem;
  font-weight: 650;
  color: var(--ink);
  text-align: left;
}
.prices .price-list__name em {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--mute);
}
.prices .price-list__val {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.prices .price-list__val small {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mute);
  margin-left: 0.15rem;
}
.prices__empty {
  padding: 1.1rem 1.2rem;
  color: var(--mute);
  font-size: 0.9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.section--contact {
  padding: 0;
  border-radius: 1.25rem;
  background: transparent;
  color: #fff;
  overflow: hidden;
}

.contact-panel {
  position: relative;
  border-radius: 1.25rem;
  background: var(--navy);
  overflow: hidden;
  min-height: 16rem;
}

.contact-panel__map {
  display: none;
  pointer-events: none;
}

@media (min-width: 720px) {
  .contact-panel__map {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(34%, 20rem);
    z-index: 0;
  }
  .contact-panel__map::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("harta.jpg?v=1") center / cover no-repeat;
    opacity: 0.42;
    filter: saturate(0.85) contrast(1.05);
  }
  .contact-panel__map::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      90deg,
      var(--navy) 0%,
      rgba(10, 25, 41, 0.96) 8%,
      rgba(10, 25, 41, 0.5) 42%,
      rgba(10, 25, 41, 0.18) 100%
    );
  }
}

.contact-panel__body {
  position: relative;
  z-index: 1;
  padding: 1.75rem;
}

@media (min-width: 720px) {
  .contact-panel__body {
    width: min(100%, calc(100% - 7rem));
    max-width: none;
    padding: 1.75rem 1.5rem 1.75rem 1.75rem;
  }
}

.section--contact .section__head {
  margin-bottom: 1.15rem;
}
.section--contact .section__head h2 { color: #fff; }

.contact {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 700px) {
  .contact {
    grid-template-columns: minmax(12rem, 0.85fr) minmax(16rem, 1.35fr);
    column-gap: clamp(3rem, 10vw, 7rem);
    row-gap: 1.5rem;
    align-items: start;
  }
  .contact__item:last-child {
    justify-self: end;
    text-align: left;
    min-width: 14rem;
    padding-right: 0.5rem;
  }
}

.contact__item h3 {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93c5fd;
}

.contact__item p {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.contact__phones {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0.15rem;
}

.contact__phones p {
  margin: 0;
}

.contact__person {
  display: grid;
  gap: 0.2rem;
}

.contact__person-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93c5fd;
}

.contact__phone {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}
.contact__phone:hover { color: #bfdbfe; text-decoration: underline; }

.text-link {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #bfdbfe;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.text-link:hover { color: #fff; text-decoration: underline; }
.text-link.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.foot {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.foot__inner {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 1.75rem;
  font-size: 0.85rem;
}
.foot__brand {
  font-family: var(--display);
  font-weight: 750;
  color: var(--ink);
}

/* —— Modal —— */
.modal[hidden] { display: none !important; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: end center;
  padding: 0;
}
@media (min-width: 640px) {
  .modal { place-items: center; padding: 1.5rem; }
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 41, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: modal-fade 0.22s var(--ease);
}
.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(22.5rem, 100%);
  background: var(--paper);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1.25rem 1.25rem 0 0;
  padding: 1.35rem 1.25rem calc(1.35rem + env(safe-area-inset-bottom));
  box-shadow:
    0 -8px 32px rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  animation: modal-rise 0.28s var(--ease);
}
@media (min-width: 640px) {
  .modal__dialog {
    border-radius: 1.15rem;
    padding: 1.5rem 1.4rem 1.4rem;
    box-shadow:
      0 24px 56px rgba(15, 23, 42, 0.16),
      0 0 0 1px rgba(255, 255, 255, 0.7) inset;
  }
}
.modal__dialog:focus {
  outline: none;
}
.modal__dialog:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.modal__head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 4.2vw, 1.35rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.2;
  padding-right: 0.25rem;
}
.modal__x {
  appearance: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin: -0.2rem -0.2rem 0 0;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--page);
  color: var(--mute);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.modal__x:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: var(--brand);
}
.modal__x:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.modal__name {
  margin: 0 0 0.75rem;
  color: var(--mute);
  font-size: 0.875rem;
  font-weight: 600;
}
.modal__dialog--phone .modal__lead {
  margin: 0 0 1.15rem;
}
.modal__calls {
  display: grid;
  gap: 0.75rem;
}
.modal__contact {
  display: grid;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.modal__contact-info {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}
.modal__call-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mute);
}
.modal__phone {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 5vw, 1.55rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.2;
  word-break: break-word;
}
.modal__dial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 2.85rem;
  padding: 0.75rem 1.1rem;
  border: 0;
  border-radius: 0.85rem;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.modal__dial:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.34);
}
.modal__dial:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.modal__dial-icon {
  display: inline-flex;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}
.modal__dial-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.modal__contact.is-disabled {
  opacity: 0.55;
}
.modal__contact.is-disabled .modal__dial {
  pointer-events: none;
  box-shadow: none;
}
.modal__phone-footer {
  margin-top: 1rem;
}
.btn--soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.65rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--paper);
  color: var(--body);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--soft:hover {
  background: var(--page);
  border-color: #cbd5e1;
  color: var(--ink);
}
.btn--soft:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

body.modal-open { overflow: hidden; }

@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modal-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .modal__backdrop,
  .modal__dialog {
    animation: none !important;
  }
}

.modal__dialog--confirm {
  width: min(22rem, 100%);
}
.modal__dialog--success {
  width: min(24rem, 100%);
}
.modal__lead {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--mute);
  line-height: 1.4;
}
.modal__msg {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--body);
  line-height: 1.55;
}
.modal__msg strong {
  color: var(--ink);
  font-weight: 700;
}
.modal__ok {
  display: inline-flex;
  width: 100%;
  text-decoration: none;
  box-sizing: border-box;
}
.confirm-summary {
  margin: 0 0 1.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--page);
  display: grid;
  gap: 0.7rem;
}
.confirm-summary > div {
  display: grid;
  gap: 0.15rem;
}
.confirm-summary dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}
.confirm-summary dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.confirm-summary dd em {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--mute);
}
.modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.modal__actions .btn {
  width: 100%;
  justify-content: center;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-zoom {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content,
  .section { animation: none !important; }
  .hero__media img {
    animation: none !important;
    transform: none;
  }
}

@media (max-width: 520px) {
  .hero { min-height: min(72svh, 34rem); }
  body.site--landing .hero.landing-page {
    min-height: calc(100svh - var(--nav-h));
    min-height: calc(100dvh - var(--nav-h));
  }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* Index mobil: scroll normal (fără full-page snap) */
@media (max-width: 720px) {
  body.site--landing {
    height: auto;
    min-height: 100%;
    overflow-x: clip;
    overflow-y: auto;
    scroll-snap-type: none;
  }

  body.site--landing .landing-pages {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  body.site--landing .landing-page {
    min-height: 0;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  body.site--landing .hero.landing-page {
    min-height: calc(100svh - var(--nav-h));
    min-height: calc(100dvh - var(--nav-h));
  }
  body.site--landing .hero__content {
    padding-top: calc(0.85rem + 2.5rem + 1rem);
    padding-bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
  }

  body.site--landing .landing-pages > #preturi {
    width: calc(100% - 2rem);
    max-width: 100%;
    margin: 1.75rem auto 0;
    padding: 0;
    display: block;
    background: transparent;
  }
  body.site--landing #preturi .landing-page__inner {
    display: block;
    width: 100%;
  }
  body.site--landing #preturi .prices {
    max-height: none;
    overflow: visible;
  }

  body.site--landing .landing-pages > #contact {
    width: calc(100% - 2rem);
    max-width: 100%;
    margin: 1.75rem auto 0;
    padding: 0 0 env(safe-area-inset-bottom, 0px);
    display: block;
    border-radius: 0;
    overflow: visible;
    background: transparent;
  }
  body.site--landing #contact .landing-page__inner--contact {
    display: block;
    width: 100%;
  }
  body.site--landing #contact .contact-panel {
    display: block;
    border-radius: 1.15rem;
    overflow: hidden;
  }
  body.site--landing > .foot {
    margin-top: 1.75rem;
  }
  body.site--landing > .foot .foot__inner {
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }
}

/* —— Pagina programare online —— */
/* Book pages: footer lipit de josul ecranului când conținutul e scurt
   (altfel pe mobil rămâne gol vizibil sub footer). */
body.site--book {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-height: 100dvh;
}

.book-page {
  flex: 1 0 auto;
  box-sizing: border-box;
  width: min(1100px, calc(100% - 2rem));
  max-width: 100%;
  margin: 0 auto;
  padding: 1.75rem 0 2.5rem;
}

.site--book .foot {
  margin-top: auto;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .book-page {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 2.25rem 0 3rem;
  }
  .book-page > * {
    flex: 0 0 auto;
  }
}

/* Pe mobil: lățime full + safe area la footer */
@media (max-width: 720px) {
  .site--book .book-page {
    padding-bottom: 1.5rem;
    width: calc(100% - 2rem);
    max-width: 100%;
  }
  .site--book .foot {
    max-width: 100%;
  }
  .site--book .foot__inner {
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    max-width: 100%;
  }
  .contact-map,
  .contact-layout,
  .book-panel,
  .docs-list {
    max-width: 100%;
  }
}

.book-page__head {
  margin-bottom: 0;
  max-width: 36rem;
}
.book-page__intro {
  display: grid;
  gap: 0.15rem;
}
.book-page__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.book-page__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

.book-page__lead {
  margin: 0.45rem 0 0;
  color: var(--mute);
  font-size: 1rem;
  line-height: 1.5;
}

/* Pașii: spațiu mic deasupra/sub (pagina de programare) */
.book-page:has(.book-steps) .book-page__lead {
  margin-top: 0.2rem;
  margin-bottom: 0;
  line-height: 1.25;
}
.book-page:has(.book-steps) .book-steps {
  margin: 0.35rem 0 0.85rem;
  line-height: 1.25;
}
.book-page:has(.book-steps) .book-form--steps {
  margin-top: 0;
}

/* Mobil: DUPĂ regulile de bază (aceeași specificitate) — altfel 0.85rem câștigă pe telefon. */
@media (max-width: 720px) {
  .book-page:has(.book-steps) .book-steps {
    margin-bottom: -0.9rem; /* +3× tăierea anterioară (~0.25→0.75); form margin-top deja 0 */
  }
  .book-page:has(.book-steps) .book-form--steps .book-panel {
    padding-top: 0.65rem; /* reduce gap vizual sub pași (base 1.25rem) */
  }
}

.book-banner {
  border-radius: 0.85rem;
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}
.book-banner code { font-size: 0.8rem; }

/* —— Status pages (mentenanță / 404) —— */
body.site--status {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  min-height: 100vh;
}
.status-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem) 2.5rem;
}
.site--status .foot {
  margin-top: auto;
}

/* —— Mentenanță / status card —— */
.maint {
  margin: 0.5rem 0 0;
  max-width: 28rem;
  width: 100%;
}
.maint--page {
  margin: 0;
  max-width: 28rem;
}
.maint[hidden] {
  display: none !important;
}
.maint__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 1.35rem 1.3rem 1.45rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.04);
  display: grid;
  gap: 0.85rem;
}
.maint__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}
.maint__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}
.maint__lead {
  margin: 0;
  color: var(--mute);
  font-size: 1rem;
  line-height: 1.5;
}
.maint__contacts {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.maint__person {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.maint__name {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--mute);
}
.maint__phone {
  font-family: var(--display);
  font-size: clamp(1.2rem, 4vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.25;
  word-break: break-word;
}
.maint__phone:hover {
  color: var(--brand);
  text-decoration: underline;
}
.maint__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.15rem;
}
.maint__actions .btn {
  min-height: 2.65rem;
}
.maint__hint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--mute);
  line-height: 1.4;
}

@media (max-width: 720px) {
  .maint,
  .maint--page {
    max-width: 100%;
  }
  .maint__card {
    padding: 1.2rem 1.1rem 1.3rem;
  }
  .maint__phone {
    /* zonă de atingere mai generoasă pe mobil */
    padding: 0.15rem 0;
  }
  .status-page {
    align-items: flex-start;
    padding-top: 1.75rem;
  }
}

.book-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .book-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 1.25rem;
    align-items: start;
  }
}

.book-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 1.25rem 1.25rem 1.4rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.04);
  display: grid;
  gap: 1rem;
}

.book-panel__title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.field { display: grid; gap: 0.4rem; }
.field-hint {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--mute);
  font-style: italic;
}
.field label,
.field .label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  padding: 0.625rem 0.875rem;
  font: inherit;
  font-size: 0.875rem;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.plate {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.grid2 {
  display: grid;
  gap: 1rem;
}
@media (min-width: 560px) {
  .grid2 { grid-template-columns: 1fr 1fr; }
}

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.75rem, 1fr));
  gap: 0.5rem;
  min-height: 2.6rem;
  align-content: start;
}
.slot {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.5rem 0.85rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.slot:hover { border-color: #93c5fd; background: #eff6ff; }
.slot.is-selected {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.muted { color: var(--mute); font-size: 0.875rem; margin: 0; }

.book-submit {
  width: 100%;
  min-height: 2.85rem;
  justify-content: center;
}
.book-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.fineprint {
  margin: 0;
  font-size: 0.78rem;
  color: var(--mute);
  line-height: 1.45;
}

.form-msg {
  margin: 0.875rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
}
.form-msg--err {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.form-msg--ok {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.form-msg:empty,
.form-msg[hidden] {
  display: none !important;
  padding: 0;
  border: 0;
  margin: 0;
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cf-turnstile { margin-top: 0.15rem; }

.form-success {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.35rem;
}
.form-success[hidden],
.book-step[hidden],
.book-manage-btn[hidden],
.book-success-code[hidden],
.recaptcha-box[hidden],
.book-steps[hidden],
.book-gate[hidden],
.book-form--manage[hidden],
.book-panel[hidden],
.book-loading[hidden],
.book-skeleton[hidden],
.book-schedule-live[hidden] {
  display: none !important;
}
.recaptcha-box {
  margin-top: 1rem;
}
.book-manage-btn {
  justify-self: start;
}

.book-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.book-steps__item {
  position: relative;
  margin: 0;
  padding: 0.75rem 0.55rem;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mute);
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.25;
}
.book-steps__item.is-active {
  color: var(--brand);
  border-color: #bfdbfe;
  background: #eff6ff;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.08);
}
.book-steps__item.is-done {
  color: var(--ink);
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.book-form--steps {
  max-width: 34rem;
}
.book-step__schedule {
  display: grid;
  gap: 1rem;
}
.book-step__schedule-side,
.book-step__schedule-slots {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.book-step__footer,
.book-step__actions {
  margin-top: 0.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}
.book-step__footer {
  display: flex;
  justify-content: stretch;
}
.book-step__footer--with-hint {
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
}
.book-step__footer--with-hint .book-manage-hint {
  order: 0;
}
.book-step__footer--with-hint .book-submit {
  order: 1;
  width: 100%;
}
.book-manage-hint {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-radius: 0.75rem;
  background: var(--page);
  border: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--mute);
  line-height: 1.45;
}
.book-manage-hint a {
  color: var(--brand);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.book-step__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.book-step__fineprint {
  flex: 1 1 12rem;
  margin: 0;
  max-width: 22rem;
}
.book-step__fineprint:empty {
  display: none;
}
.book-step__actions-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-left: auto;
}
.book-step__actions .btn--primary {
  flex: 1 1 12rem;
}
.book-step__actions-btns .btn--primary {
  flex: 1 1 12rem;
}
.book-step--success {
  gap: 0.9rem;
}
.book-success-code {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
}
.book-success-code strong {
  font-family: var(--display);
  letter-spacing: 0.06em;
}
.book-success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
}
.book-success-actions .btn {
  flex: 1 1 auto;
  min-width: 10rem;
  width: auto;
}

/* Desktop: lățime reală, layout pe 2 coloane, pași vizibili */
@media (min-width: 900px) {
  .book-page {
    width: min(1120px, calc(100% - 3.5rem));
    padding: 2.75rem 0 3.5rem;
  }
  .book-page__head {
    max-width: none;
    margin-bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
  }
  .book-page__intro {
    gap: 0.2rem;
    min-width: 0;
  }
  .book-page__title {
    font-size: clamp(2.1rem, 2.6vw, 2.6rem);
  }
  .book-page__lead {
    margin: 0;
    max-width: 22rem;
    text-align: right;
    font-size: 1.05rem;
    flex: 0 1 auto;
  }

  .book-page:has(.book-steps) .book-page__head {
    margin-bottom: 0;
  }
  .book-page:has(.book-steps) .book-steps {
    margin: 0.05rem 0 0.1rem;
  }
  .book-steps {
    gap: 0.75rem;
    margin-bottom: 0.15rem;
  }
  .book-steps__item {
    padding: 0.95rem 1.1rem;
    border-radius: 0.95rem;
    font-size: 0.92rem;
    text-align: left;
  }

  .book-form--steps {
    max-width: none;
    width: 100%;
  }
  .book-panel {
    padding: 1.65rem 1.75rem 1.85rem;
    border-radius: 1.35rem;
    gap: 1.25rem;
  }
  .book-panel__title {
    font-size: 1.35rem;
  }
  .book-step--schedule .book-step__schedule {
    grid-template-columns: minmax(17rem, 22rem) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
  }
  .book-step__schedule-slots {
    min-height: 14rem;
    padding: 1.15rem 1.2rem;
    border-radius: 1rem;
    background: var(--page);
    border: 1px solid var(--line);
  }
  .book-step__schedule-slots .label {
    font-size: 0.95rem;
  }
  .slots {
    grid-template-columns: repeat(auto-fill, minmax(5.75rem, 1fr));
    gap: 0.6rem;
    min-height: 8rem;
  }
  .slot {
    min-height: 2.75rem;
    padding: 0.65rem 0.5rem;
    font-size: 0.95rem;
  }
  .book-step__footer {
    justify-content: flex-end;
  }
  .book-step__footer--with-hint {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.25rem;
  }
  .book-step__footer--with-hint .book-manage-hint {
    flex: 1 1 14rem;
    max-width: 28rem;
  }
  .book-step__footer--with-hint .book-submit {
    width: auto;
    min-width: 14rem;
    flex: 0 0 auto;
  }
  .book-step__footer .book-submit,
  .book-step__actions-btns .btn--primary {
    width: auto;
    min-width: 14rem;
    flex: 0 0 auto;
  }
  .book-step__footer,
  .book-step__actions {
    margin-top: 0.5rem;
    padding-top: 1.35rem;
  }
  .book-step__actions {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 1.25rem;
  }
  .book-step__fineprint {
    flex: 1 1 auto;
    max-width: 26rem;
    font-size: 0.82rem;
  }
  .book-step__actions-btns {
    flex-shrink: 0;
  }
  .book-step__actions-btns .btn--primary {
    flex: 0 0 auto;
  }
  .field input,
  .field select,
  .cselect__trigger,
  .cpicker__trigger {
    min-height: 2.85rem;
    font-size: 0.95rem;
  }
  .book-step--success {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
    justify-items: center;
  }
  .book-step--success .book-panel__title {
    font-size: 1.55rem;
  }
  .book-step--success .book-submit,
  .book-step--success .book-manage-btn {
    width: auto;
    min-width: 14rem;
    flex: 0 0 auto;
  }
}

/* —— Modifică programare —— */
.book-gate__body {
  display: grid;
  gap: 1rem;
}
.book-gate__lead {
  margin: 0.35rem 0 0;
  color: var(--mute);
  font-size: 0.92rem;
  line-height: 1.45;
}
.book-gate__hint a {
  color: var(--brand);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.book-gate {
  padding-bottom: 1rem;
  height: fit-content;
  align-content: start;
}
.book-gate .book-step__actions {
  margin-top: 0;
  padding-top: 0.7rem;
}
.book-loading {
  color: var(--mute);
  font-size: 0.95rem;
}

/* Facebook-style shimmer for booking schedule */
.book-skeleton {
  display: grid;
  gap: 1.15rem;
}
.book-skeleton__schedule {
  display: grid;
  gap: 1rem;
}
.book-skeleton__side,
.book-skeleton__slots-card {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.book-skeleton__field {
  display: grid;
  gap: 0.45rem;
}
.book-skeleton__bone {
  display: block;
  background: linear-gradient(
    90deg,
    #e4e7ec 0%,
    #f0f2f5 40%,
    #e4e7ec 80%
  );
  background-size: 200% 100%;
  animation: book-shimmer 1.35s ease-in-out infinite;
  border-radius: 0.65rem;
}
.book-skeleton__label {
  width: 3.5rem;
  height: 0.7rem;
  border-radius: 0.4rem;
}
.book-skeleton__control {
  width: 100%;
  height: 2.75rem;
  border-radius: 0.75rem;
}
.book-skeleton__slots-card {
  min-height: 0;
}
/* Same template as .slots — used by full-page book-skeleton only */
.book-skeleton__slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.75rem, 1fr));
  gap: 0.5rem;
  width: 100%;
  align-content: start;
  min-height: 2.6rem;
}
.book-skeleton__slot {
  width: auto;
  min-width: 0;
  height: 2.35rem;
  border-radius: 0.75rem;
  box-sizing: border-box;
}
/* Bones are direct children of .slots — same grid as real .slot buttons */
.slots > .book-skeleton__slot {
  width: 100%;
  min-height: 2.35rem;
  height: auto;
}
.book-skeleton__footer {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.2rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}
.book-skeleton__hint {
  width: 100%;
  height: 3.25rem;
  border-radius: 0.75rem;
}
.book-skeleton__btn {
  width: 100%;
  height: 2.85rem;
  border-radius: 0.75rem;
}
.slots[aria-busy="true"] {
  min-height: 5.5rem;
}
@keyframes book-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .book-skeleton__bone {
    animation: none;
    background: #e8ecf1;
  }
}
@media (min-width: 900px) {
  .book-skeleton__schedule {
    grid-template-columns: minmax(17rem, 22rem) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
  }
  .book-skeleton__slots-card {
    min-height: 14rem;
    padding: 1.15rem 1.2rem;
    border-radius: 1rem;
    background: var(--page);
    border: 1px solid var(--line);
  }
  .book-skeleton__slot-grid {
    grid-template-columns: repeat(auto-fill, minmax(5.75rem, 1fr));
    gap: 0.6rem;
    min-height: 8rem;
  }
  .book-skeleton__slot {
    height: 2.75rem;
  }
  .slots > .book-skeleton__slot {
    min-height: 2.75rem;
    height: auto;
  }
  .slots[aria-busy="true"] {
    min-height: 8rem;
  }
  .book-skeleton__footer {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.25rem;
    padding-top: 1.35rem;
  }
  .book-skeleton__hint {
    flex: 1 1 14rem;
    max-width: 28rem;
    height: 3.1rem;
  }
  .book-skeleton__btn {
    width: auto;
    min-width: 14rem;
    flex: 0 0 auto;
  }
}

.book-form--manage {
  display: grid;
  gap: 1rem;
}
.book-manage-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}
.book-manage-code {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--brand);
  letter-spacing: 0.04em;
}
.book-manage-code:empty {
  display: none;
}

/* Mobil: buton centrat, link sub el */
@media (max-width: 899px) {
  .book-gate .book-step__actions {
    flex-direction: column-reverse;
    align-items: center;
    gap: 0.85rem;
  }
  .book-gate .book-step__fineprint {
    flex: none;
    max-width: none;
    width: 100%;
    text-align: center;
  }
  .book-gate .book-step__actions-btns {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
  .book-gate .book-step__actions-btns .book-submit {
    width: 100%;
    max-width: 22rem;
  }

  /* Modifică: Anulează + Salvează, aceeași lățime pe stivă */
  .book-form--manage .book-step__actions-btns {
    flex-direction: column;
    width: 100%;
    margin-left: 0;
  }
  .book-form--manage .book-step__actions-btns .btn {
    width: 100%;
    flex: none;
  }
}

@media (min-width: 900px) {
  .book-gate {
    --gate-btn-w: 17rem;
    padding-bottom: 1.15rem;
    gap: 0.85rem;
  }
  .book-gate .book-step__actions {
    margin-top: 0;
    padding-top: 0.85rem;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }
  .book-gate .book-step__fineprint {
    flex: 1 1 auto;
    max-width: 26rem;
    width: auto;
    text-align: left;
  }
  .book-gate .book-step__actions-btns {
    width: var(--gate-btn-w);
    margin-left: 0;
    flex-shrink: 0;
  }
  .book-gate .book-step__actions-btns .book-submit {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .book-gate__body {
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
  }
  /* Input mai lung spre stânga; dreapta aliniată cu butonul */
  .book-gate__fields {
    width: min(36rem, 100%);
    max-width: none;
    justify-self: end;
  }
  .book-gate__fields .field,
  .book-gate__fields input {
    width: 100%;
  }
  .book-form--manage {
    gap: 1.25rem;
    width: 100%;
  }
  .book-form--manage .book-step--schedule .book-step__schedule {
    grid-template-columns: minmax(17rem, 22rem) minmax(0, 1fr);
  }
}

/* —— Controale custom (select / date / checkbox) —— */
.u-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.cselect,
.cpicker {
  position: relative;
}

.cselect__trigger,
.cpicker__trigger {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.75rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.cselect__trigger::after,
.cpicker__trigger::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(45deg) translateY(-1px);
  flex-shrink: 0;
  opacity: 0.85;
}
.cselect.is-open .cselect__trigger::after {
  transform: rotate(-135deg) translateY(2px);
}
.cselect__trigger:hover,
.cpicker__trigger:hover,
.cselect__trigger:focus-visible,
.cpicker__trigger:focus-visible {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.cselect__trigger.is-placeholder,
.cpicker__trigger.is-placeholder {
  color: var(--mute);
  font-weight: 500;
}

.cselect__menu {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  max-height: 14rem;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  -webkit-overflow-scrolling: touch;
}
.cselect__menu--scroll {
  max-height: min(18rem, 50vh);
}
.cselect__option {
  display: block;
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.cselect__option:hover,
.cselect__option:focus-visible {
  outline: none;
  background: #eff6ff;
  color: var(--brand);
}
.cselect__option.is-selected {
  background: var(--brand);
  color: #fff;
}

.cpicker__panel {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  padding: 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}
.cpicker__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.cpicker__month {
  margin: 0;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--ink);
}
.cpicker__nav-btn {
  appearance: none;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: #fff;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.cpicker__nav-btn:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}
.cpicker__nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.cpicker__dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2rem;
  margin-bottom: 0.25rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cpicker__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}
.cpicker__day {
  appearance: none;
  aspect-ratio: 1;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
}
.cpicker__day:hover:not(:disabled) {
  background: #eff6ff;
  color: var(--brand);
}
.cpicker__day.is-selected {
  background: var(--brand);
  color: #fff;
}
.cpicker__day.is-muted,
.cpicker__day:disabled {
  color: #cbd5e1;
  cursor: default;
}
.cpicker__day.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 1.5px #93c5fd;
}

.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #334155;
  cursor: pointer;
}
.check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.check__box {
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 0.35rem;
  background: #fff;
  display: grid;
  place-items: center;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.check__box::after {
  content: "";
  width: 0.35rem;
  height: 0.6rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translate(-0.5px, -1px);
  opacity: 0;
}
.check input:checked + .check__box {
  background: var(--brand);
  border-color: var(--brand);
}
.check input:checked + .check__box::after { opacity: 1; }
.check input:focus-visible + .check__box {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.check__text { min-width: 0; }
.check + .check { margin-top: 0.75rem; }
.check__text a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.check__text a:hover { text-decoration-thickness: 2px; }

@media (max-width: 520px) {
  .cpicker__panel,
  .cselect__menu {
    left: 0;
    right: 0;
  }
}

/* —— Acte necesare —— */
.docs-page {
  width: min(56rem, calc(100% - 2rem));
  max-width: 100%;
  margin-inline: auto;
  display: grid;
  gap: 0;
  /* book-page e flex:1 → pe ecrane înalte grid-ul nu trebuie să întindă rândurile */
  align-content: start;
}

.docs-list {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.docs-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  height: 100%;
  box-sizing: border-box;
}

.docs-item__num {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand);
  line-height: 1.4;
  padding-top: 0.1rem;
}

.docs-item h2 {
  margin: 0 0 0.3rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.docs-item p {
  margin: 0;
  color: var(--mute);
  font-size: 0.92rem;
  line-height: 1.5;
}

.docs-note {
  margin-top: 1.25rem;
  padding: 0.95rem 1.1rem;
  border-radius: 0.85rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  font-size: 0.9rem;
  line-height: 1.5;
}
.docs-note p { margin: 0; }

.docs-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.docs-actions .btn {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  align-self: center;
}

@media (min-width: 900px) {
  .docs-page {
    width: min(56rem, calc(100% - 3.5rem));
  }
  .docs-page .book-page__head {
    margin-bottom: 0.35rem;
  }
  .docs-page .book-page__lead {
    max-width: 28rem;
  }
  .docs-list {
    margin-top: 1.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .docs-item {
    padding: 1.35rem 1.4rem;
    gap: 1.1rem;
  }
  .docs-item__num {
    font-size: 1.05rem;
  }
  .docs-item h2 {
    font-size: 1.12rem;
  }
  .docs-item p {
    font-size: 0.95rem;
    line-height: 1.55;
  }
  .docs-note {
    margin-top: 1.5rem;
    padding: 1.1rem 1.25rem;
    font-size: 0.95rem;
  }
  .docs-actions {
    margin-top: 2rem;
  }
}

.btn--ghost-light {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn--ghost-light:hover {
  background: var(--page);
  border-color: #cbd5e1;
  transform: none;
}

.btn--danger {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  box-shadow: none;
}
.btn--danger:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
  transform: none;
}

/* —— Contact page —— */
.contact-page {
  max-width: 64rem;
}

.contact-layout {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: stretch;
  }
}

.contact-cards {
  display: grid;
  gap: 0.75rem;
}

.contact-card {
  padding: 1.15rem 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.contact-card h2 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.contact-card p {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 600;
}

.contact-card__muted {
  color: var(--mute) !important;
  font-weight: 500 !important;
  font-size: 0.92rem !important;
}

.contact-card__strong {
  margin-top: 0.2rem !important;
  font-size: 1.15rem !important;
  font-weight: 750 !important;
  letter-spacing: -0.02em;
  font-family: var(--display);
}

.contact-card__link {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--brand);
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
}
.contact-card__link:hover { text-decoration: underline; }
.contact-card__link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
button.contact-card__email {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.contact-card__phones {
  display: grid;
  gap: 0.65rem;
}

.contact-card__person {
  display: grid;
  gap: 0.1rem;
}

.contact-card__person-name {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--mute);
}

.contact-card__phone {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 750;
  font-family: var(--display);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.contact-card__phone:hover {
  color: var(--brand);
  text-decoration: underline;
}

.contact-map {
  min-height: 18rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
@media (min-width: 900px) {
  .contact-map { min-height: 100%; }
}

.contact-map iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 18rem;
  border: 0;
}
@media (min-width: 900px) {
  .contact-map iframe { min-height: 28rem; }
}

