/* ═════════════════════════════════════════════════════════
   informs - Chrome comun: header, meniuri, drawer, footer, banner
   cookie. Identic pe toate paginile.
   ═════════════════════════════════════════════════════════ */

/* Antetul stă doar sus, peste hero, și pleacă odată cu pagina la
   derulare (decizie 28.09.2026). Nu mai e fix, deci nici barele
   secundare lipicioase nu mai lasă loc pentru el (service.css,
   listing.css). z-index rămâne pentru meniurile derulante. */
.hdr {
  position: relative;
  z-index: 50;
  background: transparent;
}

.hdr__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo { display: inline-flex; align-items: center; flex: none; }

.logo__img {
  height: 30px;
  width: auto;
  display: block;
}

.ftr .logo__img { height: 32px; }

/* fără buton în dreapta, meniul stă la marginea dreaptă, nu centrat
   în spațiul rămas (ar fi părut deplasat) */
.nav { flex: 1 1 auto; display: flex; justify-content: flex-end; }

.nav__list { display: flex; align-items: center; gap: 4px; }

/* panourile se ancorează de lista întreagă, nu de element: lista se
   termină lângă marginea dreaptă, deci au loc la orice lățime */
.nav__list { position: relative; }

.nav__item { position: static; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: var(--hdr-h);
  padding-inline: 14px;
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  transition: color .2s var(--ease);
}

.nav__link:hover { color: var(--muted); }

.nav__item.is-open > .nav__link .ico-caret { transform: rotate(180deg); }

/* aliniat la dreapta listei de meniu (vezi .nav__list) */
.mega {
  position: absolute;
  top: calc(100% - 6px);
  right: 0;
  padding-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 40;
}

.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translateY(0); }

.mega__inner {
  display: grid;
  gap: 40px;
  padding: 32px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid #E4E1EC;
  box-shadow: 0 24px 60px rgba(12, 0, 50, .28);
}

.mega__inner--1 { grid-template-columns: 240px 280px; width: 640px; }

.mega__inner--2 { grid-template-columns: 240px 240px 280px; width: 880px; }

.mega__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6B6780;
  margin-bottom: 14px;
}

.mega__links li + li { margin-top: 2px; }

.mega__links a {
  display: block;
  padding: 8px 10px;
  margin-inline: -10px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}

/* Meniul derulant e alb: text negru, albastrul site-ului la hover și selecție */
.mega__links a:hover,
.mega__links a:focus-visible { background: #EEF3FE; color: var(--blue); }

.mega__promo {
  padding-left: 32px;
  border-left: 1px solid #E4E1EC;
}

.mega__promo-art {
  height: 120px;
  border-radius: 14px;
  margin-bottom: 16px;
}

/* Imagini Unsplash colorate navy-albastru; sursele în assets/renders/SURSE.md. */
.mega__promo-art--servicii,
.mega__promo-art--produse { background: var(--navy-800) center / cover no-repeat; }
.mega__promo-art--servicii { background-image: url("../assets/renders/meniu-servicii-teancuri.webp"); }
.mega__promo-art--produse { background-image: url("../assets/renders/meniu-produse.webp"); }

.mega__promo-kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #6B6780; margin-bottom: 8px;
}

.mega__promo-title {
  font-size: 18px; line-height: 24px; font-weight: 500;
  color: var(--ink); margin-bottom: 14px;
}

.mega__promo .lnk { font-size: 15px; color: var(--blue); }

.hdr__actions { display: flex; align-items: center; gap: 14px; flex: none; }

.lang { position: relative; }

.lang__btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding-inline: 16px;
  border: 1px solid var(--line-str); border-radius: 20px;
  font-size: 14px; font-weight: 600; color: var(--white);
  transition: border-color .2s var(--ease);
}

.lang__btn:hover { border-color: var(--white); }

.lang.is-open .lang__btn .ico-caret { transform: rotate(180deg); }

.lang__menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 150px; padding: 8px;
  background: var(--navy-700);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}

.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang__menu a {
  display: block; padding: 9px 12px; border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: background-color .18s, color .18s;
}

.lang__menu a:hover { background: rgba(255,255,255,.07); color: var(--white); }

.burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  flex: none;
}

.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }

.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: calc(var(--hdr-h)) 0 0 0;
  z-index: 45;
  background: var(--navy-900);
  overflow-y: auto;
  padding: 24px var(--gutter) 60px;
  animation: drawerIn .28s var(--ease-out);
}

@keyframes drawerIn { from { opacity: 0; transform: translateY(-10px); } }

.drawer__nav { display: flex; flex-direction: column; }

.drawer__group { border-bottom: 1px solid var(--line); }

