/* ===== Base ===== */
* { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--ff-body);
  line-height: 1.6;
  overflow-x: hidden; /* previne scroll orizontal pe mobil */
}

/* ===== Header & Nav (compact, wrappable) ===== */
.site-header {
  position: sticky;
  top: 0; z-index: 1000;
  background: var(--bg);
  backdrop-filter: saturate(120%) blur(6px);
  border-bottom: 1px solid var(--rule);
}
.nav-bar {
  max-width: 1120px; margin: 0 auto;
  padding: 8px 14px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;                 /* permite împărțirea pe 2 rânduri */
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand__logo { width: var(--brand-logo-size); height: var(--brand-logo-size); display: inline-block; }
.brand__wordmark { font-family: var(--ff-heading); font-weight: 600; font-size: 16px; line-height: 1; }
.nav-links { display: flex; gap: 14px; flex-wrap: wrap; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1; padding: 10px 6px; }
.nav-links a:hover { text-decoration: underline; }
@media (max-width: 420px) {
  .brand__wordmark { font-size: 15px; }
  .nav-links a { font-size: 14px; padding: 8px 4px; }
}

/* ===== Hero (fără separator vertical) ===== */
.hero { padding: 46px 16px 24px; }
.hero__inner { max-width: 1120px; margin: 0 auto; text-align: center; padding: 0 16px; position: relative; }
.hero__kicker { text-transform: uppercase; font-size: 12px; letter-spacing: .26em; color: var(--muted); }
.hero__title { font-family: var(--ff-heading); font-weight: 700; font-size: clamp(34px, 6vw, 72px); line-height: 1.15; margin: 12px 0 10px; }
.hero__lead  { color: var(--muted); max-width: 1024px; font-size: clamp(15px,2.2vw,22px); margin: 0 auto 12px; }

.btn { display: inline-flex; align-items:center; justify-content:center;
  min-height:44px; padding: 12px 16px; border-radius: 10px;
  border:1px solid var(--ink); background: var(--ink); color: var(--bg); text-decoration:none; font-size: 15px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-row { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* ===== Sections / Grid ===== */
.section { padding: 20px 16px 44px; }
.section__inner { max-width: 1120px; margin: 0 auto; }
.section__title { font-family: var(--ff-heading); font-size: 22px; margin: 10px 0 16px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; gap: 14px; } }

.card {
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--bg);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.06); border-color: #c9ccd2; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f5f5f7; display: block; }
.card .pad { padding: 14px; }
.card h3 { font-family: var(--ff-heading); font-size: 20px; margin: 0 0 8px; }
.card p  { margin: 0; color: var(--muted); }
.card .meta { margin-top: 8px; color: var(--muted); font-size: 13px; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--rule); margin-top: 28px; padding: 28px 16px 36px; }
.footer__inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.footer__sig { height: 60px; filter: grayscale(100%) contrast(190%) brightness(30%); }
.footer__copy { color: var(--muted); font-size: 14px; }
