/* ===== FONT ===== */
/* Archivo variabil, self-hosted. Fonturile alternative din editorul de frontpage
   se încarcă în continuare de la Google, prin loadFont() din app.js. */
/* ── @font-face Archivo: BLOC DUPLICAT DELIBERAT (#039) ──────────────────────
   Acelasi bloc exista, identic, in toate cele trei foi de stil ale platformei:
     saas/static/site/css/styles.css   (landing)
     saas/static/css/saas.css          (paginile publice Elite)
     saas/static/admin/css/admin.css   (editorul de frontpage)
   Nu a fost extras intr-un fonts.css comun fiindca ar adauga un request BLOCANT
   pe fiecare pagina, iar castigul e doar de intretinere. Daca schimbi fontul
   (alt subset, alta versiune, alt nume de fisier), schimba-l in TOATE TREI.
   Nu te baza pe memorie: tests/saas/test_backlog_039_fontface_identic.py pica
   daca cele trei copii diverg sau daca un .woff2 citat nu exista pe disc.
   ─────────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('/static/site/fonts/Archivo-latin-ext.woff2') format('woff2');
  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-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('/static/site/fonts/Archivo-latin.woff2') format('woff2');
  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;
}

/* ===== VARIABLES ===== */
:root {
  --primary: #c9a84c;
  --primary-dark: #a67c30;
  --bg: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --text: #ffffff;
  --text-muted: #999999;
  --footer-bg: #050505;
  --border: rgba(255,255,255,0.08);
  --font-heading: 'Archivo', sans-serif;
  --font-body: 'Archivo', sans-serif;
  --radius: 8px;
  --transition: 0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4 { font-family: var(--font-heading); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.section-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--primary); margin-bottom: 0.75rem; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 2rem; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.05em; border-radius: var(--radius); transition: all var(--transition); }
.btn-primary { background: var(--primary); color: #000; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.3); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #000; }

/* ===== ANNOUNCEMENT BAR ===== */
#announcement-bar { width: 100%; padding: 0.6rem 1rem; text-align: center; font-size: 0.85rem; font-weight: 500; }
#announcement-bar a { text-decoration: underline; }
#announcement-bar.hidden { display: none; }

/* ===== HEADER ===== */
#site-header { position: sticky; top: 0; z-index: 1000; background: rgba(10,10,10,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); width: 100%; }
/* Ancorele din meniu (#preturi, #contact...) aterizeaza sub headerul sticky fara asta. */
main > [id] { scroll-margin-top: 80px; }
/* Textul SSR pentru crawlere (h1/h2/h3/p/ul puse direct in containere de
   saas/site.py) e ascuns cand ruleaza JS (html.js, din js-flag.js in <head>),
   altfel apare un flash de text nestilizat pana randeaza app.js. */
html.js main > [id] > :is(h1, h2, h3, p, ul) { display: none; }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 72px; }
.logo { white-space: nowrap; }
.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--primary); letter-spacing: -0.01em; }
.logo img { height: 48px; width: auto; object-fit: contain; }
nav ul { display: flex; gap: 2rem; align-items: center; }
nav a { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); transition: color var(--transition); letter-spacing: 0.03em; white-space: nowrap; }
nav a:hover { color: var(--primary); }
.header-cta { margin-left: 1.5rem; white-space: nowrap; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); transition: all var(--transition); }
.mobile-nav { display: none; }

