:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #f7fafe;
  --surface-dark: #0a1524;
  --surface-dark-2: #122234;
  --text: #101722;
  --text-soft: #5b6675;
  --text-inverse: #f5f8ff;
  --primary: #1b6ca7;
  --primary-strong: #114f7e;
  /* Highlight on dark / secondary emphasis — brand blue, not warm/orange */
  --accent: #5ba3d4;
  --signal: #27a376;
  --border: rgba(16, 32, 58, 0.12);
  --shadow: 0 18px 45px rgba(10, 21, 36, 0.14);
  --radius-xl: 8px;
  --radius-lg: 8px;
  --radius-md: 8px;
  --container: min(1180px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
  line-height: 1.6;
}

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

.lucide {
  width: 1em;
  height: 1em;
  stroke-width: 2;
  flex: 0 0 auto;
}

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--surface);
  padding: 10px 14px;
  border-radius: 10px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(10, 21, 36, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 150px;
  height: auto;
}

.brand-text {
  display: none;
}

.brand-text strong,
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0;
}

.brand-text small {
  color: var(--text-soft);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  height: 48px;
  padding: 0 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.74);
  transition: 180ms ease;
}

.site-nav .lucide {
  width: 16px;
  height: 16px;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  gap: 4px;
  height: 48px;
  padding: 0 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 36px;
  height: 40px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: 180ms ease;
}

.language-switcher a:hover,
.language-switcher a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button .lucide {
  width: 18px;
  height: 18px;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 16px 32px rgba(21, 94, 239, 0.22);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--border);
}

.hero {
  min-height: calc(100vh - 84px);
  padding: 80px 0 56px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, rgba(10, 21, 36, 0.94));
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 30, 0.88) 0%, rgba(7, 18, 30, 0.68) 42%, rgba(7, 18, 30, 0.28) 100%),
    url("../images/backgrounds/slider-1-1.jpg") center / cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 16s ease-out forwards;
}

.page-hero {
  padding: 88px 0 48px;
}

.hero-grid,
.split-layout,
.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.hero-copy h1 {
  margin: 0 0 18px;
  max-width: 12ch;
  font-size: clamp(3.8rem, 7vw, 7rem);
  line-height: 0.9;
}

.lead {
  margin: 0;
  max-width: 62ch;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.lead.narrow {
  max-width: 70ch;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary-strong);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.card-list,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 32, 58, 0.08);
  color: var(--text-soft);
}

.card,
.soft-card,
.fact-panel,
.faq-item,
.cta-box,
.stat-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 22px;
  border-radius: 12px;
  background: rgba(10, 21, 36, 0.7);
  color: var(--text-inverse);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.panel-topline {
  color: rgba(245, 248, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-stack {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.stack-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stack-card span,
.timeline-step span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-weight: 800;
}

.stack-card span .lucide,
.timeline-step span .lucide {
  width: 21px;
  height: 21px;
}

.stack-card h2,
.stack-card p {
  margin: 0;
}

.stack-card h2 {
  font-size: 1rem;
}

.stack-card p {
  margin-top: 4px;
  color: rgba(245, 248, 255, 0.75);
}

/* Hero — cycle step highlight (border + icon; see main.js) */
@media (prefers-reduced-motion: no-preference) {
  .hero-stack--step-cycle .stack-card {
    transition:
      border-color 0.45s ease,
      box-shadow 0.45s ease,
      background 0.45s ease;
  }

  .hero-stack--step-cycle .stack-card > span {
    transition:
      background 0.45s ease,
      color 0.45s ease,
      box-shadow 0.45s ease;
  }
}

.hero-stack--step-cycle .stack-card.is-step-active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(91, 163, 212, 0.7);
  box-shadow:
    0 0 0 1px rgba(91, 163, 212, 0.22),
    0 10px 32px rgba(7, 18, 30, 0.35);
}

.hero-stack--step-cycle .stack-card.is-step-active > span {
  background: linear-gradient(
    150deg,
    rgba(27, 108, 167, 0.45) 0%,
    rgba(91, 163, 212, 0.22) 100%
  );
  color: #e8f4ff;
  box-shadow: 0 0 0 1px rgba(91, 163, 212, 0.32);
}

.trust-strip {
  position: relative;
  z-index: 2;
  padding: 0;
  margin-top: -75px;
}

.trust-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.trust-grid > div,
.stat-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.metric-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  color: var(--primary);
}

.section-dark .metric-icon,
.hero .metric-icon {
  color: var(--accent);
}

.trust-grid strong,
.stat-card strong,
.fact-panel strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
}

.trust-grid span,
.stat-card span,
.fact-panel span {
  color: var(--text-soft);
}

/* Trust strip (index) — metric cards: top accent, light gradient, icon chip */
.trust-strip .trust-grid {
  gap: 16px;
  align-items: stretch;
}

.trust-strip .trust-grid > div {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
  padding: 20px 20px 22px;
  border-radius: 12px;
  background: linear-gradient(165deg, #fff 0%, #f1f6fb 100%);
  border: 1px solid rgba(16, 32, 58, 0.1);
  box-shadow:
    0 1px 0 rgba(16, 32, 58, 0.04),
    0 14px 36px rgba(10, 21, 36, 0.07);
  overflow: hidden;
}

.trust-strip .trust-grid > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-strong));
  opacity: 0.95;
  pointer-events: none;
}

