/* ============================================================
   asigurare-rca-ieftina.ro — Main Stylesheet
   Design System: Reliable Broker (Material You / Tailwind)
   Toate unitățile sunt în em (responsive — se scalează la
   modificarea font-size-ului părintelui)
   ============================================================ */

:root {
  --primary: #b70011;
  --primary-container: #dc2626;
  --on-primary: #ffffff;
  --secondary: #555f6f;
  --tertiary: #005e8d;
  --surface: #fff8f7;
  --surface-low: #fff0ee;
  --surface-container: #ffe9e6;
  --surface-high: #ffe2de;
  --surface-highest: #fbdbd7;
  --surface-white: #ffffff;
  --on-surface: #281715;
  --on-surface-variant: #5c403c;
  --outline: #916f6b;
  --outline-variant: #e6bdb8;
  --background: #fff8f7;
  --success: #16a34a;
  --error: #ba1a1a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--background);
  color: var(--on-surface);
  font-size: 1em;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-display: swap;
}

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5em; }
.section { padding: 5em 0; }
.section-sm { padding: 3em 0; }

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(1.75em, 5vw, 2em); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--on-surface); }
h2 { font-size: clamp(1.375em, 3vw, 1.875em); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; color: var(--on-surface); }
h3 { font-size: 1.25em; font-weight: 600; line-height: 1.4; color: var(--on-surface); }
p { color: var(--on-surface-variant); line-height: 1.7; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; padding: 0.875em 1.75em; border-radius: 0.25em; font-size: 0.875em; font-weight: 600; letter-spacing: 0.05em; cursor: pointer; transition: all 0.15s ease; border: none; min-height: 3em; text-decoration: none; }
.btn-primary { background: var(--primary-container); color: var(--on-primary); box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.btn-primary:hover { opacity: 0.9; box-shadow: 0 4px 8px rgba(0,0,0,0.15); text-decoration: none; color: var(--on-primary); }
.btn-secondary { background: var(--surface-white); color: var(--on-surface); border: 1.5px solid var(--on-surface); }
.btn-secondary:hover { background: var(--surface-low); text-decoration: none; }
.btn-lg { padding: 1em 2.25em; font-size: 1em; border-radius: 0.25em; }
.btn-full { width: 100%; }

/* ── HEADER / NAV ── */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--surface); border-bottom: 1px solid var(--outline-variant); height: 4.5em; display: flex; align-items: center; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo { display: inline-flex; align-items: center; color: var(--primary); text-decoration: none; margin-right: auto; }
.nav-logo:hover { text-decoration: none; }
.nav-logo-mark { display: block; width: 220px; height: 53px; flex-shrink: 0; }
.nav-logo-text { display: none; }

.nav-links { display: flex; align-items: center; gap: 2.5em; margin-left: 3em; }
.nav-links a { font-size: 0.9375em; font-weight: 500; color: #082245; transition: color 0.15s; padding: 0.25em 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); border-bottom-color: var(--primary); text-decoration: none; }
.nav-cta { margin-left: 2.5em; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.5em; color: var(--secondary); }
.nav-mobile { display: none; position: absolute; top: 4.5em; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--outline-variant); padding: 1em 1.5em; flex-direction: column; gap: 1em; z-index: 99; }
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 1em; font-weight: 500; color: var(--on-surface); padding: 0.625em 0; border-bottom: 1px solid var(--outline-variant); }
.nav-mobile .btn-primary { margin-top: 0.5em; }