/* ===== HERO ===== */
#hero-section { position: relative; }
.hero-slider { position: relative; overflow: hidden; width: 100%; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; min-height: 600px; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; position: relative; pointer-events: auto; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 2rem; }
.hero-title { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1.5rem; line-height: 1.1; }
.hero-title span { color: var(--primary); }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255,255,255,0.8); margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-arrows { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; padding: 0 1.5rem; z-index: 10; pointer-events: none; }
.hero-arrow { pointer-events: auto; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: white; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--transition); backdrop-filter: blur(4px); }
.hero-arrow:hover { background: var(--primary); border-color: var(--primary); color: #000; }
.hero-dots { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; z-index: 10; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); border: none; cursor: pointer; transition: all var(--transition); }
.hero-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* ===== SECTIONS ===== */
.section { padding: 6rem 2rem; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-light { background: var(--bg-secondary); }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: all var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--primary); transition: height 0.4s ease; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,0.3); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.service-card:hover::before { height: 100%; }
.service-img { width: 100%; height: 200px; object-fit: cover; border-radius: calc(var(--radius) - 2px); margin-bottom: 1.5rem; }
.service-icon { font-size: 1.5rem; color: var(--primary); margin-bottom: 1rem; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.service-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.25rem; }
.service-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.service-price { font-size: 1rem; font-weight: 700; color: var(--primary); }
.service-duration { font-size: 0.8rem; color: var(--text-muted); }
.service-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--primary); margin-top: 1rem; transition: gap var(--transition); }
.service-link:hover { gap: 0.7rem; }

/* ===== PRICING ===== */
.pricing-tier-selector { text-align: center; margin-bottom: 3rem; }
.pricing-tier-label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.pricing-tier-buttons { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.pricing-tier-btn { padding: 0.6rem 1.25rem; font-size: 0.85rem; font-weight: 600; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-muted); cursor: pointer; transition: all var(--transition); }
.pricing-tier-btn:hover { border-color: var(--primary); color: var(--text); }
.pricing-tier-btn.active { background: var(--primary); border-color: var(--primary); color: #000; }
.pricing-tier-note { margin-top: 1rem; font-size: 0.85rem; color: var(--text-muted); min-height: 1.2em; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; align-items: stretch; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; position: relative; transition: all var(--transition); }
.pricing-card-recommended { border-color: var(--primary); box-shadow: 0 16px 40px rgba(201,168,76,0.15); }
.pricing-badge { position: absolute; top: -0.8rem; right: 1.5rem; background: var(--primary); color: #000; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.3rem 0.75rem; border-radius: 999px; }
.pricing-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.pricing-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.pricing-price { margin-bottom: 1.25rem; }
.pricing-amount { font-family: var(--font-heading); font-size: 2.25rem; font-weight: 700; color: var(--primary); }
.pricing-suffix { font-size: 0.85rem; color: var(--text-muted); margin-left: 0.35rem; }
.pricing-inherit { font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 0.75rem; }
.pricing-features { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; flex-grow: 1; }
.pricing-features li { font-size: 0.9rem; color: var(--text-muted); padding-left: 1.5rem; position: relative; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.pricing-cta .btn { width: 100%; justify-content: center; }
.pricing-notes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.pricing-note-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.pricing-note-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--primary); margin-bottom: 0.5rem; }
.pricing-note-card h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.pricing-note-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.pricing-disclaimer { text-align: center; font-size: 0.75rem; color: var(--text-muted); margin-top: 2rem; }

/* ===== GALLERY CAROUSEL ===== */
.gallery-carousel { position: relative; display: flex; align-items: center; gap: 1rem; }
.gallery-track-wrap { flex: 1; overflow: hidden; min-width: 0; }
.gallery-track { display: flex; gap: 1rem; transition: transform 0.4s ease; will-change: transform; }
.gallery-item { flex-shrink: 0; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; cursor: pointer; background: var(--bg-card); }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.45); opacity: 0; transition: opacity var(--transition); display: flex; align-items: center; justify-content: center; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-size: 2rem; color: white; }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.75rem 1rem 0.6rem; background: linear-gradient(transparent, rgba(0,0,0,0.7)); font-size: 0.8rem; color: rgba(255,255,255,0.9); }
.gallery-arrow { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border); color: var(--text); font-size: 1.1rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--transition); }
.gallery-arrow:hover { background: var(--primary); border-color: var(--primary); color: #000; }
.gallery-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.gallery-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); border: none; cursor: pointer; transition: all var(--transition); padding: 0; }
.gallery-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }
.gallery-empty { text-align: center; padding: 4rem; color: var(--text-muted); }

