/* ============================================
   NIK THERMGAZ SRL — Stylesheet principal
   ============================================ */

/* --- 1. Reset & Variabile --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  /* Brand */
  --brand-50:  #eff8ff;
  --brand-100: #dbeefe;
  --brand-200: #bfe0fe;
  --brand-500: #3b95f6;
  --brand-600: #1f6fdb;
  --brand-700: #1d5cc1;
  --brand-800: #1e4d9c;
  --brand-900: #1d427b;
  --brand-950: #16294a;

  /* Accent — flacără */
  --flame-400: #fb923c;
  --flame-500: #f97316;
  --flame-600: #ea580c;

  /* Neutrale */
  --ink-50:  #f8fafc;
  --ink-100: #f1f5f9;
  --ink-200: #e2e8f0;
  --ink-300: #cbd5e1;
  --ink-400: #94a3b8;
  --ink-500: #64748b;
  --ink-600: #475569;
  --ink-700: #334155;
  --ink-800: #1e293b;
  --ink-900: #0f172a;

  /* Semantic */
  --success: #16a34a;
  --warning: #f59e0b;
  --danger:  #dc2626;

  /* Layout */
  --container: 1200px;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(15, 23, 42, .06);
  --shadow:     0 2px 16px -2px rgba(15, 23, 42, .08), 0 1px 3px -1px rgba(15, 23, 42, .04);
  --shadow-md:  0 4px 24px -4px rgba(15, 23, 42, .10), 0 2px 8px -2px rgba(15, 23, 42, .06);
  --shadow-lg:  0 12px 32px -8px rgba(15, 23, 42, .15);
  --shadow-cta: 0 12px 32px -8px rgba(31, 111, 219, .35);

  /* Tipografie */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;

  /* Header height */
  --header-h: 72px;
  --sticky-bar-h: 64px;
}

/* --- 2. Tipografie de bază --- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-800);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.625rem); }
h4 { font-size: 1.125rem; }

p { color: var(--ink-700); }

a { color: var(--brand-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-600); }

img, svg { display: block; max-width: 100%; height: auto; }

ul, ol { list-style-position: inside; }

/* --- 3. Containere --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section { padding: 6rem 0; }
}

.section-tight { padding: 3rem 0; }

.section-dark {
  background: linear-gradient(135deg, var(--brand-950) 0%, var(--brand-900) 50%, var(--brand-800) 100%);
  color: #ffffff;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.85); }

.section-light { background: var(--ink-50); }

/* --- 4. Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ink-200);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink-900);
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.logo:hover { color: var(--brand-700); }

.logo-mark {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark img,
.logo-mark svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* Footer brand logo gets a slightly larger mark on dark background */
.footer-brand .logo-mark { width: 44px; height: 44px; }

.logo-text-sub {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  color: var(--ink-500);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: -2px;
}

.nav {
  display: none;
  align-items: center;
  gap: .25rem;
}

.nav a {
  padding: .5rem .85rem;
  font-weight: 500;
  font-size: .94rem;
  color: var(--ink-700);
  border-radius: var(--radius-sm);
  transition: all .2s;
}

.nav a:hover { color: var(--brand-700); background: var(--brand-50); }
.nav a.active { color: var(--brand-700); background: var(--brand-50); }

.header-cta {
  display: none;
  align-items: center;
  gap: .5rem;
}

@media (min-width: 1024px) {
  .nav, .header-cta { display: flex; }
}

/* --- 5. Mobile menu --- */
.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--ink-100);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--ink-800);
}
.menu-btn:hover { background: var(--ink-200); }