/* ── HERO ── */
.hero { background: var(--surface-white); padding: 5em 0; overflow: hidden; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5em; align-items: center; grid-template-rows: auto 1fr auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5em; background: var(--surface-container); color: var(--primary); font-size: 0.8125em; font-weight: 600; padding: 0.375em 0.875em; border-radius: 9999px; margin-bottom: 1.25em; }
.hero-title { margin-bottom: 1.25em; }
.hero-subtitle { font-size: 1.125em; color: var(--on-surface-variant); margin-bottom: 2em; line-height: 1.7; }
.hero-actions { display: flex; gap: 1em; flex-wrap: wrap; }
.hero-calc { background: var(--surface-low); border: 1px solid var(--outline-variant); border-radius: 0.5em; padding: 1.5em; min-height: 27.5em; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero-calc iframe { width: 100%; min-height: 25em; border: none; border-radius: 0.25em; }
.hero-bg-accent { position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: linear-gradient(to left, rgba(255,218,214,0.3), transparent); pointer-events: none; z-index: 0; }

/* ── TRUST BAND ── */
.trust-band { background: var(--surface-white); border-top: 1px solid var(--outline-variant); border-bottom: 1px solid var(--outline-variant); padding: 1.25em 0; }
.trust-band-label { text-align: center; font-size: 0.6875em; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--secondary); margin-bottom: 0.875em; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2em; }
section.trust-band .trust-logos span { font-size: 0.9375em; font-weight: 700; color: #767676 !important; filter: grayscale(1); opacity: 1 !important; transition: all 0.2s; }
.trust-logos:hover span { filter: grayscale(0); opacity: 1; }

/* ── BENEFITS ── */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5em; margin-top: 3em; }
.benefit-card { background: var(--surface-white); border: 1px solid var(--outline-variant); border-radius: 0.5em; padding: 2em 1.5em; }
.benefit-icon { width: 3em; height: 3em; background: var(--surface-container); border-radius: 0.5em; display: flex; align-items: center; justify-content: center; margin-bottom: 1em; font-size: 1.5em; color: var(--primary); }
.benefit-card h3 { margin-bottom: 0.5em; font-size: 1.125em; }
.benefit-card p { font-size: 0.9375em; }

