/* Arhivar — site de prezentare. Direcția „ștampila oficială”. */
:root {
  --bg: #f4ede1; --paper: #fffdf8; --ink: #2a2420; --muted: #6b5d4c;
  --stamp: #a13a2e; --stamp-dark: #7a2b21; --line: #ddd2bf;
  --dark-muted: #c9bca8; --dark-accent: #d9a79f; --dark-line: #5a4e46;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --condensed: "Oswald", Impact, "Arial Narrow", sans-serif;
  --sans: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--stamp); text-decoration: none; }
a:hover { color: var(--stamp-dark); }
h1, h2, h3 { font-family: var(--serif); margin: 0; text-wrap: pretty; }
p { margin: 0; }
.wrap { max-width: 1440px; margin: 0 auto; padding-left: 64px; padding-right: 64px; }
.eyebrow { font-family: var(--condensed); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--stamp); }
.stamp-text { font-family: var(--condensed); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.muted { color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 3px; font-weight: 600; font-size: 16px; white-space: nowrap; }
.btn-primary { background: var(--stamp); color: var(--bg); }
.btn-primary:hover { background: var(--stamp-dark); color: var(--bg); }
.btn-outline { border: 2px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }

/* Nav */
.nav { border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 28px; color: var(--ink); letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.nav-links a { color: var(--ink); }
.nav-links a.quiet { color: var(--muted); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }

/* Sections */
.section { border-top: 1px solid var(--line); }
.section .wrap { padding-top: 72px; padding-bottom: 72px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.h2 { font-weight: 600; font-size: 40px; line-height: 1.1; letter-spacing: -0.01em; }
.lead { font-size: 17px; line-height: 1.55; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; padding-top: 96px; padding-bottom: 88px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-weight: 700; font-size: 68px; line-height: 1.02; letter-spacing: -0.015em; }
.hero .lead { font-size: 19px; max-width: 520px; }
.hero-cta { display: flex; align-items: center; gap: 20px; padding-top: 8px; }
.hero-cta small { font-size: 14px; color: var(--muted); }
.hero-doc { position: relative; display: flex; justify-content: center; }
.doc { width: 460px; max-width: 100%; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 24px 48px -24px rgba(42,36,32,.35); padding: 36px 40px; display: flex; flex-direction: column; gap: 18px; transform: rotate(1.5deg); }
.doc-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 14px; font-size: 13px; color: var(--muted); }
.doc-party { display: flex; flex-direction: column; gap: 6px; }
.doc-party small { font-size: 12px; color: var(--muted); }
.doc-party strong { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.doc-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 6px; }
.doc-fields div { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.doc-fields small { font-size: 12px; color: var(--muted); }
.doc-tags { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.doc-tags span { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 3px; font-size: 12px; color: var(--muted); }
.stamp { position: absolute; right: 28px; bottom: -34px; width: 156px; height: 156px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 3px solid var(--stamp); box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 6px var(--stamp-dark); color: var(--stamp); text-align: center; background: rgba(255,253,248,.6); transform: rotate(-8deg); animation: stamp-impact .6s cubic-bezier(.22,1.5,.4,1) .2s both; }
.stamp span { display: inline-block; max-width: 96px; font-size: 14px; line-height: 1.4; }
@keyframes stamp-impact { 0% { opacity: 0; transform: rotate(-8deg) scale(1.6); } 60% { opacity: 1; transform: rotate(-8deg) scale(.94); } 100% { opacity: 1; transform: rotate(-8deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .stamp { animation: none; } }

/* Steps */
.steps { margin-top: 40px; }
.step { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--line); background: var(--paper); }
.step-n { font-size: 30px; color: var(--stamp); line-height: 1; }
.step h3 { font-size: 22px; font-weight: 600; }
.step p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Features */
.features-intro { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 24px; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.feature { display: flex; flex-direction: column; gap: 10px; }
.feature svg { width: 24px; height: 24px; stroke: var(--stamp); }
.feature h3 { font-size: 18px; font-weight: 600; }
.feature p { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* Trust strip */
.trust { background: var(--ink); color: var(--bg); }
.trust .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.trust div { display: flex; flex-direction: column; gap: 8px; }
.trust .stamp-text { font-size: 13px; color: var(--dark-accent); }
.trust strong { font-family: var(--serif); font-size: 30px; font-weight: 600; }
.trust p { font-size: 14px; color: var(--dark-muted); }

/* Pricing teaser */
.teaser .wrap { display: flex; align-items: center; justify-content: space-between; gap: 64px; }
.teaser .section-head { gap: 14px; }

/* FAQ */
.faq { display: flex; flex-direction: column; }
.faq > div { display: flex; flex-direction: column; gap: 8px; padding: 20px 0; border-top: 1px solid var(--line); }
.faq > div:last-child { border-bottom: 1px solid var(--line); }
.faq h3 { font-size: 18px; font-weight: 600; }
.faq p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Final CTA */
.cta-final .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; padding-top: 88px; padding-bottom: 88px; text-align: center; }
.cta-final h2 { font-weight: 700; font-size: 52px; line-height: 1.05; letter-spacing: -0.015em; max-width: 760px; }

/* Footer */
.footer { border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer .wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding-top: 40px; padding-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand .wordmark { font-size: 22px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 28px; }
.footer-links a { color: var(--muted); }

/* Page hero (prețuri, contact, legale) */
.page-hero .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 80px; padding-bottom: 40px; text-align: center; }
.page-hero h1 { font-weight: 700; font-size: 56px; line-height: 1.05; letter-spacing: -0.015em; max-width: 780px; }
.page-hero .lead { font-size: 18px; max-width: 560px; }
.billing-toggle { display: inline-flex; margin-top: 10px; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.billing-toggle span { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; font-size: 14px; }
.billing-toggle .on { background: var(--ink); color: var(--bg); font-weight: 600; }
.billing-toggle .stamp-text { font-size: 11px; color: var(--stamp); }

/* Plans */
.plans .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 24px; padding-bottom: 72px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 32px 28px; background: var(--paper); border: 1px solid var(--line); }
.plan h3 { font-size: 26px; font-weight: 600; }
.plan-sub { font-size: 14px; color: var(--muted); }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price strong { font-family: var(--serif); font-size: 44px; font-weight: 700; letter-spacing: -0.02em; }
.plan-price span, .plan-note { font-size: 13px; color: var(--muted); }
.plan .btn { height: 48px; font-size: 15px; }
.plan ul { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.plan-featured { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.plan-featured .plan-sub, .plan-featured .plan-price span, .plan-featured .plan-note { color: var(--dark-muted); }
.plan-featured ul { border-top-color: var(--dark-line); }
.plan-featured .btn-outline { border-color: var(--stamp); background: var(--stamp); color: var(--bg); }
.plan-featured .btn-outline:hover { background: var(--stamp-dark); border-color: var(--stamp-dark); }
.plan-badge { position: absolute; top: -14px; left: 24px; padding: 4px 10px; background: var(--stamp); color: var(--bg); font-size: 12px; }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 96px; align-items: start; padding-top: 80px; padding-bottom: 96px; }
.contact-copy { display: flex; flex-direction: column; gap: 22px; }
.contact-copy h1 { font-weight: 700; font-size: 56px; line-height: 1.05; letter-spacing: -0.015em; }
.contact-copy .lead { font-size: 18px; max-width: 480px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.contact-details div { display: flex; gap: 16px; }
.contact-details dt { width: 96px; flex-shrink: 0; color: var(--muted); }
.contact-details dd { margin: 0; }
.form { display: flex; flex-direction: column; gap: 18px; padding: 36px; background: var(--paper); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field textarea { font: inherit; color: var(--ink); height: 46px; padding: 0 12px; border: 1px solid var(--line); background: var(--bg); border-radius: 3px; }
.field textarea { height: 160px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--stamp); outline-offset: 1px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 6px; }
.form-foot small { font-size: 13px; color: var(--muted); max-width: 300px; line-height: 1.45; }
.form button { font: inherit; border: 0; cursor: pointer; height: 48px; font-size: 15px; }
.hp { position: absolute; left: -9999px; }

/* Legal */
.legal .wrap { max-width: 820px; padding-top: 64px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 24px; }
.legal h1 { font-size: 48px; font-weight: 700; line-height: 1.05; }
.legal h2 { font-size: 26px; font-weight: 600; padding-top: 16px; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: var(--muted); }
.legal .draft { display: inline-flex; align-self: flex-start; padding: 4px 10px; border: 1px solid var(--stamp); color: var(--stamp); font-size: 12px; }

/* Responsive */
@media (max-width: 1100px) {
  .wrap { padding-left: 40px; padding-right: 40px; }
  .hero h1 { font-size: 54px; }
  .plans .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact .wrap { gap: 48px; }
}
@media (max-width: 820px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav .wrap { padding-top: 18px; padding-bottom: 18px; }
  .wordmark { font-size: 24px; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; z-index: 10; }
  .nav-links a { padding: 12px 0; border-top: 1px solid var(--line); }
  .nav-links .btn { margin-top: 12px; border: 0; }
  .nav { position: relative; }
  .nav.open .nav-links { display: flex; }
  .section .wrap { padding-top: 40px; padding-bottom: 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 56px; }
  .hero h1 { font-size: 40px; }
  .hero .lead { font-size: 16px; }
  .hero-copy { gap: 20px; }
  .hero-cta { flex-direction: column; align-items: stretch; text-align: center; gap: 12px; }
  .hero-doc { padding-bottom: 44px; }
  .doc { width: 100%; padding: 22px; }
  .doc-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stamp { right: 4px; bottom: 0; width: 112px; height: 112px; }
  .stamp span { max-width: 72px; font-size: 11px; }
  .h2 { font-size: 30px; }
  .grid-2, .grid-3, .features, .trust .wrap { grid-template-columns: 1fr; gap: 20px; }
  .grid-2 { gap: 28px; }
  .features-intro { position: static; }
  .steps { margin-top: 24px; }
  .step { padding: 20px; }
  .trust .wrap { padding-top: 36px; padding-bottom: 36px; }
  .trust strong { font-size: 24px; }
  .teaser .wrap { flex-direction: column; align-items: stretch; gap: 20px; }
  .teaser .btn { width: 100%; }
  .cta-final .wrap { padding-top: 56px; padding-bottom: 56px; }
  .cta-final h2 { font-size: 34px; }
  .footer .wrap { flex-direction: column; gap: 16px; padding-top: 32px; padding-bottom: 32px; }
  .footer-links { gap: 14px; }
  .page-hero .wrap { padding-top: 48px; padding-bottom: 24px; }
  .page-hero h1 { font-size: 38px; }
  .plans .wrap { grid-template-columns: 1fr; padding-bottom: 40px; }
  .contact .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; padding-bottom: 48px; }
  .contact-copy h1 { font-size: 38px; }
  .form { padding: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot small { max-width: none; }
  .legal h1 { font-size: 34px; }
}
.logo-mark { display: block; width: 36px; height: 36px; }
.footer-brand .logo-mark { width: 28px; height: 28px; }
