/* ==========================================================================
   Font: aceleași tăieturi Neue Helvetica ca originalul (35 Thin, 55 Roman,
   65 Medium, 75 Bold), luate din fonturile instalate în sistem (macOS/iOS).
   Pentru fișiere webfont licențiate: pune-le în assets/fonts și adaugă url(...)
   după local(...).
   ========================================================================== */
@font-face { font-family: "NH"; font-weight: 300; font-style: normal; font-display: swap; src: local("Helvetica Neue Thin"), local("HelveticaNeue-Thin"); }
@font-face { font-family: "NH"; font-weight: 300; font-style: italic; font-display: swap; src: local("Helvetica Neue Thin Italic"), local("HelveticaNeue-ThinItalic"); }
@font-face { font-family: "NH"; font-weight: 400; font-style: normal; font-display: swap; src: local("Helvetica Neue"), local("HelveticaNeue"); }
@font-face { font-family: "NH"; font-weight: 400; font-style: italic; font-display: swap; src: local("Helvetica Neue Italic"), local("HelveticaNeue-Italic"); }
@font-face { font-family: "NH"; font-weight: 500; font-style: normal; font-display: swap; src: local("Helvetica Neue Medium"), local("HelveticaNeue-Medium"); }
@font-face { font-family: "NH"; font-weight: 500; font-style: italic; font-display: swap; src: local("Helvetica Neue Medium Italic"), local("HelveticaNeue-MediumItalic"); }
@font-face { font-family: "NH"; font-weight: 600 700; font-style: normal; font-display: swap; src: local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"); }
@font-face { font-family: "NH"; font-weight: 600 700; font-style: italic; font-display: swap; src: local("Helvetica Neue Bold Italic"), local("HelveticaNeue-BoldItalic"); }
@font-face { font-family: "NH Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: local("Helvetica Neue Condensed Bold"), local("HelveticaNeue-CondensedBold"); }

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --color-black: #000000;
  --color-grey-1: #f5f5f5;
  --color-grey-2: #e6e6e6;
  --color-grey-3: #999999;
  --color-grey-4: #666666;
  --color-grey-5: #333333;
  --color-grey-6: #252929;
  /* Culoarea de accent: era roșu (#d52b1e / #6f0b0d), acum negru */
  --color-red-1: #000000;
  --color-red-2: #333333;
  --color-white: #ffffff;

  --font-family: "NH", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;

  --fs-h1: 4.25rem;
  --fs-h2: 3.5rem;
  --fs-h3: 2.875rem;
  --fs-h4: 2.25rem;
  --fs-h5: 1.875rem;
  --fs-h6: 1.5rem;
  --fs-display: 7.5rem;
  --fs-uppertitle: 1.125rem;
  --fs-body-lg: 1.125rem;
  --fs-body-sm: 0.875rem;
  --fs-p: 1rem;
  --fs-card: 1.25rem;
  --fs-caption-lg: 0.875rem;
  --fs-caption-sm: 0.75rem;
  --fs-quote: 1.5rem;

  --spacing-xxxs: 0.5rem;
  --spacing-xxs: 1rem;
  --spacing-xs: 1.5rem;
  --spacing-sm: 2rem;
  --spacing-md: 3rem;
  --spacing-lg: 6rem;
  --spacing-xl: 9rem;
  --spacing-xxl: 15rem;

  --container-max: 1600px;
  --gutter: 1.25rem;
  --header-gutter: 40px;
  --header-height: 68px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

@media (min-width: 1800px) {
  :root { --container-max: 1800px; }
}

@media (max-width: 1023px) {
  :root {
    --fs-h1: 2.625rem;
    --fs-h2: 2.25rem;
    --fs-h3: 1.875rem;
    --fs-h4: 1.5rem;
    --fs-h5: 1.25rem;
    --fs-h6: 1.125rem;
    --fs-display: 3.5rem;
    --fs-uppertitle: 1rem;
    --fs-body-lg: 1rem;
    --fs-quote: 1.125rem;

    --spacing-xxs: 0.75rem;
    --spacing-xs: 1.25rem;
    --spacing-sm: 1.5rem;
    --spacing-md: 2rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 5rem;
    --spacing-xxl: 9rem;

    --header-gutter: var(--gutter);
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-black);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4, h5, h6, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
hr { margin: 0; border: 0; border-top: 1px solid var(--color-grey-3); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */
.h1, h1 { font-size: var(--fs-h1); font-weight: 300; line-height: 105%; }
.h2, h2 { font-size: var(--fs-h2); font-weight: 300; line-height: 120%; }
.h3, h3 { font-size: var(--fs-h3); font-weight: 300; line-height: 120%; }
.h4, h4 { font-size: var(--fs-h4); font-weight: 300; line-height: 120%; }
.h5, h5 { font-size: var(--fs-h5); font-weight: 400; line-height: 120%; }
.h6, h6 { font-size: var(--fs-h6); font-weight: 400; line-height: 140%; }
.display-lg { font-size: var(--fs-display); font-weight: 300; line-height: 105%; }
.uppertitle { font-size: var(--fs-uppertitle); font-weight: 700; line-height: 140%; margin-bottom: var(--spacing-xxs); }
.body-lg { font-size: var(--fs-body-lg); line-height: 150%; }
.body-sm { font-size: var(--fs-body-sm); line-height: 150%; }
.caption-lg { font-size: var(--fs-caption-lg); line-height: 140%; }
.caption-sm { font-size: var(--fs-caption-sm); line-height: 140%; }
.bold { font-weight: 700; }
.quote { font-size: var(--fs-quote); font-weight: 300; line-height: 140%; color: var(--color-grey-4); }

.stack > * + * { margin-top: var(--spacing-xxs); }
.mt-xxxs { margin-top: var(--spacing-xxxs); }
.mt-xxs { margin-top: var(--spacing-xxs); }
.mt-xs { margin-top: var(--spacing-xs); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--spacing-sm);
}

@media (max-width: 1023px) {
  .grid { column-gap: var(--spacing-xxs); }
}

.col-12 { grid-column: span 12; }
.col-8-center { grid-column: 3 / span 8; }
.col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }
.col-right-4 { grid-column: 9 / span 4; }
.col-right-5 { grid-column: 8 / span 5; }
.col-right-6 { grid-column: 7 / span 6; }

@media (max-width: 1023px) {
  .col-8-center, .col-6, .col-5, .col-4, .col-3,
  .col-right-4, .col-right-5, .col-right-6 { grid-column: 1 / -1; }
}

.text-center { text-align: center; }
.text-center .btn { margin-left: auto; margin-right: auto; }

.section { position: relative; }
.pt-xl { padding-top: var(--spacing-xl); }
.pt-lg { padding-top: var(--spacing-lg); }
.pt-md { padding-top: var(--spacing-md); }
.pt-sm { padding-top: var(--spacing-sm); }
.pb-xl { padding-bottom: var(--spacing-xl); }
.pb-lg { padding-bottom: var(--spacing-lg); }
.pb-md { padding-bottom: var(--spacing-md); }
.pb-sm { padding-bottom: var(--spacing-sm); }

.theme-dark { background: var(--color-grey-6); color: var(--color-white); }
.theme-black { background: var(--color-black); color: var(--color-white); }
.theme-red { background: var(--color-red-1); color: var(--color-white); }
.theme-grey { background: var(--color-grey-1); }

.border-left {
  border-left: 1px solid var(--color-grey-3);
  padding-left: var(--spacing-xs);
}

/* ==========================================================================
   Placeholders (imagini)
   ========================================================================== */
.ph {
  position: relative;
  background: var(--color-grey-2);
  overflow: hidden;
}

.ph::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-grey-4);
  white-space: nowrap;
}

