/* ==================== VARIABLES ==================== */
:root {
  --copper: #C4712A;
  --copper-dark: #a85f22;
  --silver: #A8A8A8;
  --antracit: #2A2A2C;
  --bg: #FBFCFD;
  --line: #E2E0DC;
  --white: #FFFFFF;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  --font-hero: 'Poppins', sans-serif;
  --navbar-h: 88px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--antracit);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--font-hero); font-weight: 600; line-height: 1.15; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .6px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-icon { flex-shrink: 0; }
.btn-copper {
  background: linear-gradient(135deg, var(--copper) 0%, var(--copper-dark) 100%);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(196,113,42,.28);
}
.btn-copper:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(196,113,42,.4); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline:hover { background: var(--white); border-color: var(--white); color: var(--antracit); transform: translateY(-2px); }
.btn-outline-copper { background: transparent; border-color: var(--copper); color: var(--copper); }
.btn-outline-copper:hover { background: var(--copper); border-color: var(--copper); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-white:hover { background: var(--white); border-color: var(--white); color: var(--antracit); transform: translateY(-2px); }
.btn-pulse { animation: btn-pulse-glow 2.4s ease-in-out infinite; }
.btn-pulse:hover { animation-play-state: paused; }
@keyframes btn-pulse-glow {
  0% {
    box-shadow:
      0 0 0 0 rgba(196,113,42,.45),
      0 0 0 0 rgba(255,255,255,.3);
  }
  45% {
    box-shadow:
      0 0 0 8px rgba(196,113,42,0),
      0 0 0 4px rgba(255,255,255,.16);
  }
  100% {
    box-shadow:
      0 0 0 8px rgba(196,113,42,0),
      0 0 0 15px rgba(255,255,255,0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn-pulse { animation: none; }
}
.btn-ghost { background: transparent; border-color: var(--line); color: var(--antracit); }
.btn-ghost:hover { background: var(--line); }
.btn-ghost:disabled { opacity: .4; cursor: not-allowed; }
.btn-copper:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-lg { padding: 15px 32px; font-size: 14px; }
.btn-nav { padding: 9px 20px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(30,30,32,.92) 0%, rgba(30,30,32,.62) 65%, rgba(30,30,32,.1) 100%);
  box-shadow: none;
  transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}
.navbar.scrolled {
  background: linear-gradient(135deg, #303338 0%, #232426 100%);
  box-shadow: 0 4px 24px rgba(0,0,0,.28);
  backdrop-filter: blur(6px);
}
.navbar-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(115px, 1.7fr) auto minmax(60px, 0.5fr);
  align-items: center;
  column-gap: 24px;
}
.navbar.container, .navbar .container { max-width: 1400px; padding-left: 56px; padding-right: 24px; }
.navbar-logo { grid-column: 1; justify-self: start; flex-shrink: 0; }
.navbar-logo img {
  height: 68px; width: auto; max-width: none; display: block; flex-shrink: 0;
  -webkit-mask-image: radial-gradient(ellipse 62% 60% at center, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 60% at center, #000 55%, transparent 100%);
}
.nav-links { grid-column: 2; justify-self: center; margin-left: 12px; display: flex; align-items: center; gap: 26px; }
.nav-menu { display: flex; align-items: center; gap: 18px; }
.nav-link {
  color: var(--white); font-weight: 600; font-size: 13px; letter-spacing: .3px;
  text-transform: uppercase; position: relative; padding: 6px 0;
  white-space: nowrap;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--copper); transition: width .25s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link-highlight {
  border: 1.5px solid var(--copper);
  background: var(--copper);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--white);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.nav-link-highlight::after { content: none; }
.nav-link-highlight:hover { background: var(--copper-dark); border-color: var(--copper-dark); color: var(--white); }

.navbar-social { display: flex; align-items: center; gap: 8px; }
.navbar-social a {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--white);
  color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.navbar-social a svg { width: 13px; height: 13px; }
.navbar-social a:hover {
  color: var(--antracit); background: var(--white); border-color: var(--white);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  grid-column: 3;
  justify-self: end;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none; border: none; cursor: pointer;
  z-index: 1100;
}
.hamburger span { width: 100%; height: 2px; background: var(--white); transition: all .3s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 990; opacity: 0; visibility: hidden; transition: opacity .3s ease;
}
.nav-overlay.active { opacity: 1; visibility: visible; }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #1c1c1e 0%, #2A2A2C 55%, #3a2c22 100%);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,15,17,.84) 0%, rgba(15,15,17,.74) 45%, rgba(15,15,17,.9) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; color: var(--white); padding: 112px 24px 40px; max-width: 780px; margin: 0 auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  background: rgba(196,113,42,.22);
  border: 1px solid rgba(196,113,42,.55);
  padding: 6px 15px;
  border-radius: 999px;
  margin-bottom: 20px;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.hero-title {
  font-family: var(--font-hero);
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.hero-title-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  color: var(--copper);
  display: inline-block;
}
.hero-subtitle { font-size: 15px; color: rgba(255,255,255,.85); max-width: 700px; white-space: nowrap; margin: 0 auto 34px; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 34px; }
.hero-badges {
  display: flex; flex-wrap: nowrap; justify-content: center; gap: 10px 18px;
  font-size: 12px; font-weight: 500; color: rgba(255,255,255,.75);
}
.hero-badges li { position: relative; padding-left: 14px; white-space: nowrap; }
.hero-badges li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--copper);
}

/* ==================== COUNTERS ==================== */
.counters { background: var(--antracit); padding: 34px 0; }
.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.counter-number { display: block; font-family: var(--font-hero); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.5px; color: var(--copper); }
.counter-label { display: block; color: rgba(255,255,255,.8); font-size: 14px; margin-top: 6px; letter-spacing: .3px; }

/* ==================== SECTIONS ==================== */
.section { padding: 100px 0; }
.section-alt { background: #EFF0EF; }
.section-divider {
  border: none;
  border-top: 1px dashed rgba(168,168,168,.55);
}
#cum-functioneaza, #service-auto, #testimoniale, #acte-necesare { background: var(--white); }

#amiabila .container { text-align: center; }
#testimoniale .section-eyebrow, #testimoniale .section-title { text-align: center; }
#amiabila .section-subtitle { max-width: 1000px; margin-left: auto; margin-right: auto; text-wrap: balance; }
#amiabila .form-card { text-align: left; margin: 0 auto; }
.section-eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 600;
  color: var(--copper); margin-bottom: 12px;
}
.section-title { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 16px; }
.section-subtitle { font-size: 16.5px; color: #555; max-width: 640px; margin-bottom: 48px; }

.cum-intro { max-width: none; margin-bottom: 48px; }
.cum-intro p { font-size: 16.5px; color: #555; margin-bottom: 16px; }
.cum-intro p:last-child { margin-bottom: 0; }
.cum-steps-lead { font-size: clamp(1.2rem, 2.1vw, 1.55rem); color: var(--copper); white-space: nowrap; }

/* ==================== SERVICES ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
  margin-top: 12px;
}
.service-card-wrap { position: relative; }
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  padding: 30px 26px 26px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 28px 28px;
  border-color: transparent transparent transparent var(--copper);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(42,42,44,.14);
}
.service-tab {
  position: absolute; top: -15px; right: 26px;
  z-index: 5;
  background: var(--antracit); color: var(--white);
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: 14px; letter-spacing: .3px;
  padding: 6px 13px 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
}
.service-head { display: flex; align-items: center; gap: 13px; margin-top: 6px; margin-bottom: 16px; }
.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #34383d 0%, #201f21 100%);
  color: var(--copper);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.service-icon svg { width: 19px; height: 19px; }
.service-title { font-size: 18px; margin: 0; }
.service-divider {
  display: block; height: 1px; margin: 0 0 16px;
  background-image: linear-gradient(to right, var(--line) 50%, transparent 0%);
  background-size: 9px 1px; background-repeat: repeat-x;
}
.service-desc { font-size: 14.5px; color: #5c5c5e; }

/* ==================== SERVICE AUTO STATS ==================== */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 48px;
  justify-items: center;
}
.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 200px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 20px;
  box-shadow: 0 8px 24px rgba(42,42,44,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(42,42,44,.1);
  border-color: rgba(196,113,42,.3);
}
.stat-card-body { display: flex; flex-direction: column; align-items: center; }
.stat-card-number {
  display: block; font-family: var(--font-hero); font-weight: 800;
  font-size: 2.1rem; letter-spacing: -0.5px; color: var(--antracit);
  line-height: 1.1;
}
.stat-card-label {
  display: block; margin-top: 6px; font-size: 12px; letter-spacing: .4px;
  text-transform: uppercase; color: #6a6a6c; font-weight: 600;
}
#service-auto .services-grid { grid-template-columns: repeat(2, 1fr); }

/* ==================== FAQ ==================== */
.faq-list { max-width: 840px; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 0 24px; transition: border-color .2s ease;
}
.faq-item[open] { border-color: var(--copper); }
.faq-question {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-weight: 700; font-size: 15.5px; color: var(--antracit);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+'; flex-shrink: 0; font-size: 22px; font-weight: 400; color: var(--copper);
  transition: transform .25s ease;
}
.faq-item[open] .faq-question::after { content: '−'; }
.faq-answer { margin: 0; padding: 0 0 20px; font-size: 14.5px; color: #5c5c5e; line-height: 1.65; }

/* ==================== STEPS ==================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.steps-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
.step-item { text-align: left; padding: 8px; position: relative; }
.step-tab {
  display: inline-block;
  background: var(--antracit); color: var(--white);
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: 20px; letter-spacing: .3px;
  padding: 9px 19px 8px;
  border-radius: 6px;
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
}
.step-title { font-size: 19px; margin-bottom: 8px; }
.step-desc { font-size: 14.5px; color: #5c5c5e; }

.steps-notice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-top: 48px;
  padding: 32px 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(42,42,44,.06);
}
.steps-notice-icon-wrap {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--copper) 0%, var(--copper-dark) 100%);
  box-shadow: 0 6px 16px rgba(196,113,42,.3);
}
.steps-notice-icon { width: 21px; height: 21px; color: var(--white); }
.steps-notice-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 19px;
  color: var(--copper);
  margin-bottom: 14px;
}
.steps-notice-body ul { display: flex; flex-direction: column; gap: 11px; }
.steps-notice-body li {
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.6;
  color: #5c5c5e;
  position: relative;
  padding-left: 18px;
}
.steps-notice-body li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--copper);
}

/* ==================== WHY US ==================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.why-list { margin-top: 28px; }
.why-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 16px; margin-bottom: 18px; color: #333;
}
.why-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: var(--copper);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(196,113,42,.3);
}
.why-check svg { width: 14px; height: 14px; }
.why-cta {
  margin-top: 32px;
  background: transparent;
  border-color: var(--copper);
  color: var(--copper);
}
.why-cta:hover { background: var(--copper); border-color: var(--copper); color: var(--white); }
.why-image { position: relative; }
.why-image::before {
  content: '';
  position: absolute;
  top: 22px; left: -22px;
  width: 100%; height: 100%;
  background: var(--antracit);
  border-radius: 16px;
  z-index: 0;
}
.why-image img {
  position: relative; z-index: 1;
  border-radius: 16px;
  box-shadow: 0 24px 54px rgba(0,0,0,.16);
}
#de-ce-noi .section-eyebrow, #de-ce-noi .section-title { text-align: center; }
#de-ce-noi .section-title { max-width: 720px; margin-left: auto; margin-right: auto; }

.why-photo {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: clamp(260px, 40vw, 480px);
  margin-top: 8px;
  background: var(--antracit);
}
.why-photo-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform-origin: center 35%;
  animation: whyKenBurns 9s ease-in-out infinite alternate;
}
.why-photo-overlay {
  position: absolute; inset: 0;
  background: rgba(42,42,44,.55);
}
.why-photo-content {
  position: relative; z-index: 1;
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 0 32px 40px;
}
.why-quote {
  font-family: var(--font-hero);
  font-weight: 600;
  line-height: 1.15;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  color: var(--white);
  max-width: 680px;
}
.why-ticker {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  background: rgba(42,42,44,.9);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.why-ticker-track {
  display: inline-flex;
  align-items: center;
  animation: whyTicker 32s linear infinite;
}
.why-ticker-track span {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #FFFFFF;
}
.why-ticker-track span::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--copper);
  margin: 0 26px;
}
@keyframes whyKenBurns { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes whyTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .why-photo-img { animation: none; }
  .why-ticker-track { animation: none; }
}

.why-list-wrap {
  max-width: 720px;
  margin: 26px auto 0;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.why-list-heading {
  font-weight: 800;
  font-size: 20px;
  color: var(--antracit);
  margin-bottom: 18px;
  text-align: center;
}
.why-list-wrap .why-list { margin-top: 0; }
@media (max-width: 720px) {
  .why-photo { height: clamp(220px, 46vw, 340px); }
  .why-photo-content { padding: 0 20px 34px; }
  .why-ticker-track span::after { margin: 0 16px; }
}
.acte-subtitle { font-weight: 700; color: var(--copper); }
.acte-subtitle-oneline { max-width: none; }
@media (min-width: 721px) {
  .acte-subtitle-oneline { white-space: nowrap; }
}
.acte-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 20px;
}
.acte-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 6px 18px rgba(42,42,44,.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.acte-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(42,42,44,.09);
  border-color: rgba(196,113,42,.3);
}
.acte-num {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 40px;
  background: var(--antracit); color: var(--white);
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: 18px; letter-spacing: .3px;
  border-radius: 8px;
  padding: 0 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.acte-card p { font-size: 14.5px; color: #444; line-height: 1.55; }
.acte-download-btn { display: flex; width: fit-content; margin: 32px auto 0; }

/* ==================== FORM ==================== */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 40px;
  max-width: 780px;
}
.progress-bar {
  position: relative;
  height: 8px;
  background: var(--line);
  border-radius: 4px;
  margin-bottom: 12px;
}
.progress-fill {
  height: 100%; width: 25%; background: var(--copper); border-radius: 4px;
  transition: width .35s ease;
}
.progress-label { display: block; margin: 10px 0 0; font-size: 13px; font-weight: 600; color: var(--copper); }

fieldset { border: none; }
legend { font-family: var(--font-hero); font-size: 24px; font-weight: 600; margin: 20px 0 18px; padding: 0; }

.form-step { display: none; }
.form-step.active { display: block; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 12px;
}
.form-subtitle { grid-column: 1 / -1; font-size: 18px; font-weight: 600; margin-top: 6px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 500; color: #444; }
input, textarea, select {
  font-family: var(--font-body);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14.5px;
  background: var(--bg);
  color: var(--antracit);
}
input:focus, textarea:focus { outline: 2px solid var(--copper); outline-offset: 1px; }

.form-hint { font-size: 14px; color: #666; margin-bottom: 14px; }
.circumstances-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-bottom: 22px;
}
.circumstance-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg);
}
.circumstance-item input { width: auto; margin-top: 2px; }

.form-textarea-label { margin-bottom: 22px; }
textarea { resize: vertical; }

.sketch-box {
  border: 1px dashed var(--silver);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 22px;
  background: var(--bg);
}
.sketch-placeholder {
  height: 160px;
  border-radius: 8px;
  background: repeating-linear-gradient(45deg, #ececea, #ececea 10px, #f4f3f1 10px, #f4f3f1 20px);
  margin: 12px 0;
}
.sketch-note { font-size: 12.5px; color: #777; font-style: italic; }

.gdpr-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #444;
  margin: 10px 0 6px;
}
.gdpr-check input { width: auto; margin-top: 3px; }

.form-nav { display: flex; gap: 14px; margin-top: 26px; align-items: center; }
.form-success, .form-error { margin-top: 18px; font-size: 14px; padding: 14px 16px; border-radius: 8px; }
.form-success { background: rgba(76,175,80,.12); color: #2e7d32; }
.form-error { background: rgba(220,53,69,.1); color: #c0392b; }
.form-alt { margin-top: 22px; font-size: 14.5px; color: #555; }
.form-alt a { color: var(--copper); font-weight: 600; }
.amiabila-note {
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--copper);
  border-radius: 8px;
  text-align: left;
}
.amiabila-note p { font-style: italic; font-size: 12.5px; line-height: 1.6; color: #555; margin-bottom: 10px; }
.amiabila-note p:last-child { margin-bottom: 0; }

/* ==================== TESTIMONIALS ==================== */
.testimonials-carousel { display: flex; align-items: center; gap: 14px; }
.testimonials-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 10px;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.testimonials-track::-webkit-scrollbar { height: 6px; }
.testimonials-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.testimonial-arrow {
  flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg); color: var(--antracit);
  box-shadow: 0 6px 16px rgba(42,42,44,.08);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.testimonial-arrow svg { width: 18px; height: 18px; }
.testimonial-arrow:hover { background: var(--copper); color: var(--white); border-color: var(--copper); transform: translateY(-2px); }
.testimonial-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 28px rgba(42,42,44,.07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.testimonial-card::before {
  content: '';
  position: absolute; top: 0; left: 24px; right: 24px; height: 3px;
  background: var(--copper);
  border-radius: 0 0 3px 3px;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(42,42,44,.13);
}
.testimonial-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--antracit); color: var(--white);
  font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.testimonial-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.testimonial-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 700; color: #5f6368;
  background: #F1F3F4; border-radius: 999px; padding: 5px 10px 5px 7px;
  white-space: nowrap;
}
.testimonial-badge svg { width: 12px; height: 12px; flex-shrink: 0; }
.testimonial-stars { color: #F5A623; font-size: 15px; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial-text { font-size: 14.5px; color: #444; margin-bottom: 16px; font-style: italic; }
.testimonial-name { font-weight: 600; font-size: 14px; }

/* ==================== CTA FINAL ==================== */
.cta-final { position: relative; overflow: hidden; background: var(--antracit); color: var(--white); padding: 90px 0; min-height: 480px; display: flex; flex-direction: column; justify-content: center; }
.cta-final-video, .cta-final-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
#cta-midpage .cta-final-video { object-position: center 40%; }
.cta-final-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,20,22,.88) 0%, rgba(20,20,22,.8) 50%, rgba(20,20,22,.92) 100%);
  z-index: 1;
}
.cta-final-inner { position: relative; z-index: 2; text-align: center; }
.cta-final h2 { font-size: clamp(1.65rem, 3.2vw, 2.3rem); margin-bottom: 6px; }
.cta-final p { color: rgba(255,255,255,.8); margin-bottom: 30px; font-size: 17px; }
.cta-final .cta-final-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  color: var(--copper);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin: 0 0 16px;
}
.cta-final-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ==================== CONTACT ==================== */
#contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; justify-content: center; }
.contact-card {
  background: var(--white);
  padding: 28px;
  margin-top: 8px;
}
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--copper);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 17px; height: 17px; }
.contact-label { font-size: 12px; color: #888680; margin-bottom: 2px; }
.contact-value { font-size: 15px; font-weight: 600; color: var(--antracit); }
a.contact-value { text-decoration: none; }
a.contact-value:hover { color: var(--copper); }
.contact-actions { display: flex; gap: 10px; margin-top: 24px; }
.contact-actions .btn { flex: 1; justify-content: center; }
.btn-outline-dark { background: transparent; border-color: var(--antracit); color: var(--antracit); }
.btn-outline-dark:hover { background: var(--antracit); border-color: var(--antracit); color: var(--white); }
.contact-map { display: flex; }
.contact-map iframe {
  width: 100%; height: 100%; min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  filter: grayscale(35%) contrast(1.05) brightness(1.02);
  transition: filter .3s ease;
}
.contact-map:hover iframe { filter: grayscale(10%) contrast(1.03); }

/* ==================== FOOTER ==================== */
.footer { background: var(--antracit); color: rgba(255,255,255,.8); padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
  height: 84px; width: auto; margin-bottom: 18px;
  -webkit-mask-image: radial-gradient(ellipse 62% 60% at center, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 60% at center, #000 55%, transparent 100%);
}
.footer-col h3 { font-family: var(--font-body); font-size: 15px; color: var(--white); margin-bottom: 18px; font-weight: 600; }
.footer-col p, .footer-col li { font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--copper); }
.footer-nav { max-width: 260px; }
.footer-nav li {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-bottom: 13px;
}
.footer-nav-link {
  text-transform: uppercase; font-weight: 600; font-size: 12.5px; letter-spacing: .4px;
  white-space: nowrap;
}
.footer-nav-sep { color: var(--copper); font-size: 11px; opacity: .7; }
.social-links { display: flex; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
.social-links a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--copper);
}
.social-links a svg { width: 16px; height: 16px; }
.social-links a:hover { color: var(--copper); }
.footer-bottom { text-align: center; padding: 22px 0; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-credit { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,.4); }
.footer-credit a { color: var(--copper); font-weight: 600; }
.footer-credit a:hover { text-decoration: underline; }

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ==================== REVEAL ANIMATION ==================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==================== RESPONSIVE ==================== */