.trust-strip .trust-grid .metric-icon {
  display: block;
  width: 24px;
  height: 24px;
  padding: 7px;
  box-sizing: content-box;
  margin-bottom: 12px;
  border-radius: 10px;
  background: linear-gradient(150deg, rgba(27, 108, 167, 0.12), rgba(27, 108, 167, 0.04));
  border: 1px solid rgba(27, 108, 167, 0.12);
  color: var(--primary);
}

.trust-strip .trust-grid strong {
  font-size: clamp(1.45rem, 1.6vw, 1.7rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

.trust-strip .trust-grid > div > span {
  display: block;
  margin-top: 4px;
  max-width: 100%;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-soft);
}

.section {
  padding: 84px 0;
}

.section-dark {
  background:
    linear-gradient(90deg, rgba(10, 21, 36, 0.95), rgba(18, 34, 52, 0.86)),
    url("../images/resources/counter-two-img-1.jpg") center / cover fixed;
  color: var(--text-inverse);
}

.section-dark .eyebrow,
.section-dark p,
.section-dark h2,
.section-dark h3 {
  color: inherit;
}

/* About — stats strip (glass metrics on section-dark) */
.section-dark.about-stats .stats-grid {
  gap: 18px;
}

.section-dark.about-stats .stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
  padding: 24px 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 45%,
    rgba(10, 21, 36, 0.4) 100%
  );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  overflow: hidden;
}

.section-dark.about-stats .stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary), var(--primary-strong));
  opacity: 0.95;
  pointer-events: none;
}

.section-dark.about-stats .stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1),
    0 32px 56px rgba(0, 0, 0, 0.3);
}

.section-dark.about-stats .stat-card .metric-icon {
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  padding: 7px;
  box-sizing: content-box;
  margin-bottom: 14px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--accent);
  /* 24px glyph + 7px padding + border — art sits inset from the frosted chip. */
}

.section-dark.about-stats .stat-card strong {
  color: #fff;
  font-size: clamp(1.65rem, 2.2vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-dark.about-stats .stat-card span {
  color: rgba(245, 250, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.45;
  margin-top: 4px;
}

/* “De ce CARGODOOR” — heading, then one row of cards */
.value-props {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.value-props-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.08;
}

.value-props-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.value-props .value-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 24px 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.04) 55%,
    rgba(10, 21, 36, 0.35) 100%
  );
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  overflow: hidden;
}

.value-props .value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(27, 108, 167, 0.85));
  border-radius: 12px 12px 0 0;
  opacity: 0.95;
}

.value-props .value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 163, 212, 0.45);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.28);
}

.value-props .value-card .soft-icon {
  margin-bottom: 14px;
}

.value-props .value-card p {
  margin: 0;
  flex: 1;
  color: rgba(245, 248, 255, 0.78);
  line-height: 1.5;
  font-size: 0.98rem;
}

.value-props .value-card h3 {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.2;
  margin: 0 0 10px;
}

@media (max-width: 1200px) {
  .value-props-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .value-props {
    gap: 28px;
  }

  .value-props-grid {
    grid-template-columns: 1fr;
  }
}