@media (min-width: 1024px) {
  .menu-btn { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: #fff;
  z-index: 49;
  padding: 1.5rem 1.25rem 6rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}

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

.mobile-menu nav { display: flex; flex-direction: column; gap: .25rem; }

.mobile-menu nav a {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--ink-800);
  font-size: 1.05rem;
  border: 1px solid var(--ink-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu nav a:hover, .mobile-menu nav a.active {
  background: var(--brand-50);
  color: var(--brand-700);
  border-color: var(--brand-100);
}

.mobile-cta-block {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ink-200);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

/* --- 6. Butoane --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.4rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .95rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}

.btn-primary {
  background: var(--brand-700);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: var(--brand-800);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 40px -8px rgba(31, 111, 219, .45);
}

.btn-flame {
  background: var(--flame-500);
  color: #fff;
  box-shadow: 0 12px 32px -8px rgba(249, 115, 22, .4);
}
.btn-flame:hover { background: var(--flame-600); color: #fff; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--brand-700);
  border: 2px solid var(--brand-200);
}
.btn-outline:hover { border-color: var(--brand-700); background: var(--brand-50); color: var(--brand-700); }

.btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-whatsapp:hover { background: #1da851; color: #fff; }

.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1rem; font-size: .875rem; }
.btn-block { width: 100%; }

/* --- 7. Hero --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--brand-950) 0%, var(--brand-900) 50%, var(--brand-800) 100%);
  color: #fff;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(249, 115, 22, .15), transparent 40%),
    radial-gradient(circle at 80% 100%, rgba(59, 149, 246, .2), transparent 40%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.hero-inner { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero { padding: 6rem 0 7rem; }
  .hero-grid { grid-template-columns: 1.2fr 1fr; }
}

.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 strong { color: var(--flame-400); font-weight: 800; }

.hero-lead {
  font-size: 1.125rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  font-size: .875rem;
  color: rgba(255,255,255,.85);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.hero-trust-item svg { color: var(--flame-400); flex-shrink: 0; }

/* Hero card vizual */
.hero-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(249, 115, 22, .15);
  color: var(--flame-400);
  padding: .35rem .75rem;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-card h3 { color: #fff; margin-bottom: 1rem; font-size: 1.5rem; }

.hero-card-list {
  list-style: none;
  margin-top: 1rem;
}
.hero-card-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .5rem 0;
  color: rgba(255,255,255,.92);
  font-size: .95rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero-card-list li:last-child { border-bottom: none; }
.hero-card-list svg { color: var(--flame-400); flex-shrink: 0; margin-top: 3px; }

/* --- 8. Service Cards (3 carduri pe homepage) --- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: .75rem;
}

.section-header h2 { margin-bottom: 1rem; }

.section-header p {
  font-size: 1.0625rem;
  color: var(--ink-600);
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}

.service-card.featured {
  border: 2px solid var(--brand-600);
  box-shadow: var(--shadow-md);
}

.service-card-tag {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--flame-500);
  color: #fff;
  padding: .3rem .75rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--brand-50);
  color: var(--brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  margin-bottom: .65rem;
  font-size: 1.35rem;
}

.service-card > p {
  color: var(--ink-600);
  margin-bottom: 1.25rem;
  font-size: .95rem;
}

.service-features {
  list-style: none;
  margin: 1.25rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .35rem 0;
  font-size: .9rem;
  color: var(--ink-700);
}

.service-features svg {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 3px;
}

.service-price {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  margin-bottom: 1.25rem;
}
.service-price .from { font-size: .85rem; color: var(--ink-500); font-weight: 500; }
.service-price .amount { font-size: 2rem; font-weight: 800; color: var(--ink-900); font-family: var(--font-display); letter-spacing: -.02em; }
.service-price .currency { font-size: 1rem; color: var(--ink-600); font-weight: 600; }

.service-card .btn { margin-top: auto; }

/* --- 9. Trust badges --- */
.trust-strip {
  background: var(--ink-50);
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
  padding: 2rem 0;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .trust-strip-grid { grid-template-columns: repeat(4, 1fr); }
}

.trust-item-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-700);
  letter-spacing: -.02em;
  display: block;
  line-height: 1;
}

.trust-item-label {
  font-size: .85rem;
  color: var(--ink-600);
  margin-top: .35rem;
}

/* --- 10. Zona acoperită --- */
.zone-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .zone-grid { grid-template-columns: 1fr 1.3fr; }
}

