/* GENERAT de build.mjs din base.css + chrome.css. Nu edita aici. */

.hdr, .drawer, .ftr, .cookie, .skip-link {

  /* culori */
  --navy-900: #0C0032;
  --navy-800: #150046;
  --navy-700: #1C0A55;
  --navy-600: #251072;
  --purple:   #5D16B3;
  --purple-lt:#7B32D6;
  --blue:     #065AF7;
  --blue-deep:#043799;
  --blue-hover:#0A4FD6;
  /* albastru pentru text mic pe navy: --blue are doar 3,1-3,6:1 acolo */
  --blue-text:#6E9BFF;
  --yellow:   #FFD400;

  --ink:      #212121;
  --white:    #FFFFFF;
  --muted:    #D2CCE6;
  --muted-2:  #BEB6D9;
  --muted-3:  rgba(210, 204, 230, .5);
  --line:     rgba(210, 204, 230, .18);
  --line-str: rgba(210, 204, 230, .32);

  /* tipografie */
  /* serif doar pentru titlurile mari (h1, h2): tonul unui text juridic
     tipărit; h3 și interfața rămân pe Poppins și DM Sans */
  --f-display: "Newsreader", Georgia, "Times New Roman", serif;
  --f-head: "Poppins", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, sans-serif;

  --fs-h1: 76px;   --lh-h1: 80px;  --ls-h1: -1.4px;
  --fs-h2: 64px;   --lh-h2: 70px;  --ls-h2: -1.2px;
  --fs-h3: 20px;   --lh-h3: 24px;
  --fs-body: 16px; --lh-body: 1.333;
  --fs-lead: 18px; --lh-lead: 27px;

  /* layout */
  --container: 1400px;
  --gutter: 40px;
  --sect-lg: 96px;
  --sect-md: 70px;
  --sect-sm: 40px;

  /* componente */
  --btn-h: 56px;
  --btn-r: 28px;
  --card-r: 20px;

  --hdr-h: 84px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

}

@media (max-width: 1200px) {
  .hdr, .drawer, .ftr, .cookie, .skip-link {
    --fs-h1: 64px; --lh-h1: 68px; --fs-h2: 52px; --lh-h2: 58px; --ls-h2: -1px;
  }
}

@media (max-width: 1023px) {
  .hdr, .drawer, .ftr, .cookie, .skip-link {
    --gutter: 24px; --sect-md: 56px; --sect-lg: 72px; --fs-h1: 54px; --lh-h1: 58px; --fs-h2: 42px; --lh-h2: 48px;
  }
}

@media (max-width: 640px) {
  .hdr, .drawer, .ftr, .cookie, .skip-link {
    --gutter: 20px; --fs-h1: 44px; --lh-h1: 48px; --ls-h1: -.8px; --fs-h2: 34px; --lh-h2: 40px; --ls-h2: -.6px; --btn-h: 50px; --btn-r: 25px; --fs-lead: 16px; --lh-lead: 24px;
  }
}

/* reset limitat la chrome */
:where(.hdr) ul,
:where(.hdr) ol,
:where(.drawer) ul,
:where(.drawer) ol,
:where(.ftr) ul,
:where(.ftr) ol,
:where(.cookie) ul,
:where(.cookie) ol,
:where(.skip-link) ul,
:where(.skip-link) ol {
  margin: 0; padding: 0; list-style: none;
}

:where(.hdr) p,
:where(.drawer) p,
:where(.ftr) p,
:where(.cookie) p,
:where(.skip-link) p {
  margin: 0;
}

:where(.hdr) h1,
:where(.hdr) h2,
:where(.hdr) h3,
:where(.hdr) h4,
:where(.hdr) h5,
:where(.drawer) h1,
:where(.drawer) h2,
:where(.drawer) h3,
:where(.drawer) h4,
:where(.drawer) h5,
:where(.ftr) h1,
:where(.ftr) h2,
:where(.ftr) h3,
:where(.ftr) h4,
:where(.ftr) h5,
:where(.cookie) h1,
:where(.cookie) h2,
:where(.cookie) h3,
:where(.cookie) h4,
:where(.cookie) h5,
:where(.skip-link) h1,
:where(.skip-link) h2,
:where(.skip-link) h3,
:where(.skip-link) h4,
:where(.skip-link) h5 {
  margin: 0; font-weight: 400;
}

:where(.hdr) a,
:where(.drawer) a,
:where(.ftr) a,
:where(.cookie) a,
:where(.skip-link) a {
  color: inherit; text-decoration: none;
}

:where(.hdr) img,
:where(.hdr) svg,
:where(.drawer) img,
:where(.drawer) svg,
:where(.ftr) img,
:where(.ftr) svg,
:where(.cookie) img,
:where(.cookie) svg,
:where(.skip-link) img,
:where(.skip-link) svg {
  display: block; max-width: 100%;
}

