/* ==========================================================================
   tractari-riaauto.ro — RIA Auto Trans
   Temă: antracit + galben de semnalizare (culoarea platformelor din flotă)
   Un singur fișier CSS, fără framework.
   ========================================================================== */

:root {
  --ink: #111318;
  --ink-2: #1a1d24;
  --ink-3: #262a33;
  --ink-line: rgba(255, 255, 255, .1);
  --yellow: #ffc21a;
  --yellow-2: #ffb000;
  --yellow-soft: #fff5d1;
  --text: #1a1d24;
  --muted: #5b6270;
  --line: #e4e6eb;
  --soft: #f4f5f7;
  --white: #fff;
  --wa: #25d366;
  --wa-2: #1db954;
  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(17, 19, 24, .12);
  --shadow-sm: 0 4px 14px rgba(17, 19, 24, .08);
  --header-h: 76px;
}

/* ---------- Bază ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.ico { flex-shrink: 0; }

h1, h2, h3 { font-family: var(--display); line-height: 1; letter-spacing: .01em; }
h1, h2 { font-weight: 800; text-transform: uppercase; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.75rem); }
h2 { font-size: clamp(2.05rem, 4.2vw, 3.15rem); }
h3 { font-size: 1.45rem; font-weight: 700; line-height: 1.15; }
p + p { margin-top: 1rem; }
.h3-like { font-size: 1.45rem; font-weight: 700; text-transform: none; line-height: 1.15; }
strong { font-weight: 700; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 880px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--yellow); color: var(--ink); padding: .75rem 1.25rem; font-weight: 700; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Butoane ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .85rem 1.35rem; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.1; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1.05rem 1.7rem; font-size: 1.1rem; }
.btn-sm { padding: .6rem 1.1rem; font-size: .95rem; }
.btn-call { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 18px rgba(255, 194, 26, .35); }
.btn-call:hover { background: var(--yellow-2); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(37, 211, 102, .3); }
.btn-wa:hover { background: var(--wa-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------- Bandă „hazard" ---------- */
.hazard { height: 10px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 16px, var(--ink) 16px 32px); }

/* ---------- Topbar ---------- */
.topbar { background: #0a0b0e; color: #aeb3bd; font-size: .9rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topbar a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--yellow); }
.topbar-meta { display: flex; gap: 1.5rem; }
.live { display: inline-flex; align-items: center; gap: .55rem; color: #fff; font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 9px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--ink); color: #fff; border-bottom: 1px solid var(--ink-line); }
.site-header.scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .75rem; color: #fff; }
.brand img { width: 74px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--display); font-weight: 800; font-size: 1.45rem; text-transform: uppercase; letter-spacing: .02em; }
.brand-text small { font-size: .8rem; color: var(--yellow); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; margin-top: .25rem; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: .25rem; }
.main-nav a { display: flex; align-items: center; gap: .5rem; padding: .55rem .8rem; font-family: var(--display); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .03em; border-radius: 8px; transition: color .15s; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current="page"] { color: var(--yellow); }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { display: none; }
.sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px; background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow); padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; }
.sub::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { font-family: var(--font); text-transform: none; font-size: 1rem; font-weight: 600; letter-spacing: 0; padding: .65rem .75rem; }
.sub a .ico { color: var(--muted); }
.sub a:hover, .sub a[aria-current="page"] { background: var(--yellow-soft); }
.sub a:hover .ico { color: var(--ink); }

.header-call { display: flex; align-items: center; gap: .65rem; background: var(--yellow); color: var(--ink); padding: .55rem 1.1rem .55rem .9rem; border-radius: 999px; font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1; transition: background .15s; }
.header-call:hover { background: var(--yellow-2); }
.header-call small { display: block; font-family: var(--font); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .15rem; }
.nav-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 10px; color: #fff; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

