/* ═══════════════════════════════════════════════
   RESET & VARIABILE
   ═══════════════════════════════════════════════ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
:root {
  --red:     #C72000;
  --red-lg:  #e63a1e;
  --blue:    #0453AF;
  --blue-lg: #2a7be6;
  --bg:      #f2f3f5;
  --white:   #ffffff;
  --text:    #1a1d24;
  --sub:     #4f545f;
  --muted:   #8c909c;
  --border:  #e2e4e9;
  --shadow:  0 2px 10px rgba(0,0,0,.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,.1);
  --radius:  16px;
  --tr:      .42s cubic-bezier(.4,0,.2,1);
  --font-d:  'Poppins', sans-serif;
  --font-b:  'Poppins', sans-serif;
  /* accent (roșu static în această variantă) */
  --accent:  var(--red);
  --accent-light: rgba(199,32,0,.07);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top:82px; /* spațiu pentru bara de navigație fixă */
}

/* ─── utilitare ─── */
.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* ─── apariție la scroll ─── */
.reveal { opacity:0; transform:translateY(24px); transition: opacity .6s var(--tr), transform .6s var(--tr); }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ═══════════════════════════════════════════════
   NAVIGAȚIE
   ═══════════════════════════════════════════════ */
nav {
  position: fixed;
  top:0; left:0; right:0;
  z-index:50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  height: 82px;
}
body.nav-open {
  overflow: hidden;
}
.nav-inner {
  max-width: 1040px; margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

/* logo */
.nav-logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
.nav-logo-box {
  width:280px; height:76px; border-radius:10px;
  background:transparent;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.nav-logo-box img { width:100%; height:100%; object-fit:contain; display:block; }
.nav-logo-text { font-weight:700; font-size:1.02rem; color:var(--text); }
.nav-logo-text span {
  display:block; font-size:.66rem; font-weight:500;
  color:var(--muted); letter-spacing:.1em; text-transform:uppercase;
}

/* linkuri meniu */
.nav-menu { display:flex; align-items:center; gap:28px; list-style:none; }
.nav-menu a {
  text-decoration:none; font-size:.9rem; font-weight:500;
  color:var(--sub); transition:color .22s;
}
.nav-menu a:hover { color:var(--red); }

/* buton meniu mobil (hamburger) */
.nav-burger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:6px; }
.nav-burger span { display:block; width:22px; height:2px; background:var(--text); border-radius:2px; transition:.25s; }

/* buton principal (CTA) – vizibil doar pe desktop */
.nav-cta {
  background:var(--red); color:#fff; border:none;
  padding:9px 26px; border-radius:50px;
  font-family:var(--font-b); font-size:.88rem; font-weight:600;
  cursor:pointer; transition:background .22s, transform .18s;
  text-decoration:none;
}
.nav-cta:hover { background:#b01d00; transform:scale(1.04); }

/* Cere ofertă în meniu – vizibil doar în burger (mobile) */
.nav-menu-cta { display:none; }

/* ═══════════════════════════════════════════════
   SECȚIUNE PRINCIPALĂ (HERO)
   ═══════════════════════════════════════════════ */
.hero {
  padding: 72px 0 56px;
  position: relative;
  min-height: calc(100vh - 82px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: white;
}
.hero > .container {
  flex: 0 0 auto;
  width: 100%;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* formă subtilă de fundal */
.hero::before {
  content:'';
  position:absolute; top:-120px; right:-140px;
  width:520px; height:520px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(4,83,175,.06) 0%, transparent 70%);
  pointer-events:none;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
  gap: 0;
}
.hero-left--bottom {
  margin-top: 0;
  align-self: center;
}

/* conținut hero pe o singură coloană */
.hero-left {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  align-self: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  row-gap: 24px;
}

/* rând cu logo placeholder */
.hero-logo-row {
  display:flex; align-items:center; gap:13px;
  margin-bottom:32px;
}
.hero-logo-ph {
  display:none;
}
.hero-logo-ph img { display:none; }
.hero-logo-lbl { font-size:.97rem; font-weight:600; color:var(--text); }
.hero-logo-lbl span {
  display:block; font-size:.62rem; font-weight:500;
  color:var(--muted); letter-spacing:.07em; text-transform:uppercase;
}

/* întrebare principală */
.hero-question {
  font-family:var(--font-d);
  font-size:clamp(2.3rem, 5vw, 3rem);
  font-weight:700; line-height:1.15;
  color:var(--text);
}

/* rând cu răspuns + toggler */
.answer-row {
  display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:14px;
  margin:0 auto;
}
.answer-prefix { font-size:1.05rem; font-weight:500; color:var(--sub); }

.toggler {
  position:relative; display:inline-flex;
  background:var(--bg); border:1px solid var(--border);
  border-radius:50px; padding:5px;
  box-shadow:var(--shadow);
}
.toggler-track { position:relative; display:flex; }
.toggler-pill {
  position:absolute; top:0; left:0; height:100%;
  border-radius:50px;
  transition: left var(--tr), width var(--tr), background var(--tr);
  z-index:0;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.toggler-pill.vara  { background:var(--red); }
.toggler-pill.iarna { background:var(--blue); }

.toggler-btn {
  position:relative; z-index:1;
  padding:10px 22px; border-radius:50px;
  font-family:var(--font-b); font-size:.88rem; font-weight:600;
  color:var(--muted); white-space:nowrap;
  cursor:pointer; border:none; background:none;
  display:flex; align-items:center; gap:6px;
  transition:color .3s;
}
.toggler-btn .ico { font-size:1rem; transition:transform .35s; display:inline-block; }
.toggler-btn:hover .ico { transform:scale(1.18); }
.toggler-btn.active { color:#fff; }

/* bară de accent */
.accent-stripe {
  width:44px; height:3px; border-radius:3px;
  background:var(--red); margin:0 auto 22px;
  transition:background var(--tr), width var(--tr);
}
.accent-stripe.iarna { background:var(--blue); width:56px; }

/* bannere Vara / Iarna cu overlay text */
.season-banners {
  position: relative;
  width: 1200px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
  min-height: 400px;
  flex-shrink: 0;
  background: #ffb347;
}
.season-banner {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity .4s var(--tr);
}
.season-banner.active {
  opacity: 1;
  z-index: 1;
}
.season-banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.season-banner--vara {
  background: #ffb347;
}
.season-banner--iarna {
  background: #74b9ff;
}
.season-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #74b9ff 0%, #a29bfe 35%, #dfe6e9 70%, #b2bec3 100%);
}
.season-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 32px;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.5) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
}
.season-banner-text {
  font-size: 1rem;
  color: #fff;
  line-height: 1.7;
  margin: 0;
  max-width: 720px;
}
.season-banner-text strong {
  color: #fff;
  font-weight: 700;
}

/* butoane din secțiunea principală */
.hero-btns {
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}
.btn-primary {
  display:inline-flex; align-items:center; gap:6px;
  background:var(--red); color:#fff; border:none;
  padding:12px 26px; border-radius:50px;
  font-family:var(--font-b); font-size:.88rem; font-weight:600;
  cursor:pointer; text-decoration:none;
  transition:background .22s, transform .18s, box-shadow .22s;
  box-shadow:0 3px 14px rgba(199,32,0,.3);
}
.btn-primary:hover { background:#b01d00; transform:translateY(-2px); box-shadow:0 5px 20px rgba(199,32,0,.35); }
.btn-secondary {
  display:inline-flex; align-items:center; gap:6px;
  background:transparent; color:var(--text); border:1.5px solid var(--border);
  padding:11px 24px; border-radius:50px;
  font-family:var(--font-b); font-size:.88rem; font-weight:600;
  cursor:pointer; text-decoration:none;
  transition:border-color .22s, background .22s, transform .18s;
}
.btn-secondary:hover { border-color:var(--blue); background:rgba(4,83,175,.04); transform:translateY(-2px); }

/* rând cu etichete (taguri) */
.hero-tags { display:flex; justify-content:center; gap:8px; flex-wrap:wrap; margin-top:20px; }
.hero-tag {
  font-size:.75rem; font-weight:600; color:var(--sub);
  background:var(--bg); border:1px solid var(--border);
  padding:5px 12px; border-radius:50px;
}

/* ═══════════════════════════════════════════════
   SECȚIUNI (SERVICII / ABOUT / CONTACT)
   ═══════════════════════════════════════════════ */
.section { padding:72px 0; }
.section-label {
  font-size:.72rem; font-weight:600; color:var(--red);
  text-transform:uppercase; letter-spacing:.14em;
  margin-bottom:8px;
}
.section-title {
  font-family:var(--font-d);
  font-size:clamp(1.6rem, 3.6vw, 2rem);
  font-weight:700; color:var(--text); margin-bottom:8px;
}
.section-sub { font-size:.93rem; color:var(--sub); max-width:540px; line-height:1.6; margin-bottom:40px; }

.cards-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }

.card {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--radius); padding:32px 28px;
  box-shadow:var(--shadow); position:relative; overflow:hidden;
  transition:box-shadow .3s, transform .3s;
}
.card:hover { box-shadow:var(--shadow-md); transform:translateY(-4px); }
.card::after {
  content:''; position:absolute; bottom:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg,var(--red),var(--blue));
}