.section-tinted {
  background: linear-gradient(180deg, #e2ecf5 0%, #eef3f8 50%, #f2f6fa 100%);
}

.section-tinted .soft-card {
  background: #fff;
  border: 1px solid rgba(27, 108, 167, 0.12);
  border-radius: 12px;
  box-shadow:
    0 1px 0 rgba(16, 32, 58, 0.04),
    0 14px 36px rgba(10, 21, 36, 0.06);
}

.section-tinted .soft-card:hover {
  border-color: rgba(27, 108, 167, 0.2);
  box-shadow:
    0 1px 0 rgba(16, 32, 58, 0.04),
    0 20px 44px rgba(10, 21, 36, 0.1);
}

.section-tinted .soft-icon {
  color: var(--primary);
  background: linear-gradient(150deg, rgba(27, 108, 167, 0.12), rgba(27, 108, 167, 0.04));
  border: 1px solid rgba(27, 108, 167, 0.12);
}

/* About — 2×2 differentiator soft cards (primary blues, no green soft-icon) */
.about-differentiators {
  background: linear-gradient(180deg, #f2f6fb 0%, #e8f0f7 45%, #f4f7fb 100%);
}

.about-differentiators .soft-card {
  background: #fff;
  border: 1px solid rgba(27, 108, 167, 0.12);
  border-radius: 12px;
  box-shadow:
    0 1px 0 rgba(16, 32, 58, 0.04),
    0 14px 36px rgba(10, 21, 36, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.about-differentiators .soft-card:hover {
  border-color: rgba(27, 108, 167, 0.22);
  box-shadow:
    0 1px 0 rgba(16, 32, 58, 0.04),
    0 20px 44px rgba(10, 21, 36, 0.1);
  transform: translateY(-3px);
}

.about-differentiators .soft-icon {
  color: var(--primary);
  background: linear-gradient(150deg, rgba(27, 108, 167, 0.14), rgba(27, 108, 167, 0.05));
  border: 1px solid rgba(27, 108, 167, 0.14);
}

/* Rute (routes.html) — flux 2×2: primary blues (overrides default green .soft-icon) */
.routes-flux-cards {
  background: linear-gradient(180deg, #f2f6fb 0%, #e8f0f7 45%, #f4f7fb 100%);
}

.routes-flux-cards .routes-flux-grid {
  align-items: stretch;
}

.routes-flux-cards .soft-card {
  background: #fff;
  border: 1px solid rgba(27, 108, 167, 0.12);
  border-radius: 12px;
  box-shadow:
    0 1px 0 rgba(16, 32, 58, 0.04),
    0 14px 36px rgba(10, 21, 36, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.routes-flux-cards .soft-card:hover {
  border-color: rgba(27, 108, 167, 0.22);
  box-shadow:
    0 1px 0 rgba(16, 32, 58, 0.04),
    0 20px 44px rgba(10, 21, 36, 0.1);
  transform: translateY(-3px);
}

.routes-flux-cards .soft-icon {
  color: var(--primary);
  background: linear-gradient(150deg, rgba(27, 108, 167, 0.14), rgba(27, 108, 167, 0.05));
  border: 1px solid rgba(27, 108, 167, 0.14);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.split-layout h2,
.cta-box h2,
.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.05;
}

.section-heading p,
.split-layout p,
.content-stack p,
.cta-box p {
  color: var(--text-soft);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.compact-grid {
  gap: 16px;
}

.card,
.soft-card,
.stat-card,
.form-card {
  padding: 24px;
}

/* Service tiles: image band + kicker, body with icon+title, list */
.section-services .services-card-grid {
  gap: 22px;
}

.media-card.service-tile {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(16, 32, 58, 0.1);
  background: linear-gradient(180deg, #fff 0%, #fafbfd 100%);
  box-shadow:
    0 1px 0 rgba(16, 32, 58, 0.06),
    0 18px 40px rgba(10, 21, 36, 0.07);
}

.media-card-figure {
  position: relative;
  margin: 0;
  aspect-ratio: 5 / 3.1;
  overflow: hidden;
  background: #e4ecf5;
}

.media-card-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 21, 36, 0) 0%,
    rgba(10, 21, 36, 0) 50%,
    rgba(10, 21, 36, 0.42) 100%
  );
  pointer-events: none;
}

.media-card-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 520ms ease, filter 520ms ease;
  filter: saturate(0.9) contrast(1.04);
}

.media-card.service-tile:hover .media-card-figure img {
  transform: scale(1.05);
  filter: saturate(0.98) contrast(1.05);
}

.media-card-figure .service-icon {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  margin: 0;
  width: 44px;
  height: 44px;
  padding: 9px;
  border-radius: 10px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 22px rgba(10, 21, 36, 0.14);
  backdrop-filter: blur(8px);
}

.media-card-figure .card-kicker {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  left: 12px;
  margin: 0;
  padding: 5px 11px 6px;
  border-radius: 7px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-strong);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 22px rgba(10, 21, 36, 0.14);
  backdrop-filter: blur(8px);
}

.media-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 22px;
}

.media-card.service-tile .media-card-body > h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}

.media-card-body > p {
  margin: 0 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.media-card-body .card-list {
  margin: 0;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(16, 32, 58, 0.08);
  gap: 6px;
}

.media-card-body .card-list li {
  padding-left: 16px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-soft);
}

.media-card-body .card-list li::before {
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--primary);
}

.service-icon,
.soft-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin: 0 0 16px;
  padding: 10px;
  border-radius: 8px;
  color: var(--primary);
  background: rgba(27, 108, 167, 0.09);
}

.soft-icon {
  color: var(--signal);
  background: rgba(39, 163, 118, 0.1);
}

.section-dark .soft-card .soft-icon {
  color: var(--accent);
  background: rgba(27, 108, 167, 0.18);
}

.card h2,
.card h3,
.soft-card h3,
.timeline-step h3,
.principle h3,
.faq-item summary {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.card p,
.soft-card p,
.card li,
.principle p,
.faq-item p {
  color: var(--text-soft);
}

.card-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(21, 94, 239, 0.08);
  color: var(--primary-strong);
  font-size: 0.85rem;
  font-weight: 800;
}

.card-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.card-list li {
  position: relative;
  padding-left: 18px;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--primary-strong);
  font-weight: 800;
}

.card-link .lucide {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.card-link:hover .lucide {
  transform: translate(2px, -2px);
}

/* Servicii (services.html) — overview grid */
.services-overview .services-overview-grid {
  gap: 22px;
  align-items: stretch;
}

.services-overview .service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(16, 32, 58, 0.1);
  background: linear-gradient(165deg, #fff 0%, #f7f9fc 100%);
  box-shadow:
    0 1px 0 rgba(16, 32, 58, 0.04),
    0 20px 44px rgba(10, 21, 36, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.services-overview .service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-strong));
  pointer-events: none;
}

.services-overview .service-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 22px 22px 0;
}

.services-overview .service-card__head .card-kicker {
  margin: 0;
  padding: 4px 10px 5px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary-strong);
  background: rgba(27, 108, 167, 0.1);
  border: 1px solid rgba(27, 108, 167, 0.15);
  border-radius: 7px;
}

.services-overview .service-card__head .service-icon {
  margin: 0;
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(27, 108, 167, 0.12), rgba(27, 108, 167, 0.04));
  border: 1px solid rgba(27, 108, 167, 0.1);
  color: var(--primary);
}