.drawer__group summary {
  list-style: none;
  min-height: 64px;
  padding: 16px 0;
  font-family: var(--f-body);
  font-size: 22px; font-weight: 600; color: var(--white);
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
}

.drawer__group summary::-webkit-details-marker { display: none; }

.drawer__group summary::after {
  content: ""; width: 9px; height: 9px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s var(--ease);
}

.drawer__group[open] summary::after { transform: rotate(-135deg) translateY(-2px); }

.drawer__group a {
  display: flex; align-items: center;
  min-height: 48px; padding: 10px 0 10px 16px;
  font-size: 17px; color: var(--muted);
}

.drawer__group > a:last-child { padding-bottom: 18px; }

/* elemente mari, cu zone de apăsat de cel puțin 56px; linkurile
   directe primesc ›, grupurile păstrează săgeata de pliere */
.drawer__solo {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px;
  padding: 16px 0;
  font-size: 22px; font-weight: 600; color: var(--white);
  border-bottom: 1px solid var(--line);
}

.drawer__solo::after {
  content: "\203A";
  font-size: 28px; font-weight: 400; line-height: 1;
  color: var(--muted-2);
  transition: transform .2s var(--ease), color .2s var(--ease);
}

.drawer__solo:hover::after { color: var(--white); transform: translateX(3px); }

.drawer__cta { margin-top: 28px; width: 100%; }

.ftr {
  background: #06001C;
  padding-block: 72px 32px;
  border-top: 1px solid var(--line);
}

.ftr__top {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 64px;
}

.ftr__brand .logo { margin-bottom: 26px; }

.ftr__tag {
  font-size: 14px;
  line-height: 22px;
  color: var(--muted-2);
  max-width: 34ch;
  margin-bottom: 22px;
}

/* trimitere către aplicația soră */
.ftr__cross {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-str);
  font-size: 13px;
  line-height: 19px;
  color: var(--muted);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.ftr__cross strong { color: var(--white); font-weight: 600; }
.ftr__cross:hover { border-color: var(--white); background: rgba(255,255,255,.06); color: var(--white); }
.ftr__cross:hover .ico-arrow { transform: translateX(3px); }

/* ── Badge-uri de plata si ANPC ───────────────────────────── */
.ftr__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.ftr__badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

/* Fara opacitate pe niciunul: siglele Visa, Mastercard si badge-urile
   oficiale ANPC nu au voie afisate alterat. */
.ftr__badge { display: inline-flex; align-items: center; }
.ftr__badge img,
.ftr__badge-img {
  display: block;
  width: auto;
  height: 34px;
}

/* varianta alba a siglei de plati, potrivita pe fundal inchis */
.ftr__badge-img--pay { height: 26px; }

@media (max-width: 640px) {
  .ftr__badges { gap: 18px; margin-top: 40px; }
  .ftr__badge img, .ftr__badge-img { height: 28px; }
  .ftr__badge-img--pay { height: 22px; }
}

.ftr__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* Etichetele coloanelor: <p> pe paginile statice (fără patru h2 repetate
   pe fiecare pagină). Regula e pe clasă, deci arată la fel pe orice tag. */
.ftr__col .ftr__h {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 18px;
}

.ftr__col li { margin-bottom: 11px; }

.ftr__col a, .ftr__col span, .ftr__col .cc-link {
  font-size: 14px;
  color: var(--muted-2);
  transition: color .2s;
}

.ftr__col a:hover, .ftr__col .cc-link:hover { color: var(--white); }

.ftr__legal {
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ftr__legal ul { display: flex; flex-wrap: wrap; gap: 26px; }

.ftr__legal a { font-size: 13px; color: var(--muted-3); transition: color .2s; }

.ftr__legal a:hover { color: var(--white); }

.ftr__copy { font-size: 13px; color: #9A94B2; } /* 7:1 pe #06001C */







@media (max-width: 1200px) {
  .hdr__inner { gap: 20px; }
  .nav__link { padding-inline: 10px; font-size: 15px; }
  .ftr__top { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 1023px) {
  .nav, .hdr__actions { display: none; }
  /* meniul ascuns lasă butonul lângă logo; îl împingem la margine */
  .burger { display: flex; margin-left: auto; width: 48px; height: 48px; margin-right: -4px; }
  .ftr__top { grid-template-columns: 1fr; }
  .ftr__cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 640px) {
  .ftr__cols { grid-template-columns: 1fr; }
  .ftr__legal { flex-direction: column; align-items: flex-start; }
  .ftr__legal ul { gap: 14px 20px; }
}

/* ── Pagini interioare (mutat din service.css) ── */
.nav__item.is-current > .nav__link { position: relative; color: var(--white); }

.nav__item.is-current > .nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 26px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.mega__links a.is-active { background: #E9EFFE; color: var(--blue); }