.zone-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}

.zone-list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .9rem 1rem;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--ink-800);
  font-size: .95rem;
}

.zone-list svg { color: var(--brand-700); flex-shrink: 0; }

/* --- 11. Process steps --- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  counter-reset: steps;
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

.step {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  position: relative;
  counter-increment: steps;
}

.step::before {
  content: "0" counter(steps);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-100);
  line-height: 1;
  display: block;
  margin-bottom: .75rem;
  letter-spacing: -.04em;
}

.step h4 { margin-bottom: .5rem; font-size: 1.0625rem; }
.step p { font-size: .9rem; color: var(--ink-600); }

/* --- 12. CTA section --- */
.cta-section {
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-900) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(249,115,22,.25), transparent 50%);
  pointer-events: none;
}

.cta-section > * { position: relative; }
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,.9); max-width: 540px; margin: 0 auto 1.75rem; }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .cta-section { padding: 4rem 3rem; }
}

/* --- 13. FAQ --- */
.faq {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item.is-open { border-color: var(--brand-300); }

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.025rem;
  color: var(--ink-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  line-height: 1.4;
}

.faq-question .icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s;
}

.faq-item.is-open .faq-question .icon { transform: rotate(45deg); background: var(--brand-700); color: #fff; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 1.5rem;
}

.faq-item.is-open .faq-answer {
  max-height: 600px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p { color: var(--ink-700); font-size: .975rem; }
.faq-answer p + p { margin-top: .75rem; }

/* --- 14. Tabel prețuri --- */
.price-table-wrap {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

.price-table th {
  background: var(--ink-50);
  text-align: left;
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-900);
  border-bottom: 1px solid var(--ink-200);
  font-size: .9rem;
}

.price-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--ink-100);
  vertical-align: top;
}

.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--ink-50); }

.price-table .price-cell {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-700);
  white-space: nowrap;
}

/* Mobile + phablet: transformă tabelul în listă de carduri (sub 768px) */
@media (max-width: 767.98px) {
  .price-table-wrap {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
  }
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table td {
    display: block;
    width: 100%;
  }
  .price-table tr {
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: .85rem;
    padding: 1rem 1.1rem;
  }
  .price-table tr:last-child { margin-bottom: 0; }
  .price-table tr:hover td { background: transparent; }
  .price-table td {
    padding: 0;
    border-bottom: none;
  }
  /* Coloana 1: numele serviciului */
  .price-table td:nth-of-type(1) {
    font-size: 1rem;
    color: var(--ink-900);
    margin-bottom: .25rem;
  }
  /* Coloana 2: detalii */
  .price-table td:nth-of-type(2) {
    font-size: .88rem;
    color: var(--ink-600);
    line-height: 1.55;
    margin-bottom: .75rem;
  }
  .price-table td:nth-of-type(2):empty { display: none; }
  /* Coloana 3: preț, ca tag */
  .price-table td:nth-of-type(3),
  .price-table td.price-cell {
    text-align: left !important;
    display: inline-block;
    width: auto;
    background: var(--brand-50);
    color: var(--brand-700);
    padding: .35rem .75rem;
    border-radius: 100px;
    font-size: .92rem;
  }
}

.price-note {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--brand-50);
  border-left: 4px solid var(--brand-600);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--ink-700);
}

/* --- 15. Contact page --- */
.contact-primary { max-width: 880px; margin: 0 auto; }

.contact-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) {
  .contact-cta-grid { grid-template-columns: 1fr 1fr; }
}

