/* ── RESET & TOKENS ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0B1D3A;
  --navy2:   #112248;
  --green:   #16A34A;
  --green-h: #15803D;
  --orange:  #F97316;
  --orange-h:#EA6C0A;
  --white:   #FFFFFF;
  --gray:    #F1F5F9;
  --gray2:   #94A3B8;
  --border:  #E2E8F0;
  --text:    #1E293B;
  --radius:  10px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); }

/* ── NAV ──────────────────────────────────────────────── */
nav {
  background: var(--navy);
  position: sticky; top: 0; z-index: 200;
  padding: 0 20px;
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: #fff; font-size: 15px; letter-spacing: -1px;
}
.logo-text { font-weight: 800; font-size: 17px; color: #fff; line-height: 1.1; }
.logo-text span { color: var(--orange); }

.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-phone {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.85); text-decoration: none;
  font-size: 14px; font-weight: 700;
  padding: 6px 12px; border-radius: 6px;
  transition: color .15s;
}
.nav-phone svg { color: var(--orange); flex-shrink: 0; }
.nav-phone:hover { color: #fff; }
.nav-phone-label { display: flex; flex-direction: column; line-height: 1.2; }
.nav-phone-sub { font-size: 10px; font-weight: 500; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .6px; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green); color: #fff !important;
  font-size: 14px; font-weight: 700;
  padding: 9px 18px; border-radius: 100px;
  text-decoration: none; transition: background .2s;
}
.nav-cta:hover { background: var(--green-h); }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff;
  font-size: 16px; font-weight: 700;
  padding: 16px 34px; border-radius: 100px;
  text-decoration: none; border: none; font-family: inherit; cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--green-h); transform: translateY(-2px); }

.btn-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff;
  font-size: 16px; font-weight: 700;
  padding: 15px 32px; border-radius: 100px;
  text-decoration: none; border: 2px solid rgba(255,255,255,.3);
  transition: border-color .2s, background .2s;
}
.btn-call:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ── LAYOUT ───────────────────────────────────────────── */
.section { padding: 72px 20px; }
.section-alt { background: var(--gray); }
.section-dark { background: var(--navy); }
.container { max-width: 1100px; margin: 0 auto; }

.section-eyebrow {
  font-size: 12px; font-weight: 700; color: var(--orange);
  text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 10px;
}
.section-title {
  font-size: clamp(22px, 3vw, 38px); font-weight: 800;
  color: var(--navy); line-height: 1.2; margin-bottom: 12px;
}
.section-dark .section-title { color: #fff; }
.section-sub {
  color: #64748B; font-size: 16px; max-width: 560px;
  line-height: 1.7; margin-bottom: 48px;
}
.section-dark .section-sub { color: rgba(255,255,255,.6); }

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy2) 55%, #0D2E5A 100%);
  padding: 88px 20px 96px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 55% at 50% 0%, rgba(249,115,22,.13) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px; padding: 6px 18px;
  color: rgba(255,255,255,.7); font-size: 13px; font-weight: 500;
  margin-bottom: 28px; letter-spacing: .3px;
}
.hero-eyebrow span { color: var(--orange); font-weight: 700; }

.hero h1 {
  font-size: clamp(28px, 5.5vw, 58px);
  font-weight: 900; color: #fff; line-height: 1.08;
  max-width: 860px; margin: 0 auto 10px;
  letter-spacing: -1.5px;
}
.hero h1 em { color: var(--orange); font-style: normal; }

.hero-sub {
  font-size: clamp(16px, 2vw, 19px); color: rgba(255,255,255,.65);
  max-width: 560px; margin: 16px auto 40px; line-height: 1.65;
}

.hero-btns {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  margin-bottom: 44px;
}

.hero-proof {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 28px;
}
.proof-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.6); font-size: 13px; font-weight: 500;
}
.proof-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* ── STATS BAR ────────────────────────────────────────── */
.stats-bar {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 40px 20px;
}
.stats-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; text-align: center;
}
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-icon {
  color: var(--orange); margin-bottom: 10px; opacity: .85;
}
.stat-num {
  font-size: clamp(28px, 3.5vw, 48px); font-weight: 900;
  color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums;
}
.stat-num sup {
  font-size: .52em; color: var(--orange);
  font-weight: 900; vertical-align: super;
}
.stat-label {
  font-size: 11px; font-weight: 700; color: var(--gray2);
  text-transform: uppercase; letter-spacing: 1px; margin-top: 7px;
}

