/* ============================================
   ATOM LOGISTIC — Design tokens
   Navy #0A2463 + Red #E1121F, extrase din logo.
   Signature: "banda de temperatură" — un gradient
   de la -28°C (albastru) la +28°C (roșu), motiv
   recurent care leagă vizual identitatea de
   serviciul de bază: transportul frigorific.
   ============================================ */

:root {
  --navy: #0A2463;
  --navy-dark: #071638;
  --navy-soft: #16307a;
  --red: #E1121F;
  --red-dark: #B80E19;
  --ice: #F5F8FC;
  --page-bg: #F7F8FA;
  --section-alt-bg: #EEF1F6;
  --frost: #E7EEF8;
  --steel: #55637A;
  --steel-light: #8B96A8;
  --white: #FFFFFF;
  --line: #DEE6F0;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --container: 1160px;
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy-dark);
  background: var(--page-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy-dark);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--red);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--page-bg);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 106px;
}

.logo img { height: 82px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy-dark);
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switch {
  display: flex;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--steel-light);
}
.lang-switch button {
  background: none; border: none; cursor: pointer;
  color: var(--steel-light);
  font-family: var(--font-mono);
  padding: 2px 4px;
}
.lang-switch button.active { color: var(--navy); font-weight: 700; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-dark);
  margin: 5px 0;
}

/* ---------- Hero ---------- */

.hero {
  background: var(--navy);
  color: var(--white);
  padding: 90px 0 0;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 70px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero h1 .accent { color: var(--red); }

.hero p {
  color: #C7D2E8;
  font-size: 1.08rem;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.temp-gauge {
  background: var(--navy-soft);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 32px;
}

.temp-gauge-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #9FB0D0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.temp-range {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.temp-range span:last-child { color: #FF6B74; }

/* the signature temperature strip */
.temp-strip {
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, #3E8FE0 0%, #8FC1EE 30%, #F5F8FC 50%, #F2A78A 70%, var(--red) 100%);
  margin-bottom: 28px;
  position: relative;
}
.temp-strip::before,
.temp-strip::after {
  content: '';
  position: absolute;
  top: -4px;
  width: 2px;
  height: 18px;
  background: rgba(255,255,255,0.6);
}
.temp-strip::before { left: 0; }
.temp-strip::after { right: 0; }

.gauge-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
}

.gauge-stat .num {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
}
.gauge-stat .lbl {
  font-size: 0.82rem;
  color: #9FB0D0;
  margin-top: 2px;
}

.hero-strip-divider {
  height: 6px;
  background: linear-gradient(90deg, #3E8FE0 0%, #8FC1EE 25%, var(--navy) 50%, #F2A78A 75%, var(--red) 100%);
}

/* ---------- Section shell ---------- */

section { padding: 100px 0; }
.section-alt { background: var(--section-alt-bg); }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.section-head p {
  color: var(--steel);
  margin-top: 16px;
  font-size: 1.02rem;
}

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  background: var(--ice);
  padding: 40px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.service-card h3 .idx {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--red);
  font-weight: 600;
}

.service-card p {
  color: var(--steel);
  margin-bottom: 18px;
}

.service-card ul {
  list-style: none;
}
.service-card ul li {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--navy-dark);
  padding: 7px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-card ul li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--red);
  flex-shrink: 0;
}

.service-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--navy);
  background: var(--frost);
  padding: 8px 14px;
  border-radius: 3px;
  margin-top: 6px;
}

.countries-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.country-pill {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--steel);
}

/* ---------- Fleet ---------- */

.fleet-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.fleet-item {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}
.fleet-item:last-child { border-bottom: 1px solid var(--line); }

.fleet-item h4 { font-size: 1.05rem; margin-bottom: 6px; }
.fleet-item p { color: var(--steel); font-size: 0.92rem; }
.fleet-item .count {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
  font-size: 1rem;
}

.route-panel {
  background: var(--navy);
  color: var(--white);
  padding: 36px;
  border-radius: var(--radius);
}

.route-panel h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 24px;
}

.route-bar-row {
  margin-bottom: 20px;
}
.route-bar-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #C7D2E8;
  margin-bottom: 8px;
}
.route-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.14);
  border-radius: 3px;
  overflow: hidden;
}
.route-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #3E8FE0, var(--red));
  border-radius: 3px;
}

/* ---------- Careers ---------- */

.careers-band {
  background: var(--navy-dark);
  color: var(--white);
}

.careers-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.careers-layout .section-head h2,
.careers-layout .section-head p { color: var(--white); }
.careers-layout .section-head p { color: #B7C3DE; }

.careers-layout ul {
  list-style: none;
  margin: 28px 0 32px;
}
.careers-layout ul li {
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: #DCE4F2;
  font-size: 0.96rem;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.country-chip {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
}
.country-chip .code {
  font-family: var(--font-mono);
  color: var(--red);
  font-weight: 700;
  font-size: 0.82rem;
}
.country-chip .name {
  font-size: 0.86rem;
  margin-top: 4px;
  color: #DCE4F2;
}

/* ---------- About ---------- */

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

.about-card .num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 14px;
}
.about-card h4 { font-size: 1.05rem; margin-bottom: 10px; }
.about-card p { color: var(--steel); font-size: 0.92rem; }

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}

.contact-info h2 { font-size: 1.9rem; margin-bottom: 18px; }
.contact-info p { color: var(--steel); margin-bottom: 28px; }

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.contact-detail:last-child { border-bottom: 1px solid var(--line); }
.contact-detail .k {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel-light);
}
.contact-detail .v { font-size: 1.02rem; font-weight: 600; }

.contact-form {
  background: var(--ice);
  border: 1px solid var(--line);
  padding: 36px;
  border-radius: var(--radius);
}

.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--steel);
  margin-bottom: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--navy-dark);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}
.form-row textarea { resize: vertical; min-height: 110px; }

.hp-field { position: absolute; left: -9999px; }

.form-note {
  font-size: 0.82rem;
  color: var(--steel-light);
  margin-top: 12px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-dark);
  color: #B7C3DE;
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo img { height: 76px; margin-bottom: 18px; }
.footer-grid p { font-size: 0.92rem; line-height: 1.7; max-width: 340px; }

.footer-col h5 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.88rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; font-size: 0.92rem; }
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #7A88AA;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 106px;
    left: 0;
    right: 0;
    background: var(--page-bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
  }
  .main-nav a { padding: 14px 0; width: 100%; }
  .main-nav.is-open { display: flex; }
  .nav-toggle { display: block; }

  .hero .container { grid-template-columns: 1fr; padding-bottom: 50px; }
  .hero { padding-top: 50px; }

  .services-grid { grid-template-columns: 1fr; }
  .fleet-layout { grid-template-columns: 1fr; }
  .careers-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .country-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