.card-icon {
  width:48px; height:48px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.5rem; margin-bottom:18px;
}
.card-icon--heat { background:rgba(199,32,0,.08); }
.card-icon--ac   { background:rgba(4,83,175,.08); }

.card h3 { font-size:1.05rem; font-weight:700; color:var(--text); margin-bottom:8px; }
.card p  { font-size:.85rem; color:var(--sub); line-height:1.6; margin-bottom:16px; }

.card-list { list-style:none; }
.card-list li {
  font-size:.83rem; color:var(--sub); padding:5px 0;
  border-bottom:1px solid var(--border);
}
.card-list li:last-child { border-bottom:none; }

/* SERVICII – grilă 3 coloane */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.service-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: box-shadow .3s, transform .3s;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  border-radius: 0 0 var(--radius) var(--radius);
}
.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.service-card-icon--ac { background: rgba(4, 83, 175, .1); }
.service-card-icon--heat { background: rgba(199, 32, 0, .1); }
.service-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.service-card-desc {
  font-size: .9rem;
  color: var(--sub);
  line-height: 1.6;
  margin-bottom: 16px;
}
.service-card-list {
  list-style: none;
}
.service-card-list li {
  font-size: .85rem;
  color: var(--sub);
  padding: 6px 0;
  padding-left: 18px;
  position: relative;
  line-height: 1.4;
}
.service-card-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}
.service-card-list li:nth-child(n+4)::before { color: var(--blue); }
.services-cta {
  text-align: center;
}