/* ── HOW IT WORKS ── */
.steps { background: var(--surface); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3em; margin-top: 3em; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 1.75em; left: calc(16.66% + 1em); right: calc(16.66% + 1em); height: 2px; background: var(--outline-variant); z-index: 0; }
.step { text-align: center; position: relative; z-index: 1; }
.step-number { width: 3.5em; height: 3.5em; background: var(--primary-container); color: var(--on-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.375em; font-weight: 700; margin: 0 auto 1.25em; border: 3px solid var(--surface); }
.step h3 { margin-bottom: 0.5em; }
.step p { font-size: 0.9375em; }

/* ── FAQ ── */
.faq-list { margin-top: 2.5em; display: flex; flex-direction: column; gap: 1px; }
.faq-item { background: var(--surface-white); border: 1px solid var(--outline-variant); border-radius: 0.25em; overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25em 1.5em; background: none; border: none; cursor: pointer; font-size: 1em; font-weight: 600; color: var(--on-surface); text-align: left; gap: 1em; }
.faq-question:hover { background: var(--surface-low); }
.faq-icon { font-size: 1.25em; color: var(--primary); flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 1.5em 1.25em; font-size: 0.9375em; color: var(--on-surface-variant); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ── BLOG PREVIEW ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5em; margin-top: 2.5em; }
.blog-card { background: var(--surface-white); border: 1px solid var(--outline-variant); border-radius: 0.5em; overflow: hidden; transition: box-shadow 0.2s; }
.blog-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.blog-card-tag { display: inline-block; background: var(--surface-container); color: var(--primary); font-size: 0.75em; font-weight: 600; padding: 0.25em 0.625em; border-radius: 9999px; margin: 1.25em 1.25em 0.75em; }
.blog-card h3 { padding: 0 1.25em; margin-bottom: 0.625em; font-size: 1.0625em; }
.blog-card p { padding: 0 1.25em; font-size: 0.875em; }
.blog-card a { display: block; padding: 1em 1.25em 1.25em; font-size: 0.875em; font-weight: 600; color: var(--primary); text-decoration: none; }
.blog-card a:hover { text-decoration: underline; }

/* ── CTA BANNER ── */
.cta-banner { background: var(--primary); padding: 5em 0; text-align: center; }
.cta-banner h2, .cta-banner p { color: white; }
.cta-banner p { opacity: 0.85; margin: 1em 0 2em; font-size: 1.125em; }
.btn-white { background: white; color: var(--primary); font-weight: 700; }
.btn-white:hover { background: var(--surface-low); color: var(--primary); text-decoration: none; }

/* ── PAGE HERO (inner pages) ── */
.page-hero { background: var(--surface-white); padding: 3.75em 0 3em; border-bottom: 1px solid var(--outline-variant); }
.breadcrumb { display: flex; align-items: center; gap: 0.5em; font-size: 0.8125em; color: var(--secondary); margin-bottom: 1.25em; }
.breadcrumb a { color: var(--secondary); }
.breadcrumb a:hover { color: var(--primary); text-decoration: none; }
.breadcrumb span { color: var(--outline); }

/* ── ARTICLE ── */
.article-content { max-width: 780px; }
.article-content h2 { margin: 2.5em 0 1em; }
.article-content h3 { margin: 1.75em 0 0.75em; }
.article-content p { margin-bottom: 1em; }
.article-content ul, .article-content ol { padding-left: 1.5em; margin-bottom: 1em; }
.article-content li { margin-bottom: 0.5em; color: var(--on-surface-variant); line-height: 1.7; }
.article-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.9375em; }
.article-content th { background: var(--surface-container); color: var(--on-surface); font-weight: 600; padding: 0.75em 1em; text-align: left; border: 1px solid var(--outline-variant); }
.article-content td { padding: 0.6875em 1em; border: 1px solid var(--outline-variant); color: var(--on-surface-variant); }
.article-content tr:nth-child(even) td { background: var(--surface-low); }
.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;
}
.price-section { max-width: 1120px; margin: 0 auto; }
.price-section-head { text-align: center; max-width: 760px; margin: 0 auto 1.75em; }
.price-section-head p { margin-top: 0.75em; font-size: 1.0625em; }
.price-table-shell {
  background:
    radial-gradient(circle at top left, rgba(220, 38, 38, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,248,247,0.92));
  border: 1px solid var(--outline-variant);
  border-radius: 1.25em;
  box-shadow: 0 16px 42px rgba(40, 23, 21, 0.08);
  padding: 1em;
  overflow: hidden;
}
.price-table-modern {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}
.price-table-modern thead th {
  position: sticky;
  top: 0;
  background: rgba(255, 248, 247, 0.98);
  color: var(--on-surface);
  font-size: 0.8125em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.95em 1em;
  border-bottom: 1px solid var(--outline-variant);
}
.price-table-modern thead th:nth-child(n + 3) {
  color: var(--primary);
}
.price-table-modern tbody td {
  padding: 1em;
  border-bottom: 1px solid rgba(230, 189, 184, 0.7);
  color: var(--on-surface-variant);
  font-size: 0.9375em;
}
.price-table-modern tbody tr:last-child td { border-bottom: none; }
.price-table-modern tbody tr:hover td { background: rgba(255, 240, 238, 0.72); }
.price-table-modern tbody td:nth-child(3),
.price-table-modern tbody td:nth-child(4),
.price-table-modern tbody td:nth-child(5),
.price-table-modern tbody td:nth-child(6) {
  font-weight: 600;
  color: var(--on-surface);
}
.price-table-modern tbody td:nth-child(6) {
  color: var(--primary);
}
.price-note {
  text-align: center;
  font-size: 0.875em;
  color: var(--on-surface-variant);
  margin-top: 1em;
}
.price-note a { font-weight: 600; }
.price-table-modern td[data-label]::before { content: attr(data-label); display: none; }
.info-box { background: var(--surface-container); border-left: 4px solid var(--primary); border-radius: 0.25em; padding: 1.25em 1.5em; margin: 1.5em 0; }
.info-box p { color: var(--on-surface); margin: 0; font-size: 0.9375em; }

/* ── SIDEBAR ── */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3em; align-items: start; }
.sidebar { position: sticky; top: 5.5em; }
.sidebar-card { background: var(--surface-white); border: 1px solid var(--outline-variant); border-radius: 0.5em; padding: 1.5em; margin-bottom: 1.5em; }
.sidebar-card h4 { font-size: 1em; margin-bottom: 1em; color: var(--on-surface); }
.sidebar-links { display: flex; flex-direction: column; gap: 0.5em; }
.sidebar-links a { font-size: 0.875em; color: var(--on-surface-variant); padding: 0.5em 0; border-bottom: 1px solid var(--outline-variant); }
.sidebar-links a:last-child { border-bottom: none; }
.sidebar-links a:hover { color: var(--primary); text-decoration: none; }