.services-overview .service-card h2 {
  margin: 0;
  padding: 10px 22px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.services-overview .service-card > p {
  margin: 0;
  padding: 10px 22px 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.services-overview .service-card .card-list {
  margin: 14px 0 0;
  padding: 16px 22px 0;
  border-top: 1px solid rgba(16, 32, 58, 0.08);
  gap: 7px;
  flex: 1 1 auto;
}

.services-overview .service-card .card-list li {
  padding-left: 16px;
  font-size: 0.86rem;
  line-height: 1.4;
}

.services-overview .service-card .card-list li::before {
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--primary);
}

.services-overview .service-card .card-link {
  margin: 0;
  margin-top: auto;
  padding: 18px 22px 22px;
  border-top: 1px solid rgba(16, 32, 58, 0.07);
  color: var(--primary-strong);
  width: 100%;
  box-sizing: border-box;
  justify-content: space-between;
}

.services-overview .service-card:hover {
  border-color: rgba(27, 108, 167, 0.2);
  box-shadow:
    0 1px 0 rgba(16, 32, 58, 0.02),
    0 28px 52px rgba(10, 21, 36, 0.1);
}

/* Rute (routes.html) — corridor cards (services-overview–style) */
.routes-corridors .routes-corridor-grid {
  gap: 22px;
  align-items: stretch;
}

.routes-corridors .route-corridor-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto 1fr;
  align-items: start;
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 0 0 22px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(16, 32, 58, 0.1);
  background: linear-gradient(165deg, #fff 0%, #f7f9fc 100%);
  box-shadow:
    0 1px 0 rgba(16, 32, 58, 0.04),
    0 20px 44px rgba(10, 21, 36, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.routes-corridors .route-corridor-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-strong));
  pointer-events: none;
}

.routes-corridors .route-corridor-card:hover {
  border-color: rgba(27, 108, 167, 0.2);
  box-shadow:
    0 1px 0 rgba(16, 32, 58, 0.02),
    0 28px 52px rgba(10, 21, 36, 0.1);
  transform: translateY(-4px);
}

.routes-corridors .route-corridor-card .card-kicker {
  grid-column: 1;
  grid-row: 1;
  margin: 22px 0 0 22px;
  margin-bottom: 0;
  padding: 4px 10px 5px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-strong);
  background: rgba(27, 108, 167, 0.1);
  border: 1px solid rgba(27, 108, 167, 0.15);
  border-radius: 7px;
  align-self: start;
  justify-self: start;
}

.routes-corridors .route-corridor-card .service-icon {
  grid-column: 2;
  grid-row: 1;
  width: 48px;
  height: 48px;
  margin: 22px 22px 0 12px;
  margin-bottom: 0;
  padding: 11px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(27, 108, 167, 0.12), rgba(27, 108, 167, 0.04));
  border: 1px solid rgba(27, 108, 167, 0.1);
  color: var(--primary);
}

.routes-corridors .route-corridor-card h2 {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  padding: 14px 22px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.routes-corridors .route-corridor-card p {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0;
  padding: 10px 22px 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.service-detail-hero {
  padding-bottom: 78px;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.55fr);
  gap: 28px;
  align-items: start;
}

.service-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}

.service-sidebar .soft-card {
  background: rgba(255, 255, 255, 0.9);
}

.service-nav-list,
.detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-soft);
  background: #fff;
  font-weight: 700;
}

.service-nav-list a:hover,
.service-nav-list a.is-active {
  color: var(--text);
  border-color: rgba(27, 108, 167, 0.28);
  background: rgba(27, 108, 167, 0.08);
}

.detail-list {
  gap: 14px;
}

.detail-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--text-soft);
}

.detail-list .lucide {
  width: 22px;
  height: 22px;
  color: var(--signal);
  margin-top: 2px;
}

.service-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-media img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline-step {
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.timeline-step span {
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--primary), var(--signal));
}

/* Cum lucrăm — process strip + step cards (index) */
.process-section {
  position: relative;
  padding: 90px 0 100px;
  background: linear-gradient(180deg, #e9f0f7 0%, #f3f7fb 50%, #fbfdff 100%);
}

.process-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(27, 108, 167, 0.18), transparent);
  pointer-events: none;
}

.process-section .section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.process-section-head h2 {
  max-width: 22ch;
}

.process-section .process-section-lead {
  margin: 10px 0 0;
  max-width: 50ch;
  color: var(--text-soft);
  font-size: 1.04rem;
  line-height: 1.5;
}

.process-section .process-timeline {
  gap: 20px;
}

.process-section .timeline-step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(16, 32, 58, 0.09);
  box-shadow: 0 1px 0 rgba(16, 32, 58, 0.05), 0 20px 44px rgba(10, 21, 36, 0.07);
}

.process-section .timeline-step::before {
  content: "";
  flex: 0 0 auto;
  order: 0;
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-strong));
}

.process-section .timeline-step::after {
  content: attr(data-step);
  position: absolute;
  top: 20px;
  right: 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(27, 108, 167, 0.11);
  letter-spacing: -0.04em;
  pointer-events: none;
  z-index: 0;
}

.process-section .process-step__head {
  order: 1;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 20px 22px 0;
  background: linear-gradient(180deg, rgba(244, 248, 255, 0.9) 0%, #fff 100%);
}

.process-section .process-step__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, var(--primary), var(--primary-strong));
  box-shadow: 0 8px 22px rgba(27, 108, 167, 0.3);
  border: none;
}