/* DE CE NOI – beneficii 2×2 */
.benefits-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}
.benefit-card {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--radius); padding:28px 24px;
  box-shadow:var(--shadow); display:flex; gap:18px; align-items:flex-start;
  transition:box-shadow .3s, transform .3s;
}
.benefit-card:hover { box-shadow:var(--shadow-md); transform:translateY(-3px); }
.ben-num {
  font-family:var(--font-d);
  font-size:1.9rem; font-weight:700; line-height:1;
  background:linear-gradient(135deg,var(--red),var(--blue));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text; flex-shrink:0; margin-top:2px;
}
.ben-title { font-size:.92rem; font-weight:700; color:var(--text); margin-bottom:5px; }
.ben-text  { font-size:.82rem; color:var(--sub); line-height:1.6; }

/* DESPRE NOI */
.about-intro {
  max-width: 640px;
  margin-bottom: 40px;
}
.about-intro p { font-size:.92rem; color:var(--sub); line-height:1.75; margin-bottom:14px; }

/* CONTACT */
.contact-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:40px; }
.contact-left p { font-size:.90rem; color:var(--sub); line-height:1.7; margin-bottom:22px; }
.contact-item { display:flex; gap:14px; align-items:flex-start; margin-bottom:18px; }
.ci-icon {
  width:40px; height:40px; border-radius:12px;
  background:var(--accent-light); display:flex; align-items:center; justify-content:center;
  font-size:1.05rem; flex-shrink:0; transition:background var(--tr);
}
.ci-label { font-size:.84rem; color:var(--sub); line-height:1.5; }
.ci-label strong { color:var(--text); font-weight:600; display:block; }
.contact-note {
  margin-top:24px; padding:14px 18px; border-radius:12px;
  background:var(--bg); border:1px solid var(--border);
  font-size:.79rem; color:var(--muted); line-height:1.55;
}