.ph--dark { background: #3a3f3f; }
.ph--dark::after { color: rgba(255, 255, 255, 0.45); }

/* ==========================================================================
   Butoane
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: stretch;
  height: 44px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 21px;
  text-transform: uppercase;
  color: var(--color-red-1);
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  flex: 0 0 44px;
  background: var(--color-red-1);
  color: var(--color-white);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn__icon svg { width: 12px; height: 12px; transition: transform 0.25s var(--ease); }

.btn__label {
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: transparent;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover .btn__label,
.btn:focus-visible .btn__label { background: var(--color-red-1); color: var(--color-white); }

.btn:hover .btn__icon svg { transform: translateX(2px); }

/* Pe fundal închis sau roșu textul e alb */
.hero .btn,
.on-dark .btn,
.theme-dark .btn,
.theme-black .btn { color: var(--color-white); }

.theme-red .btn .btn__icon { background: var(--color-white); color: var(--color-red-1); }
.theme-red .btn { color: var(--color-white); }
.theme-red .btn:hover .btn__label { background: var(--color-white); color: var(--color-red-1); }

/* Header: butonul de contact are pătratul alb */
.btn--header { color: var(--color-white); }
.btn--header .btn__icon { background: var(--color-white); color: var(--color-red-1); }
.btn--header:hover .btn__label { background: var(--color-white); color: var(--color-red-1); }

/* Tertiary: text negru bold + săgeată roșie */
.btn-tertiary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 24px;
  color: var(--color-black);
  transition: color 0.2s var(--ease);
}