/* Meniul desktop are acum 6 iteme + link evidențiat — pe laptop-uri mai
   înguste trecem mai devreme pe meniul hamburger, ca să nu se înghesuie. */
@media (max-width: 1180px) {
  .navbar .container { padding-left: 24px; padding-right: 20px; }
  .navbar-inner { grid-template-columns: auto 1fr auto; }
  .navbar-logo img { height: 56px; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 320px;
    background: var(--antracit);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px;
    margin-left: 0;
    gap: 22px;
    transition: right .35s ease;
    z-index: 1000;
  }
  .nav-links.active { right: 0; }
  .nav-menu { flex-direction: column; align-items: flex-start; gap: 20px; width: 100%; }
  .btn-nav { margin-top: 10px; }
}

@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .navbar .container { padding-left: 20px; padding-right: 20px; }
  .navbar-inner { grid-template-columns: auto 1fr auto; }
  .navbar-logo img { height: 48px; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 320px;
    background: var(--antracit);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px;
    margin-left: 0;
    gap: 22px;
    transition: right .35s ease;
    z-index: 1000;
  }
  .nav-links.active { right: 0; }
  .nav-menu { flex-direction: column; align-items: flex-start; gap: 20px; width: 100%; }
  .btn-nav { margin-top: 10px; }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .circumstances-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .section { padding: 70px 0; }
  .hero-content { padding: 92px 20px 68px; }
  .hero-subtitle { white-space: normal; font-size: 14.5px; }
  .hero-badges { flex-wrap: wrap; }
  .cum-steps-lead { white-space: normal; }
  .form-nav { flex-wrap: wrap; }
  .testimonial-card { flex: 0 0 85%; padding: 24px; }
  .testimonial-arrow { width: 36px; height: 36px; }

  /* Butoane CTA stivuite pe toată lățimea — evită trunchierea textului lung
     ("Constatare Amiabilă Online") și oferă zone de atins mai mari pe telefon. */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; white-space: normal; }
  .cta-final-buttons { flex-direction: column; align-items: stretch; }
  .cta-final-buttons .btn { width: 100%; white-space: normal; }
  .form-nav { flex-direction: column; align-items: stretch; }
  .form-nav .btn { width: 100%; white-space: normal; }
  .btn-nav { width: 100%; justify-content: center; margin-top: 16px; }

  /* Panoul accent din spatele fotografiei "De ce noi" — offset mai mic
     ca să nu se lipească de marginea ecranului pe telefon. */
  .why-image::before { top: 14px; left: -14px; }
  .steps-notice { padding: 24px 20px; gap: 14px; }
  .steps-notice-icon-wrap { width: 36px; height: 36px; }
  .steps-notice-icon { width: 17px; height: 17px; }
  .acte-grid { grid-template-columns: 1fr; }

  /* Respirație puțin mai generoasă pentru titluri pe ecrane mici */
  .section-title { line-height: 1.22; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 1.85rem; }
  .btn-lg { padding: 14px 22px; font-size: 13px; }
  .service-card { padding: 26px 20px 22px; }
  .form-card { padding: 20px; }
  legend { font-size: 21px; }
}
