/* Creare Site Brașov — v3
   Un singur font (Archivo, axă de lățime). Roșul de brand doar unde contează. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-ext-wdth-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-wdth-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --bg: #141312;
  --bg-2: #1b1a18;
  --surface: #211f1d;
  --line: #2f2c29;
  --line-2: #3d3935;
  --text: #f3f0ea;
  --muted: #a29d94;
  --dim: #6f6a63;
  --red: #cc0000;
  --red-hot: #ff3b2b;
  --paper: #f3f0ea;
  --ink: #141312;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 4px;

  --f: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.3rem);
  --step-4: clamp(2.6rem, 1.8rem + 4vw, 5.6rem);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f); font-size: var(--step-0); line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--red-hot); }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }

/* Titluri: lățime expandată = semnătura vizuală */
h1, h2, h3, .display {
  font-family: var(--f); font-weight: 800; line-height: 1.02; margin: 0;
  font-variation-settings: "wdth" 125; letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 66ch; }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 52ch; }
.muted { color: var(--muted); }

/* Butoane */
.btn {
  display: inline-flex; align-items: center; gap: .6em; justify-content: center;
  padding: .95em 1.5em; border-radius: var(--r); border: 1px solid transparent;
  font: 700 var(--step-0)/1 var(--f); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #e00000; color: #fff; }
.btn-line { border-color: var(--line-2); color: var(--text); }
.btn-line:hover { border-color: var(--text); color: var(--text); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 19, 18, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.logo { flex: none; }
.logo img { width: 150px; height: auto; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block; padding: 10px 12px; font-size: var(--step--1); font-weight: 600;
  color: var(--muted); text-decoration: none; transition: color .2s;
}
.menu a:hover, .menu a[aria-current="page"] { color: var(--text); }
.menu a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); }
.menu .has-sub { position: relative; }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 260px; list-style: none; margin: 0; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease);
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { padding: 10px 12px; color: var(--text); font-weight: 500; }
.submenu a:hover { background: var(--bg-2); color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-weight: 700; font-size: var(--step--1); text-decoration: none; white-space: nowrap; }
.nav-cta .btn { padding: .75em 1.1em; font-size: var(--step--1); }
.burger { display: none; background: none; border: 0; color: var(--text); width: 44px; height: 44px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1060px) {
  .burger { display: block; }
  .nav-phone { display: none; }
  .primary {
    position: fixed; inset: 76px 0 0 0; background: var(--bg); padding: 24px var(--gutter) 40px;
    overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease); visibility: hidden;
  }
  .primary.open { transform: none; visibility: visible; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > li { border-bottom: 1px solid var(--line); }
  .menu a { font-size: var(--step-1); padding: 16px 0; color: var(--text); font-variation-settings: "wdth" 112; }
  .menu a[aria-current="page"] { box-shadow: none; color: var(--red-hot); }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; padding: 0 0 12px 12px; }
  .submenu a { font-size: var(--step-0); padding: 8px 0; color: var(--muted); }
}
@media (max-width: 520px) { .nav-cta .btn { display: none; } }

/* Secțiuni */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) { .section-head { grid-template-columns: 1.1fr 1fr; align-items: end; } }
.section-head p { color: var(--muted); margin: 0; }

/* HERO */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.hero h1 { font-size: clamp(2.3rem, 1.1rem + 3.3vw, 4.3rem); }
.hero h1 .line { display: block; }
.hero .lead { margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 44px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: var(--step--1); }
.hero-facts strong { color: var(--text); font-weight: 700; }