.btn-tertiary svg { width: 16px; height: 16px; color: var(--color-red-1); transition: transform 0.25s var(--ease); }
.btn-tertiary:hover { color: var(--color-red-1); }
.btn-tertiary:hover svg { transform: translateX(3px); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  height: var(--header-height);
  padding: 0 var(--header-gutter);
  background: var(--color-red-1);
  color: var(--color-white);
}

.header__logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: 24px;
  margin-right: 48px;
}

.logo-ph {
  display: inline-flex;
  align-items: center;
  height: 24px;
  font-size: 1.75rem;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

/* Wordmark: numele bold condensat, „SECURITY” subțire, aceeași înălțime a majusculelor */
.logo-ph strong {
  font-family: "NH Condensed", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-stretch: condensed;
  letter-spacing: -0.005em;
}
.logo-ph span { font-weight: 300; letter-spacing: 0.01em; margin-left: 12px; }

.header__nav { display: flex; align-items: center; flex: 1 1 auto; height: 100%; }

.header__menu { display: flex; align-items: center; gap: 32px; height: 100%; }

.header__menu a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 21px;
}

.header__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--color-white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.header__menu a:hover::after,
.header__menu a[aria-current="page"]::after { transform: scaleX(1); }

.header__tools { display: flex; align-items: center; gap: 20px; margin-left: auto; margin-right: 32px; }

.header__tool { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; font-weight: 700; }
.header__tool svg { width: 22px; height: 22px; }

.header__burger { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; }
.header__burger svg { width: 26px; height: 26px; }

@media (max-width: 1279px) {
  .header__menu { gap: 22px; }
  .header__logo { margin-right: 32px; }
}

@media (max-width: 1023px) {
  .header__nav { display: none; }
  .header__burger { display: flex; }
  .logo-ph { font-size: 1.375rem; }
}

/* Meniu mobil */
.mobile-menu {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  padding: var(--spacing-sm) var(--gutter);
  background: var(--color-red-1);
  color: var(--color-white);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  visibility: hidden;
}

.mobile-menu.is-open { transform: translateX(0); visibility: visible; }