@media (max-width: 600px) {
  .gallery-arrow { width: 36px; height: 36px; font-size: 0.9rem; }
}

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.about-img-placeholder { width: 100%; aspect-ratio: 4/5; background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.9rem; }
.about-badge { position: absolute; bottom: -1.5rem; right: -1.5rem; background: var(--primary); color: #000; padding: 1.5rem; border-radius: var(--radius); text-align: center; min-width: 120px; }
.about-badge .number { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; line-height: 1; }
.about-badge .label { font-size: 0.75rem; font-weight: 600; }
.about-content .section-header { text-align: left; margin-bottom: 1.5rem; }
.about-content .section-subtitle { margin: 0; }
.about-desc { color: var(--text-muted); line-height: 1.8; margin: 1.5rem 0 2rem; white-space: pre-line; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin: 2rem 0; }
.stat-item { text-align: center; padding: 1.25rem; background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); }
.stat-number { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ===== TESTIMONIALS ===== */
.testimonials-slider { position: relative; overflow: hidden; }
.testimonials-track { display: flex; gap: 1.5rem; transition: transform 0.4s ease; }
.testimonial-card { flex: 0 0 calc(33.333% - 1rem); min-width: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.testimonial-stars { color: var(--primary); font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { color: var(--text-muted); line-height: 1.7; font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--bg-secondary); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.testimonial-name { font-weight: 600; font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }
.testimonials-controls { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 2rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.75rem; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.contact-item span { font-size: 0.95rem; }
.contact-social { display: flex; gap: 0.75rem; margin-top: 2rem; }
.social-link { width: 40px; height: 40px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; transition: all var(--transition); font-size: 1rem; }
.social-link:hover { background: var(--primary); border-color: var(--primary); color: #000; }
.contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.875rem 1rem; background: var(--bg); border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px); color: var(--text); font-family: var(--font-body); font-size: 0.9rem; transition: border-color var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group select { appearance: none; }
.form-group textarea { height: 120px; resize: vertical; }
.form-group select option { background: var(--bg-card); }
.form-success { display: none; text-align: center; padding: 2rem; color: var(--primary); font-size: 1.1rem; }

/* ===== FOOTER ===== */
#site-footer { background: var(--footer-bg); border-top: 1px solid var(--border); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr repeat(2, 1fr); gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { font-size: 1.75rem; margin-bottom: 0.75rem; }
.footer-tagline { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.footer-col h4 { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); margin-bottom: 1.25rem; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { color: var(--text-muted); font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom > div { flex: 1; }
.footer-copyright { color: var(--text-muted); font-size: 0.85rem; }
.footer-legal { color: var(--text-muted); font-size: 0.75rem; opacity: 0.7; margin-top: 0.35rem; }
/* ponytail: banner ANPC singur pe rand, centrat */
.footer-sal { display: block; width: fit-content; margin: 0.85rem auto 0; opacity: 0.85; }
.footer-sal:hover { opacity: 1; }
.footer-sal img { display: block; width: 250px; height: auto; border-radius: 6px; }
.footer-social { display: flex; gap: 0.75rem; }

/* ===== SCROLLING CATEGORIES ===== */
#scrollcat-section { background: var(--bg); }
.scrollcat-inner { position: relative; }
.scrollcat-nav { position: absolute; top: 0; left: 0; height: 100%; width: 280px; z-index: 10; pointer-events: none; }
.scrollcat-nav-sticky { position: sticky; top: 72px; height: calc(100vh - 72px); display: flex; flex-direction: column; justify-content: center; padding: 2rem 1.5rem 2rem 2.5rem; gap: 0; pointer-events: auto; }
/* Fără `nowrap` (backlog #028): coloana are lățime fixă (280px), iar o etichetă
   lungă („DETAILING, SPĂLĂTORIE & NUMERE ROȘII" ≈ 319px) ieșea din ea și cădea
   peste textul panoului din dreapta, care începe la `padding-left: 320px`.
   Categoriile vin din config-ul editabil, deci orice etichetă nouă reproducea
   problema; wrap-ul scalează cu textul, lățirea coloanei o amână doar. */
.scrollcat-link { display: flex; align-items: center; font-family: var(--font-heading); font-size: clamp(0.85rem, 1.2vw, 1.25rem); font-weight: 700; color: var(--text); opacity: 0.3; transition: opacity 0.35s ease; cursor: pointer; text-decoration: none; line-height: 1.35; padding: 0.5rem 0; letter-spacing: 0.05em; }
.scrollcat-link:hover { opacity: 0.6; }
.scrollcat-link.active { opacity: 1; }
.scrollcat-arrow { display: inline-block; max-width: 0; overflow: hidden; transition: max-width 0.4s ease, margin 0.4s ease; white-space: nowrap; color: var(--primary); margin-left: 0; }
.scrollcat-link.active .scrollcat-arrow { max-width: 3rem; margin-left: 0.6rem; }
.scrollcat-panels { width: 100%; }
.scrollcat-panel { height: 100vh; position: relative; overflow: hidden; }
.scrollcat-panel-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.8s ease; }
.scrollcat-panel:hover .scrollcat-panel-bg { transform: scale(1.03); }
.scrollcat-panel-overlay { position: absolute; inset: 0; }
.scrollcat-panel-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 3.5rem 4rem 3.5rem 320px; }
.scrollcat-panel-content h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); margin-bottom: 1rem; }
.scrollcat-panel-content p { color: rgba(255,255,255,0.8); font-size: 1rem; line-height: 1.7; margin-bottom: 2rem; max-width: 480px; }
.scrollcat-panel-content .btn { width: fit-content; }

/* Mobile scrollcat */
@media (max-width: 768px) {
  .scrollcat-nav { display: none; }
  .scrollcat-panel { height: 100svh; }
  .scrollcat-panel-content { padding: 2rem; }
  .scrollcat-panel-content h2 { font-size: 1.75rem; }
}

/* ===== LIGHTBOX ===== */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 1.5rem; color: white; cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.1); }

