/* ============================================================
   Parohii-Online.ro — Global Stylesheet (direcția C1: Lapis + detalii ocru, footer grafit)
   MADKO Design Studio
   ============================================================ */

:root {
  /* paletă C1 */
  --bg:          #F3F4F7;
  --surface:     #FFFFFF;
  --ink:         #141A2E;
  --muted:       #4A5168;
  --line:        #D8DCE6;
  --accent:      #2D4B8E;
  --accent-strong:#1E3566;
  --accent-soft: #E3E9F5;
  /* împrumut C3 */
  --ochre:       #8C6A1F;
  --ochre-light: #E2C47A;
  --ochre-soft:  #F1DFA8;
  --ochre-ink:   #4A3B12;
  --grafit:      #1C1C1E;
  --on-dark:     #DAD6CC;
  --success:     #2E7D4F;
  --success-soft:#E2F1E7;

  /* alias-uri pentru clasele existente */
  --navy:        var(--accent);
  --navy-dark:   var(--ink);
  --navy-light:  var(--accent-strong);
  --gold:        var(--ochre);
  --gold-light:  var(--ochre-light);
  --gold-dark:   var(--ochre);
  --green:       var(--success);
  --green-light: #3A9562;
  --bg-card:     var(--surface);
  --text:        var(--ink);
  --text-muted:  var(--muted);
  --border:      var(--line);

  --shadow:      0 1px 2px rgba(20,26,46,0.04), 0 8px 24px -16px rgba(20,26,46,0.18);
  --shadow-lg:   0 30px 60px -36px rgba(20,26,46,0.35);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.2s ease;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Newsreader', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-strong); }

h1, h2, h3, h4, h5 { font-weight: 800; line-height: 1.12; color: var(--ink); letter-spacing: -0.025em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); letter-spacing: -0.015em; }
h4 { font-size: 1.08rem; letter-spacing: -0.01em; }
p  { margin-bottom: 1rem; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; color: var(--accent); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }

/* ── HEADER ── */
.site-header {
  background: rgba(243,244,247,0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 1000;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; white-space: nowrap; }
.nav-logo:hover { color: var(--ink); }
.nav-logo span { color: var(--ink); }
.nav-logo span span { color: var(--accent); }
.nav-logo .cross-icon {
  width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: var(--ochre-light);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a { color: var(--ink); padding: 9px 13px; border-radius: 10px; font-size: 0.93rem; font-weight: 600; transition: background var(--transition); }
.nav-links a:hover, .nav-links a.active { background: var(--accent-soft); color: var(--accent-strong); }
.nav-links .btn-nav-cta { background: var(--ink); color: #fff !important; font-weight: 700; padding: 11px 18px; border-radius: 12px; margin-left: 6px; }
.nav-links .btn-nav-cta:hover { background: var(--accent); }
.hamburger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; flex-direction: column; gap: 5px; padding: 11px 10px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ── HERO (prima pagină) ── */
.hero { background: var(--bg); color: var(--ink); padding: 72px 0 88px; position: relative; }
.hero-content { position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--ochre-soft); color: var(--ochre-ink);
  padding: 7px 15px; border-radius: 999px; font-size: 0.86rem; font-weight: 700; margin-bottom: 24px;
}
.hero h1 { color: var(--ink); margin-bottom: 22px; }
.hero h1 span { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--accent); letter-spacing: -0.015em; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 600px; margin-bottom: 34px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 2rem; color: var(--ink); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.hero-stat span { font-size: 0.82rem; color: var(--muted); margin-top: 6px; display: block; font-weight: 600; }

/* ── BUTOANE ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 15px 26px; border-radius: var(--radius);
  font-weight: 700; font-size: 0.97rem; transition: all var(--transition); cursor: pointer;
  border: 1px solid transparent; text-decoration: none; white-space: nowrap; font-family: inherit; min-height: 48px;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); color: #fff; }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-navy { background: var(--ink); color: #fff; }
.btn-navy:hover { background: var(--accent-strong); color: #fff; }
.btn-green { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn-green:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; min-height: 44px; }
.btn-lg { padding: 17px 32px; font-size: 1.04rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── TITLURI DE SECȚIUNE ── */
.section-header { text-align: center; margin-bottom: 52px; }
.section-header .label {
  display: inline-block; background: var(--ochre-soft); color: var(--ochre-ink); padding: 6px 14px;
  border-radius: 999px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--muted); font-size: 1.08rem; max-width: 640px; margin: 0 auto; }

/* ── CARDURI ── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); transition: box-shadow var(--transition), transform var(--transition); }
.card:hover { box-shadow: var(--shadow-lg); }

/* ── PACHETE ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pricing-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; position: relative; display: flex; flex-direction: column; }
.pricing-card > .btn { margin-top: auto; }
.pricing-card.featured { background: var(--ink); border-color: var(--ink); color: #F3F4F7; box-shadow: var(--shadow-lg); }
.pricing-card.featured .pricing-title,
.pricing-card.featured .pricing-price .amount { color: #fff; }
.pricing-card.featured .pricing-name,
.pricing-card.featured .pricing-desc,
.pricing-card.featured .pricing-price .note,
.pricing-card.featured .pricing-price .period,
.pricing-card.featured .feature-text { color: #D3D8E6; }
.pricing-card.featured p { color: #B5BDD3 !important; }
.pricing-card.featured a:not(.btn) { color: var(--ochre-light); }
.pricing-card.featured .pricing-price,
.pricing-card.featured .pricing-features li { border-color: rgba(255,255,255,0.12); }
.pricing-card.featured .check { color: var(--ochre-light); }
.pricing-card.featured .pricing-icon { background: rgba(255,255,255,0.08); }
.pricing-badge {
  position: absolute; top: 22px; right: 22px; background: var(--ochre-soft); color: var(--ochre-ink);
  padding: 4px 12px; border-radius: 999px; font-size: 0.76rem; font-weight: 800; white-space: nowrap;
}
.pricing-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 20px; background: var(--bg); }
.pricing-icon.free, .pricing-icon.plus, .pricing-icon.full { background: var(--bg); }
.pricing-name { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pricing-title { font-size: 1.45rem; font-weight: 800; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.02em; }
.pricing-desc { font-size: 0.92rem; color: var(--muted); margin-bottom: 22px; line-height: 1.55; }
.pricing-price { margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.pricing-price .amount { font-size: 2.8rem; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -0.035em; }
.pricing-price .amount.free-price { color: var(--ink); }
.pricing-price .currency { font-size: 1.1rem; font-weight: 700; vertical-align: super; margin-right: 2px; }
.pricing-price .period { font-size: 1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.pricing-price .note { font-size: 0.8rem; color: var(--muted); margin-top: 8px; }
.pricing-features { list-style: none; margin-bottom: 24px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 0.92rem; border-bottom: 1px solid var(--bg); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check { color: var(--accent); font-weight: 800; flex-shrink: 0; }
.pricing-features .feature-text { color: var(--ink); }
.pricing-features .feature-note { color: var(--muted); font-size: 0.82rem; }

/* ── LISTE DE FUNCȚIONALITĂȚI ── */
.feature-group { margin-bottom: 34px; }
.feature-group-title { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 9px 14px; border-radius: 10px; margin-bottom: 12px; }
.feature-list { list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.feature-list li:last-child { border-bottom: none; }
.feature-list .ico { color: var(--accent); flex-shrink: 0; font-weight: 800; margin-top: 1px; }
.feature-list .ico.gold { color: var(--ochre); }
.feature-list .ico.navy { color: var(--muted); }
.feature-list strong { display: block; color: var(--ink); font-weight: 700; }
.feature-list small { color: var(--muted); font-size: 0.84rem; margin-top: 2px; display: block; }

/* ── TABEL COMPARATIV ── */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; font-weight: 600; color: var(--ink); width: 40%; }
.compare-table thead th { background: var(--ink); color: #fff; font-weight: 700; font-size: 0.88rem; }
.compare-table thead th:first-child { color: #fff; }
.compare-table thead .th-featured { background: var(--accent); color: #fff; }
.compare-table tbody tr:hover { background: var(--bg); }
.compare-table tbody tr.cat-row td { background: var(--accent-soft); font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--accent-strong); padding: 9px 16px; }
.compare-table .yes { color: var(--accent); font-size: 1.05rem; font-weight: 800; }
.compare-table .no { color: #B3B9C8; font-size: 1.05rem; }
.compare-table .partial { color: var(--ochre); font-size: 0.85rem; font-weight: 700; }

/* ── PAȘI ── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; }
.step-card { text-align: left; padding: 30px 26px; }
.step-number { font-size: 0.85rem; font-weight: 800; color: var(--accent); margin-bottom: 14px; letter-spacing: 0.04em; }
.step-number::before { content: "0"; }
.step-icon { font-size: 1.8rem; margin-bottom: 14px; }
.step-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ── FAQ ── */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; background: var(--surface); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; background: var(--surface); border: none; cursor: pointer; text-align: left; font-weight: 700; font-size: 0.98rem; color: var(--ink); gap: 16px; font-family: inherit; min-height: 56px; }
.faq-question:hover, .faq-question.open { background: var(--bg); }
.faq-arrow { color: var(--accent); font-size: 1.2rem; flex-shrink: 0; transition: transform var(--transition); }
.faq-question.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.2s ease; font-size: 0.94rem; color: var(--muted); line-height: 1.7; }
.faq-answer.open { max-height: 480px; padding: 0 22px 20px; }

/* ── TESTIMONIAL ── */
.testimonial-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.testimonial-text { font-family: var(--serif); font-style: italic; font-size: 1.1rem; margin-bottom: 18px; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* ── CTA ── */
.cta-section { background: var(--accent); color: #fff; text-align: center; padding: 88px 0; }
.cta-section h2 { color: #fff; margin-bottom: 14px; }
.cta-section p { color: #DCE3F2; font-size: 1.1rem; margin: 0 auto 34px; max-width: 580px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-primary { background: #fff; color: var(--accent-strong); }
.cta-section .btn-primary:hover { background: var(--ochre-soft); color: var(--ochre-ink); }
.cta-section .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.cta-section .btn-outline:hover { border-color: #fff; color: #fff; }
.cta-section .hero-badge { background: rgba(255,255,255,0.14); color: var(--ochre-light); }

/* ── CHIPS / INFO ── */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; }
.chip-green { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.chip-gold  { background: var(--ochre-soft); color: var(--ochre-ink); }
.chip-navy  { background: var(--accent-soft); color: var(--accent-strong); }
.info-box { padding: 18px 22px; border-radius: var(--radius); margin: 24px 0; font-size: 0.94rem; border: 1px solid transparent; }
.info-box.gold  { background: var(--ochre-soft); color: var(--ochre-ink); }
.info-box.green { background: var(--success-soft); color: #1F5C3A; }
.info-box.navy  { background: var(--accent-soft); color: var(--accent-strong); }
.info-box a { color: inherit; text-decoration: underline; }

/* ── BREADCRUMB & HERO PAGINI INTERIOARE ── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); padding: 16px 0; flex-wrap: wrap; }
.breadcrumb a { color: var(--accent); font-weight: 600; }
.breadcrumb .sep { color: #B3B9C8; }
.page-hero { background: var(--bg); color: var(--ink); padding: 48px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { color: var(--ink); font-size: clamp(2rem, 3.6vw, 3.2rem); margin-bottom: 14px; max-width: 900px; }
.page-hero p { color: var(--muted); font-size: 1.12rem; max-width: 640px; margin: 0; }

/* ── GRILE ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.icon-box { padding: 28px; }
.icon-box .ico { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 18px; background: var(--bg); }
.icon-box h3 { margin-bottom: 10px; font-size: 1.08rem; }
.icon-box p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ── FOOTER (grafit, împrumut C3) ── */
.site-footer { background: var(--grafit); color: var(--on-dark); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 48px; }
.site-footer .nav-logo, .site-footer .nav-logo span { color: #fff; }
.site-footer .nav-logo span span { color: var(--ochre-light); }
.site-footer .nav-logo .cross-icon { background: rgba(255,255,255,0.08); }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.65; color: #ABA79D; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 0.9rem; margin-bottom: 14px; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a, .footer-contact p a { color: var(--on-dark); font-size: 0.88rem; }
.footer-col ul li a:hover, .footer-contact p a:hover { color: var(--ochre-light); }
.footer-contact p { font-size: 0.88rem; margin-bottom: 10px; display: flex; gap: 8px; align-items: flex-start; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 26px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p, .madko-credit { font-size: 0.82rem; color: #9C988E; margin: 0; }
.footer-bottom a { color: var(--on-dark); font-size: 0.82rem; }
.footer-bottom a:hover { color: var(--ochre-light); }

/* ── UTILE ── */
.bg-light { background: var(--surface); }
.bg-alt   { background: var(--bg); }
.bg-navy  { background: var(--ink); color: #fff; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-40 { margin-bottom: 40px; }
.gap-flex { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.highlight { color: var(--ochre); font-weight: 700; }
.green-text { color: var(--success); font-weight: 700; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 28px; }
  .grid-4       { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hamburger { display: flex; }
  .nav-links { display: none; flex-direction: column; align-items: stretch; position: absolute; top: 76px; left: 0; right: 0; background: var(--surface); padding: 12px 16px 18px; border-bottom: 1px solid var(--line); gap: 2px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 14px; }
  .nav-links .btn-nav-cta { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 60px; }
  .container, .container-sm { padding: 0 16px; }
  .hero-stats { gap: 24px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .pricing-grid { max-width: 100%; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .cta-section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .steps-grid, .grid-4 { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
}