.mobile-menu a.mobile-menu__link {
  display: block;
  padding: 14px 0;
  font-size: var(--fs-h4);
  font-weight: 400;
  line-height: 120%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.mobile-menu .btn { margin-top: var(--spacing-sm); }

/* ==========================================================================
   Hero (banner pe tot ecranul)
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 840px;
  color: var(--color-white);
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; }
.hero__overlay { position: absolute; inset: 0; background: var(--color-grey-6); opacity: 0.6; mix-blend-mode: multiply; }
.hero__video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--color-grey-6); }

.hero__inner {
  position: relative;
  width: 100%;
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

.hero__content { max-width: 780px; }
.hero__content .h6 { margin-top: var(--spacing-xxs); }
.hero__content .btn { margin-top: var(--spacing-md); }

.hero--short { min-height: 600px; }

@media (max-width: 1023px) {
  .hero { min-height: 640px; }
  .hero--short { min-height: 480px; }
}

/* ==========================================================================
   Galerie animată (marquee)
   ========================================================================== */
.marquee { display: flex; overflow: hidden; }

.marquee__track {
  display: flex;
  flex: 0 0 auto;
  gap: var(--spacing-xxs);
  padding-right: var(--spacing-xxs);
  animation: marquee 60s linear infinite;
}

.marquee__item { display: block; width: 800px; height: 440px; flex: 0 0 auto; object-fit: cover; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (max-width: 1023px) {
  .marquee__item { width: 400px; height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ==========================================================================
   Statistici
   ========================================================================== */
.stats { row-gap: var(--spacing-md); }
.stats .display-lg { margin-bottom: var(--spacing-xxs); }

/* ==========================================================================
   Split (text pe fundal închis + imagine)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 753px; }
.split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-lg) max(var(--gutter), calc((100vw - var(--container-max)) / 2 + var(--gutter)));
}
.split__media { min-height: 100%; }
.split__logo { width: 250px; height: 70px; margin: var(--spacing-md) 0 var(--spacing-xs); }

.slider-nav { display: flex; gap: 8px; margin-top: var(--spacing-md); }
.slider-nav button {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid currentColor;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.slider-nav button:hover { background: var(--color-white); color: var(--color-grey-6); }
.slider-nav svg { width: 14px; height: 14px; }

.slide { display: none; }
.slide.is-active { display: block; animation: fade-in 0.5s var(--ease); }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1023px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split__text { padding: var(--spacing-lg) var(--gutter); }
  .split__media { min-height: 360px; }
}

/* ==========================================================================
   Carduri articole
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--spacing-sm);
  row-gap: var(--spacing-lg);
}

.card { display: flex; flex-direction: column; border-top: 0; padding: 0 17px; }
.card__media { aspect-ratio: 16 / 9; margin-bottom: var(--spacing-xxs); transition: opacity 0.25s var(--ease); }
.card__title { font-size: var(--fs-card); line-height: 150%; margin-bottom: var(--spacing-xs); transition: color 0.2s var(--ease); }
.card__meta { margin-top: auto; }
.card__dates { display: flex; gap: 12px; margin-top: var(--spacing-xxxs); }
.card:hover .card__title { color: var(--color-red-1); }
.card:hover .card__media { opacity: 0.85; }

@media (max-width: 1023px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 0; }
}

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

/* ==========================================================================
   Formulare
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.875rem; font-weight: 700; }

.input,
.select,
.textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  font: inherit;
  font-size: 1rem;
  line-height: 20px;
  color: var(--color-black);
  background: var(--color-white);
  border: 1px solid var(--color-grey-4);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s var(--ease);
}

.input::placeholder,
.textarea::placeholder { color: var(--color-grey-4); }
.input:focus,
.select:focus,
.textarea:focus { border-color: var(--color-red-1); }
.textarea { min-height: 160px; resize: vertical; }

.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 0.875rem; line-height: 150%; }
.checkbox input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--color-red-1); flex: 0 0 auto; }

/* ==========================================================================
   Footer
   ========================================================================== */
.newsletter { padding: var(--spacing-sm) 0; }
.newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-sm); }
.newsletter__form { display: flex; gap: var(--spacing-sm); align-items: center; }
.newsletter__form .input {
  width: 334px;
  color: var(--color-white);
  background: var(--color-red-1);
  border-color: var(--color-white);
}
.newsletter__form .input::placeholder { color: rgba(255, 255, 255, 0.8); }
.newsletter__form .input:focus { border-color: var(--color-white); box-shadow: inset 0 0 0 1px var(--color-white); }

.footer-main { padding: var(--spacing-sm) 0 var(--spacing-lg); border-top: 1px solid rgba(255, 255, 255, 0.5); }
.footer-top { display: flex; align-items: center; justify-content: space-between; padding: var(--spacing-xxs) 0 var(--spacing-md); }
.footer-social { display: flex; align-items: center; gap: 24px; }
.footer-social a { display: flex; transition: opacity 0.2s var(--ease); }
.footer-social a:hover { opacity: 0.7; }
.footer-social svg { width: 22px; height: 22px; }
.footer-locale { display: flex; align-items: center; gap: 8px; text-transform: uppercase; padding-right: 8px; }

.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--spacing-sm); }
.footer-col__title { display: inline-block; font-size: var(--fs-body-lg); font-weight: 700; line-height: 150%; margin-bottom: var(--spacing-xxs); }
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: 1rem; line-height: 150%; }
.footer-col a:hover,
.footer-col__title:hover { text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom { padding: var(--spacing-lg) 0 var(--spacing-md); }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 12px;
}
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-legal a:hover,
.footer-legal button:hover { text-decoration: underline; }
.footer-legal button { font-size: 12px; }

@media (max-width: 1023px) {
  .newsletter__inner { flex-direction: column; align-items: flex-start; }
  .newsletter__form { width: 100%; flex-wrap: wrap; gap: var(--spacing-xxs); }
  .newsletter__form .input { width: 100%; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--spacing-md); }
  .footer-top { flex-direction: column; align-items: flex-start; gap: var(--spacing-sm); }
}