/* formular de contact */
.contact-form {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--radius); padding:32px 28px;
  box-shadow:var(--shadow);
}
.form-group { margin-bottom:18px; }
.form-group label { display:block; font-size:.8rem; font-weight:600; color:var(--text); margin-bottom:6px; }
.form-group input,
.form-group textarea {
  width:100%; padding:11px 14px; border-radius:10px;
  border:1px solid var(--border); font-family:var(--font-b);
  font-size:.85rem; color:var(--text); background:var(--bg);
  transition:border-color .22s, box-shadow .22s;
  outline:none;
}
.form-group input:focus,
.form-group textarea:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(4,83,175,.12); background:#fff; }
.form-group textarea { resize:vertical; min-height:100px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color:var(--muted); }
.form-note { font-size:.72rem; color:var(--muted); margin-bottom:22px; }
.form-status { font-size:.9rem; margin-top:14px; min-height:1.4em; }
.form-status--success { color:#15803d; font-weight:500; }
.form-status--error { color:var(--red); font-weight:500; }
.btn-submit {
  width:100%; background:var(--red); color:#fff; border:none;
  padding:13px; border-radius:50px;
  font-family:var(--font-b); font-size:.9rem; font-weight:600;
  cursor:pointer; transition:background .22s, transform .18s, box-shadow .22s;
  box-shadow:0 3px 14px rgba(199,32,0,.3);
}
.btn-submit:hover { background:#b01d00; transform:translateY(-2px); }
.btn-submit:disabled { opacity:.7; cursor:not-allowed; transform:none; }

/* ═══════════════════════════════════════════════
   (FOOTER)
   ═══════════════════════════════════════════════ */
footer {
  background:var(--text); color:rgba(255,255,255,.7);
  padding:48px 0 28px;
}
.footer-inner {
  max-width:1040px; margin:0 auto; padding:0 24px;
  display:grid; grid-template-columns:1.2fr .8fr .8fr; gap:36px;
}
.footer-col h4 { font-size:.82rem; font-weight:600; color:#fff; margin-bottom:12px; text-transform:uppercase; letter-spacing:.08em; }
.footer-col p, .footer-col a { font-size:.79rem; line-height:1.7; color:rgba(255,255,255,.55); }
.footer-col a { text-decoration:none; display:block; transition:color .22s; }
.footer-col a:hover { color:#fff; }
.footer-banners {
  max-width:1040px; margin:24px auto 0; padding:0 24px;
  display:flex; flex-wrap:wrap; gap:16px; align-items:center; justify-content:center;
}
.footer-banners a { display:block; transition:opacity .22s; }
.footer-banners a:hover { opacity:.85; }
.footer-banners img { display:block; height:48px; width:auto; object-fit:contain; }
.footer-company {
  max-width:1040px; margin:20px auto 0; padding:0 24px;
  font-size:.72rem; color:rgba(255,255,255,.4); text-align:center; line-height:1.5;
}
.footer-bottom {
  max-width:1040px; margin:28px auto 0; padding:20px 24px 0;
  border-top:1px solid rgba(255,255,255,.12);
  font-size:.72rem; color:rgba(255,255,255,.35); text-align:center;
}

/* ═══════════════════════════════════════════════
   STILURI RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (min-width:900px) {
  .hero { gap: 56px; }
  .hero-grid { gap: 32px; }
  .hero-left { max-width: 100%; row-gap: 36px; }
  .season-banners { max-width: 100%; }
  .season-banner-overlay { padding: 36px 40px; }
  .season-banner-text { font-size: 1.08rem; }
}
@media (max-width:899px) {
  .hero { gap: 24px; }
  .hero-grid { gap: 16px; }
  .hero-left { row-gap: 20px; }
}
@media (max-width:780px) {
  .cards-grid { grid-template-columns:1fr; }
  .services-grid { grid-template-columns:1fr; }
  .benefits-grid { grid-template-columns:1fr; }
  .contact-grid { grid-template-columns:1fr; }
  .footer-inner { grid-template-columns:1fr; gap:24px; }
}
@media (max-width:520px) {
  .nav-menu { display:none; }
  .nav-menu.open {
    display:flex;
    flex-direction:column;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#fff;
    padding:16px 24px 20px;
    gap:18px;
    z-index:49;
    box-shadow:var(--shadow-md);
  }
  .nav-burger { display:flex; }
  .nav-cta { display:none; }
  .nav-menu-cta {
    display:block;
    margin-top:8px;
    padding-top:16px;
    border-top:1px solid var(--border);
  }
  .nav-menu-cta a {
    display:block;
    text-align:center;
    background:var(--red);
    color:#fff;
    padding:12px 24px;
    border-radius:50px;
    font-weight:600;
  }
  .nav-menu-cta a:hover { background:#b01d00; color:#fff; }
  .nav-inner { padding:0 12px; position:relative; }
  .nav-logo-box { width:220px; height:68px; }
  .nav-menu.open a {
    font-size:1rem;
    font-weight:600;
  }

  .hero { padding:48px 0 40px; }
  .section { padding:52px 0; }
  .toggler-btn { padding:9px 16px; font-size:.83rem; }
  .hero-question { font-size:1.7rem; }
  .season-banners { height: 300px; min-height: 300px; }
  .season-banner-overlay { padding: 20px; }
  .season-banner-text { font-size: .92rem; }
}

/* ═══════════════════════════════════════════════
   ANIMAȚII (KEYFRAMES)
   ═══════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(18px); }
  to   { opacity:1; transform:translateY(0);    }
}
.hero-logo-row   { animation: fadeUp .55s .06s var(--tr) both; }
.hero-question   { animation: fadeUp .55s .16s var(--tr) both; }
.answer-row      { animation: fadeUp .55s .26s var(--tr) both; }
.accent-stripe   { animation: fadeUp .55s .34s var(--tr) both; }

.hero-btns       { animation: fadeUp .55s .50s var(--tr) both; }
.hero-tags       { animation: fadeUp .55s .58s var(--tr) both; }

/* ═══════════════════════════════════════════════
   BANNER COOKIE-URI
   ═══════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(26, 29, 36, 0.97);
  color: #fff;
  padding: 14px 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.cookie-banner-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}
.cookie-banner-text {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}
.cookie-banner-text a {
  color: #ffffff;
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.cookie-banner-btn {
  border: none;
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-b);
  cursor: pointer;
  background: var(--red);
  color: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.cookie-banner-btn:hover {
  background: #b01d00;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.cookie-banner--hidden {
  display: none;
}

.cookie-banner-link {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.cookie-banner-link:hover {
  color: #ffffff;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal--hidden {
  display: none;
}
.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.cookie-modal-panel {
  position: relative;
  background: #ffffff;
  color: var(--text);
  max-width: 640px;
  width: calc(100% - 32px);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 20px 24px 24px;
  z-index: 1;
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cookie-modal-header h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}
.cookie-modal-close {
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 4px 6px;
  border-radius: 999px;
}
.cookie-modal-close:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
}
.cookie-modal-body p {
  font-size: 0.85rem;
  color: var(--sub);
  line-height: 1.7;
  margin: 8px 0 12px;
}
.cookie-table-wrapper {
  width: 100%;
  overflow-x: auto;
}
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 14px;
  font-size: 0.78rem;
  table-layout: fixed;
}
.cookie-table th,
.cookie-table td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.cookie-table th {
  background: rgba(0, 0, 0, 0.03);
  font-weight: 600;
}
.cookie-reset-btn {
  margin-top: 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.78rem;
  padding: 7px 14px;
  cursor: pointer;
  font-family: var(--font-b);
  font-weight: 500;
}
.cookie-reset-btn:hover {
  background: #e6e7ea;
}

.cookie-settings-link {
  margin-top: 4px;
  padding: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.79rem; /* la fel ca linkurile din footer */
  line-height: 1.7;
  font-family: var(--font-b);
  font-weight: 400;
  display: block;
  cursor: pointer;
  text-align: left;
}
.cookie-settings-link:hover {
  color: #ffffff;
}

@media (max-width: 520px) {
  .cookie-banner {
    padding: 10px 0;
  }
  .cookie-banner-inner {
    align-items: center;
    justify-content: center;
  }
  .cookie-banner-text {
    font-size: 0.72rem;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }
  .cookie-banner-btn {
    padding: 7px 16px;
    font-size: 0.75rem;
  }
  .cookie-banner-link {
    font-size: 0.75rem;
  }
  .cookie-modal-panel {
    padding: 16px 16px 18px;
  }
  .cookie-modal-header h2 {
    font-size: 0.95rem;
  }
  .cookie-modal-body p {
    font-size: 0.8rem;
  }
  .cookie-table {
    font-size: 0.7rem;
  }
  .cookie-table th,
  .cookie-table td {
    padding: 6px 8px;
  }
  .cookie-table th:nth-child(1),
  .cookie-table td:nth-child(1) {
    width: 28%;
  }
  .cookie-table th:nth-child(2),
  .cookie-table td:nth-child(2) {
    width: 22%;
  }
  .cookie-table th:nth-child(3),
  .cookie-table td:nth-child(3) {
    width: 30%;
  }
  .cookie-table th:nth-child(4),
  .cookie-table td:nth-child(4) {
    width: 20%;
  }
  .cookie-reset-btn {
    font-size: 0.72rem;
    padding: 6px 12px;
  }
}