.process-section .process-step__icon .lucide {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.process-section .process-step__body {
  order: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 22px 24px;
  position: relative;
  z-index: 1;
}

.process-section .process-step__body h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  line-height: 1.25;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.process-section .process-step__body p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.route-board,
.principles,
.fact-panel {
  display: grid;
  gap: 14px;
}

.route-board {
  grid-template-columns: repeat(2, 1fr);
}

.fact-panel {
  padding: 24px;
}

.fact-panel article {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.fact-panel article:last-child {
  border-bottom: 0;
}

.principles {
  grid-template-columns: repeat(3, 1fr);
}

.principle {
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 24px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
}

/* FAQ — servicii & contact: panel + accordions (brand albastru) */
.faq-section .split-layout {
  align-items: start;
  gap: 36px;
}

.faq-section .faq-list {
  gap: 0;
  margin: 0;
  width: 100%;
  min-width: 0;
  padding: 6px;
  border-radius: 16px;
  background: linear-gradient(165deg, #fff 0%, #f4f8fc 100%);
  border: 1px solid rgba(16, 32, 58, 0.08);
  box-shadow: 0 1px 0 rgba(16, 32, 58, 0.03);
}

.faq-section.section-tinted .faq-list {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 249, 252, 0.98) 100%);
  border: 1px solid rgba(27, 108, 167, 0.1);
  box-shadow: 0 16px 40px rgba(10, 21, 36, 0.06);
}

.faq-section .faq-item {
  margin: 0 0 8px;
  background: #fff;
  border: 1px solid rgba(16, 32, 58, 0.08);
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(16, 32, 58, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-section .faq-item:last-of-type {
  margin-bottom: 0;
}

.faq-section .faq-item[open] {
  border-color: rgba(27, 108, 167, 0.2);
  box-shadow: 0 10px 32px rgba(10, 21, 36, 0.07);
}

.faq-section .faq-item summary {
  position: relative;
  padding: 16px 44px 16px 20px;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.faq-section .faq-item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  margin-top: -1px;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.22s ease;
  opacity: 0.9;
}

.faq-section .faq-item[open] summary::after {
  margin-top: 0;
  transform: translateY(-20%) rotate(225deg);
}

.faq-section .faq-item[open] summary {
  color: var(--primary-strong);
}

.faq-section .faq-item p {
  margin: 0;
  padding: 12px 20px 16px 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-soft);
  border-top: 1px solid rgba(16, 32, 58, 0.06);
}

.contact-layout {
  align-items: start;
}

.quote-form {
  display: grid;
  gap: 16px;
}

.quote-form label:not(.choice-option):not(.toggle-row) {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.quote-form label.is-disabled:not(.choice-option):not(.toggle-row) {
  opacity: 0.58;
}

.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 14px 16px;
  color: var(--text);
}

.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
  outline: 2px solid rgba(21, 94, 239, 0.18);
  border-color: rgba(21, 94, 239, 0.35);
}

.quote-form input[type="checkbox"],
.quote-form input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.quote-page {
  padding-top: 28px;
}

.wizard-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.wizard-card {
  padding: 32px;
}

.wizard-topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.wizard-topbar h2 {
  margin: 0;
}

.wizard-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(27, 108, 167, 0.12), rgba(91, 163, 212, 0.18));
  border: 1px solid rgba(27, 108, 167, 0.15);
  color: var(--primary-strong);
  font-weight: 800;
  white-space: nowrap;
  max-width: 100%;
}

.wizard-badge span:last-child {
  overflow-wrap: anywhere;
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.wizard-progress-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 5.5rem;
  padding: 14px 10px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(244, 247, 251, 0.72);
  color: var(--text-soft);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.wizard-progress-item span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(16, 32, 58, 0.08);
  font-weight: 800;
}

.wizard-progress-item strong {
  font-size: 0.95rem;
}

.wizard-progress-item.is-active,
.wizard-progress-item.is-complete {
  border-color: rgba(27, 108, 167, 0.24);
  background: rgba(233, 242, 249, 0.92);
  color: var(--text);
}

.wizard-progress-item.is-active {
  transform: translateY(-1px);
}

.wizard-progress-item.is-active span,
.wizard-progress-item.is-complete span {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
}

.wizard-step {
  display: none;
  gap: 20px;
}

.wizard-step.is-active {
  display: grid;
}

.wizard-step-head h3 {
  margin: 0 0 8px;
}

.wizard-step-head p:last-child {
  margin: 0;
  color: var(--text-soft);
}

.fieldset-block {
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(16, 32, 58, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 250, 254, 0.9));
}

.field-card-label,
.field-label {
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fieldset-head {
  margin-bottom: 16px;
}

.fieldset-head h4 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.fieldset-head p {
  margin: 0;
  color: var(--text-soft);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-grid-span-2 {
  grid-column: 1 / -1;
}

.choice-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  align-content: flex-start;
}

.choice-grid-checkboxes {
  padding: 18px 20px;
  border-radius: 8px;
  border: 1px solid rgba(16, 32, 58, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 250, 254, 0.9));
}

.choice-grid .field-label {
  width: 100%;
}

.choice-option,
.toggle-row {
  display: inline-flex;
  flex-direction: row;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 5.5rem;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(16, 32, 58, 0.08);
  background: rgba(247, 250, 254, 0.92);
}

.quote-form .choice-option {
  font-weight: 700;
}

.toggle-row {
  margin-top: 16px;
  width: fit-content;
  font-weight: 700;
}

.conditional-block {
  margin-top: 16px;
}

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
}

.wizard-summary-card h3 {
  margin-top: 0;
}

