:root{
  --bg:#07090d;
  --text:#eef2ff;
  --muted:rgba(238,242,255,.72);
  --line:rgba(255,255,255,.08);
  --card:rgba(255,255,255,.04);
  --glass:rgba(7,9,13,.55);
  --radius:20px;
  --shadow: 0 18px 60px rgba(0,0,0,.55);

  --brand-orange: #f59e0b;
  --brand-gray:   #9ca3af;
  --brand-gray2:  #e5e7eb;

  --gold: #fbbf24;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(1100px 600px at 18% 0%, rgba(56,189,248,.12), transparent 60%),
    radial-gradient(900px 600px at 82% 10%, rgba(34,197,94,.10), transparent 55%),
    var(--bg);
  color:var(--text);
}

.container{max-width:1160px;margin:0 auto;padding:24px}
a{color:inherit;text-decoration:none}

.nav{
  position:sticky;top:0;z-index:50;
  background:var(--glass);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line);
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:14px}
.logo{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:.2px}
.logo-dot{
  width:12px;height:12px;border-radius:999px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-gray2));
  box-shadow: 0 0 0 6px rgba(255,255,255,.03);
}
.logo-img{
  width:42px;
  height:42px;
  border-radius:10px;
  object-fit:cover;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.menu a{
  padding:4px 8px;
  font-size:6px;
}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 16px;border-radius:16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color:var(--text);
  transition: transform .18s ease;
}
.btn:hover{transform: translateY(-1px)}
.btn-primary{
  border: none;
  color:#0b0f14;
  font-weight:900;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-gray2));
  box-shadow: var(--shadow);
}

.hero{padding:46px 0 14px}
.hero-inner{
  display:grid;
  grid-template-columns: .95fr 1.05fr;
  gap:18px;
  align-items:stretch;
}
.hero-media{order:-1}
@media(max-width:980px){.hero-inner{grid-template-columns:1fr}}

.hero-text{
  padding:24px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}
.eyebrow{margin:0 0 10px;color:var(--muted);letter-spacing:.18em;font-size:12px}
h1{margin:0 0 12px;font-size:38px;line-height:1.03}
.sub{margin:0 0 18px;color:var(--muted);line-height:1.65}

.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.hero-badges{display:flex;gap:10px;flex-wrap:wrap}
.badge{
  flex:1 1 140px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: 16px;
  padding:12px 14px;
}
.badge b{display:block;font-size:20px}
.badge span{color:var(--muted);font-size:12px}

.hero-media{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}
.hero-media img{width:100%;height:100%;display:block;object-fit:cover;aspect-ratio: 4/3}

.section{padding:34px 0}
.section-alt{
  background: rgba(255,255,255,.02);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section-head h2{margin:0 0 8px;font-size:26px}
.section-head p{margin:0 0 18px;color:var(--muted);line-height:1.6}

/* GALERIE (desktop) */
.gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}

/* CARD */
.card{
  border-radius: 18px;
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
  cursor:pointer;
}
.card img{
  width:100%;
  display:block;
  aspect-ratio: 4/3;
  object-fit:cover;
  transition: transform .25s ease;
}
.card:hover img{transform: scale(1.03)}

/* ✅ MOBILE: 2 poze mari pe rând, aproape full screen */
@media (max-width: 560px){
  .container{ padding: 8px !important; }
  .section{ padding: 14px 0 !important; }

  .gallery{
    width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .gallery > .card{
    width: 100% !important;
    margin: 0 !important;
    justify-self: stretch !important;
    align-self: stretch !important;
    border-radius: 14px !important;
  }

  .gallery > .card img{
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    aspect-ratio: 4 / 5 !important; /* 🔥 mare pe verticală */
  }
}

.grid3{
  display:grid;grid-template-columns:repeat(3,1fr);gap:14px;
}
@media(max-width:980px){.grid3{grid-template-columns:1fr}}

.soft-card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  padding:18px;
  box-shadow: 0 12px 34px rgba(0,0,0,.35);
}
.soft-card h3{margin:0 0 8px}
.soft-card p{margin:0;color:var(--muted);line-height:1.65}

.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
@media(max-width:980px){.steps{grid-template-columns:1fr}}

.step{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  padding:18px;
  display:flex;gap:12px;
}
.nr{
  font-weight:900;
  color: var(--brand-orange);
  font-size:20px;
}
.step p{margin:6px 0 0;color:var(--muted);line-height:1.6}