/* ── VERIFICARE TOOL ── */
.verify-tool { background: var(--surface-white); border: 1px solid var(--outline-variant); border-radius: 0.5em; padding: 2.5em; text-align: center; margin: 2.5em 0; }
.verify-tool p { margin-bottom: 1.5em; max-width: 500px; margin-left: auto; margin-right: auto; }
.verify-tool iframe { width: 100%; min-height: 18.75em; border: none; }

/* ── TABLE RESPONSIVE ── */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5em 0; }
.table-responsive table { min-width: 480px; }

/* ── GHID INDEX ── */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5em; margin-top: 2.5em; }
.article-card { background: var(--surface-white); border: 1px solid var(--outline-variant); border-radius: 0.5em; padding: 1.75em; transition: box-shadow 0.2s; }
.article-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.article-card-icon { font-size: 2em; margin-bottom: 1em; }
.article-card h3 { font-size: 1.0625em; margin-bottom: 0.625em; }
.article-card p { font-size: 0.875em; margin-bottom: 1em; }
.article-card a { font-size: 0.875em; font-weight: 600; color: var(--primary); }

/* ── RATE PAGE ── */
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5em; margin-top: 2em; }
.rate-card { background: var(--surface-white); border: 1px solid var(--outline-variant); border-radius: 0.5em; padding: 1.75em; }
.rate-card h3 { font-size: 1.125em; margin-bottom: 0.5em; }
.rate-card p { font-size: 0.875em; margin-bottom: 1em; }