/* ===== SCROLL TO TOP ===== */
#scroll-top { position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px; background: var(--primary); color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; opacity: 0; pointer-events: none; transition: all var(--transition); z-index: 500; box-shadow: 0 4px 16px rgba(201,168,76,0.4); }
#scroll-top.visible { opacity: 1; pointer-events: auto; }
#scroll-top:hover { transform: translateY(-3px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid, .pricing-notes-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-badge { right: 0; }
  .testimonial-card { flex: 0 0 calc(50% - 0.75rem); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Antetul trece pe meniul mobil la 1024px, nu la 768: logo + 7 linkuri (cu
   gap de 2rem) + butonul CTA cer ~1000px, iar sub atât „Contul meu" se rupea
   pe două rânduri și îngroșa headerul sticky (backlog #037). `nowrap` de mai
   jos ține headerul pe un rând și dacă un tenant pune etichete mai lungi în
   configul site-ului. Restul layoutului rămâne pe pragul de 768. */
@media (max-width: 1024px) {
  .header-inner { padding: 0 1rem; }
  nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(10,10,10,0.98); border-bottom: 1px solid var(--border); padding: 1.5rem; flex-direction: column; gap: 1rem; }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { font-size: 1rem; padding: 0.5rem 0; color: var(--text-muted); border-bottom: 1px solid var(--border); }
  .mobile-nav .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid, .pricing-notes-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .testimonial-card { flex: 0 0 calc(100% - 0rem); }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  /* Săgețile pleacă din mijlocul vertical, unde cădeau exact peste subtitlu
     (backlog #038), și flanchează punctele de jos. Centrele lor se aliniază cu
     ale punctelor: 1.25rem + 40/2 = 2.25rem. */
  .hero-arrows { top: auto; bottom: 1.25rem; transform: none; padding: 0 0.5rem; }
  .hero-arrow { width: 40px; height: 40px; font-size: 1.1rem; }
  .hero-dots { bottom: 2.25rem; }
  /* Cu 100vh, tot rândul de control (săgeți + puncte) cădea sub linia de plutire:
     hero-ul începe deja sub bara de anunț + antet. 10rem e chiar acel offset,
     cu puțin joc. `dvh` (a doua declarație, ignorată de browserele vechi)
     scoate din calcul bara de URL care apare/dispare la scroll pe mobil. */
  .hero-slide { height: calc(100vh - 10rem); height: calc(100dvh - 10rem); min-height: 480px; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
}
