/* ===== Variables & reset ===== */
:root {
  --navy: #0b3d62;
  --navy-dark: #082c47;
  --accent: #f5a623;
  --accent-dark: #e0941a;
  --text: #1f2a37;
  --muted: #5b6b7b;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --border: #e2e8f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 61, 98, 0.08);
  --container: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: "Barlow Condensed", "Inter", sans-serif;
  line-height: 1.1;
  letter-spacing: 0.3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #1a1a1a;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); }
.btn--sm { padding: 8px 16px; font-size: .9rem; }
.btn--lg { padding: 14px 30px; font-size: 1.05rem; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--navy); }
.btn--light:hover { background: #f0f0f0; border-color: #f0f0f0; }

/* ===== Topbar ===== */
.topbar {
  background: var(--navy-dark);
  color: #cfe0ee;
  font-size: .88rem;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.topbar__contact { display: flex; gap: 18px; }
.topbar__contact a:hover { color: #fff; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo {
  height: 60px;
  width: 116px; /* lățime mărită cu ~56% față de proporția naturală (74px) */
  display: block;
}
.brand__logo--footer {
  height: 64px;
  width: 124px; /* proporție mărită cu ~56%, la înălțimea de 64px */
  background: #fff;
  padding: 8px 14px;
  border-radius: 12px;
}
.brand__mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--navy);
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  border-radius: 10px;
}
.brand__text {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--navy);
  line-height: 1;
}
.brand__text small {
  display: block;
  font-size: .85rem;
  letter-spacing: 4px;
  color: var(--accent-dark);
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-weight: 500; color: var(--text); }
.nav a:hover { color: var(--navy); }
.nav .btn { color: #1a1a1a; }
.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(120deg, rgba(8,44,71,.92), rgba(11,61,98,.78)),
    url("images/hero.jpg") center/cover no-repeat;
}
.hero__content {
  padding: 96px 20px 104px;
  max-width: 760px;
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  margin-bottom: 18px;
}
.hero__lead {
  font-size: 1.15rem;
  color: #e4edf4;
  margin-bottom: 30px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__badges {
  list-style: none;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.hero__badges li {
  position: relative;
  padding-left: 24px;
  font-size: .95rem;
  color: #dbe7f0;
}
.hero__badges li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section__sub { color: var(--muted); font-size: 1.05rem; }
.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.section p { color: var(--muted); }

/* ===== Grid ===== */
.grid { display: grid; gap: 30px; }
.grid--2 { grid-template-columns: 1fr 1fr; align-items: center; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ===== About ===== */
.about__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__text h2 { color: var(--navy); }
.check { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.check li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
}
.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px; height: 20px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .7rem;
}

/* ===== Cards ===== */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11,61,98,.16); }
.card__img { aspect-ratio: 16/10; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 24px; }
.card__body h3 { color: var(--navy); font-size: 1.45rem; margin-bottom: 10px; }
.card__list { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.card__list li {
  position: relative;
  padding-left: 22px;
  font-size: .95rem;
  color: var(--text);
}
.card__list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent-dark);
}

/* ===== Features ===== */
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.feature__icon {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  background: var(--navy);
  color: var(--accent);
  border-radius: 50%;
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.feature h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: 8px; }