/* ==========================================================================
   Banner cookie-uri
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: var(--color-white);
  color: var(--color-black);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.2);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}

.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px 64px 10px 32px;
  position: relative;
}

.cookie-banner__policy { flex: 0 1 760px; padding-bottom: 10px; }
.cookie-banner__title { font-size: 1.2rem; font-weight: 600; line-height: 1.3; margin-bottom: 10px; }
.cookie-banner__text { font-size: 0.813rem; line-height: 1.5; }
.cookie-banner__text a { font-weight: 700; color: var(--color-red-1); }
.cookie-banner__text a:hover { text-decoration: underline; }

.cookie-banner__actions { display: flex; align-items: center; gap: 17px; margin-left: auto; padding-bottom: 10px; }

.cookie-btn {
  min-width: 125px;
  height: 42px;
  padding: 12px 10px;
  font-size: 0.813rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  border: 1px solid var(--color-red-1);
  border-radius: 2px;
  transition: opacity 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.cookie-btn--outline { background: var(--color-white); color: var(--color-black); }
.cookie-btn--outline:hover { background: var(--color-red-1); color: var(--color-white); }
.cookie-btn--solid { background: var(--color-red-1); color: var(--color-white); }
.cookie-btn--solid:hover { opacity: 0.85; }

.cookie-link {
  padding: 12px 0;
  font-size: 0.813rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-right: 16px;
}
.cookie-link:hover { color: var(--color-red-1); }

.cookie-close {
  position: absolute;
  top: 28px;
  right: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555555;
  border-radius: 2px;
}
.cookie-close:hover { color: var(--color-black); }
.cookie-close svg { width: 14px; height: 14px; }

@media (max-width: 1023px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; gap: 8px; padding: 24px var(--gutter) 16px; }
  .cookie-banner__policy { padding-right: 36px; }
  .cookie-banner__actions { margin-left: 0; flex-wrap: wrap; gap: 10px; }
  .cookie-banner__actions .cookie-btn { flex: 1 1 140px; }
  .cookie-link { width: 100%; text-align: left; margin-right: 0; }
  .cookie-close { top: 14px; right: 6px; }
}

/* Panou preferințe cookie-uri */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.cookie-modal.is-open { opacity: 1; visibility: visible; }

.cookie-modal__dialog {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(12px);
  transition: transform 0.25s var(--ease);
}

.cookie-modal.is-open .cookie-modal__dialog { transform: translateY(0); }

.cookie-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-grey-2);
}

.cookie-modal__head .logo-ph { font-size: 1.125rem; color: var(--color-red-1); }

.cookie-modal__body { padding: 24px; overflow-y: auto; }
.cookie-modal__body h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; margin-bottom: 12px; }
.cookie-modal__body > p { font-size: 0.813rem; line-height: 1.5; margin-bottom: 20px; }
.cookie-modal__body .cookie-btn { margin-bottom: 24px; }

.cookie-cat { border-top: 1px solid var(--color-grey-2); }
.cookie-cat:last-child { border-bottom: 1px solid var(--color-grey-2); }

.cookie-cat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 0;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
}

.cookie-cat__head .plus { width: 14px; flex: 0 0 14px; font-size: 18px; line-height: 1; color: var(--color-black); transition: transform 0.2s var(--ease); }
.cookie-cat.is-open .plus { transform: rotate(45deg); }
.cookie-cat__name { flex: 1 1 auto; }
.cookie-cat__always { font-size: 0.813rem; font-weight: 600; color: var(--color-red-1); }

.cookie-cat__desc {
  display: none;
  padding: 0 0 16px 26px;
  font-size: 0.813rem;
  line-height: 1.5;
  color: var(--color-grey-5);
}

.cookie-cat.is-open .cookie-cat__desc { display: block; }

.switch { position: relative; width: 44px; height: 24px; flex: 0 0 44px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span {
  position: absolute;
  inset: 0;
  background: #767676;
  border-radius: 20px;
  transition: background-color 0.2s var(--ease);
}
.switch span::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-white);
  transition: transform 0.2s var(--ease);
}
.switch input:checked + span { background: var(--color-red-1); }
.switch input:checked + span::before { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--color-black); outline-offset: 2px; }