/* ---------- Eyebrow / titluri de secțiune ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--display); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: .9rem; }
.eyebrow::before { content: ''; width: 28px; height: 4px; background: var(--yellow); border-radius: 2px; }
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 + p { margin-top: 1rem; color: var(--muted); font-size: 1.125rem; }
.hl { color: var(--yellow); }

/* ---------- Secțiuni ---------- */
.section { padding: 92px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: #d4d7de; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--yellow); }
.section-dark .section-head h2 + p { color: #aeb3bd; }

/* ---------- Hero homepage ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0 0 0 auto; width: 60%; z-index: -1; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 19, 24, .85) 0%, rgba(17, 19, 24, .1) 45%, rgba(17, 19, 24, .15) 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2rem; align-items: center; min-height: 640px; padding-top: 64px; padding-bottom: 72px; }
.hero h1 { margin: 1.1rem 0 1.25rem; }
.hero h1 .hl { display: block; }
.hero .lead { font-size: 1.2rem; color: #c9ccd3; max-width: 560px; }
.status { display: inline-flex; align-items: center; gap: .6rem; background: rgba(255, 255, 255, .08); border: 1px solid var(--ink-line); padding: .45rem .9rem; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.trust { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--ink-line); }
.trust li { display: flex; align-items: center; gap: .75rem; }
.trust .ico { color: var(--yellow); }
.trust strong { display: block; font-family: var(--display); font-size: 1.5rem; line-height: 1; color: #fff; }
.trust span { font-size: .9rem; color: #aeb3bd; }
.hero-card { justify-self: end; align-self: end; width: 100%; max-width: 340px; background: rgba(17, 19, 24, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--ink-line); border-left: 5px solid var(--yellow); border-radius: var(--radius); padding: 1.5rem; }
.hero-card .big { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--yellow); }
.hero-card p { color: #c9ccd3; font-size: .98rem; margin: .4rem 0 1rem; }
.hero-card ul { display: grid; gap: .45rem; font-size: .95rem; }
.hero-card li { display: flex; gap: .5rem; align-items: center; }
.hero-card li .ico { color: var(--yellow); }

/* ---------- Hero pagini interioare ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero-media { position: absolute; inset: 0; z-index: -1; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 19, 24, .95) 0%, rgba(17, 19, 24, .82) 45%, rgba(17, 19, 24, .35) 100%); }
.page-hero-inner { padding-top: 48px; padding-bottom: 72px; min-height: 520px; display: flex; flex-direction: column; justify-content: center; }
.page-hero h1 { max-width: 820px; margin-bottom: 1.25rem; }
.page-hero h1 .hl { display: block; }
.page-hero .eyebrow { color: var(--yellow); }
.page-hero .lead { font-size: 1.2rem; color: #d4d7de; max-width: 640px; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.chips li { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255, 255, 255, .08); border: 1px solid var(--ink-line); padding: .4rem .85rem; border-radius: 999px; font-size: .92rem; font-weight: 600; }
.chips .ico { color: var(--yellow); }
.crumbs { margin-bottom: 1.75rem; font-size: .92rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; color: #aeb3bd; }
.crumbs li + li::before { content: '/'; margin-right: .4rem; opacity: .5; }
.crumbs a:hover { color: var(--yellow); }
.crumbs [aria-current] { color: #fff; }

/* ---------- Carduri servicii ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.svc-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.svc-card:hover .svc-media img { transform: scale(1.04); }
.svc-num { position: absolute; top: 14px; left: 14px; background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.15rem; padding: .25rem .6rem; border-radius: 6px; }
.svc-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.4rem 1.4rem 1.5rem; flex: 1; }
.svc-body p { color: var(--muted); font-size: 1rem; }
.svc-link { margin-top: auto; display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; padding-top: .5rem; }
.svc-link::after { content: ''; position: absolute; inset: 0; }
.svc-link .ico { transition: transform .2s; }
.svc-card:hover .svc-link .ico { transform: translateX(4px); }
.svc-card:hover .svc-link { color: #9a7200; }

/* ---------- Pași ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 2rem 1.6rem 1.75rem; }
.step::before { counter-increment: step; content: '0' counter(step); display: block; font-family: var(--display); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--yellow); margin-bottom: 1rem; }
.step h3 { margin: 0 0 .5rem; color: #fff; }
.step p { color: #aeb3bd; font-size: 1rem; }

/* ---------- Bandă cifre ---------- */
.stats { background: var(--yellow); color: var(--ink); }
.stats-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding-top: 40px; padding-bottom: 40px; }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; }
.stat span { font-weight: 600; font-size: .98rem; }