/* ===== CTA strip ===== */
.cta {
  background: linear-gradient(120deg, var(--navy), var(--navy-dark));
  color: #fff;
  padding: 56px 0;
}
.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta h2 { margin-bottom: 6px; }
.cta p { color: #cfe0ee; }

/* ===== Contact ===== */
.contact__list { list-style: none; margin-top: 26px; display: grid; gap: 20px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact__list a:hover { color: var(--navy); }

/* ===== Form ===== */
.form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
}
.form input, .form textarea {
  font: inherit;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fbfcfe;
  resize: vertical;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11,61,98,.12);
}
.form__note { color: #1c7c3c; font-weight: 600; font-size: .92rem; }
.form__note a { color: var(--navy); text-decoration: underline; }
.form__hp { position: absolute; left: -5000px; visibility: hidden; height: 0; overflow: hidden; }
.form__consent {
  flex-direction: row !important;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400 !important;
  font-size: .88rem !important;
  color: var(--muted);
}
.form__consent input { margin-top: 4px; flex-shrink: 0; }
.form__consent a { color: var(--navy); font-weight: 600; text-decoration: underline; }

/* ===== Footer ===== */
.footer {
  background: var(--navy-dark);
  color: #c5d6e4;
  padding: 40px 0;
  text-align: center;
}
.footer__inner { display: grid; gap: 12px; justify-items: center; }
.footer__links { display: flex; gap: 8px 20px; flex-wrap: wrap; justify-content: center; }
.footer__links a { font-size: .9rem; color: #c5d6e4; text-decoration: underline; }
.footer__links a:hover { color: #fff; }
.brand--footer .brand__text { color: #fff; }
.footer__small { font-size: .85rem; color: #8fa9be; }

/* ===== Pagina de mulțumire ===== */
.thanks { padding: 90px 0; background: linear-gradient(160deg, #f4f7fa 0%, #eaf1f7 100%); }
.thanks__inner { max-width: 620px; text-align: center; }
.thanks__icon {
  width: 84px; height: 84px;
  margin: 0 auto 24px;
  display: grid; place-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  font-size: 2.6rem;
}
.thanks h1 { color: var(--navy); font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 14px; }
.thanks p { color: var(--muted); font-size: 1.05rem; margin-bottom: 12px; }
.thanks__contact a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.thanks .btn { margin-top: 22px; }

/* ===== Cookie banner ===== */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(8, 44, 71, .25);
}
.cookie__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  max-width: var(--container);
  margin: 0 auto;
  flex-wrap: wrap;
}
.cookie__text { flex: 1 1 320px; font-size: .92rem; color: var(--text); margin: 0; }
.cookie__text a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.cookie__actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn--accept { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--accept:hover { background: var(--navy-dark); border-color: var(--navy-dark); }

/* ===== Digitalizare ===== */
.section--digital {
  background: linear-gradient(160deg, #f4f7fa 0%, #eaf1f7 100%);
}
.digital__grid { align-items: start; }
.digital__text h3 { color: var(--navy); font-size: 1.6rem; margin-bottom: 16px; }
.digital__text .btn { margin-top: 24px; }
.digital__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.digital__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.digital__card:hover { transform: translateY(-5px); }
.digital__ico {
  display: inline-grid;
  place-items: center;
  width: 50px; height: 50px;
  background: var(--navy);
  color: var(--accent);
  border-radius: 12px;
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.digital__card h4 { color: var(--navy); font-size: 1.15rem; margin-bottom: 6px; }
.digital__card p { font-size: .92rem; }
.digital__note {
  margin-top: 36px;
  text-align: center;
  font-size: .92rem;
  color: var(--muted);
  padding: 16px;
  background: rgba(255,255,255,.6);
  border-radius: var(--radius);
}

/* ===== Pagini legale ===== */
.legal { padding: 50px 0 70px; background: var(--bg); }
.legal__inner { max-width: 820px; }
.legal__back {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--navy);
  font-weight: 600;
}
.legal__back:hover { text-decoration: underline; }
.legal h1 { color: var(--navy); font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 6px; }
.legal__updated { color: var(--muted); font-size: .9rem; margin-bottom: 26px; }
.legal h2 {
  color: var(--navy);
  font-size: 1.5rem;
  margin: 30px 0 10px;
}
.legal p { color: var(--text); margin-bottom: 12px; }
.legal ul { margin: 0 0 16px 22px; display: grid; gap: 6px; }
.legal li { color: var(--text); }
.legal a { color: var(--navy); }
.legal__note {
  margin-top: 30px;
  padding: 16px 18px;
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  font-size: .92rem;
  color: var(--muted);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .brand__text { display: none; }
  .brand__logo { height: 48px; width: 93px; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav .btn { text-align: center; margin-top: 12px; border-bottom: none; }
  .nav__toggle { display: block; }
  .topbar__inner { justify-content: center; text-align: center; }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; text-align: center; }
  .section { padding: 60px 0; }
  .hero__content { padding: 70px 20px 76px; }
  .hero__actions .btn { flex: 1 1 100%; text-align: center; }
}
@media (max-width: 480px) {
  .topbar { font-size: .8rem; }
  .topbar__item { display: none; }
  .topbar__contact { gap: 14px; }
  .topbar__inner { padding-top: 6px; padding-bottom: 6px; }
  .hero__badges { gap: 10px 18px; }
  .form { padding: 20px; }
  .feature, .card__body { padding: 20px; }
  .digital__cards { grid-template-columns: 1fr; }
}
