:root {
  --bg: #f8f9fb;
  --white: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-soft: #eff6ff;
  --ok: #15803d;
  --ok-soft: #f0fdf4;
  --busy: #b45309;
  --busy-soft: #fffbeb;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04);
  --font: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.is-ready .loading { display: none; }

.loading {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--bg);
  font-weight: 600;
  color: var(--muted);
}

.wrap {
  width: min(720px, 92%);
  margin-inline: auto;
}

a { color: inherit; text-decoration: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.brand__logo {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand__text {
  display: none;
}

.topnav {
  display: none;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.topnav a { color: var(--muted); }
.topnav a:hover { color: var(--text); }

.topnav__phone {
  color: var(--primary) !important;
  font-weight: 600;
}

.menu-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.menu-btn.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.topnav.is-open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 1rem 4%;
  gap: 0.75rem;
}

/* Intro */
.intro {
  padding: 2rem 0 1.5rem;
}

.intro__label {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.intro h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.intro__sub {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.search {
  position: relative;
  margin-bottom: 1.25rem;
}

.search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 48px;
  padding: 0 1rem 0 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.filters {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.filter-block--grow { flex: 1; }

.filter-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  height: 36px;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.chip:hover {
  border-color: #cbd5e1;
}

.chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

.select {
  width: 100%;
  height: 44px;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  user-select: none;
  padding-bottom: 0.35rem;
}

.toggle input { display: none; }

.toggle__track {
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: #cbd5e1;
  position: relative;
  transition: background 0.2s;
}

.toggle__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: transform 0.2s;
}

.toggle input:checked + .toggle__track {
  background: var(--primary);
}

.toggle input:checked + .toggle__track .toggle__thumb {
  transform: translateX(18px);
}

.toggle__text {
  font-size: 0.9rem;
  font-weight: 500;
}

.intro__stats {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.intro__stats strong {
  color: var(--text);
  font-weight: 700;
}

.intro__stats .dot { margin: 0 0.35rem; }

/* Results */
.results {
  padding: 0.5rem 0 2.5rem;
}

.results__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.results__head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.results__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.view-toggle {
  display: flex;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 3px;
}

.view-toggle__btn {
  height: 32px;
  padding: 0 0.85rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.view-toggle__btn.is-active {
  background: var(--primary);
  color: white;
}

.results__panel[hidden] { display: none; }

.text-btn {
  border: none;
  background: none;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0;
}

.text-btn:hover { text-decoration: underline; }

.list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Space card */
.space {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}

.space:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.space__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.space__size {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.space__size small {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.status {
  flex-shrink: 0;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status--ok {
  background: var(--ok-soft);
  color: var(--ok);
}

.status--busy {
  background: var(--busy-soft);
  color: var(--busy);
}

.space__zone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.15rem;
}

.space__addr {
  margin: 0 0 0.2rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.space__provider {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.space__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.space__price {
  font-size: 1.1rem;
  font-weight: 700;
}

.space__price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 1rem;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--primary);
  color: white;
}

.btn--primary:hover:not(:disabled) {
  background: var(--primary-hover);
}

.btn--soft {
  background: var(--primary-soft);
  color: var(--primary);
}

.btn--soft:hover { background: #dbeafe; }

.btn--block { width: 100%; height: 48px; }

.btn--sm {
  height: 36px;
  padding: 0 0.85rem;
  font-size: 0.85rem;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--muted);
}

.empty p { margin: 0 0 1rem; }

/* Map */
.map-hint {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.map {
  height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #e8edf3;
  z-index: 1;
}

.map-legend {
  display: flex;
  gap: 1rem;
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.map-legend .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.dot--free { background: var(--ok); }
.dot--busy { background: var(--busy); }

.map-pin {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
}

.map-pin--free { background: var(--ok); }
.map-pin--busy { background: var(--busy); }

.leaflet-popup-content-wrapper {
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.leaflet-popup-content {
  margin: 12px 14px;
  font-family: var(--font);
  line-height: 1.4;
}

.popup strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.popup-addr,
.popup-provider {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.popup-price {
  margin: 0.5rem 0 0.65rem;
  font-size: 1rem;
  font-weight: 700;
}

.popup-price span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

.popup .btn { width: 100%; }

.popup-busy {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--busy);
}

.sheet__provider {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Contact */
.contact {
  padding: 2.5rem 0 3rem;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.contact__grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact__info h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.contact__info > p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.95rem;
}

.contact__list strong {
  display: inline-block;
  min-width: 4.5rem;
  color: var(--muted);
  font-weight: 500;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
  background: var(--white);
}

.field textarea { resize: vertical; min-height: 80px; }

.form__status {
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.9rem;
  text-align: center;
}

.form__status.is-ok {
  color: var(--ok);
  font-weight: 600;
}

/* Footer */
.footer {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* Bottom sheet */
.sheet[hidden] { display: none; }

.sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  animation: fadeIn 0.2s ease;
}

.sheet__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 16px 16px 0 0;
  padding: 1.5rem 1.25rem 2rem;
  animation: slideUp 0.25s ease;
}

.sheet__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.sheet__zone {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sheet__title {
  margin: 0.25rem 0 0.15rem;
  font-size: 1.35rem;
  padding-right: 2rem;
}

.sheet__addr {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.sheet__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.sheet__fact {
  background: var(--bg);
  border-radius: 10px;
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.sheet__fact strong {
  display: block;
  font-size: 1rem;
}

.sheet__fact span {
  font-size: 0.72rem;
  color: var(--muted);
}

.sheet__desc {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.sheet__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.sheet__tag {
  padding: 0.3rem 0.6rem;
  background: var(--bg);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--muted);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* Desktop */
@media (min-width: 640px) {
  .brand__text { display: inline; }

  .menu-btn { display: none; }

  .topnav {
    display: flex;
    position: static;
    flex-direction: row;
    border: none;
    padding: 0;
    background: transparent;
  }

  .wrap { width: min(800px, 90%); }

  .map { height: 480px; }

  .space {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    align-items: center;
    padding: 1rem 1.15rem;
  }

  .space__top {
    grid-column: 1;
    grid-row: 1 / 3;
    flex-direction: column;
    margin: 0;
    align-items: flex-start;
  }

  .space__zone,
  .space__addr,
  .space__provider {
    grid-column: 2;
    margin: 0;
  }

  .space__provider { margin-bottom: 0; }

  .space__bottom {
    grid-column: 3;
    grid-row: 1 / 3;
    flex-direction: column;
    align-items: flex-end;
    border: none;
    padding: 0;
    gap: 0.5rem;
  }

  .sheet {
    align-items: center;
  }

  .sheet__panel {
    border-radius: 16px;
    margin: 1rem;
    max-height: 90vh;
  }
}

@media (max-width: 480px) {
  .form__row { grid-template-columns: 1fr; }
}

/* Partner section */
.partner {
  padding: 3rem 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.partner__grid {
  display: grid;
  gap: 2rem;
}

.partner__sub {
  color: var(--muted);
  margin: 0 0 1rem;
}

.partner__benefits {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.partner__benefits li { margin-bottom: 0.35rem; }

/* Reviews */
.reviews {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.reviews h2 { margin: 0 0 1.25rem; }

.reviews__list {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.reviews__empty {
  color: var(--muted);
  margin: 0;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}

.review-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.review-card__stars { color: #f59e0b; font-size: 0.9rem; }
.review-card__space { margin: 0.25rem 0 0; font-size: 0.82rem; color: var(--muted); }
.review-card__text { margin: 0.5rem 0 0; color: var(--text); }

.form--review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.form--review h3 { margin: 0 0 1rem; font-size: 1.05rem; }

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s;
}

.whatsapp-fab:hover { transform: scale(1.06); }

.sheet__pay {
  font-size: 0.85rem;
  color: var(--ok);
  background: var(--ok-soft);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .partner__grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .reviews__list { grid-template-columns: 1fr 1fr; }
}

/* Footer legal */
.footer__grid {
  display: grid;
  gap: 1.25rem;
  padding: 2rem 0 1.5rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.9rem;
}

.footer__brand strong { font-size: 1rem; }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.footer__links a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__links a:hover { color: var(--primary); }

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.65rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 44px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.badge-link:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow);
}

.badge-link img {
  display: block;
  height: auto;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.98;
}

.badge-link--netopia {
  padding: 0.35rem 0.55rem;
  background: #fff;
}

.badge-link--netopia img {
  max-height: 36px;
  max-width: 120px;
}

.badge-link--anpc {
  padding: 0.3rem 0.5rem;
}

.badge-link--anpc img {
  max-height: 48px;
  max-width: 220px;
}

.badge-link.is-missing {
  min-width: 110px;
  font-size: 0.72rem;
  color: var(--muted);
}

.badge-link.is-missing::after {
  content: "Lipsește imaginea";
}

.badge-link.is-missing img { display: none; }

.pay-methods {
  border: none;
  margin: 0 0 0.75rem;
  padding: 0;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.pay-page {
  padding: 2rem 0 3rem;
}

.pay-page h1 { margin: 0 0 0.5rem; }

.pay-page__sim {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.88rem;
}

.pay-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 1rem 0;
}

.pay-summary__amount {
  font-size: 1.15rem;
  margin-bottom: 0;
}

.pay-form { margin-top: 1rem; }

.pay-page__secure {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.pay-page__netopia {
  max-height: 28px;
  width: auto;
}

.pay-success {
  background: var(--ok-soft);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.pay-success h1 { color: var(--ok); margin-top: 0; }
.pay-success ul { text-align: left; max-width: 320px; margin: 1rem auto; }

/* Articole */
.articles-page,
.article-page {
  padding: 2rem 0 3rem;
}

.articles-page h1,
.article-page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  letter-spacing: -0.02em;
}

.articles-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
}

.article-card__img-wrap {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg);
}

.article-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}

.article-card:hover .article-card__img-wrap img {
  transform: scale(1.03);
}

.article-card__body {
  padding: 1rem 1.1rem 1.15rem;
}

.article-card__body time {
  font-size: 0.78rem;
  color: var(--muted);
}

.article-card__body h2 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.1rem;
  line-height: 1.35;
}

.article-card__body h2 a:hover {
  color: var(--primary);
}

.article-card__body p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.article-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

.article-page__back {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.article-page__back:hover { color: var(--primary); }

.article-page__head time {
  font-size: 0.8rem;
  color: var(--muted);
}

.article-page__lead {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.article-page__figure {
  margin: 1.25rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.article-page__figure img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.article-page__content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.article-page__content p {
  margin: 0 0 0.85rem;
  line-height: 1.7;
  color: var(--text);
}

.article-page__content p:last-child { margin-bottom: 0; }

.article-page__cta {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--primary-soft);
  border-radius: var(--radius);
  text-align: center;
}

.article-page__cta p {
  margin: 0 0 0.75rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  .articles-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .articles-grid { grid-template-columns: repeat(3, 1fr); }
  .article-page .wrap { max-width: 720px; }
}

.footer__copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.check-terms {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.check-terms input { margin-top: 0.2rem; flex-shrink: 0; }
.check-terms a { color: var(--primary); text-decoration: underline; }

.form__pay-note {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--ok);
  background: var(--ok-soft);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
}

.cookie-banner__inner {
  width: min(720px, 94%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner p { margin: 0; font-size: 0.9rem; }
.cookie-banner a { color: #93c5fd; }
.cookie-banner__actions { display: flex; gap: 0.5rem; }

/* Legal pages */
.legal-page {
  padding: 2.5rem 0 3rem;
}

.legal-page h1 {
  margin: 0 0 1.25rem;
  font-size: 1.75rem;
}

.legal-page__content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  line-height: 1.7;
  color: var(--text);
}