:root {
  --bg: #050505;
  --bg-elevated: #111111;
  --bg-card: #141414;
  --border: #2a2a2a;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --yellow: #f5c518;
  --yellow-hover: #e6b800;
  --header-h: 72px;
  --pad-x: clamp(16px, 4vw, 48px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding-bottom: 0;
}

body.cookie-visible {
  padding-bottom: 100px;
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.logo-icon {
  display: block;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(245, 197, 24, 0.15);
}

/* inline SVG (same .logo-icon sizing as <img>) */
svg.logo-icon {
  overflow: visible;
}

.logo-icon--sm {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  margin-bottom: 0;
}

.logo-word {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: lowercase;
  color: var(--text);
  max-width: min(200px, 44vw);
}

.logo-ac {
  color: var(--yellow);
  font-weight: 800;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 28px);
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav-link:hover {
  color: var(--yellow);
}

.nav-link.is-active {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.lang-wrap {
  flex-shrink: 0;
}

.lang-select,
.lang {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  padding: 6px 32px 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-elevated);
  cursor: pointer;
  min-width: 4.5rem;
  max-width: 5.5rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23a1a1aa' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.lang-select:hover,
.lang-select:focus {
  border-color: rgba(245, 197, 24, 0.45);
  outline: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin: 0;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.15s, color 0.15s, transform 0.12s;
}

.btn-quote {
  background: var(--yellow);
  color: #0a0a0a;
  padding: 10px 18px;
  white-space: nowrap;
}

.btn-quote:hover {
  background: var(--yellow-hover);
  color: #0a0a0a;
}

.btn-yellow {
  background: var(--yellow);
  color: #0a0a0a;
}

.btn-yellow:hover {
  background: var(--yellow-hover);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost {
  background: #2a2a2a;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: #333;
}

.btn-submit {
  margin-top: 18px;
  width: fit-content;
}

/* ----- Hero full bleed ----- */
.hero-full {
  position: relative;
  min-height: min(78vh, 820px);
  width: 100%;
  background-color: #0a0a0a;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: clamp(32px, 6vw, 80px) var(--pad-x) clamp(48px, 8vw, 100px);
}

.hero-full::before {
  content: "";
  position: absolute;
  inset: -2% -4%;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: truckMotion 10s ease-in-out infinite alternate;
  filter: contrast(1.06) brightness(0.72);
}

.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.3) 0%, rgba(5, 5, 5, 0.86) 100%),
    repeating-linear-gradient(
      -8deg,
      rgba(255, 255, 255, 0.12) 0 2px,
      transparent 2px 26px
    );
  mix-blend-mode: soft-light;
  opacity: 0.35;
  animation: roadSpeed 0.9s linear infinite;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-kicker {
  margin: 0 0 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.hero-title {
  margin: 0 0 16px;
  line-height: 1.05;
}

.hero-title-thin {
  display: block;
  font-size: clamp(52px, 9vw, 120px);
  font-weight: 200;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-title-block {
  display: block;
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 600;
  color: var(--yellow);
  margin-top: 4px;
}

.hero-lead {
  margin: 0 0 28px;
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ----- Main sections ----- */
.page-main {
  width: 100%;
}

.section-full {
  width: 100%;
}

.section-inner {
  width: 100%;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section-pad {
  padding-top: 48px;
  padding-bottom: 48px;
}

.section-bottom {
  padding-bottom: 56px;
}

.section-bottom-pad {
  padding-bottom: 80px;
}

.section-dark {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(40px, 6vw, 72px) 0;
}

.section-heading {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
}

.section-sub {
  margin: 0 0 20px;
  font-size: 18px;
  color: var(--text-muted);
}

.section-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(244, 244, 245, 0.9);
  max-width: 900px;
}

/* Bandă cifre (stil ușor / contrast) */
.section-stats {
  background: #fafafa;
  color: #0a0a0a;
  border-top: 1px solid #e4e4e4;
  border-bottom: 1px solid #e4e4e4;
  padding: clamp(40px, 5vw, 64px) 0;
}

.section-stats-wrap {
  text-align: center;
}

.section-stats-heading {
  margin: 0 0 8px;
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0a0a0a;
}

.section-stats-rail {
  width: 48px;
  height: 2px;
  background: var(--yellow);
  margin: 0 auto 28px;
  border-radius: 2px;
}

.section-stats-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 28px);
  text-align: center;
}

@media (max-width: 1100px) {
  .section-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .section-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .section-stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-ico {
  color: #0a0a0a;
  line-height: 0;
  margin-bottom: 4px;
  opacity: 0.9;
}

.stat-value {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0a0a0a;
  line-height: 1.15;
}

.stat-value .stat-unit {
  font-size: 0.78em;
  font-weight: 700;
  margin-left: 0.1em;
}

.stat-label {
  margin: 0;
  max-width: 12rem;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  /* afiniat la #f5c518, dar ceva mai inchis pe alb (#fafafa) */
  color: #b89710;
}

.section-muted {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.muted-inner {
  padding: 40px var(--pad-x);
}

.muted-title {
  margin: 0 0 10px;
  font-size: 20px;
}

.muted-text {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 720px;
}

/* Ticker */
.ticker-wrap {
  margin-bottom: 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
}

.ticker-dark .ticker {
  color: var(--yellow);
}

.ticker {
  display: flex;
  width: max-content;
  gap: 34px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  animation: tickerMove 28s linear infinite;
}

.ticker span::before {
  content: "• ";
  color: var(--yellow);
  opacity: 0.7;
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

@media (min-width: 1200px) {
  .services {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: rgba(245, 197, 24, 0.45);
  transform: translateY(-2px);
}

.service-image {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 12px;
  display: block;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Camion / avion / tren / maritim: fundal pe tot cardul + overlay transparent */
.service-card--camion,
.service-card--avion,
.service-card--tren,
.service-card--vapor {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  border: 1px solid var(--border);
  background: #0c1220;
}

.service-card--camion::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/camion-rutier.png");
  background-size: cover;
  background-position: center 55%;
  transform: scale(1.03);
}

.service-card--avion::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/avion-cargo.png");
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.03);
}

.service-card--tren::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/tren-freight.png");
  background-size: cover;
  background-position: center 48%;
  transform: scale(1.03);
}

.service-card--vapor::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/container-ship.png");
  background-size: cover;
  background-position: center 45%;
  transform: scale(1.03);
}

.service-card--camion::after,
.service-card--avion::after,
.service-card--tren::after,
.service-card--vapor::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    190deg,
    rgba(4, 8, 18, 0.38) 0%,
    rgba(6, 10, 22, 0.62) 45%,
    rgba(2, 4, 12, 0.78) 100%
  );
  pointer-events: none;
}

.service-card-hero-inner {
  position: relative;
  z-index: 1;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
}

.service-card--camion h3,
.service-card--avion h3,
.service-card--tren h3,
.service-card--vapor h3,
.service-card--camion p,
.service-card--avion p,
.service-card--tren p,
.service-card--vapor p {
  margin: 0;
}

.service-card--camion h3,
.service-card--avion h3,
.service-card--tren h3,
.service-card--vapor h3 {
  color: #fff;
  font-size: 18px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  margin-bottom: 8px;
}

.service-card--camion p,
.service-card--avion p,
.service-card--tren p,
.service-card--vapor p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Announcement */
.announcement {
  background: linear-gradient(105deg, rgba(245, 197, 24, 0.12) 0%, rgba(245, 197, 24, 0.04) 100%);
  border: 1px solid rgba(245, 197, 24, 0.35);
  border-radius: 12px;
  padding: 20px 22px;
}

.announcement p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.announcement strong {
  display: block;
  margin-top: 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--yellow);
}

