/* Fonturi de sistem: niciun apel către servere terțe (conformitate GDPR) */
:root {
  --bg: #f4f2ee;
  --surface: #ffffff;
  --ink: #1b1d20;
  --muted: #5d6168;
  --line: #e2ded6;
  --dark: #17191c;
  --dark-2: #23262b;
  --accent: #e8590c;
  --accent-ink: #ffffff;
  --accent-dark: #c2410c;
  --yellow: #f5b400;
  --ok: #2b8a3e;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 6px 20px rgba(0,0,0,.06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Bahnschrift", "DIN Alternate", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1, .h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
section { padding: 56px 0; }
.eyebrow { display: flex; align-items: center; gap: .4em; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); margin-bottom: .4em; }
.mt { margin-top: 1.2em; }
.link { color: var(--accent-dark); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* Butoane */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .75em 1.2em; border-radius: 8px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; line-height: 1.2; transition: background .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-call { background: var(--accent); color: var(--accent-ink); }
.btn-call:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--dark); }
.btn-lg { font-size: 1.1rem; padding: .95em 1.5em; }
.btn-icon span { display: none; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* Antet */
.site-header { background: var(--dark); color: #fff; position: sticky; top: 0; z-index: 50; }
.topbar { background: var(--dark-2); font-size: .85rem; color: #c9cbd0; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1em; padding-top: 6px; padding-bottom: 6px; }
.topbar span { display: inline-flex; align-items: center; gap: .4em; }
.topbar-badge { color: var(--yellow); font-weight: 700; }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .6em; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 1rem; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: .5em .8em; border-radius: 6px; text-decoration: none; color: #d8dade; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.langs { display: flex; margin-left: 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; overflow: hidden; }
.langs button { background: none; border: 0; color: #c9cbd0; padding: .45em .65em; font: 700 .8rem var(--font); cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--yellow); color: var(--dark); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

/* Hero */
.hero { position: relative; color: #fff; padding: 0; background: var(--dark); overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,25,28,.95) 0%, rgba(23,25,28,.6) 60%, rgba(23,25,28,.2) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 88px; }
.hero h1 { max-width: 760px; }
.hero p { max-width: 620px; font-size: 1.15rem; color: #e1e3e6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .btn-icon span { display: inline; }
.stripe { height: 8px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 16px, var(--dark) 16px 32px); }

/* Pași */
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.steps p { color: var(--muted); margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--dark); color: var(--yellow); font: 700 1.1rem var(--font-head); margin-bottom: 12px; }

/* Categorii, avantaje */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.cat-list { display: grid; gap: 10px; }
.cat { display: flex; justify-content: space-between; align-items: center; background: var(--surface); padding: 16px 20px; border-radius: var(--radius); text-decoration: none; font-weight: 700; box-shadow: var(--shadow); border-left: 4px solid var(--yellow); }
.cat:hover { border-left-color: var(--accent); }
.cat b { background: var(--bg); padding: .1em .6em; border-radius: 99px; font-size: .9rem; }
.why { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.why li { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 1.05rem; }
.why svg { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--accent); color: #fff; }

/* Galerie */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; margin-top: 20px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 200px; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 10px; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.75)); }

/* Contact */
.dark-section { background: var(--dark); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; margin-top: 20px; color: var(--ink); }
.contact-card { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.contact-main { background: var(--accent); color: #fff; }
.contact-main .eyebrow { color: rgba(255,255,255,.85); }
.big-phone { display: block; font: 700 clamp(1.8rem, 4vw, 2.4rem)/1.1 var(--font-head); text-decoration: none; margin-bottom: 6px; }
.big-phone.small { font-size: 1.3rem; opacity: .9; }
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.contact-main .btn-call { background: var(--dark); }
.contact-main .btn-ghost { background: #fff; border-color: #fff; }
.contact-main .btn-ghost span { display: inline; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 6px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours td { text-align: right; font-weight: 700; }
.note { font-size: .9rem; color: var(--muted); margin: 14px 0 0; }

/* Pagina piese */
.page-head { background: var(--dark); color: #fff; padding: 52px 0 44px; }
.page-head p { color: #c9cbd0; max-width: 700px; font-size: 1.1rem; }
.load-error { background: #fff3cd; border: 1px solid #f5b400; padding: 14px; border-radius: 8px; margin: 20px 0; }

/* Despre */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-text { font-size: 1.1rem; }
.since { display: inline-block; background: var(--yellow); color: var(--dark); font-weight: 700; padding: .2em .7em; border-radius: 4px; margin-bottom: 14px; }

/* GDPR */
.legal { background: var(--surface); border-radius: var(--radius); padding: clamp(20px, 4vw, 44px); box-shadow: var(--shadow); max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }
.legal h2:first-of-type { margin-top: 0; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal .updated { color: var(--muted); font-size: .9rem; }

/* Subsol */
.site-footer { background: var(--dark); color: #c9cbd0; padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer a { color: #e1e3e6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; padding-top: 18px; padding-bottom: 90px; font-size: .85rem; }

/* Bară de apel fixă (mobil) */
.sticky-call { display: none; }

@media (max-width: 960px) {
  .header-call { display: none; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--dark); flex-direction: column; align-items: stretch; padding: 10px 16px 18px; border-top: 1px solid rgba(255,255,255,.1); }
  .nav.open { display: flex; }
  .nav a { padding: .8em .6em; }
  .langs { margin: 10px 0 0; align-self: flex-start; }
  .langs button { padding: .6em 1em; }
  .header-inner { position: relative; }
  .steps, .split, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky-call { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--dark); box-shadow: 0 -4px 16px rgba(0,0,0,.25); }
  .sticky-call .btn-call { flex: 1; }
}
@media (max-width: 600px) {
  section { padding: 40px 0; }
  .topbar .topbar-badge { display: none; }
  .hero .wrap { padding-top: 56px; padding-bottom: 56px; }
  .hero-actions .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery figure:first-child { grid-row: auto; }
  .gallery figure { min-height: 0; aspect-ratio: 16/10; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand > span:last-child { font-size: 1rem; }
}
section.tight { padding-top: 0; }

/* ---------- Bandă cifre ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--dark-2); color: #fff; }
.stat { padding: 22px 16px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 700 clamp(1.7rem, 4vw, 2.6rem)/1 var(--font-head); color: var(--yellow); }
.stat span { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: #c9cbd0; }
.kicker { display: inline-block; font-family: inherit; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: .6em; }
.page-head .kicker { color: var(--yellow); }
.wall-head { max-width: 720px; margin-bottom: 22px; }
.wall-head p:last-child { color: var(--muted); font-size: 1.08rem; }
.wall-more { text-align: center; margin-top: 26px; }

/* ---------- Peretele de poze ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { border: 2px solid var(--line); background: var(--surface); border-radius: 99px; padding: .45em 1em; font: 600 .95rem var(--font); cursor: pointer; color: var(--ink); }
.chip small { opacity: .6; font-weight: 700; margin-left: .2em; }
.chip[aria-pressed="true"] { background: var(--dark); color: #fff; border-color: var(--dark); }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 12px; }
.tile { position: relative; display: block; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--dark); cursor: zoom-in; text-align: left; font: inherit; color: #fff; text-decoration: none; }
.tile-wide { grid-column: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); filter: brightness(.85); }
.tile-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-weight: 600; font-size: .92rem; line-height: 1.3; background: linear-gradient(transparent, rgba(0,0,0,.82)); }
.tile-zoom { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.55); display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.tile:hover .tile-zoom, .tile:focus-visible .tile-zoom { opacity: 1; }

/* Eticheta „Piesa dumneavoastră” */
.tile-tag { cursor: pointer; background: #fbfaf6; color: var(--ink); padding: 18px 18px 14px 22px; display: flex; flex-direction: column; gap: 6px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; box-shadow: inset 0 0 0 1px #e6e1d6, var(--shadow); transform: rotate(-1.5deg); transition: transform .2s; overflow: hidden; }
.tile-tag:hover, .tile-tag:focus-visible { transform: rotate(0) scale(1.02); }
.tile-tag::before { content: ""; position: absolute; top: 0; right: -30px; width: 140px; height: 26px; background: #d6262b; transform: rotate(35deg) translate(18px, 14px); }
.tag-hole { position: absolute; top: 14px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 1px 2px rgba(0,0,0,.3); }
.tag-label { font-size: .68rem; letter-spacing: .18em; color: var(--muted); margin-top: 14px; }
.tag-row { display: flex; gap: 8px; align-items: baseline; border-bottom: 1px dashed #cfc9bc; padding-bottom: 3px; font-size: .9rem; }
.tag-row i { font-style: normal; color: var(--muted); }
.tag-status { align-self: flex-start; background: var(--ok); color: #fff; font-size: .72rem; font-weight: 700; padding: .2em .55em; border-radius: 3px; text-transform: uppercase; letter-spacing: .05em; }
.tag-line { font-family: var(--font); font-size: .88rem; font-weight: 600; line-height: 1.3; }
.tag-phone { display: flex; align-items: center; gap: .35em; font: 700 1.3rem var(--font-head); color: var(--accent); margin-top: auto; }
.tag-barcode { height: 22px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px); opacity: .8; }

/* ---------- Bandă derulantă ---------- */
.ticker { background: var(--yellow); color: var(--dark); padding: 18px 0 20px; overflow: hidden; }
.ticker-title { max-width: 1180px; margin: 0 auto 8px; padding: 0 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { font: 700 clamp(1.3rem, 3vw, 1.9rem)/1.2 var(--font-head); white-space: nowrap; padding: 0 18px; display: flex; align-items: center; }
.ticker li::after { content: ""; width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); margin-left: 36px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; width: auto; flex-wrap: wrap; padding: 0 16px; }
  .ticker ul[aria-hidden] { display: none; }
  .ticker ul { flex-wrap: wrap; }
  .tile img { transition: none; }
}

/* ---------- Mărci ---------- */
.brands { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.brands li { font: 700 1.05rem var(--font-head); text-transform: uppercase; letter-spacing: .06em; padding: .55em 1em; border: 2px solid var(--ink); border-radius: 6px; background: var(--surface); }
.brands li:nth-child(3n+1) { transform: rotate(-1.5deg); }
.brands li:nth-child(3n+2) { transform: rotate(1deg); }

/* ---------- Pregătiți înainte să sunați ---------- */
.ready { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; background: var(--surface); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); border-left: 6px solid var(--accent); }
.ready > div > p { color: var(--muted); }
.ready-list { list-style: none; padding: 0; margin: 0; counter-reset: r; display: grid; gap: 10px; }
.ready-list li { counter-increment: r; display: flex; gap: 12px; align-items: center; font-weight: 600; }
.ready-list li::before { content: counter(r); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--dark); color: var(--yellow); font: 700 .95rem var(--font-head); }
.ready-cta { display: flex; flex-direction: column; gap: 10px; }
.ready-cta .btn-icon span { display: inline; }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0b0c0e; color: #fff; }
.lightbox::backdrop { background: rgba(0,0,0,.7); }
.lb-inner { position: relative; height: 100%; display: flex; flex-direction: column; }
.lightbox figure { flex: 1; margin: 0; display: grid; place-items: center; min-height: 0; padding: 56px 64px 8px; }
.lightbox figure img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb-btn { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-btn svg { width: 26px; height: 26px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); background: var(--dark); }
.lb-count { margin: 0; font-size: .8rem; color: #9da1a8; }
.lb-cap { margin: 0; font-weight: 600; }
.lb-actions { display: flex; gap: 8px; }

@media (max-width: 960px) {
  .ready { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .wall { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
  .tile-cap { font-size: .78rem; padding: 24px 8px 8px; }
  .tile-tag { grid-column: span 2; gap: 4px; padding: 10px 16px; }
  .tile-tag .tag-row, .tile-tag .tag-barcode { display: none; }
  .tag-label { margin-top: 10px; }
  .lightbox figure { padding: 60px 8px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 110px; transform: none; }
  .lb-actions { width: 100%; }
  .lb-actions .btn-call { flex: 1; }
}
