/* ==========================================================================
   VreauContabilitate.ro — stiluri temă
   ========================================================================== */

:root {
    --ink: #0d1b2a;
    --ink-soft: #1b2a3d;
    --primary: #1b4d8f;
    --primary-dark: #143a6d;
    --primary-light: #e8f0fb;
    --accent: #0f9d76;
    --accent-dark: #0b7a5b;
    --accent-light: #e4f5ef;
    --gold: #e8a317;
    --gold-light: #fdf3e0;
    --bg: #f5f8fb;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #4d5f75;
    --line: rgba(13, 27, 42, 0.10);
    --danger: #b91c1c;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(13, 27, 42, 0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.section { padding: 76px 0; }
.section-alt { background: var(--card); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .section-title, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-sub { color: #9fb0c4; }

.section-label {
    display: inline-block; color: var(--accent); font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.8px; margin-bottom: 10px;
}
.section-title {
    font-size: clamp(26px, 3.6vw, 40px); line-height: 1.2; letter-spacing: -0.5px;
    font-weight: 800; color: var(--ink); margin-bottom: 14px;
}
.section-sub { font-size: 17px; color: var(--muted); line-height: 1.75; max-width: 680px; }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- BUTOANE ---------- */
.btn {
    display: inline-block; font-weight: 700; font-size: 16px; padding: 15px 32px;
    border-radius: 10px; text-decoration: none; border: none; cursor: pointer;
    transition: all .22s ease; text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(15,157,118,.28); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn-ghost-light:hover { border-color: var(--accent); color: #6ee7c0; }
.btn-sm { font-size: 14px; padding: 10px 22px; }
.btn-block { display: block; width: 100%; }

/* ---------- HEADER ---------- */
.site-header {
    background: var(--ink); position: sticky; top: 0; z-index: 200;
    border-bottom: 3px solid var(--accent);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.site-logo { display: flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.4px; }
.site-logo span { color: var(--accent); }
.site-logo .logo-mark { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), #14c294); display: grid; place-items: center; font-size: 15px; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav ul { display: flex; list-style: none; gap: 24px; align-items: center; }
.main-nav a { color: #cbd8e6; text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .2s; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; line-height: 1; }

/* ---------- HERO ---------- */
.hero {
    background: linear-gradient(140deg, #0b1726 0%, #10283f 55%, #123a5c 100%);
    position: relative; overflow: hidden; padding: 84px 0 92px;
}
.hero::before {
    content: ''; position: absolute; top: -140px; right: -100px; width: 540px; height: 540px;
    background: radial-gradient(circle, rgba(15,157,118,.14) 0%, transparent 70%); border-radius: 50%;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero-badge {
    display: inline-block; background: rgba(15,157,118,.15); border: 1px solid rgba(15,157,118,.32);
    color: #4fd1a5; font-size: 12px; font-weight: 700; padding: 6px 18px; border-radius: 30px;
    text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 24px;
}
.hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.14; letter-spacing: -1px; margin-bottom: 20px; font-weight: 800; }
.hero h1 em { color: #4fd1a5; font-style: normal; }
.hero-sub { color: #9fb0c4; font-size: 17.5px; line-height: 1.72; margin-bottom: 32px; }
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { color: rgba(159,176,196,.75); font-size: 13px; margin-top: 18px; }
.hero-trust { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust div { color: #9fb0c4; font-size: 13.5px; }
.hero-trust strong { display: block; color: #fff; font-size: 22px; font-weight: 800; }

.hero-card {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px; padding: 28px; backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; font-size: 17px; margin-bottom: 18px; font-weight: 700; }
.hero-card ol { list-style: none; counter-reset: s; }
.hero-card li { counter-increment: s; color: #cbd8e6; font-size: 14.5px; padding: 12px 0 12px 44px; position: relative; border-bottom: 1px solid rgba(255,255,255,.07); }
.hero-card li:last-child { border-bottom: 0; }
.hero-card li::before {
    content: counter(s); position: absolute; left: 0; top: 11px; width: 28px; height: 28px;
    background: var(--accent); color: #fff; border-radius: 8px; display: grid; place-items: center;
    font-weight: 800; font-size: 13px;
}

/* ---------- BARA DE ÎNCREDERE ---------- */
.trust-bar { background: var(--gold-light); border-bottom: 1px solid rgba(232,163,23,.25); padding: 13px 0; text-align: center; font-size: 14.5px; font-weight: 600; color: #7a5406; }

/* ---------- GRILE ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 42px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 42px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 42px; }

.card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 24px; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon { width: 46px; height: 46px; border-radius: 11px; background: var(--accent-light); display: grid; place-items: center; font-size: 21px; margin-bottom: 16px; }
.card h3 { font-size: 17.5px; font-weight: 700; color: var(--ink); margin-bottom: 9px; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.72; }

/* pași */
.step-card { text-align: center; padding: 30px 22px; }
.step-num {
    width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%;
    background: var(--accent); color: #fff; display: grid; place-items: center;
    font-weight: 800; font-size: 18px;
}
.section-dark .step-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); }
.section-dark .card p { color: #9fb0c4; }

/* ---------- COMPARAȚIE ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.compare-col { border-radius: var(--radius); padding: 28px 26px; }
.compare-bad { background: #fef4f4; border: 1px solid #f7dcdc; }
.compare-good { background: var(--accent-light); border: 1px solid #bfe9db; }
.compare-col h4 { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.compare-bad h4 { color: var(--danger); }
.compare-good h4 { color: var(--accent-dark); }
.compare-col ul { list-style: none; }
.compare-col li { font-size: 14.5px; color: var(--muted); padding: 7px 0 7px 26px; position: relative; line-height: 1.6; }
.compare-bad li::before { content: '✕'; position: absolute; left: 0; color: var(--danger); font-weight: 700; }
.compare-good li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 36px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 19px 22px; font-weight: 600; font-size: 16px; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-q:hover { color: var(--primary); }
.faq-toggle { color: var(--accent); font-size: 21px; font-weight: 400; flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 22px 20px; font-size: 15px; color: var(--muted); line-height: 1.75; }

/* ---------- CTA FINAL ---------- */
.final-cta { background: linear-gradient(140deg, #0b1726 0%, #123a5c 100%); color: #fff; padding: 74px 0; text-align: center; }
.final-cta h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; }
.final-cta p { color: #9fb0c4; font-size: 17px; max-width: 620px; margin: 0 auto 30px; line-height: 1.7; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--ink); color: #8fa2b8; padding: 54px 0 26px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #8fa2b8; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 38px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ---------- CONȚINUT / BLOG ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 56px 0; }
.page-hero h1 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.5px; }
.page-hero p { color: #9fb0c4; margin-top: 10px; font-size: 16.5px; }
.entry-content { font-size: 16.5px; line-height: 1.85; color: #23324a; }
.entry-content h2 { font-size: 26px; font-weight: 800; color: var(--ink); margin: 38px 0 14px; }
.entry-content h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 28px 0 12px; }
.entry-content p { margin-bottom: 18px; }
.entry-content ul, .entry-content ol { margin: 0 0 18px 22px; }
.entry-content li { margin-bottom: 8px; }
.entry-content a { color: var(--primary); }
.entry-content blockquote { border-left: 4px solid var(--accent); background: var(--accent-light); padding: 16px 20px; margin: 24px 0; border-radius: 0 10px 10px 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--primary-light); font-weight: 700; }

.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card-body { padding: 22px; }
.post-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; line-height: 1.35; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--primary); }
.post-meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.post-card p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

.pagination { margin-top: 40px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { padding: 9px 15px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 14px; }
.pagination .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
    .grid-3, .grid-2, .compare { grid-template-columns: 1fr; }
    .main-nav ul { display: none; }
    .main-nav.open ul {
        display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--ink-soft); padding: 18px 24px; gap: 14px; border-bottom: 3px solid var(--accent);
    }
    .nav-toggle { display: block; }
    .site-header { position: relative; }
}
@media (max-width: 560px) {
    .section { padding: 54px 0; }
    .hero { padding: 54px 0 60px; }
    .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-cta-row .btn { width: 100%; }
}