.wizard-summary {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.wizard-summary li {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(16, 32, 58, 0.08);
}

.wizard-summary li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.wizard-summary span {
  color: var(--text-soft);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.wizard-help-list {
  display: grid;
  gap: 10px;
}

.wizard-help-group {
  display: none;
}

.wizard-help-group.is-active {
  display: block;
}

.wizard-help-list li {
  color: var(--text-soft);
  line-height: 1.5;
}

.wizard-help-list strong {
  color: var(--text);
}

.content-stack {
  display: grid;
  gap: 18px;
}

.content-stack.wizard-sidebar {
  gap: 16px;
}

.wizard-sidebar {
  position: sticky;
  top: 110px;
}

.wizard-sidebar .soft-card {
  background: rgba(255, 255, 255, 0.9);
}

.about-intro .content-stack {
  margin-top: 32px;
}

.cta-section {
  padding: 20px 0 32px;
}

.cta-box {
  position: relative;
  display: block;
  min-height: 0;
  padding: 36px 40px 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  background:
    linear-gradient(
      120deg,
      rgba(6, 14, 28, 0.94) 0%,
      rgba(8, 28, 50, 0.88) 40%,
      rgba(10, 42, 70, 0.52) 100%
    ),
    url("../images/resources/cta-one-bg-img.jpg") center / cover no-repeat;
  background-color: #0a1524;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 20px 56px rgba(4, 10, 22, 0.4);
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 55%, rgba(255, 255, 255, 0.35) 100%);
  pointer-events: none;
}

.cta-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 120% at 88% 35%, rgba(91, 163, 212, 0.14) 0%, transparent 50%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-box > div {
  max-width: 640px;
}

.cta-box h2 {
  color: #fff;
  text-wrap: balance;
  line-height: 1.1;
  margin: 0 0 10px;
}

.cta-box .eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  letter-spacing: 0.14em;
  opacity: 0.95;
}

.cta-box p {
  margin: 0;
  max-width: 52ch;
  color: rgba(245, 250, 255, 0.8);
  font-size: 1.02rem;
  line-height: 1.55;
}

.cta-box .cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 1.5rem;
}

.cta-box .button-primary {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.cta-box .button-secondary {
  color: #f5f8ff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.cta-box .button-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Rute și acoperire — index (split + map card) */
.routes-showcase {
  position: relative;
  padding: 100px 0 104px;
  overflow: hidden;
  background:
    radial-gradient(1200px 520px at 14% 18%, rgba(91, 163, 212, 0.14), transparent 58%),
    linear-gradient(112deg, #eef3f8 0%, #e8eff6 44%, #edf3f8 100%),
    url("../images/project/project-2-5.jpg") right -8% center / 54% auto no-repeat;
  background-color: #e9f0f6;
}

.routes-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(238, 244, 250, 0.96) 0%, rgba(238, 244, 250, 0.82) 42%, rgba(238, 244, 250, 0.14) 74%, transparent 92%),
    radial-gradient(900px 320px at 76% 82%, rgba(10, 21, 36, 0.08), transparent 68%);
  pointer-events: none;
}

.routes-showcase .container {
  position: relative;
  z-index: 1;
}

.routes-showcase .split-layout {
  grid-template-columns: 1.04fr 0.96fr;
  align-items: stretch;
  gap: 34px;
}

.routes-showcase .split-layout > div:first-child {
  max-width: 620px;
  padding: 34px 34px 36px;
  border-radius: 16px;
  border: 1px solid rgba(16, 32, 58, 0.1);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 252, 255, 0.88) 100%);
  box-shadow:
    0 1px 0 rgba(16, 32, 58, 0.04),
    0 18px 42px rgba(10, 21, 36, 0.09);
  backdrop-filter: blur(8px);
}

.routes-showcase .split-layout > div:first-child h2 {
  margin: 0 0 12px;
  max-width: 24ch;
}

.routes-showcase .split-layout > div:first-child p {
  margin: 0;
}

.routes-showcase .split-layout > div:first-child .button {
  margin-top: 20px;
}

.routes-showcase .route-map {
  position: relative;
  height: 100%;
  border-radius: 16px;
  border: 1px solid rgba(16, 32, 58, 0.12);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 251, 255, 0.96) 100%);
  box-shadow:
    0 1px 0 rgba(16, 32, 58, 0.04),
    0 24px 52px rgba(10, 21, 36, 0.12);
  backdrop-filter: blur(12px);
  padding: 20px 20px 22px;
  gap: 12px;
  align-content: start;
}

.routes-showcase .route-map__media {
  grid-column: 1 / -1;
  margin: -8px -8px 6px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(16, 32, 58, 0.08);
  box-shadow: 0 14px 26px rgba(10, 21, 36, 0.12);
}

.routes-showcase .route-map__media img {
  width: 100%;
  height: 172px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.routes-showcase .route-map__label {
  grid-column: 1 / -1;
  margin: 2px 0 8px 2px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-strong);
}

.routes-showcase .route-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-height: 2.6rem;
  padding: 10px 14px 10px 40px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--text);
  background: linear-gradient(165deg, #fff 0%, #f4f9ff 100%);
  border: 1px solid rgba(27, 108, 167, 0.18);
  box-shadow: 0 2px 0 rgba(16, 32, 58, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.routes-showcase .route-pill::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--primary), var(--primary-strong));
  box-shadow: 0 0 0 2px rgba(27, 108, 167, 0.1);
  transform: translateY(-50%);
}