.cookie-modal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  padding: 16px 24px;
  border-top: 1px solid var(--color-grey-2);
}

/* Buton flotant care redeschide preferințele */
.cookie-float {
  position: fixed;
  left: 10px;
  bottom: 10px;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-red-1);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s var(--ease);
}
.cookie-float.is-visible { display: flex; }
.cookie-float:hover { transform: scale(1.06); }
.cookie-float svg { width: 22px; height: 22px; }

/* ==========================================================================
   Animații la scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Mărcile de certificare CERT MARIN (ISO) din footer */
/* Certificări ISO CERT MARIN, pe un rând */
.certs { display: flex; align-items: center; gap: var(--spacing-md); }
.certs__iso { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.certs__iso-item { display: flex; align-items: center; gap: 16px; }
@media (max-width: 767px) {
  .footer-legal { flex-direction: column; align-items: flex-start; }
}
.certs__iso-item img { width: auto; height: 42px; filter: brightness(0) invert(1); opacity: 0.9; }
.certs__std { font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--color-white); }
.certs__nr { font-size: 0.8125rem; line-height: 1.3; color: rgba(255, 255, 255, 0.6); margin-top: 2px; }

@media (max-width: 1023px) {
  .certs { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
  .certs, .certs__iso { width: 100%; }
  .certs__iso { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .certs__iso-item { gap: 10px; }
  .certs__iso-item img { height: 32px; }
  .certs__std { font-size: 0.875rem; }
  .certs__nr { font-size: 0.75rem; }
}

/* Imagini reale în locul placeholderelor */
img.card__media { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
img.split__media { display: block; width: 100%; height: 100%; object-fit: cover; }
.section__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cert-logo { display: flex; align-items: center; justify-content: flex-end; }
.cert-logo img { width: auto; height: 120px; }

/* Aliniere: header, footer și titlurile paginii pe aceeași verticală (marginea containerului) */
.header { padding-left: max(var(--gutter), calc((100% - var(--container-max)) / 2 + var(--gutter))); padding-right: max(var(--gutter), calc((100% - var(--container-max)) / 2 + var(--gutter))); }
.newsletter__inner,
.footer-main,
.footer-bottom { padding-left: var(--gutter); padding-right: var(--gutter); }
/* „Cere o ofertă”: săgeata pe aceeași verticală cu cea de la „Contactează-ne” din header */
@media (min-width: 1024px) { .newsletter__form .btn { margin-right: -7px; } }
.cert-logo { gap: var(--spacing-sm); }
/* Telefon și tabletă: linkurile din footer și din navigarea articolelor au zonă de atingere mai mare,
   iar coloana Program ocupă tot rândul ca adresa de e-mail să încapă */
@media (max-width: 1023px) {
  .footer-col a, .footer-col button { display: inline-block; padding: 6px 0; }
  .footer-col li + li { margin-top: 2px; }
  .footer-legal a, .footer-legal button { display: inline-block; padding: 8px 0; }
  .footer-legal ul { gap: 4px 24px; }
}
@media (max-width: 767px) {
  .footer-cols > .footer-col:last-child { grid-column: 1 / -1; }
}
/* Monitoare mari (QHD, ultrawide 34"): tot ce e în rem crește proporțional, iar conținutul se lățește puțin */
@media (min-width: 2200px) {
  html { font-size: 112.5%; }
  :root { --container-max: 2100px; --header-height: 76px; }
}
@media (min-width: 3000px) {
  html { font-size: 125%; }
  :root { --container-max: 2400px; --header-height: 84px; }
}
/* Selectorul de limbă (navbar și footer) */
.lang { position: relative; }
.lang__toggle { color: inherit; cursor: pointer; }
.lang__menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 70; min-width: 150px; padding: 6px 0; background: var(--color-white); color: var(--color-black); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
.lang--up .lang__menu { top: auto; bottom: calc(100% + 10px); }
.lang__menu a { display: block; padding: 10px 16px; font-size: 0.875rem; font-weight: 400; }
.lang__menu a:hover { background: var(--color-grey-1); }
.lang__menu a[aria-current] { font-weight: 700; }
.mobile-menu__lang { display: flex; gap: 24px; margin-top: var(--spacing-sm); font-size: 1.125rem; }
.mobile-menu__lang a { padding: 6px 0; opacity: 0.6; }
.mobile-menu__lang a[aria-current] { opacity: 1; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
