/* ============================================
   FEROX — Brand: Rubik / #C51321 / #0C1911
   ============================================ */
:root {
  --red: #C51321;
  --red-dark: #a30f1b;
  --black: #0C1911;
  --grey-80: #3C4741;
  --grey-50: #858C88;
  --grey-10: #F2F4F3;
  --white: #FFFFFF;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(12, 25, 17, 0.10);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Rubik', -apple-system, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(12,25,17,.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.logo img { height: 30px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-weight: 500; font-size: 15px; color: var(--grey-80);
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover { color: var(--black); }
.main-nav a.active { color: var(--red); border-color: var(--red); }

.lang-switch { display: flex; gap: 2px; border: 1px solid rgba(12,25,17,.15); border-radius: 6px; overflow: hidden; }
.lang-switch button {
  font-family: inherit; font-size: 12px; font-weight: 600;
  padding: 5px 9px; border: 0; background: transparent;
  color: var(--grey-50); cursor: pointer; transition: all .15s;
}
.lang-switch button.active { background: var(--red); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--black); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--black); color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(12,25,17,.92) 35%, rgba(12,25,17,.45) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 110px 0 120px;
  max-width: 720px;
}
.kicker {
  display: inline-block; font-size: 13px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--red);
  background: rgba(255,255,255,.07); border: 1px solid rgba(197,19,33,.4);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero p.sub { font-size: 1.1rem; color: rgba(255,255,255,.75); max-width: 560px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; font-weight: 600; font-size: 15px;
  padding: 14px 30px; border-radius: 6px; transition: all .2s; cursor: pointer;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--grey-80); }

.tagline-strip {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 16px 0; font-size: 12px; font-weight: 600;
  letter-spacing: .35em; text-transform: uppercase; color: rgba(255,255,255,.55);
  text-align: center;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--black); color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 340px; height: 340px; border-radius: 50%;
  border: 60px solid rgba(197,19,33,.18);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 14px; }
.page-hero p { max-width: 640px; color: rgba(255,255,255,.72); font-size: 1.06rem; }

/* ---------- Sections ---------- */
section.block { padding: 84px 0; }
section.block.grey { background: var(--grey-10); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head .kicker { background: rgba(197,19,33,.06); border-color: rgba(197,19,33,.25); }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; line-height: 1.15; margin-bottom: 12px; }
.section-head p { color: var(--grey-50); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat {
  background: var(--white); border: 1px solid rgba(12,25,17,.08);
  border-radius: var(--radius); padding: 30px 26px; text-align: center;
}
.stat .num { font-size: 2.6rem; font-weight: 800; color: var(--red); line-height: 1; }
.stat .lbl { margin-top: 8px; font-size: .92rem; color: var(--grey-80); font-weight: 500; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card {
  background: var(--white); border: 1px solid rgba(12,25,17,.08);
  border-radius: var(--radius); padding: 32px 28px;
  position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }
.card .icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: rgba(197,19,33,.08); color: var(--red);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: .94rem; color: var(--grey-50); }
.card a.more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: .9rem; color: var(--red); }