/* Animația SERP */
.serp {
  position: relative; background: var(--paper); color: #202124; border-radius: 10px;
  padding: 22px 22px 8px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04);
  font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.4;
  min-height: 430px;
}
.serp::before {
  content: ""; position: absolute; inset: -1px; border-radius: 11px; pointer-events: none;
  background: linear-gradient(var(--red), var(--red)) left top / 48px 4px no-repeat;
}
.serp-bar { display: flex; align-items: center; gap: 12px; border: 1px solid #dadce0; border-radius: 24px; padding: 10px 16px; background: #fff; }
.serp-bar svg { width: 18px; height: 18px; flex: none; color: #9aa0a6; }
.serp-q { flex: 1; min-height: 20px; font-size: 15px; color: #202124; white-space: nowrap; overflow: hidden; }
.serp-q::after { content: ""; display: inline-block; width: 1px; height: 18px; background: #202124; margin-left: 2px; vertical-align: -3px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.serp-meta { color: #70757a; font-size: 12px; margin: 12px 4px 6px; min-height: 16px; }
.serp-list { list-style: none; margin: 0; padding: 0; position: relative; }
.serp-item {
  position: relative; padding: 12px 4px 12px 14px; border-radius: 6px;
  transition: transform .9s var(--ease), opacity .4s, background .4s;
}
.serp-item .u { color: #4d5156; font-size: 12px; }
.serp-item .t { color: #1a0dab; font-size: 17px; line-height: 1.3; margin: 2px 0; }
.serp-item .d { color: #4d5156; font-size: 13px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.serp-item.is-client { background: #fff; box-shadow: 0 10px 30px -12px rgba(0,0,0,.25); }
.serp-item.is-client::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; background: var(--red); border-radius: 2px; }
.serp-badge {
  position: absolute; right: 8px; top: 12px; font: 700 11px/1 var(--f); color: #fff; background: var(--red);
  padding: 5px 7px; border-radius: 3px; opacity: 0; transform: scale(.8); transition: .35s var(--ease);
}
.serp-item.is-client.top .serp-badge { opacity: 1; transform: none; }
.serp.idle .serp-item { opacity: 0; }
.serp-caption { margin-top: 16px; color: var(--dim); font-size: var(--step--1); }

/* Servicii: rânduri, nu carduri */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); }
.svc a {
  display: grid; grid-template-columns: 1fr; gap: 10px 32px; padding: clamp(24px, 3vw, 36px) 0;
  text-decoration: none; color: inherit; position: relative;
}
@media (min-width: 860px) { .svc a { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; align-items: baseline; } }
.svc h3 { font-size: var(--step-2); transition: color .25s, transform .4s var(--ease); }
.svc p { margin: 0; color: var(--muted); }
.svc .price { white-space: nowrap; font-weight: 700; color: var(--text); font-size: var(--step--1); }
.svc .price small { display: block; font-weight: 400; color: var(--dim); }
.svc a:hover h3 { color: var(--red-hot); transform: translateX(8px); }
.svc a:hover .price { color: var(--red-hot); }

/* Clienți */
.clients { display: flex; flex-wrap: wrap; gap: 14px 44px; list-style: none; padding: 0; margin: 0; }
.clients li { font-size: var(--step-1); font-weight: 700; font-variation-settings: "wdth" 112; color: var(--dim); }

/* Prețuri */
.plans { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--bg); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; }
.plan.featured { background: var(--surface); }
.plan h3 { font-size: var(--step-1); }
.plan .for { color: var(--muted); font-size: var(--step--1); margin: 8px 0 0; }
.plan .amount { font-size: var(--step-3); font-weight: 800; font-variation-settings: "wdth" 125; letter-spacing: -0.03em; margin: 28px 0 4px; line-height: 1; }
.plan .amount sup { font-size: .4em; vertical-align: .9em; margin-right: 2px; }
.plan .terms { color: var(--dim); font-size: var(--step--1); margin: 0 0 24px; }
.plan ul { list-style: none; margin: 0 0 32px; padding: 0; flex: 1; }
.plan li { padding: 9px 0 9px 26px; border-top: 1px solid var(--line); font-size: var(--step--1); position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 10px; height: 6px; border-left: 2px solid var(--red-hot); border-bottom: 2px solid var(--red-hot); transform: rotate(-45deg); }
.plan .flag { align-self: flex-start; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 3px; margin-bottom: 16px; }
.plans-note { color: var(--dim); font-size: var(--step--1); margin-top: 20px; }

/* Proces (chiar e o secvență) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li { background: var(--bg); padding: 28px 24px 32px 0; counter-increment: s; }
@media (min-width: 760px) { .steps li { padding: 28px 24px 32px; } }
.steps li::before { content: counter(s); display: block; font-size: var(--step-2); font-weight: 800; font-variation-settings: "wdth" 125; color: var(--red-hot); margin-bottom: 18px; line-height: 1; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: var(--step--1); margin: 0; }

/* Motive */
.reasons { display: grid; gap: 40px 48px; }
@media (min-width: 760px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reasons { grid-template-columns: repeat(3, 1fr); } }
.reasons h3 { margin-bottom: 10px; }
.reasons p { color: var(--muted); margin: 0; }

/* Blog */
.posts { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 900px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post-card { background: var(--bg); }
.post-card a { display: flex; flex-direction: column; height: 100%; padding: 28px 28px 32px 0; text-decoration: none; }
@media (min-width: 900px) { .post-card a { padding: 32px; } .post-card:first-child a { padding-left: 0; } }
.post-card time { color: var(--dim); font-size: var(--step--1); }
.post-card h3 { margin: 14px 0 12px; transition: color .2s; }
.post-card p { color: var(--muted); font-size: var(--step--1); margin: 0; }
.post-card a:hover h3 { color: var(--red-hot); }

/* CTA mare */
.cta { background: var(--red); color: #fff; }
.cta .wrap { padding-block: clamp(72px, 10vw, 130px); display: grid; gap: 32px; }
@media (min-width: 900px) { .cta .wrap { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.cta h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 4.2rem); }
.cta p { color: rgba(255,255,255,.85); }
.cta .phone { display: inline-block; font-size: var(--step-3); font-weight: 800; font-variation-settings: "wdth" 125; text-decoration: none; letter-spacing: -0.02em; line-height: 1; }
.cta .phone:hover { color: var(--ink); }
.cta .btn { background: var(--ink); color: #fff; margin-top: 20px; }
.cta .btn:hover { background: #000; color: #fff; }

/* Pagini interioare */
.page-hero { padding-block: clamp(56px, 8vw, 110px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.crumbs { font-size: var(--step--1); color: var(--dim); margin-bottom: 28px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.page-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3vw, 4.2rem); max-width: 20ch; }
.page-hero .lead { margin-top: 24px; }
.page-hero .hero-actions { margin-top: 32px; }

.layout { display: grid; gap: 56px; padding-block: clamp(56px, 7vw, 96px); }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 80px; } }
.aside-box { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; background: var(--bg-2); }
.aside-box h2 { font-size: var(--step-1); margin-bottom: 12px; }
.aside-box p { color: var(--muted); font-size: var(--step--1); }
.aside-box .btn { width: 100%; margin-top: 8px; }
.aside-box .tel { display: block; font-size: var(--step-1); font-weight: 800; text-decoration: none; margin-top: 16px; font-variation-settings: "wdth" 115; }

/* Conținut tipografic (pagini + articole) */
.prose { font-size: var(--step-0); line-height: 1.72; max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { font-size: var(--step-2); margin-top: 2.2em; line-height: 1.1; }
.prose h3 { font-size: var(--step-1); margin-top: 1.8em; font-variation-settings: "wdth" 112; }
.prose h4 { font-size: var(--step-0); margin-top: 1.6em; font-weight: 700; }
.prose a { color: var(--text); text-decoration-color: var(--red-hot); }
.prose a:hover { color: var(--red-hot); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--red-hot); }
.prose strong { color: #fff; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--red); color: var(--muted); font-size: var(--step-1); }
.prose img { border-radius: var(--r); margin-block: 1.6em; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.prose th { color: var(--muted); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.4em; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font-size: var(--step-1); font-weight: 700; font-variation-settings: "wdth" 112; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 1.6em; font-weight: 400; color: var(--red-hot); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 28px; color: var(--muted); }
.faq .a p:last-child { margin-bottom: 0; }

/* Formulare */
.form { display: grid; gap: 18px; }
.form .row { display: grid; gap: 18px; }
@media (min-width: 700px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-size: var(--step--1); font-weight: 600; margin-bottom: 8px; }
.field .opt { color: var(--dim); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg-2); color: var(--text); border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 14px 16px; font: inherit; font-size: 16px; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--text); background: var(--surface); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--red-hot); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { margin: 0; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span { display: inline-block; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 40px; font-size: var(--step--1); font-weight: 500; cursor: pointer; transition: .2s; }
.choices input:checked + span { background: var(--text); color: var(--ink); border-color: var(--text); }
.choices input:focus-visible + span { outline: 2px solid var(--red-hot); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--step--1); color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--red); width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.6em; font-size: var(--step--1); }
.form-status.ok { color: #6fd38a; }
.form-status.err { color: var(--red-hot); }

.contact-grid { display: grid; gap: 56px; padding-block: clamp(56px, 7vw, 96px); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 96px; } }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list .k { display: block; color: var(--dim); font-size: var(--step--1); margin-bottom: 4px; }
.contact-list .v { font-size: var(--step-1); font-weight: 700; text-decoration: none; font-variation-settings: "wdth" 110; }
.map { margin-top: 32px; aspect-ratio: 4 / 3; width: 100%; border: 0; border-radius: var(--r); filter: grayscale(1) invert(.92) contrast(.9); }

/* Articol */
.article-head { padding-block: clamp(56px, 8vw, 110px) clamp(32px, 4vw, 48px); }
.article-head h1 { font-size: var(--step-3); max-width: 22ch; }
.article-meta { color: var(--dim); font-size: var(--step--1); margin-top: 24px; display: flex; gap: 20px; flex-wrap: wrap; }
.article-body { padding-bottom: clamp(56px, 7vw, 96px); }
.article-cover { margin-bottom: 48px; border-radius: var(--r); overflow: hidden; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: clamp(56px, 7vw, 88px); font-size: var(--step--1); }
.foot-grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h2 { font-size: var(--step-0); font-variation-settings: "wdth" 100; font-weight: 700; margin-bottom: 16px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer address { font-style: normal; color: var(--muted); line-height: 1.8; }
.foot-about p { color: var(--muted); max-width: 36ch; margin-top: 20px; }
.legal { margin-top: 56px; padding-block: 24px; border-top: 1px solid var(--line); color: var(--dim); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.legal a { color: var(--dim); }

/* Bara de apel pe mobil */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; border-top: 1px solid var(--line); }
  .callbar a { padding: 15px; text-align: center; font-weight: 700; text-decoration: none; font-size: var(--step--1); }
  .callbar a:first-child { background: var(--surface); color: var(--text); }
  .callbar a:last-child { background: var(--red); color: #fff; }
  body { padding-bottom: 52px; }
}

/* Intrare orchestrată: doar hero-ul, o singură dată */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .line { transform: translateY(.35em); animation: rise .9s var(--ease) forwards; } /* fără opacity: textul e vizibil imediat, LCP rapid */
  .js .hero h1 .line:nth-child(2) { animation-delay: .08s; }
  .js .hero h1 .line:nth-child(3) { animation-delay: .16s; }
  .js .hero .lead, .js .hero-actions, .js .hero-facts { opacity: 0; animation: fade .8s .35s var(--ease) forwards; }
  .js .serp { opacity: 0; transform: translateY(24px); animation: rise 1s .25s var(--ease) forwards; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

/* Magazine online pe homepage */
.ecom { background: var(--bg-2); }
.ecom-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .ecom-grid { grid-template-columns: 1.1fr 1fr; gap: 88px; align-items: start; } }
.ecom h2 { margin-bottom: 32px; max-width: 16ch; }
.ecom-text p { color: var(--muted); }
.ecom-text strong { color: var(--text); font-weight: 600; }
.integr { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 600px) { .integr { grid-template-columns: 1fr 1fr; } }
.integr > div { background: var(--bg-2); padding: 28px; }
.integr h3 { font-size: var(--step-1); margin-bottom: 10px; color: var(--text); }
.integr p { color: var(--muted); font-size: var(--step--1); margin: 0; }

/* Text SEO pe două coloane */
.prose-cols { display: grid; gap: 0 64px; }
@media (min-width: 900px) { .prose-cols { grid-template-columns: 1fr 1fr; } }
.prose-cols p { color: var(--muted); }
.prose-cols a { color: var(--text); text-decoration-color: var(--red-hot); }
.prose-cols strong { color: var(--text); font-weight: 600; }

.clients-h { margin: 72px 0 20px; font-size: var(--step-0); font-variation-settings: "wdth" 100; font-weight: 600; color: var(--muted); letter-spacing: 0; }

/* Prețuri: format nou */
.plan .amount small { font-size: .32em; font-weight: 600; letter-spacing: 0; font-variation-settings: "wdth" 100; color: var(--muted); }
.plan .amount small:first-child { display: block; margin-bottom: 6px; }
.plan .amount .cur { font-size: .5em; letter-spacing: 0; }
.plan .amount-text { font-size: var(--step-2); }
@media (min-width: 900px) { .plans-2 { grid-template-columns: repeat(2, 1fr); } }
.plans-note a { color: var(--muted); }

/* Promo serviciu la final de articol */
.post-promo { margin-top: 3em !important; padding: 28px 28px 32px; border: 1px solid var(--line-2); border-left: 3px solid var(--red); border-radius: var(--r); background: var(--bg-2); }
.post-promo .post-promo-k { font-weight: 800; font-size: var(--step-1); font-variation-settings: "wdth" 115; color: var(--text); margin-bottom: 8px !important; }
.post-promo p { color: var(--muted); }
.post-promo .btn { margin-top: 16px; color: #fff; text-decoration: none; }
.article-meta a { color: var(--muted); }

/* Buton WhatsApp flotant */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 10px 28px -8px rgba(0,0,0,.6); transition: transform .2s var(--ease), background .2s;
}
.wa-float:hover { color: #fff; background: #1ebe5a; transform: scale(1.06); }
.wa-float:focus-visible { outline-color: #fff; }
@media (max-width: 700px) { .wa-float { bottom: 68px; right: 14px; width: 54px; height: 54px; } }

/* Bara de cookie-uri */
.consent-bar {
  position: fixed; left: 20px; bottom: 20px; z-index: 60; max-width: 420px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); padding: 20px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); font-size: var(--step--1);
}
.consent-bar[hidden] { display: none; }
.consent-bar p { color: var(--muted); margin: 0 0 14px; }
.consent-bar a { color: var(--text); }
.consent-actions { display: flex; gap: 8px; }
.consent-actions .btn { padding: .7em 1.1em; font-size: var(--step--1); }
@media (max-width: 700px) { .consent-bar { left: 12px; right: 12px; bottom: 64px; max-width: none; } }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--dim); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.link-btn:hover { color: var(--text); }
button.btn-line { background: transparent; color: var(--text); }