:where(.hdr) button,
:where(.drawer) button,
:where(.ftr) button,
:where(.cookie) button,
:where(.skip-link) button {
  font: inherit; color: inherit; background: none; border: 0; cursor: pointer;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--white); color: var(--ink);
  padding: 12px 20px; border-radius: 0 0 12px 0; font-weight: 600;
}

.skip-link:focus { left: 0; }

.hdr .ico-arrow,
.drawer .ico-arrow,
.ftr .ico-arrow,
.cookie .ico-arrow,
.skip-link .ico-arrow { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }

.hdr .ico-caret,
.drawer .ico-caret,
.ftr .ico-caret,
.cookie .ico-caret,
.skip-link .ico-caret { width: 10px; height: 6px; flex: none; transition: transform .25s var(--ease); }

.hdr .btn,
.drawer .btn,
.ftr .btn,
.cookie .btn,
.skip-link .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--btn-h);
  padding-inline: 24px;
  border-radius: var(--btn-r);
  font-family: var(--f-body);
  font-size: var(--fs-lead);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease);
}

.hdr .btn:hover,
.drawer .btn:hover,
.ftr .btn:hover,
.cookie .btn:hover,
.skip-link .btn:hover { transform: translateY(-1px); }

.hdr .btn:active,
.drawer .btn:active,
.ftr .btn:active,
.cookie .btn:active,
.skip-link .btn:active { transform: translateY(0); }

.hdr .btn--primary,
.drawer .btn--primary,
.ftr .btn--primary,
.cookie .btn--primary,
.skip-link .btn--primary,
.hdr .btn--blue,
.drawer .btn--blue,
.ftr .btn--blue,
.cookie .btn--blue,
.skip-link .btn--blue { background: var(--blue); color: var(--white); border-color: var(--blue); }

.hdr .btn--primary:hover,
.drawer .btn--primary:hover,
.ftr .btn--primary:hover,
.cookie .btn--primary:hover,
.skip-link .btn--primary:hover,
.hdr .btn--blue:hover,
.drawer .btn--blue:hover,
.ftr .btn--blue:hover,
.cookie .btn--blue:hover,
.skip-link .btn--blue:hover { background: var(--blue-hover); border-color: var(--blue-hover); }

.hdr .btn--light,
.drawer .btn--light,
.ftr .btn--light,
.cookie .btn--light,
.skip-link .btn--light { background: var(--white); color: #000; }

.hdr .btn--light:hover,
.drawer .btn--light:hover,
.ftr .btn--light:hover,
.cookie .btn--light:hover,
.skip-link .btn--light:hover { background: var(--muted); }

.hdr .btn--ghost,
.drawer .btn--ghost,
.ftr .btn--ghost,
.cookie .btn--ghost,
.skip-link .btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }

.hdr .btn--ghost:hover,
.drawer .btn--ghost:hover,
.ftr .btn--ghost:hover,
.cookie .btn--ghost:hover,
.skip-link .btn--ghost:hover { background: var(--white); color: #000; }

.hdr .btn--outline,
.drawer .btn--outline,
.ftr .btn--outline,
.cookie .btn--outline,
.skip-link .btn--outline { background: transparent; color: var(--white); border-color: var(--line-str); }

.hdr .btn--outline:hover,
.drawer .btn--outline:hover,
.ftr .btn--outline:hover,
.cookie .btn--outline:hover,
.skip-link .btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,.06); }

.hdr .btn--sm,
.drawer .btn--sm,
.ftr .btn--sm,
.cookie .btn--sm,
.skip-link .btn--sm { height: 40px; font-size: 15px; padding-inline: 20px; border-radius: 20px; }

.hdr .lnk,
.drawer .lnk,
.ftr .lnk,
.cookie .lnk,
.skip-link .lnk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .22s var(--ease), color .22s var(--ease);
}

.hdr .lnk:hover,
.drawer .lnk:hover,
.ftr .lnk:hover,
.cookie .lnk:hover,
.skip-link .lnk:hover { border-color: currentColor; }

.hdr .lnk:hover .ico-arrow,
.drawer .lnk:hover .ico-arrow,
.ftr .lnk:hover .ico-arrow,
.cookie .lnk:hover .ico-arrow,
.skip-link .lnk:hover .ico-arrow { transform: translateX(4px); }

.hdr .visually-hidden,
.drawer .visually-hidden,
.ftr .visually-hidden,
.cookie .visually-hidden,
.skip-link .visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* doar subsolul foloseste .container din sistemul nou */
.ftr .container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* 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); }