.routes-showcase .route-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(27, 108, 167, 0.34);
  box-shadow: 0 10px 24px rgba(10, 21, 36, 0.1);
}

/* Țări deservite (routes.html) — pills on dark: glass + primary (aligned with index route chips) */
.section-dark .route-pill {
  position: relative;
  margin: 0;
  min-height: 2.6rem;
  padding: 10px 16px 10px 40px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: rgba(245, 250, 255, 0.95);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.11) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07),
    0 12px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.section-dark .route-pill:hover {
  border-color: rgba(91, 163, 212, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1),
    0 16px 40px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.section-dark .route-pill::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--primary), var(--primary-strong));
  box-shadow: 0 0 0 2px rgba(27, 108, 167, 0.3);
  transform: translateY(-50%);
}

/* Route pills: left dot pulses blue → green, one card at a time (stagger) */
@keyframes route-pill-dot-sequential {
  0%,
  100% {
    background: linear-gradient(160deg, var(--primary), var(--primary-strong));
    box-shadow: 0 0 0 2px rgba(27, 108, 167, 0.15);
  }
  1.2% {
    background: linear-gradient(155deg, #5ad399, #22a366);
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.35), 0 0 10px rgba(34, 197, 94, 0.35);
  }
  4% {
    background: linear-gradient(150deg, #4ade80, #16a34a);
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.45), 0 0 16px rgba(34, 197, 94, 0.45);
  }
  6.5%,
  7.5% {
    background: linear-gradient(150deg, #4ade80, #15803d);
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.4), 0 0 12px rgba(34, 197, 94, 0.38);
  }
  11%,
  99.5% {
    background: linear-gradient(160deg, var(--primary), var(--primary-strong));
    box-shadow: 0 0 0 2px rgba(27, 108, 167, 0.15);
  }
}

@keyframes route-pill-dot-sequential-dark {
  0%,
  100% {
    background: linear-gradient(160deg, var(--primary), var(--primary-strong));
    box-shadow: 0 0 0 2px rgba(27, 108, 167, 0.3);
  }
  1.2% {
    background: linear-gradient(155deg, #5ad399, #22a366);
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.45), 0 0 12px rgba(34, 197, 94, 0.45);
  }
  4% {
    background: linear-gradient(150deg, #4ade80, #16a34a);
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.5), 0 0 16px rgba(34, 197, 94, 0.5);
  }
  6.5%,
  7.5% {
    background: linear-gradient(150deg, #4ade80, #15803d);
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.45), 0 0 12px rgba(34, 197, 94, 0.42);
  }
  11%,
  99.5% {
    background: linear-gradient(160deg, var(--primary), var(--primary-strong));
    box-shadow: 0 0 0 2px rgba(27, 108, 167, 0.3);
  }
}

.routes-showcase .route-pill::before {
  animation: route-pill-dot-sequential 1.2s ease-in-out infinite;
}

/* Index route-map: image + label are first 2 children; pills are 3…8 */
.routes-showcase .route-map .route-pill:nth-child(3)::before {
  animation-delay: 0s;
}
.routes-showcase .route-map .route-pill:nth-child(4)::before {
  animation-delay: 0.2s;
}
.routes-showcase .route-map .route-pill:nth-child(5)::before {
  animation-delay: 0.4s;
}
.routes-showcase .route-map .route-pill:nth-child(6)::before {
  animation-delay: 0.6s;
}
.routes-showcase .route-map .route-pill:nth-child(7)::before {
  animation-delay: 0.8s;
}
.routes-showcase .route-map .route-pill:nth-child(8)::before {
  animation-delay: 1s;
}

.section-dark .route-pill::before {
  animation: route-pill-dot-sequential-dark 1.6s ease-in-out infinite;
}

.section-dark .route-board .route-pill:nth-child(1)::before {
  animation-delay: 0s;
}
.section-dark .route-board .route-pill:nth-child(2)::before {
  animation-delay: 0.2s;
}
.section-dark .route-board .route-pill:nth-child(3)::before {
  animation-delay: 0.4s;
}
.section-dark .route-board .route-pill:nth-child(4)::before {
  animation-delay: 0.6s;
}
.section-dark .route-board .route-pill:nth-child(5)::before {
  animation-delay: 0.8s;
}
.section-dark .route-board .route-pill:nth-child(6)::before {
  animation-delay: 1s;
}
.section-dark .route-board .route-pill:nth-child(7)::before {
  animation-delay: 1.2s;
}
.section-dark .route-board .route-pill:nth-child(8)::before {
  animation-delay: 1.4s;
}

@media (prefers-reduced-motion: reduce) {
  .routes-showcase .route-pill::before,
  .section-dark .route-pill::before {
    animation: none;
  }
}

.routes-served .route-board {
  margin-top: 32px;
}

.image-frame {
  overflow: hidden;
  border-radius: 8px;
  min-height: 420px;
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Despre companie — left column same height as copy; image fills column */
.image-split-section .split-layout {
  align-items: stretch;
}

.image-split-section .image-frame {
  min-height: 0;
  height: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.image-split-section .image-frame img {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1081px) {
  .image-split-section .image-frame {
    min-height: max(420px, 100%);
  }
}

@media (max-width: 1080px) {
  .image-split-section .image-frame {
    min-height: min(52vh, 480px);
    max-height: 64vh;
    height: auto;
  }
}

.button-primary {
  background: var(--primary);
  box-shadow: 0 16px 32px rgba(27, 108, 167, 0.24);
}

.button-primary:hover {
  background: var(--primary-strong);
}

.button-secondary:hover {
  border-color: rgba(27, 108, 167, 0.35);
  box-shadow: 0 12px 28px rgba(10, 21, 36, 0.1);
}

.hero .eyebrow,
.hero .lead {
  color: rgba(255, 255, 255, 0.84);
}

.hero .button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.site-header.is-scrolled {
  background: rgba(10, 21, 36, 0.94);
  box-shadow: 0 12px 34px rgba(10, 21, 36, 0.08);
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 21, 36, 0.9), rgba(17, 34, 52, 0.78)),
    url("../images/resources/banner-one-img-2.jpg") center / cover no-repeat;
}