.contact-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .5rem;
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.contact-cta-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-600);
  box-shadow: var(--shadow-lg);
}
.contact-cta-card--whatsapp:hover { border-color: #25d366; }

.contact-cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--brand-50);
  color: var(--brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .75rem;
}
.contact-cta-card--whatsapp .contact-cta-icon { background: rgba(37, 211, 102, .12); color: #25d366; }
.contact-cta-icon--small { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 0; }

.contact-cta-label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-500);
}
.contact-cta-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -.02em;
}
.contact-cta-hint { font-size: .85rem; color: var(--ink-500); }

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .contact-info-grid { grid-template-columns: repeat(3, 1fr); }
}

.contact-info-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .75rem;
  padding: 1.75rem 1.25rem;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
}
.contact-info-tile strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink-900);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.contact-info-tile p {
  margin: 0;
  font-size: .95rem;
  color: var(--ink-700);
  line-height: 1.6;
}

.contact-emergency {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--flame-500), var(--flame-600));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.contact-emergency-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  background: rgba(255,255,255,.18);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.contact-emergency h3 { color: #fff; font-size: 1.6rem; margin-bottom: .75rem; }
.contact-emergency p { color: rgba(255,255,255,.95); margin-bottom: 1.25rem; }
.contact-emergency-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.contact-emergency-hint { font-size: .9rem; color: rgba(255,255,255,.85); margin-bottom: 0 !important; }
.contact-emergency-hint a { color: #fff; text-decoration: underline; }

/* --- 16. Footer --- */
.footer {
  background: var(--ink-900);
  color: var(--ink-300);
  padding: 4rem 0 1.5rem;
  margin-bottom: var(--sticky-bar-h);
}

@media (min-width: 1024px) {
  .footer { margin-bottom: 0; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.footer-brand .logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { color: var(--ink-400); font-size: .9rem; margin-bottom: 1rem; max-width: 380px; }

.footer-social {
  display: flex;
  gap: .5rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .2s;
}
.footer-social a:hover { background: var(--brand-700); color: #fff; }

.footer h5 {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  letter-spacing: -.01em;
}

.footer ul { list-style: none; }
.footer ul li { margin-bottom: .5rem; }
.footer ul a {
  color: var(--ink-400);
  font-size: .9rem;
  transition: color .15s;
}
.footer ul a:hover { color: #fff; }

.footer-contact-line {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: var(--ink-300);
  margin-bottom: .65rem;
}
.footer-contact-line svg { color: var(--brand-400); flex-shrink: 0; }
.footer-contact-line a { color: var(--ink-300); }
.footer-contact-line a:hover { color: #fff; }

.footer-legal {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: var(--ink-500);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-legal-links a { color: var(--ink-400); }
.footer-legal-links a:hover { color: #fff; }

.footer-anpc {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
}

.footer-anpc-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--ink-300);
}
.footer-anpc-item a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.3);
  text-underline-offset: 3px;
}

/* --- 17. Sticky Bar Mobil (Sună + WhatsApp) --- */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 48;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-top: 1px solid var(--ink-200);
  box-shadow: 0 -8px 24px -8px rgba(15,23,42,.15);
  height: var(--sticky-bar-h);
}

@media (min-width: 1024px) {
  .sticky-bar { display: none; }
}

.sticky-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  text-decoration: none;
}

.sticky-bar a:first-child { background: var(--brand-700); color: #fff; }
.sticky-bar a:first-child:hover { background: var(--brand-800); }
.sticky-bar a:last-child { background: #25D366; color: #fff; }
.sticky-bar a:last-child:hover { background: #1da851; }

/* --- 18. Page Header (sub-pagini) --- */
.page-header {
  background: linear-gradient(135deg, var(--brand-950) 0%, var(--brand-800) 100%);
  color: #fff;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

.page-header-inner { position: relative; max-width: 760px; }

.page-header h1 { color: #fff; }
.page-header p {
  color: rgba(255,255,255,.85);
  font-size: 1.0625rem;
  margin-top: 1rem;
  max-width: 600px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  margin-bottom: 1rem;
}

.breadcrumbs a { color: rgba(255,255,255,.85); }
.breadcrumbs a:hover { color: var(--flame-400); }
.breadcrumbs .sep { color: rgba(255,255,255,.4); }

/* --- Mobile centering for hero & page-header (under 1024px) --- */
@media (max-width: 1023.98px) {
  /* Homepage hero */
  .hero-grid > div:first-child { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }

  /* Inner section pages (servicii, preturi, despre, contact, blog, legal) */
  .page-header-inner { margin-left: auto; margin-right: auto; text-align: center; }
  .page-header-inner p { margin-left: auto; margin-right: auto; }
  .page-header .breadcrumbs { justify-content: center; }
}

/* --- 19. Article / Blog --- */
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .article-grid { grid-template-columns: repeat(3, 1fr); } }

.article-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all .25s;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-200);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .8rem;
  color: var(--ink-500);
  margin-bottom: 1rem;
}

.article-tag {
  display: inline-block;
  padding: .25rem .65rem;
  background: var(--brand-50);
  color: var(--brand-700);
  border-radius: 100px;
  font-weight: 600;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.article-card h3 {
  font-size: 1.2rem;
  margin-bottom: .65rem;
  line-height: 1.35;
}
.article-card h3 a { color: var(--ink-900); }
.article-card h3 a:hover { color: var(--brand-700); }

.article-card p {
  font-size: .925rem;
  color: var(--ink-600);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.article-link {
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--brand-700);
}
.article-link:hover { gap: .5rem; }

/* Article body (single post) */
.article-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.article-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.article-body h3 {
  margin-top: 2rem;
  margin-bottom: .75rem;
  font-size: 1.3rem;
}

.article-body p { margin-bottom: 1.25rem; color: var(--ink-700); }

.article-body ul, .article-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.25rem;
  color: var(--ink-700);
}

.article-body li { margin-bottom: .5rem; }

.article-body strong { color: var(--ink-900); }

.article-body blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--brand-50);
  border-left: 4px solid var(--brand-600);
  border-radius: var(--radius-sm);
  font-style: italic;
  color: var(--ink-800);
}

.article-tldr {
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: .95rem;
}

.article-tldr h4 { margin-bottom: .5rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-700); }

/* --- 20. Despre noi grid --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-img {
  background: linear-gradient(135deg, var(--brand-900), var(--brand-700));
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 2rem;
}

.about-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(249,115,22,.3), transparent 50%),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 100% 100%, 30px 30px, 30px 30px;
}

.about-img-content { position: relative; text-align: center; }
.about-img-content .num { font-family: var(--font-display); font-size: 4rem; font-weight: 800; color: var(--flame-400); line-height: 1; }
.about-img-content .label { font-size: 1rem; color: rgba(255,255,255,.85); margin-top: .5rem; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
}

.value-item {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.value-item h4 {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .35rem;
  font-size: 1rem;
}
.value-item h4 svg { color: var(--brand-700); }
.value-item p { font-size: .9rem; color: var(--ink-600); }

/* --- 20b. Date legale (despre-noi) --- */
.data-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: .5rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--ink-100);
}
.data-row:last-child { border-bottom: none; }
.data-row strong { color: var(--ink-900); }
@media (max-width: 599px) {
  .data-row {
    grid-template-columns: 1fr;
    gap: .15rem;
    padding: .85rem 0;
  }
}

/* --- 21. Helpers --- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden-mobile { display: none; }
@media (min-width: 768px) { .hidden-mobile { display: initial; } }

.lead-text {
  font-size: 1.125rem;
  color: var(--ink-600);
  max-width: 720px;
}

/* --- 22. Print --- */
@media print {
  .header, .footer, .sticky-bar, .mobile-menu, .menu-btn { display: none !important; }
  body { color: #000; }
}

/* --- 23. Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- 24. Focus visible --- */
:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}