.contact-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:14px;
}
@media(max-width:980px){.contact-grid{grid-template-columns:1fr}}

.contact-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}
.muted{color:var(--muted)}
.list{margin:10px 0 0;padding-left:18px;color:var(--muted);line-height:1.8}

.footer{
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;
  padding:22px 0 4px;
  color: var(--muted);
}

/* LIGHTBOX */
.lightbox{
  position:fixed;inset:0;
  background: rgba(0,0,0,.78);
  display:none;
  align-items:center;justify-content:center;
  padding:18px;
  z-index:999;
}
.lightbox.open{display:flex}
.lightbox img{
  max-width:min(1200px,100%);
  max-height:86vh;
  border-radius: 18px;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
}
.close{
  position:fixed;top:16px;right:16px;
}

.nav .menu a{ font-size:12px !important; }

/* =========================
   Buton Recenzie (desktop + mobil)
   ========================= */
.reviews-fab{
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 120;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 14px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight: 900;
  box-shadow: 0 16px 44px rgba(0,0,0,.55);
  cursor: pointer;
  transition: transform .18s ease;
}
.reviews-fab:hover{ transform: translateY(-2px); }

/* =========================
   Modal Recenzii (premium)
   ========================= */
.rmodal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2500;
}
.rmodal.open{ display:block; }

.rmodal-overlay{
  position:absolute; inset:0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(6px);
  animation: fadeIn .16s ease both;
}

.rmodal-card{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: min(420px, calc(100% - 28px));
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadow);
  padding: 14px;
  animation: popIn .20s ease both;
  overflow: hidden;
}

.rmodal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
}
.rmodal-head h3{ margin: 0 0 4px; }

.rmodal-close{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  cursor: pointer;
}

@keyframes fadeIn{ from{opacity:0} to{opacity:1} }
@keyframes popIn{
  from{opacity:0; transform: translate(-50%,-46%) scale(.96)}
  to{opacity:1; transform: translate(-50%,-50%) scale(1)}
}

/* Stele */
.rating{
  margin: 14px 0 6px;
  display:flex;
  justify-content:center;
  gap: 10px;
}
.rstar{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  cursor: pointer;
  transition: transform .14s ease, background .14s ease, box-shadow .14s ease;
  display:flex;
  align-items:center;
  justify-content:center;
}
.rstar:hover{ transform: translateY(-2px); }

.rstar-icon{
  font-size: 26px;
  color: rgba(229,231,235,.55);
  transition: color .12s ease, transform .12s ease;
}

.rstar.is-filled{
  border-color: rgba(255,255,255,.12);
  background: rgba(251,191,36,.12);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.rstar.is-filled .rstar-icon{
  color: var(--gold);
  transform: scale(1.05);
}

.rmodal-actions{
  display:flex;
  justify-content:center;
  gap: 10px;
  margin-top: 10px;
}

.btn.is-loading{
  opacity: .9;
  pointer-events: none;
}
.btn .spinner{
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,.25);
  border-top-color: rgba(0,0,0,.75);
  display:inline-block;
  margin-right: 8px;
  animation: spin .7s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg); } }

.rsuccess{
  display:none;
  margin-top: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(34,197,94,.10);
  border-radius: 16px;
  padding: 12px;
  gap: 10px;
  align-items:center;
}
.rsuccess.show{
  display:flex;
  animation: toastPop .22s ease both;
}
.rsuccess-badge{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(34,197,94,.20);
  border: 1px solid rgba(34,197,94,.35);
  font-weight: 900;
}
@keyframes toastPop{
  from{opacity:0; transform: translateY(8px) scale(.98)}
  to{opacity:1; transform: translateY(0) scale(1)}
}

.confetti{
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:0;
}
.confetti.show{ opacity:1; }
.confetti i{
  position:absolute;
  width: 8px;
  height: 14px;
  border-radius: 3px;
  background: rgba(251,191,36,.9);
  top: -20px;
  animation: fall 900ms ease-out forwards;
}
.confetti i:nth-child(2n){ background: rgba(245,158,11,.9); }
.confetti i:nth-child(3n){ background: rgba(229,231,235,.9); }

@keyframes fall{
  to{ transform: translateY(420px) rotate(240deg); opacity:0; }
}
.footer{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding:22px 0 4px;
  color: var(--muted);
}