/* ── FOOTER ── */
.site-footer { background: #082245; color: #cbd5e1; padding: 4em 0 2em; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3em; margin-bottom: 3em; }
.footer-brand h3 { font-size: 1.125em; font-weight: 700; color: #ffffff; margin-bottom: 0.75em; }
.footer-brand p { font-size: 0.875em; line-height: 1.7; color: #ffffff; }
.footer-brand .asf-badge { display: inline-block; margin-top: 1em; background: rgba(255,255,255,0.1); color: #cbd5e1; font-size: 0.75em; padding: 0.375em 0.75em; border-radius: 0.25em; }
.footer-col h4 { font-size: 0.8125em; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #cbd5e1; margin-bottom: 1em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.625em; }
.footer-col ul li a { color: #cbd5e1; font-size: 0.875em; text-decoration: none; transition: color 0.15s; }
.footer-col ul li a:hover { color: #ffffff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5em; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1em; }
.footer-bottom p { font-size: 0.8125em; color: #cbd5e1; }
.footer-bottom a { color: #cbd5e1; font-size: 0.8125em; }
.footer-bottom a:hover { color: #ffffff; }

/* ── CALCULATOR RCA FORM ── */
.calc-wrapper { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3em; align-items: start; }

.calc-form { background: var(--surface-white); border-radius: 1em; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 6px 24px rgba(183,0,17,0.08); border: 1px solid var(--outline-variant); }

.calc-form-header { background: linear-gradient(135deg, var(--primary) 0%, #8b000d 100%); color: white; padding: 2em 2em 1.75em; text-align: center; }
.calc-form-header .calc-form-icon { font-size: 2.5em; margin-bottom: 0.5em; line-height: 1; }
.calc-form-header h2 { color: white; font-size: 1.375em; margin-bottom: 0.375em; }
.calc-form-header p { color: rgba(255,255,255,0.85); font-size: 0.9375em; }
.calc-form-header p strong { color: white; }

.calc-form form { padding: 1.75em 2em 2em; }

.calc-form-fields { display: flex; flex-wrap: wrap; gap: 1.25em; }
.calc-form-fields .form-group { flex: 1 1 calc(50% - 0.625em); min-width: 14em; }
.calc-form-fields .form-group:last-child { flex: 1 1 100%; }

.form-group { display: flex; flex-direction: column; gap: 0.375em; }

.form-group label { font-size: 0.8125em; font-weight: 600; color: var(--on-surface); display: flex; align-items: center; gap: 0.375em; letter-spacing: 0.01em; }
.form-label-icon { font-size: 1em; line-height: 1; }

.form-select-wrap { position: relative; }
.form-select-wrap select {
  width: 100%; padding: 0.75em 1em; padding-right: 2.5em;
  font-size: 0.9375em; font-family: inherit; color: var(--on-surface);
  background: var(--surface); border: 1.5px solid var(--outline-variant);
  border-radius: 0.625em; appearance: none; -webkit-appearance: none;
  cursor: pointer; transition: all 0.2s ease;
}
.form-select-wrap select:hover { border-color: var(--outline); background: var(--surface-low); }
.form-select-wrap select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(183,0,17,0.12); background: white; }
.form-select-arrow { position: absolute; right: 1em; top: 50%; transform: translateY(-50%); font-size: 0.625em; color: var(--secondary); pointer-events: none; }

/* Radio group for perioada */
.form-radio-group { display: flex; gap: 0.5em; flex-wrap: wrap; }
.form-radio-btn {
  flex: 1; min-width: 5.5em; cursor: pointer;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.form-radio-btn input { position: absolute; opacity: 0; width: 0; height: 0; }
.form-radio-label {
  display: block; width: 100%; text-align: center;
  padding: 0.6875em 0.75em; font-size: 0.875em; font-weight: 500;
  color: var(--on-surface-variant); background: var(--surface);
  border: 1.5px solid var(--outline-variant); border-radius: 0.625em;
  transition: all 0.2s ease; cursor: pointer;
}
.form-radio-btn input:checked + .form-radio-label {
  background: var(--primary); color: white; border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(183,0,17,0.25);
}
.form-radio-btn input:focus-visible + .form-radio-label { outline: 2px solid var(--primary); outline-offset: 2px; }
.form-radio-btn:hover .form-radio-label:not(:has(input:checked)) { border-color: var(--outline); background: var(--surface-low); }

/* Submit button */
.calc-submit-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.625em;
  width: 100%; margin-top: 1.5em; padding: 1em 1.75em;
  font-size: 1.0625em; font-weight: 700; font-family: inherit;
  color: white; background: linear-gradient(135deg, var(--primary-container) 0%, #b91c1c 100%);
  border: none; border-radius: 0.75em; cursor: pointer;
  transition: all 0.25s ease; box-shadow: 0 4px 14px rgba(183,0,17,0.3);
  letter-spacing: 0.02em;
}
.calc-submit-btn:hover {
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(183,0,17,0.35);
}
.calc-submit-btn:active { transform: translateY(0); }
.calc-submit-arrow { font-size: 1.25em; transition: transform 0.2s; }
.calc-submit-btn:hover .calc-submit-arrow { transform: translateX(4px); }

.calc-form-footer { display: flex; align-items: center; justify-content: center; gap: 0.5em; margin-top: 1em; font-size: 0.75em; color: var(--on-surface-variant); }
.calc-secure-badge { font-size: 0.875em; }

/* CTA button (no-form version) */
.calc-cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75em;
  padding: 1.125em 2.5em; font-size: 1.125em; font-weight: 700; font-family: inherit;
  color: white; background: linear-gradient(135deg, var(--primary-container) 0%, #b91c1c 100%);
  border: none; border-radius: 0.75em; cursor: pointer; text-decoration: none;
  transition: all 0.25s ease; box-shadow: 0 4px 14px rgba(183,0,17,0.3);
  letter-spacing: 0.02em; min-width: 14em;
}
.calc-cta-btn:hover {
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(183,0,17,0.35);
  text-decoration: none; color: white;
}
.calc-cta-btn:active { transform: translateY(0); }
.calc-cta-arrow { font-size: 1.375em; transition: transform 0.2s; }
.calc-cta-btn:hover .calc-cta-arrow { transform: translateX(4px); }

/* Info sidebar */
.calc-info { display: flex; flex-direction: column; gap: 1.25em; }
.calc-info-card { background: var(--surface-white); border: 1px solid var(--outline-variant); border-radius: 1em; padding: 1.75em; }
.calc-info-card h3 { font-size: 1.125em; margin-bottom: 1.25em; color: var(--on-surface); }

.calc-benefits { list-style: none; display: flex; flex-direction: column; gap: 1em; }
.calc-benefit-item { display: flex; align-items: flex-start; gap: 0.75em; font-size: 0.9375em; color: var(--on-surface-variant); line-height: 1.5; }
.calc-benefit-icon { font-size: 1.25em; flex-shrink: 0; margin-top: 0.125em; line-height: 1; }
.calc-benefit-item strong { color: var(--on-surface); }

.calc-info-trust { background: var(--surface-low); border-color: transparent; }
.calc-info-trust p { font-size: 0.875em; color: var(--on-surface-variant); margin: 0; }

@media (max-width: 1024px) {
  .calc-wrapper { grid-template-columns: 1fr; gap: 2em; }
}
@media (max-width: 640px) {
  .calc-form form { padding: 1.25em; }
  .calc-form-header { padding: 1.5em 1.25em; }
  .calc-form-fields .form-group { flex: 1 1 100%; min-width: 0; }
  .form-radio-group { flex-wrap: wrap; }
  .form-radio-btn { min-width: calc(50% - 0.25em); flex: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5em; }
  .hero-calc { min-height: 18.75em; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2em; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 768px) {
  .section { padding: 3.5em 0; }
  .nav-logo-mark { width: 140px; height: 34px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: block; }
  .benefits-grid, .steps-grid, .blog-grid, .articles-grid { grid-template-columns: 1fr; }
  .cards-grid, .contact-grid { grid-template-columns: 1fr; gap: 2em; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .steps-grid::before { display: none; }
  .price-table-shell { padding: 0.5em; border-radius: 1em; }
  .price-table-modern,
  .price-table-modern thead,
  .price-table-modern tbody,
  .price-table-modern th,
  .price-table-modern td,
  .price-table-modern tr {
    display: block;
    width: 100%;
  }
  .price-table-modern thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .price-table-modern tbody tr {
    background: var(--surface-white);
    border: 1px solid var(--outline-variant);
    border-radius: 0.875em;
    margin-bottom: 0.75em;
    box-shadow: 0 10px 24px rgba(40, 23, 21, 0.05);
    overflow: hidden;
  }
  .price-table-modern tbody td {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    border-bottom: 1px solid rgba(230, 189, 184, 0.45);
    padding: 0.85em 0.9em;
    font-size: 0.9375em;
  }
  .price-table-modern tbody td:last-child { border-bottom: none; }
  .price-table-modern tbody td::before {
    content: attr(data-label);
    font-size: 0.75em;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex: 0 0 42%;
  }
  .price-table-modern tbody td:nth-child(6) {
    border-bottom-color: rgba(183, 0, 17, 0.18);
  }
}

/* ============================================================
   Cookie Consent Banner + Modal + Rotiță (profi)
   ============================================================ */

/* ── Banner compact (lipit de jos) ── */
.c-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: rgba(255, 248, 247, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(230, 189, 184, 0.5);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 0;
}
.c-banner--visible {
  opacity: 1;
  transform: translateY(0);
}
.c-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.625em 1.5em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  min-height: 3.25em;
}
.c-banner__text {
  font-size: 0.8125em;
  color: #5c403c;
  line-height: 1.4;
  margin: 0;
  flex: 1 1 auto;
}
.c-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex-shrink: 0;
}

/* ── Butoane reutilizabile ── */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em 1em;
  border-radius: 0.375em;
  font-size: 0.75em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  min-height: 2.25em;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
  font-family: inherit;
  letter-spacing: 0.01em;
}
.c-btn--primary {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}
.c-btn--primary:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}
.c-btn--outline {
  background: transparent;
  color: #555f6f;
  border-color: #cbd5e1;
}
.c-btn--outline:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}
.c-btn--link {
  background: transparent;
  color: #b70011;
  border-color: transparent;
  padding: 0.5em 0.375em;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.c-btn--link:hover {
  color: #8a000d;
  background: rgba(183,0,17,0.04);
}
.c-btn:focus-visible {
  outline: 2px solid #b70011;
  outline-offset: 2px;
}

/* ── Rotiță setări (stânga-jos) ── */
.c-settings-trigger {
  position: fixed;
  bottom: 1em;
  left: 1em;
  z-index: 9997;
  width: 2.5em;
  height: 2.5em;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e6bdb8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b70011;
  transition: all 0.2s ease;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}
.c-settings-trigger--visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.c-settings-trigger:hover {
  background: #fff0ee;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transform: scale(1.05);
}
.c-settings-trigger:focus-visible {
  outline: 2px solid #b70011;
  outline-offset: 2px;
}

/* ── Modal ── */
.c-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em;
}
.c-modal[hidden] {
  display: none;
}
.c-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.c-modal:not([hidden]) .c-modal__overlay {
  opacity: 1;
}
.c-modal__panel {
  position: relative;
  background: #fff;
  border-radius: 1em;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  animation: c-modal-in 0.25s ease;
}
@keyframes c-modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.c-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25em 1.5em 0.75em;
  border-bottom: 1px solid #f1f5f9;
}
.c-modal__header h3 {
  font-size: 1.0625em;
  font-weight: 700;
  color: #281715;
  margin: 0;
}
.c-modal__close {
  width: 2em;
  height: 2em;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555f6f;
  transition: all 0.15s;
}
.c-modal__close:hover {
  background: #f1f5f9;
  color: #281715;
}
.c-modal__body {
  padding: 1.25em 1.5em;
}
.c-modal__desc {
  font-size: 0.8125em;
  color: #5c403c;
  line-height: 1.5;
  margin: 0 0 0.5em;
}
.c-modal__link {
  display: inline-block;
  font-size: 0.75em;
  color: #b70011;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-bottom: 1em;
}
.c-modal__link:hover {
  color: #8a000d;
}
.c-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  padding: 0.75em 1.5em 1.25em;
  border-top: 1px solid #f1f5f9;
}
.c-modal__footer .c-btn {
  flex: 1;
  min-width: 7em;
  font-size: 0.75em;
}

/* ── Opțiuni în modal ── */
.c-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 0.875em 0;
  border-bottom: 1px solid #f1f5f9;
}
.c-option:last-of-type {
  border-bottom: none;
}
.c-option__info {
  display: flex;
  flex-direction: column;
  gap: 0.125em;
}
.c-option__label {
  font-size: 0.875em;
  font-weight: 600;
  color: #281715;
}
.c-option__note {
  font-size: 0.75em;
  color: #5c403c;
}
.c-badge {
  font-size: 0.6875em;
  font-weight: 600;
  padding: 0.25em 0.625em;
  border-radius: 9999px;
  white-space: nowrap;
}
.c-badge--always {
  background: #f1f5f9;
  color: #555f6f;
}

/* ── Toggle switch ── */
.c-toggle {
  position: relative;
  display: inline-block;
  width: 2.5em;
  height: 1.5em;
  flex-shrink: 0;
  cursor: pointer;
}
.c-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.c-toggle__slider {
  position: absolute;
  inset: 0;
  background: #cbd5e1;
  border-radius: 9999px;
  transition: background 0.2s;
}
.c-toggle__slider::before {
  content: '';
  position: absolute;
  top: 0.1875em;
  left: 0.1875em;
  width: 1.125em;
  height: 1.125em;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.c-toggle input:checked + .c-toggle__slider {
  background: #dc2626;
}
.c-toggle input:checked + .c-toggle__slider::before {
  transform: translateX(1em);
}
.c-toggle input:focus-visible + .c-toggle__slider {
  outline: 2px solid #b70011;
  outline-offset: 2px;
}

/* ── Responsive banner ── */
@media (max-width: 640px) {
  .c-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.625em;
    padding: 0.75em 1em;
    min-height: 0;
  }
  .c-banner__text {
    font-size: 0.75em;
    text-align: center;
  }
  .c-banner__actions {
    justify-content: center;
  }
  .c-btn {
    font-size: 0.6875em;
    padding: 0.4375em 0.75em;
    min-height: 2em;
  }
  .c-settings-trigger {
    bottom: 0.75em;
    left: 0.75em;
    width: 2.25em;
    height: 2.25em;
  }
  .c-modal__panel {
    max-width: 100%;
    margin: 0.5em;
    border-radius: 0.75em;
  }
  .c-modal__footer {
    flex-direction: column;
  }
  .c-modal__footer .c-btn {
    width: 100%;
  }
}