.page-hero .eyebrow,
.page-hero .lead {
  color: rgba(255, 255, 255, 0.78);
}

.page-hero .eyebrow {
  display: block;
  max-width: none;
  width: 100%;
}

.page-hero h1 {
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}

.page-hero .lead,
.page-hero .lead.narrow {
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}

.site-footer {
  background: var(--surface-dark);
  color: #fff;
}

.site-footer p,
.site-footer .footer-links,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.card,
.soft-card,
.timeline-step,
.trust-grid > div {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:not(.route-corridor-card):hover,
.soft-card:hover,
.timeline-step:hover,
.trust-grid > div:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 108, 167, 0.22);
  box-shadow: 0 22px 52px rgba(10, 21, 36, 0.16);
}

.trust-strip .trust-grid > div:hover {
  border-color: rgba(27, 108, 167, 0.2);
  box-shadow:
    0 1px 0 rgba(16, 32, 58, 0.04),
    0 24px 52px rgba(10, 21, 36, 0.12);
  transform: translateY(-4px);
}

.process-section .timeline-step:hover {
  border-color: rgba(27, 108, 167, 0.22);
  box-shadow: 0 1px 0 rgba(16, 32, 58, 0.05), 0 28px 52px rgba(10, 21, 36, 0.1);
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

.site-footer {
  padding: 28px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr;
  gap: 28px;
  padding: 28px 0;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.footer-social li {
  margin: 0;
  padding: 0;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.footer-social__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.footer-social__link .footer-social__icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-grid h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: var(--text-soft);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.footer-links .lucide {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(16, 32, 58, 0.08);
  color: var(--text-soft);
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}

.footer-bottom__copy {
  margin: 0;
  flex: 1 1 14rem;
  min-width: min(100%, 14rem);
}

.footer-bottom__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 18px;
}

.site-footer .footer-bottom__legal a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .footer-bottom__legal a:hover {
  color: #fff;
}

@media (max-width: 720px) {
  .footer-bottom__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-bottom__legal {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 1080px) {
  .grid-4,
  .timeline,
  .trust-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .principles {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .split-layout,
  .contact-layout,
  .wizard-shell,
  .service-detail-layout,
  .footer-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cta-box {
    padding: 28px 24px 32px;
  }

  .routes-showcase {
    background-position: right -36% center;
    background-size: 72% auto;
  }

  .routes-showcase .split-layout > div:first-child {
    max-width: none;
  }

  .service-sidebar,
  .wizard-sidebar {
    position: static;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
    height: auto;
    min-height: 0;
    padding: 12px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    background: rgba(10, 21, 36, 0.98);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav.is-open + .language-switcher {
    display: inline-flex;
  }

  .site-nav a {
    height: auto;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 8px;
  }

  .language-switcher {
    display: none;
    position: absolute;
    top: calc(100% + 276px);
    left: 20px;
    right: 20px;
    height: auto;
    min-height: 0;
    padding: 8px 10px;
    justify-content: center;
    background: rgba(10, 21, 36, 0.98);
    box-shadow: var(--shadow);
  }

  .language-switcher a {
    min-width: 40px;
    height: 40px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero,
  .page-hero,
  .section {
    padding: 72px 0 32px;
  }

  .process-section {
    padding: 72px 0 56px;
  }

  .process-section .timeline-step::after {
    font-size: 1.85rem;
    top: 16px;
    right: 12px;
  }

  .hero {
    min-height: 82vh;
    padding-top: 64px;
  }

  .routes-showcase {
    background-image:
      linear-gradient(160deg, #eef3f8 0%, #e6eef6 100%);
    background-color: #e9f0f6;
  }

  .routes-showcase .split-layout > div:first-child {
    padding: 24px 20px 26px;
    border-radius: 14px;
  }

  .routes-showcase .route-map {
    padding: 16px;
  }

  .routes-showcase .route-map__media {
    margin: -4px -4px 6px;
  }

  .routes-showcase .route-map__media img {
    height: 152px;
  }

  .routes-served .route-board {
    margin-top: 0;
  }

  .grid-2,
  .grid-4,
  .trust-grid,
  .stats-grid,
  .route-board,
  .timeline,
  .form-grid-2,
  .form-grid-3,
  .wizard-progress {
    grid-template-columns: 1fr;
  }

  .header-inner {
    min-height: 76px;
  }

  .brand-text small {
    display: none;
  }

  .brand-logo {
    width: 128px;
  }

  .hero-copy h1,
  .page-hero h1 {
    max-width: none;
  }

  .about-intro .content-stack {
    margin-top: 0;
  }

  .wizard-card {
    padding: 24px 20px;
  }

  .wizard-topbar,
  .wizard-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .wizard-badge {
    white-space: normal;
  }
}