/* ---------- Split text + imagine ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.media-frame { position: relative; }
.media-frame::before { content: ''; position: absolute; inset: 22px -18px -18px 22px; background: var(--yellow); border-radius: var(--radius); z-index: 0; }
.media-frame img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.media-frame .badge { position: absolute; z-index: 2; left: -14px; bottom: 28px; background: var(--ink); color: #fff; padding: .9rem 1.2rem; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.media-frame .badge strong { display: block; font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--yellow); }
.media-frame .badge span { font-size: .88rem; }

.checklist { display: grid; gap: .8rem; margin-top: 1.5rem; }
.checklist li { display: flex; align-items: flex-start; gap: .75rem; }
.checklist .ico { background: var(--yellow); color: var(--ink); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: 1px; }
.checklist.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section-dark .checklist li { color: #d4d7de; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 1.5rem 0 .5rem; }
.tiles li { display: flex; align-items: center; gap: .85rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1rem; font-weight: 600; line-height: 1.3; }
.tiles .ico { width: 44px; height: 44px; padding: 10px; background: var(--yellow-soft); border-radius: 10px; color: var(--ink); }

/* ---------- Conținut pagini servicii ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.prose .related a, .prose .offer { text-decoration: none; }
.prose h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin: 2.75rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.75rem 0 .6rem; }
.prose p { color: #3a404b; }
.prose a:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.prose img { border-radius: var(--radius); width: 100%; }
.img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 2rem; }
.img-pair img { aspect-ratio: 4 / 3; object-fit: cover; }
.side-card { background: var(--ink); color: #d4d7de; border-radius: var(--radius); padding: 1.6rem; border-top: 5px solid var(--yellow); }
.side-card h3 { color: #fff; margin-bottom: .4rem; }
.side-card .side-phone { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--yellow); margin: .75rem 0 1rem; }
.side-card .checklist { margin-top: 1rem; font-size: .98rem; }
.side-card .btn { width: 100%; margin-top: .6rem; }
.side img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.note { background: var(--yellow-soft); border-left: 5px solid var(--yellow); border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; margin-top: 1.75rem; color: #3a404b; }

/* ---------- Citat Andrei ---------- */
.quote { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1.5rem; align-items: center; background: var(--ink); color: #d4d7de; border-radius: var(--radius); padding: 1.75rem; margin-top: 2rem; }
.quote img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: top; border: 4px solid var(--yellow); }
.quote blockquote p { font-size: 1.15rem; font-style: italic; color: #fff; }
.quote cite { display: block; margin-top: .6rem; font-style: normal; font-weight: 700; color: var(--yellow); }

/* ---------- Recenzii ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .8rem; }
.stars { display: flex; gap: 2px; color: var(--yellow-2); }
.review blockquote { color: #3a404b; flex: 1; }
.review footer { font-weight: 700; }
.review footer span { display: block; font-weight: 500; font-size: .88rem; color: var(--muted); }
.rating-line { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem; font-weight: 700; }

/* ---------- Zone ---------- */
.zones { display: flex; flex-wrap: wrap; gap: 10px; }
.zones.center { justify-content: center; }
.zones li { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line); background: #fff; padding: .55rem 1rem; border-radius: 999px; font-weight: 600; }
.zones .ico { color: #b38600; }
.section-dark .zones li { background: var(--ink-2); border-color: var(--ink-line); color: #fff; }
.section-dark .zones .ico { color: var(--yellow); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; font-weight: 700; font-size: 1.12rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #8a6800; }
.faq-ico { position: relative; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--yellow); }
.faq-ico::before, .faq-ico::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .2s; }
.faq-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq-ico::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { padding: 0 3rem 1.4rem 0; color: #3a404b; }

/* ---------- CTA final ---------- */
.cta-band { background: var(--ink); color: #fff; }
.cta-band-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { margin-bottom: .6rem; }
.cta-band p { color: #aeb3bd; font-size: 1.12rem; }
.cta-band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.cta-phone { display: inline-flex; align-items: center; gap: .9rem; background: var(--yellow); color: var(--ink); padding: .8rem 1.6rem .8rem 1.2rem; border-radius: 999px; font-family: var(--display); font-weight: 800; font-size: 2.1rem; line-height: 1; transition: background .15s, transform .15s; }
.cta-phone:hover { background: var(--yellow-2); transform: translateY(-2px); }
.cta-phone small { display: block; font-family: var(--font); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .2rem; }

/* ---------- Linkuri înrudite ---------- */
.related { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 2.5rem; }
.related-title { font-weight: 700; margin-right: .25rem; }
.related a { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid var(--line); background: #fff; padding: .55rem .95rem; border-radius: 999px; font-weight: 600; font-size: .98rem; transition: .15s; }
.related a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ---------- Cere ofertă ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 1.75rem 0; }
.offer { display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.2rem; transition: .18s; }
.offer:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.offer .ico { width: 48px; height: 48px; padding: 11px; border-radius: 12px; background: var(--ink); color: var(--yellow); }
.offer strong { font-family: var(--display); font-size: 1.35rem; line-height: 1.1; }
.offer span { color: var(--muted); font-size: .95rem; }
.offer em { margin-top: auto; font-style: normal; font-weight: 800; display: inline-flex; align-items: center; gap: .35rem; }
.offer.free { background: var(--yellow); border-color: var(--yellow); }
.offer.free span { color: var(--ink); }
.offer.free .ico { background: var(--ink); }

.table-wrap { overflow-x: auto; margin-top: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--ink); color: #fff; font-family: var(--display); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; }
tr:last-child td { border-bottom: 0; }
td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
td a { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }

/* ---------- Galerie ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 2rem; }
.filters button { border: 2px solid var(--line); padding: .55rem 1.2rem; border-radius: 999px; font-weight: 700; transition: .15s; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.filters button:hover { border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.gallery button { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery button:hover img { transform: scale(1.06); }
.gallery button::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(17, 19, 24, .55)); opacity: 0; transition: opacity .2s; }
.gallery button:hover::after { opacity: 1; }
.gallery [hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(8, 9, 12, .94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); border-radius: 8px; }
.lightbox figcaption { color: #d4d7de; text-align: center; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2rem; line-height: 1; transition: background .15s; }
.lb-btn:hover { background: var(--yellow); color: var(--ink); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 2rem; }
.contact-card { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.contact-card .ico { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--ink); color: var(--yellow); }
.contact-card strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-card a, .contact-card span { font-weight: 700; word-break: break-word; }
.contact-card a:hover { color: #8a6800; }
.form-card { background: var(--soft); border-radius: var(--radius); padding: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; }
.field label span { color: #c0392b; }
.field input, .field textarea { width: 100%; background: #fff; border: 1.5px solid #cfd3da; border-radius: var(--radius-sm); padding: .85rem 1rem; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 194, 26, .45); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .88rem; color: var(--muted); margin-top: .75rem; }
.alert { border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: 1.25rem; font-weight: 600; }
.alert ul { margin: .4rem 0 0 1.1rem; list-style: disc; font-weight: 500; }
.alert-ok { background: #e7f8ee; border: 1px solid #9fdcb6; color: #14532d; }
.alert-err { background: #fdecec; border: 1px solid #f3b4b4; color: #7f1d1d; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- RCA ---------- */
.ins-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ins { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; border-top: 5px solid var(--yellow); }
.ins h3 { margin-bottom: .5rem; }
.ins p { color: var(--muted); }
.ins .checklist { font-size: .98rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aeb3bd; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1.25fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand p { margin: 1.1rem 0; }
.footer-phone { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 800; font-size: 1.9rem; color: var(--yellow); }
.footer-title { font-size: 1.3rem; color: #fff; margin-bottom: 1.1rem; }
.footer-links { display: grid; gap: .5rem; }
.footer-links a:hover, .footer-contact a:hover, .footer-bottom a:hover, .link-btn:hover { color: var(--yellow); }
.footer-contact { display: grid; gap: .75rem; }
.footer-contact li { display: flex; gap: .65rem; align-items: flex-start; }
.footer-contact .ico { color: var(--yellow); margin-top: 3px; }
.footer-zones { margin-bottom: 1.25rem; line-height: 1.8; }
.footer-bottom { border-top: 1px solid var(--ink-line); font-size: .9rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; padding-top: 20px; padding-bottom: 20px; }
.footer-bottom p:last-child { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.link-btn { font-size: inherit; color: inherit; padding: 0; }

/* ---------- Bara mobil + consimțământ ---------- */
.mobile-bar { display: none; }
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 2500; max-width: 430px; background: var(--ink-2); color: #d4d7de; border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); font-size: .95rem; }
.consent[hidden] { display: none; }
.consent-actions { display: flex; justify-content: flex-end; gap: .6rem; margin-top: .9rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 100px 0; }
.notfound .code { font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 18vw, 11rem); line-height: .9; color: var(--yellow); -webkit-text-stroke: 3px var(--ink); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .main-nav a { padding: .55rem .55rem; font-size: 1.02rem; }
  .header-call { font-size: 1.15rem; }
}

@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .header-call { margin-left: auto; padding: .7rem; }
  .header-call span { display: none; }
  .main-nav { position: fixed; top: var(--nav-top, 106px); left: 0; right: 0; bottom: 0; margin: 0; background: var(--ink); overflow-y: auto; padding: 1rem 20px 6rem; transform: translateX(100%); transition: transform .25s ease; visibility: hidden; }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--ink-line); }
  .main-nav a { padding: 1rem .25rem; font-size: 1.35rem; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: #fff; }
  .sub-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
  .sub { position: static; width: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; display: none; background: var(--ink-2); box-shadow: none; margin-bottom: .75rem; }
  .sub.open { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub:hover .sub.open { display: block; }
  .sub a { color: #fff; font-size: 1.05rem; }
  .sub a .ico { color: var(--yellow); }
  .sub a:hover, .sub a[aria-current="page"] { background: var(--ink-3); }

  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; }
  .hero-media { width: 100%; clip-path: none; }
  .hero-media::after { background: linear-gradient(180deg, rgba(17, 19, 24, .66) 0%, rgba(17, 19, 24, .86) 55%, var(--ink) 100%); }
  .hero-card { justify-self: start; max-width: none; }
  .content-grid { grid-template-columns: 1fr; }
  .side { position: static; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse > :first-child { order: 0; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .reviews, .ins-grid { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 899px) {
  body { padding-bottom: 66px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500; box-shadow: 0 -6px 20px rgba(0, 0, 0, .2); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .55rem; height: 66px; font-family: var(--display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; }
  .mb-call { background: var(--yellow); color: var(--ink); }
  .mb-wa { background: var(--wa); color: #fff; }
  .consent { left: 10px; right: 10px; bottom: 76px; max-width: none; }
  .topbar-meta { display: none; }
  .topbar-inner { justify-content: center; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 2.25rem; }
  .brand img { width: 58px; }
  .brand-text strong { font-size: 1.2rem; }
  .brand-text small { font-size: .7rem; }
  .hero .lead, .page-hero .lead { font-size: 1.08rem; }
  .hero-actions .btn { width: 100%; }
  .trust { gap: 1rem 1.5rem; }
  .page-hero-inner { min-height: 0; padding-top: 32px; padding-bottom: 56px; }
  .svc-grid, .offer-grid, .contact-cards, .form-row, .checklist.two, .img-pair { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; row-gap: 1.75rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .quote { grid-template-columns: 1fr; text-align: center; }
  .quote img { margin: 0 auto; }
  .cta-phone { font-size: 1.75rem; width: 100%; justify-content: center; }
  .cta-band-actions .btn { width: 100%; }
  .media-frame::before { inset: 14px -10px -10px 14px; }
  .media-frame .badge { left: 10px; bottom: 16px; }
  .lightbox { padding: 60px 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .form-card { padding: 1.4rem; }
  .faq-a { padding-right: 0; }
  td:last-child { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Caseta „Pe scurt" (răspuns direct pentru cititori și motoare AI) ---------- */
address { font-style: normal; }
.quick { background: var(--soft); border: 1px solid var(--line); border-left: 5px solid var(--yellow); border-radius: var(--radius-sm); padding: 1.3rem 1.4rem 1.1rem; margin-bottom: 2.25rem; }
.prose .quick-title, .quick-title { font-family: var(--font); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 .45rem; line-height: 1.3; }
.quick-answer { font-size: 1.12rem; font-weight: 500; line-height: 1.55; color: var(--text); margin: 0 0 1.1rem; }
.prose .quick-answer { color: var(--text); }
.quick-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .75rem 1.5rem; }
.quick-facts div { border-top: 1px solid var(--line); padding-top: .55rem; }
.quick-facts dt { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.quick-facts dd { font-weight: 600; line-height: 1.4; color: var(--text); }
.quick-updated { font-size: .82rem; color: var(--muted); margin-top: 1rem; }
.prose .quick-updated { color: var(--muted); }
.prose .quick + h2 { margin-top: 0; }
@media (max-width: 600px) {
  .quick { padding: 1.1rem 1.1rem 1rem; }
  .quick-answer { font-size: 1.04rem; }
  .quick-facts { grid-template-columns: 1fr 1fr; gap: .7rem 1rem; }
  .quick-facts dd { font-size: .95rem; }
}