/* Split (about preview) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split blockquote {
  border-left: 4px solid var(--red); padding-left: 18px;
  font-size: 1.15rem; font-weight: 500; color: var(--grey-80); margin: 22px 0;
}

/* CTA band */
.cta-band { background: var(--red); color: #fff; padding: 68px 0; text-align: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 10px; }
.cta-band p { opacity: .85; margin-bottom: 28px; }
.cta-band .btn { background: #fff; color: var(--red); }
.cta-band .btn:hover { background: var(--black); color: #fff; }

/* ---------- Galleries ---------- */
.gallery-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; }
.gallery-nav a {
  font-size: .88rem; font-weight: 600; padding: 9px 18px;
  border: 1px solid rgba(12,25,17,.14); border-radius: 100px;
  color: var(--grey-80); transition: all .15s;
}
.gallery-nav a:hover { border-color: var(--red); color: var(--red); }

.gallery-section { margin-bottom: 72px; scroll-margin-top: 96px; }
.gallery-section h2 {
  font-size: 1.5rem; font-weight: 700; margin-bottom: 22px;
  display: flex; align-items: center; gap: 14px;
}
.gallery-section h2::after { content: ''; flex: 1; height: 1px; background: rgba(12,25,17,.1); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery figure {
  border-radius: 8px; overflow: hidden; cursor: pointer;
  aspect-ratio: 1; background: var(--grey-10); position: relative;
}
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.gallery figure:hover img { transform: scale(1.06); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(12,25,17,.94);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; border-radius: 6px; }
.lightbox .close {
  position: absolute; top: 22px; right: 28px;
  font-size: 34px; color: #fff; background: none; border: 0; cursor: pointer; line-height: 1;
}

/* ---------- Automatizari ---------- */
.came-band {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  background: var(--white); border: 1px solid rgba(12,25,17,.08);
  border-radius: var(--radius); padding: 30px 34px; margin-top: 48px;
}
.came-band img { height: 54px; width: auto; }
.came-band p { flex: 1; min-width: 240px; font-weight: 500; color: var(--grey-80); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--white); border: 1px solid rgba(12,25,17,.08);
  border-radius: var(--radius); padding: 22px 24px;
}
.contact-card .icon {
  flex: none; width: 44px; height: 44px; border-radius: 9px;
  background: rgba(197,19,33,.08); color: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-50); margin-bottom: 4px; }
.contact-card p, .contact-card a { font-weight: 500; color: var(--black); font-size: 1rem; }
.contact-card a:hover { color: var(--red); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 440px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 440px; border: 0; }

.socials { display: flex; gap: 12px; margin-top: 6px; }
.socials a {
  width: 42px; height: 42px; border-radius: 9px;
  border: 1px solid rgba(12,25,17,.14);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-80); transition: all .15s;
}
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.socials svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-grid .logo img { height: 26px; margin-bottom: 18px; }
.footer-grid p { font-size: .92rem; }
.footer-grid h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 9px; }
.footer-grid ul a { font-size: .94rem; transition: color .15s; }
.footer-grid ul a:hover { color: var(--red); }
.footer-tagline { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-top: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0; font-size: .85rem; color: rgba(255,255,255,.45);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 18px 24px 24px; gap: 16px;
    border-bottom: 1px solid rgba(12,25,17,.08);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .hero-inner { padding: 72px 0 84px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- WhatsApp flotant ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(12,25,17,.3);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Formular contact ---------- */
.cform label { display: block; font-weight: 600; font-size: .9rem; margin: 16px 0 6px; }
.cform input, .cform textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(12,25,17,.18); border-radius: 8px;
  font-family: inherit; font-size: 1rem; background: #fff; color: var(--black);
}
.cform input:focus, .cform textarea:focus {
  outline: 2px solid var(--red); outline-offset: 0; border-color: transparent;
}
.cform textarea { resize: vertical; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform button { margin-top: 22px; border: 0; }
.fnote { font-size: .85rem; color: var(--grey-50); margin-top: 12px; }
@media (max-width: 640px) { .frow { grid-template-columns: 1fr; } }

/* ============================================
   Optimizări mobil
   ============================================ */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat { padding: 18px 10px; }
  .stat .num { font-size: 1.8rem; }
  .stat .lbl { font-size: .74rem; margin-top: 5px; }
}

@media (max-width: 820px) {
  .header-inner { height: 62px; gap: 12px; }
  .logo img { height: 24px; }
  .main-nav { top: 62px; }
  .main-nav a { font-size: 16px; width: 100%; padding: 10px 0; border-bottom: 1px solid rgba(12,25,17,.06); }
  .main-nav a.active { border-color: var(--red); }

  section.block { padding: 52px 0; }
  .page-hero { padding: 44px 0 40px; }
  .page-hero p { font-size: .98rem; }
  .hero-inner { padding: 56px 0 64px; }
  .hero p.sub { font-size: .98rem; margin-bottom: 28px; }
  .kicker { font-size: 11px; letter-spacing: .16em; margin-bottom: 18px; }
  .tagline-strip { font-size: 10px; letter-spacing: .2em; padding: 12px 16px; }
  .section-head { margin-bottom: 32px; }

  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-section { margin-bottom: 48px; scroll-margin-top: 80px; }
  .gallery-section h2 { font-size: 1.25rem; }
  .gallery-nav { gap: 8px; margin-bottom: 36px; }
  .gallery-nav a { padding: 8px 14px; font-size: .82rem; }

  .split { gap: 28px; }
  .split blockquote { font-size: 1.05rem; }
  .cards { gap: 14px; }
  .card { padding: 26px 22px; }
  .cta-band { padding: 48px 0; }

  .came-band { flex-direction: column; text-align: center; padding: 28px 22px; gap: 18px; }
  .came-band img { height: 44px; }
  .map-wrap, .map-wrap iframe { min-height: 320px; }
  .contact-card { padding: 18px 18px; }

  .footer-grid { padding-bottom: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }

  .wa-float {
    width: 52px; height: 52px; right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .wa-float svg { width: 26px; height: 26px; }
  .lightbox { padding: 14px; }
  .lightbox .close { top: 12px; right: 16px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.05rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .cta-band .btn { width: 100%; }
  .btn { padding: 14px 22px; }
  .stat .num { font-size: 1.5rem; }
  .stat .lbl { font-size: .68rem; }
  .container { padding: 0 18px; }
}

/* ============================================
   Design v2 — rafinare vizuală
   ============================================ */
::selection { background: var(--red); color: #fff; }
h1, h2, h3 { letter-spacing: -0.02em; }

/* Header: sticlă + umbră la scroll */
.site-header { background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 26px rgba(12,25,17,.09); }
.main-nav a { border-bottom: 0; position: relative; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .22s;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

/* Kicker: stil industrial, bară roșie */
.kicker {
  background: none !important; border: 0 !important; border-left: 3px solid var(--red) !important;
  border-radius: 0 !important; padding: 2px 0 2px 14px !important;
}

/* Hero: mai dramatic */
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 900; }
.hero-bg img { filter: grayscale(45%) contrast(1.05); opacity: .32; }
.hero::before {
  content: 'FEROX'; position: absolute; right: -30px; bottom: 46px; z-index: 1;
  font-weight: 900; font-size: clamp(90px, 16vw, 210px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08);
  letter-spacing: .02em; pointer-events: none;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero .kicker  { animation: fadeUp .6s ease .05s both; }
.hero h1       { animation: fadeUp .6s ease .15s both; }
.hero p.sub    { animation: fadeUp .6s ease .25s both; }
.hero-ctas     { animation: fadeUp .6s ease .35s both; }

/* Butoane */
.btn { border-radius: 5px; }
.btn-red:hover { box-shadow: 0 10px 28px rgba(197,19,33,.35); }

/* Bandă statistici pe fundal închis */
.stats-band { background: var(--black); padding: 58px 0; position: relative; overflow: hidden; }
.stats-band::after {
  content: ''; position: absolute; right: -60px; top: -120px; width: 300px; height: 300px;
  border-radius: 50%; border: 50px solid rgba(197,19,33,.12); pointer-events: none;
}
.stats-band .stat { background: transparent; border: 0; border-radius: 0; text-align: left; padding: 4px 0 4px 26px; border-left: 2px solid rgba(255,255,255,.14); }
.stats-band .num { font-size: 3.1rem; }
.stats-band .lbl { color: rgba(255,255,255,.62); }

/* Titluri de secțiune cu subliniere roșie */
.section-head h2::after, .page-hero h1::after {
  content: ''; display: block; width: 54px; height: 4px;
  background: var(--red); margin-top: 16px; border-radius: 2px;
}

/* Carduri */
.card { border-radius: 12px; }
.card .icon { transition: background .25s, color .25s, transform .25s; }
.card:hover .icon { background: var(--red); color: #fff; transform: scale(1.05); }

/* Imagine cu ramă roșie decalată */
.split .img-wrap { box-shadow: 18px 18px 0 rgba(197,19,33,.12); }

/* Galerii: indicator "+" la hover */
.gallery figure { border-radius: 10px; }
.gallery figure::after {
  content: '+'; position: absolute; right: 10px; bottom: 10px;
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--red); color: #fff; font-size: 22px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.gallery figure:hover::after { opacity: 1; transform: none; }

/* Bandă CTA cu textură diagonală */
.cta-band {
  background: var(--red);
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.045) 0 14px, transparent 14px 28px);
}
.cta-band h2 { font-weight: 900; }

/* Footer cu accent roșu */
.site-footer { border-top: 4px solid var(--red); }

/* Lightbox: intrare lină */
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lightbox.open img { animation: lbIn .22s ease both; }

/* Apariție la scroll */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.rv-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .hero .kicker, .hero h1, .hero p.sub, .hero-ctas { animation: none; }
}

/* Ajustări mobile pentru v2 */
@media (max-width: 820px) {
  .hero::before { font-size: 84px; right: -14px; bottom: 54px; -webkit-text-stroke-color: rgba(255,255,255,.06); }
  .stats-band { padding: 36px 0; }
  .stats-band .stat { padding-left: 14px; }
  .stats-band .num { font-size: 1.8rem; }
  .section-head h2::after, .page-hero h1::after { width: 44px; height: 3px; margin-top: 12px; }
  .split .img-wrap { box-shadow: 10px 10px 0 rgba(197,19,33,.12); }
}
@media (max-width: 480px) {
  .stats-band .num { font-size: 1.45rem; }
  .stats-band .lbl { font-size: .66rem; }
}

/* ---------- Automatizări: panou CAME premium ---------- */
.came-band {
  background: var(--black);
  border: 0; border-radius: 14px;
  padding: 38px 40px;
  position: relative; overflow: hidden;
}
.came-band::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px);
  pointer-events: none;
}
.came-band img {
  position: relative; background: #fff; padding: 10px 18px;
  border-radius: 10px; height: 64px;
}
.came-band p { position: relative; color: rgba(255,255,255,.85); font-size: 1.05rem; }
.came-band .btn { position: relative; }
@media (max-width: 820px) {
  .came-band { padding: 28px 22px; border-radius: 12px; }
  .came-band img { height: 52px; }
}

/* ============================================
   Rafinare mobil v2
   ============================================ */
/* Buton "Sună-ne" — doar pe mobil, deasupra butonului WhatsApp */
.call-float {
  position: fixed; right: 16px;
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  z-index: 200; width: 52px; height: 52px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(197,19,33,.4);
}
.call-float svg { width: 24px; height: 24px; }

@media (max-width: 820px) {
  .call-float { display: flex; }

  /* Meniul mobil: intrare lină + linkuri cu accent */
  @keyframes navSlide { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
  .main-nav.open { animation: navSlide .22s ease; }
  .main-nav a { border-bottom: 1px solid rgba(12,25,17,.06); }
  .main-nav a::after { display: none; }
  .main-nav a.active { color: var(--red); padding-left: 12px; border-left: 3px solid var(--red); }

  /* Navigarea pe categorii: o singură linie, cu scroll lateral */
  .gallery-nav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: 8px; scrollbar-width: none; }
  .gallery-nav::-webkit-scrollbar { display: none; }
  .gallery-nav a { white-space: nowrap; flex: none; }

  /* Statistici: centrate, cu separatoare fine */
  .stats-band .stat { border-left: 0; text-align: center; padding: 4px 8px; }
  .stats-band .stat + .stat { border-left: 1px solid rgba(255,255,255,.14); }

  .section-head h2 { font-size: 1.5rem; }
}

@media (max-width: 640px) {
  /* Carduri compacte: iconiță lângă titlu */
  .card { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px;
    align-items: center; padding: 20px 18px; }
  .card .icon { width: 46px; height: 46px; margin: 0; }
  .card .icon svg { width: 22px; height: 22px; }
  .card h3 { margin: 0; font-size: 1.02rem; }
  .card p { grid-column: 1 / -1; margin-top: 10px; font-size: .9rem; }
  .card a.more { grid-column: 1 / -1; margin-top: 8px; }

  /* Footer centrat */
  .footer-grid { text-align: center; }
  .footer-grid .logo img { margin: 0 auto 18px; }

  .map-wrap, .map-wrap iframe { min-height: 260px; }
  .contact-card { padding: 16px; gap: 14px; }
  .contact-card .icon { width: 40px; height: 40px; }
}