/* ── CARDS ────────────────────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: box-shadow .2s, transform .15s;
}
.card:hover { box-shadow: 0 8px 32px rgba(11,29,58,.1); transform: translateY(-3px); }
.card-icon { width: 46px; height: 46px; border-radius: 10px; background: #FFF7ED; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 22px; }
.card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.card p { font-size: 14px; color: #64748B; line-height: 1.6; }

/* ── SERVICII ─────────────────────────────────────────── */
.servicii-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.serviciu {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  transition: border-color .15s;
}
.serviciu:hover { border-color: var(--orange); }
.serviciu-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.serviciu h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.serviciu p { font-size: 13px; color: #64748B; line-height: 1.55; }

/* ── STEPS ────────────────────────────────────────────── */
.steps-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.steps-wrap::before {
  content: ''; position: absolute;
  top: 27px; left: calc(16.5% + 14px);
  width: calc(67% - 28px); height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--green));
}
.step { text-align: center; }
.step-num {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 20px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; border: 3px solid var(--orange);
  position: relative; z-index: 1;
}
.step h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.6; }

/* ── CTA BAND ─────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, #0B1D3A 0%, #1a3560 100%);
  padding: 68px 20px; text-align: center;
  border-top: 3px solid var(--orange);
}
.cta-band h2 { font-size: clamp(22px, 3vw, 36px); font-weight: 900; color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.65); font-size: 16px; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-band-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── REVIEWS ──────────────────────────────────────────── */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.stars { color: #FBBF24; font-size: 17px; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { font-size: 15px; color: #334155; line-height: 1.65; margin-bottom: 20px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.reviewer-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.reviewer-sub { font-size: 12px; color: var(--gray2); }

/* ── FAQ ──────────────────────────────────────────────── */
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-q {
  font-size: 15px; font-weight: 700; color: var(--navy);
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 12px;
}
.faq-a { font-size: 14px; color: #64748B; line-height: 1.7; margin-top: 10px; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-chevron { transition: transform .2s; flex-shrink: 0; color: var(--orange); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

/* ── FOOTER ───────────────────────────────────────────── */
footer { background: #060F1E; padding: 52px 20px 0; }
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
}
.footer-tagline { color: rgba(255,255,255,.4); font-size: 13px; margin-top: 12px; line-height: 1.65; max-width: 260px; }
.footer-col h4 { color: rgba(255,255,255,.9); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.45); font-size: 13px; text-decoration: none; margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: rgba(255,255,255,.9); }

/* ── STICKY BOTTOM BAR ────────────────────────────────── */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
  display: flex;
  box-shadow: 0 -4px 24px rgba(0,0,0,.35);
}
.sticky-btn {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 9px; padding: 16px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 800;
  text-decoration: none; color: #fff;
  transition: filter .15s;
}
.sticky-btn:hover { filter: brightness(1.1); }
.sticky-btn span { white-space: nowrap; }

/* Apel — portocaliu cu pulse */
.sticky-call {
  background: var(--orange);
  animation: sticky-pulse 2.2s ease-out infinite;
}
.sticky-call svg { animation: phone-ring 2.5s ease-in-out infinite; }

@keyframes sticky-pulse {
  0%   { box-shadow: inset 0 2px 0 rgba(255,255,255,.2), 0 -4px 0 0 rgba(249,115,22,.8); }
  60%  { box-shadow: inset 0 2px 0 rgba(255,255,255,.2), 0 -4px 20px 0 rgba(249,115,22,0); }
  100% { box-shadow: inset 0 2px 0 rgba(255,255,255,.2), 0 -4px 0 0 rgba(249,115,22,0); }
}

@keyframes phone-ring {
  0%,50%,100% { transform: rotate(0deg); }
  55%  { transform: rotate(-15deg); }
  60%  { transform: rotate(15deg); }
  65%  { transform: rotate(-10deg); }
  70%  { transform: rotate(10deg); }
  75%  { transform: rotate(0deg); }
}

/* Ofertă — verde */
.sticky-oferta {
  background: var(--green);
  border-left: 1px solid rgba(255,255,255,.15);
}

/* Separator vizual între cele două */
.sticky-bar::after {
  content: '';
  position: absolute; top: 20%; bottom: 20%; left: 50%;
  width: 1px; background: rgba(255,255,255,.2);
  pointer-events: none;
}

/* Body padding ca sticky bar să nu acopere content */
body { padding-bottom: 56px; }