/* Cards / form */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(20px, 3vw, 28px);
}

.card-form h2,
.card-list h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.subtle {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 14px;
}

/* Footer */
.site-footer {
  background: #0a0a0a;
  border-top: 1px solid var(--border);
  padding: clamp(32px, 5vw, 48px) 0 28px;
  margin-top: 0;
}

.footer-inner {
  min-width: 0;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px 32px;
}

.footer-col {
  min-width: 0;
}

.footer-col-brand {
  flex: 1 1 260px;
  max-width: 420px;
}

.footer-logo {
  text-decoration: none;
  display: inline-block;
  margin-bottom: 12px;
  line-height: 0;
}

.footer-site-name {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  line-height: 1.2;
  color: var(--text);
}

.footer-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  padding-top: 4px;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--yellow);
  border-bottom-color: rgba(245, 197, 24, 0.4);
  outline: none;
}

.footer-copy {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: #6b6b6f;
  text-align: center;
  line-height: 1.5;
}

.footer-company {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  justify-items: center;
  text-align: center;
}

.footer-company p {
  margin: 0;
}

.footer-company strong {
  color: var(--text);
  margin-right: 8px;
}

@media (max-width: 600px) {
  .footer-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  min-width: 0;
}

/* copiii din grid: altfel textarea/inputs ies din chenar (min-width implicit) */
.grid > * {
  min-width: 0;
}

label {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  gap: 8px;
  min-width: 0;
}

input,
select,
textarea {
  font: inherit;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  background: #0d0d0d;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #71717a;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.15);
}

.header-cereri {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.header-cereri .btn-ghost {
  margin: 0;
}

.lista-cereri {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.cerere {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  background: #0d0d0d;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

.cerere strong {
  color: var(--text);
}

.cerere small {
  color: #71717a;
}

.empty-state {
  color: var(--text-muted);
  margin: 0;
}

.mesaj {
  margin-top: 14px;
  min-height: 22px;
  font-size: 14px;
  font-weight: 600;
}

.mesaj.ok {
  color: #4ade80;
}

.mesaj.err {
  color: #f87171;
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px var(--pad-x);
  background: #1a1a1a;
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
}

.cookie-bar[hidden] {
  display: none;
}

.cookie-text {
  margin: 0;
  flex: 1 1 280px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 720px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn-cookie {
  margin: 0;
  padding: 10px 16px;
  font-size: 13px;
}

/* Mobile nav */
@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .nav-main {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #0a0a0a;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px var(--pad-x) 20px;
    gap: 0;
    display: none;
  }

  .nav-main.is-open {
    display: flex;
  }

  .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .logo-word {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .header-cereri {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    justify-content: flex-end;
  }
}

@keyframes tickerMove {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-45%);
  }
}

@keyframes truckMotion {
  0% {
    background-position: 46% 50%;
    transform: scale(1.05) translateX(-1.2%);
  }
  100% {
    background-position: 54% 50%;
    transform: scale(1.08) translateX(1.2%);
  }
}

@keyframes roadSpeed {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(30px);
  }
}