.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  padding: 18px 20px;
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-bottom p { color: rgba(255,255,255,.25); font-size: 12px; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: rgba(255,255,255,.35); font-size: 12px; text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ── FORM PAGE ────────────────────────────────────────── */
.form-hero {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy2) 100%);
  padding: 56px 20px 44px; text-align: center;
}
.form-hero h1 { font-size: clamp(24px, 4vw, 40px); font-weight: 900; color: #fff; margin-bottom: 10px; letter-spacing: -.5px; }
.form-hero p { color: rgba(255,255,255,.65); font-size: 16px; max-width: 500px; margin: 0 auto; line-height: 1.65; }

.form-section { padding: 48px 20px 72px; background: var(--gray); }
.form-wrap {
  max-width: 700px; margin: 0 auto;
  background: #fff; border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 48px rgba(11,29,58,.1);
  padding: 40px;
}
.form-title { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.form-desc { font-size: 14px; color: var(--gray2); margin-bottom: 28px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 7px; text-transform: uppercase; letter-spacing: .5px; }
.form-group input,
.form-group textarea {
  width: 100%; border: 1.5px solid var(--border);
  border-radius: 8px; padding: 12px 14px;
  font-size: 15px; font-family: inherit; color: var(--text);
  transition: border-color .2s, box-shadow .2s; background: #fff;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.check-label {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 10px 13px; cursor: pointer; font-size: 13px;
  font-weight: 500; color: var(--text);
  transition: border-color .15s, background .15s; user-select: none;
}
.check-label input[type="checkbox"] { display: none; }
.chk {
  width: 18px; height: 18px; border-radius: 4px;
  border: 2px solid var(--border); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #fff; transition: all .15s;
}
.check-label:has(input:checked) { border-color: var(--orange); background: #FFF7ED; }
.check-label:has(input:checked) .chk { background: var(--orange); border-color: var(--orange); }
.check-label:has(input:checked) .chk::after {
  content: ''; display: block; width: 4px; height: 8px;
  border: 2px solid #fff; border-top: none; border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-err { color: #EF4444; font-size: 12px; margin-top: 4px; display: none; }

.form-submit { margin-top: 24px; }
.btn-submit { width: 100%; justify-content: center; padding: 18px; font-size: 17px; font-weight: 800; border-radius: 100px; }

.gdpr { font-size: 12px; color: var(--gray2); line-height: 1.6; margin-top: 14px; text-align: center; }
.gdpr a { color: var(--orange); text-decoration: none; }

/* ── MULTUMIRE PAGE ───────────────────────────────────── */
.thanks-wrap {
  min-height: calc(100vh - 64px);
  background: linear-gradient(155deg, var(--navy) 0%, #0D2E5A 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.thanks-card { max-width: 600px; width: 100%; text-align: center; }
.thanks-check {
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(22,163,74,.15); border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px; font-size: 34px;
}
.thanks-card h1 { font-size: clamp(26px, 4vw, 42px); font-weight: 900; color: #fff; margin-bottom: 14px; letter-spacing: -.5px; }
.thanks-card > p { color: rgba(255,255,255,.65); font-size: 16px; line-height: 1.7; margin-bottom: 28px; max-width: 460px; margin-left: auto; margin-right: auto; }

.thanks-call-box {
  background: rgba(249,115,22,.1); border: 1.5px solid rgba(249,115,22,.3);
  border-radius: 16px; padding: 28px; margin-bottom: 24px;
}
.thanks-call-box p { color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 18px; }
.btn-call-big {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--orange); color: #fff;
  font-size: 22px; font-weight: 900;
  padding: 20px 44px; border-radius: 100px;
  text-decoration: none;
  animation: vibrant-pulse 1.8s ease-out infinite;
  transition: background .2s;
}
.btn-call-big:hover { background: var(--orange-h); }
.btn-call-big svg { animation: phone-ring 2s ease-in-out infinite; }
.thanks-number-label { color: rgba(255,255,255,.4); font-size: 12px; margin-top: 10px; }

.thanks-divider { color: rgba(255,255,255,.3); font-size: 13px; margin: 16px 0; }

.btn-acasa {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.65); font-size: 14px; font-weight: 600;
  text-decoration: none; padding: 10px 20px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.15);
  transition: color .15s, border-color .15s;
}
.btn-acasa:hover { color: #fff; border-color: rgba(255,255,255,.4); }

/* ── LEGAL PAGES ──────────────────────────────────────── */
.legal-body { padding: 56px 20px 80px; }
.legal-inner { max-width: 800px; margin: 0 auto; }
.legal-inner h1 { font-size: 30px; font-weight: 900; color: var(--navy); margin-bottom: 6px; }
.legal-updated { font-size: 13px; color: var(--gray2); margin-bottom: 36px; }
.legal-inner h2 { font-size: 17px; font-weight: 700; color: var(--navy); margin: 30px 0 8px; }
.legal-inner p, .legal-inner li { font-size: 15px; color: #475569; line-height: 1.75; }
.legal-inner ul { padding-left: 20px; margin-top: 8px; }
.legal-inner li { margin-bottom: 5px; }
.legal-inner a { color: var(--orange); }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-wrap { grid-template-columns: 1fr; gap: 24px; }
  .steps-wrap::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .servicii-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .cards-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-phone-label .nav-phone-sub { display: none; }
  .sticky-btn { font-size: 14px; padding: 15px 8px; }
  .btn-call-big { font-size: 18px; padding: 18px 32px; }
}
