:root {
  color-scheme: light;
  --clr-bg: #f5f7fb;
  --clr-surface: #ffffff;
  --clr-primary: #0f1b33;
  --clr-accent: #0ea5e9; /* cyan-500 */
  --clr-accent-soft: rgba(14, 165, 233, 0.12);
  --clr-muted: #1B476A; /* updated muted text color from dark grey */
  --clr-border: rgba(15, 27, 51, 0.1);
  --clr-video-overlay: rgba(8, 13, 26, 0.5);
  --ff-sans: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* default subtle text block gradient tint (for light boxes) */
  
  --container-max: 1200px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --radius-sm: 10px;
  --radius-md: 18px;
  --shadow-sm: 0 12px 30px rgba(15, 27, 51, 0.08);
  --shadow-lg: 0 30px 60px rgba(15, 27, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--ff-sans);
  background: var(--clr-bg);
  color: var(--clr-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Page transition animations */
@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes page-fade-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(6px); }
}

body.page-enter {
  animation: page-fade-in 360ms ease-out both;
}

body.page-exit {
  animation: page-fade-out 260ms ease-in both;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  body.page-enter,
  body.page-exit {
    animation: none !important;
  }
}

/* Generic scroll-reveal for content (used on Despre noi) */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

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

a:hover,
a:focus {
  color: var(--clr-accent);
}

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

section {
  padding: var(--space-xl) var(--space-sm);
}

.freight-background {
  position: relative;
  isolation: isolate;
}

.freight-background::after {
  content: '';
  position: absolute;
  inset: -15% -10% -20%;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(14, 165, 233, 0.16), rgba(14, 165, 233, 0)),
    radial-gradient(120% 120% at 120% 10%, rgba(16, 71, 159, 0.12), rgba(16, 71, 159, 0));
  opacity: 0.45;
  mix-blend-mode: normal;
  pointer-events: none;
  z-index: -1;
  filter: none;
}

/* Reduce decorative blue haze on Services and About to avoid text overlap */
[data-page="services"] .freight-background::after,
[data-page="about"] .freight-background::after {
  opacity: 0.18;
  inset: -4% 0 -6%;
}

.container {
  margin: 0 auto;
  max-width: var(--container-max);
  width: min(100%, var(--container-max));
}

.button,
button,
input[type="submit"] {
  font: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: var(--clr-accent);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 14px 26px rgba(14, 165, 233, 0.25);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(14, 165, 233, 0.3);
}

.btn:hover,
.btn:focus,
.btn:focus-visible,
.btn:active {
  color: #fff;
}

.btn.is-secondary {
  background: var(--clr-primary);
  box-shadow: none;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
}

.section-heading span {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  color: var(--clr-muted);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(245, 247, 251, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-sm);
  gap: var(--space-md);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 999px;
  padding: 0.2rem 0.35rem;
}

.language-button {
  border: none;
  background: transparent;
  color: var(--clr-primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.language-button.active,
.language-button:hover,
.language-button:focus-visible {
  background: rgba(14, 165, 233, 0.22);
  color: var(--clr-primary);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--clr-primary);
}

.brand img {
  width: 140px;
  height: auto;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--clr-primary);
  font-size: 1.8rem;
  cursor: pointer;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-weight: 500;
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--clr-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after,
.nav-list .active > a::after {
  transform: scaleX(1);
}

.nav-list .cta-link {
  color: #fff;
  background: var(--clr-accent);
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(14, 165, 233, 0.24);
}

.nav-list .cta-link::after {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: transparent; /* no tint, show pure video */
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 1; /* ensure no white bleed-through from page background */
}

/* subtle blue overlay to keep video visible but tinted */
/* transparent dark blue overlay over the hero video */
/* Dark, transparent blue overlay over the hero video */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27, 71, 106, 0.6); /* #1B476A ~60% for dark but visible */
  z-index: -1; /* above video (-2), below content */
  pointer-events: none;
}

/* keep hero text readable on top of pure video */
.hero-content h1,
.hero-content p {
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
}

.hero .container {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.hero-content h1 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-content p {
  margin: 0 0 var(--space-md);
  font-size: 1.05rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  line-height: 1;
}

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

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  text-decoration: underline;
}

.breadcrumbs span[aria-hidden="true"] {
  opacity: 0.6;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-md);
  background: rgba(15, 27, 51, 0.3);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

/* Homepage: show hero metrics as 2 x 2 */
[data-page="index"] .hero-metrics {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 560px) {
  [data-page="index"] .hero-metrics { grid-template-columns: 1fr; }
}

/* Page hero metrics keep their own defaults later in file */

.hero-metrics .metric {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.metric strong {
  font-size: clamp(2rem, 3vw, 2.4rem);
  font-weight: 600;
}

.metric span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* Services */
.services {
  position: relative;
}

.services-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.88); /* liquid glass surface */
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.service-card p {
  margin: 0;
  color: var(--clr-muted);
}

.service-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--clr-muted);
}

/* Leadership feature */
.leadership-feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: clamp(var(--space-lg), 6vw, var(--space-xl));
  color: #fff;
}

.leadership-media {
  display: flex;
  justify-content: center;
}

.portrait-frame {
  position: relative;
  max-width: clamp(220px, 52vw, 420px);
  width: 100%;
  opacity: 1; /* visible by default to avoid disappearing if JS/observer fails */
  transform: none;
  transform-origin: center bottom;
  will-change: transform, opacity, filter;
}

/* Prepare state to enable pop-in animation only when JS opts-in */
/* Apply prepare state only when JS is active */
.js .portrait-frame.will-animate {
  opacity: 0;
  transform: translateY(48px) scale(0.94);
}

.portrait-frame::before {
  content: '';
  position: absolute;
  inset: -12% -10% -16%;
  border-radius: clamp(18px, 4vw, 36px);
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(46, 196, 255, 0.38) 0%, rgba(46, 196, 255, 0) 70%),
    radial-gradient(110% 140% at 80% 90%, rgba(8, 34, 74, 0.55) 0%, rgba(8, 34, 74, 0) 80%);
  filter: blur(18px);
  transform: scale(0.92) translateY(26px);
}

.portrait-frame img {
  display: block;
  border-radius: 0;
  box-shadow: none;
  will-change: transform, filter;
  filter: drop-shadow(0 24px 64px rgba(0, 0, 0, 0.28));
}

/* Scroll-triggered reveal for CEO portrait */
@keyframes portrait-reveal {
  0% {
    opacity: 0;
    transform: translateY(48px) scale(0.94);
  }
  55% {
    opacity: 1;
    transform: translateY(-6px) scale(1.015);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes portrait-aura {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(24px);
  }
  60% {
    opacity: 0.4;
    transform: scale(1.02) translateY(-4px);
  }
  100% {
    opacity: 0.18;
    transform: scale(1) translateY(0);
  }
}

.portrait-frame.pop-in-active {
  animation: portrait-reveal 1100ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
  backface-visibility: hidden;
}

.portrait-frame.pop-in-active::before {
  animation: portrait-aura 1400ms cubic-bezier(0.22, 0.61, 0.36, 1) 120ms forwards;
}

.portrait-frame.is-parallaxing img {
  transition: transform 0.35s ease, filter 0.35s ease;
}

/* Ensure portrait sits above decorative effects */
.portrait-frame { z-index: 2; }

/* Subtle parallax scaling during scroll */
.portrait-frame.is-parallaxing {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .portrait-frame { opacity: 1; transform: none !important; }
  .portrait-frame::before { display: none; }
  .portrait-frame.pop-in-active { animation: none; }
  .portrait-frame.is-parallaxing img { animation: none; }
  .wave-layer { animation: none; }
  .footer-wave__layer { animation: none; }
}

.leadership-content {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  color: #fff;
}

.glass-panel {
  background: linear-gradient(135deg, rgba(15, 27, 51, 0.78), rgba(14, 165, 233, 0.25));
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 4vw, 2.8rem);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lg);
}

.leadership-content .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.leadership-content h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.25;
}

.leadership-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.leadership-content .btn.is-secondary {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.leadership-content .btn.is-secondary:hover,
.leadership-content .btn.is-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

/* Signature styling for CEO blog */
.leadership-signature {
  margin: 0.75rem 0 var(--space-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

#leadership {
  position: relative;
  background:
    radial-gradient(circle at clamp(18rem, 26vw, 24rem) 30%, rgba(14, 165, 233, 0.4) 0%, rgba(14, 165, 233, 0) 65%),
    linear-gradient(160deg, rgba(9, 17, 34, 0.94), rgba(15, 27, 51, 0.98) 45%, rgba(18, 58, 89, 0.92));
  color: #fff;
  overflow: hidden;
  
}

#leadership::before,
#leadership::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.6;
}

#leadership::before {
  width: 420px;
  height: 420px;
  background: rgba(14, 165, 233, 0.35);
  top: -140px;
  right: -120px;
}

#leadership::after {
  width: 520px;
  height: 520px;
  background: rgba(255, 255, 255, 0.16);
  bottom: -220px;
  left: -160px;
}

#leadership .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .leadership-feature {
    text-align: center;
  }

  .leadership-content .btn.is-secondary {
    align-self: center;
  }
}

/* Continue the leadership gradient seamlessly into process */
#leadership { padding-bottom: 0; }

#leadership + #process {
  margin-top: 0;
  padding-top: 0;
}

#leadership + .section-divider {
  margin-top: 0;
}

.section-divider + #process {
  margin-top: 0;
}

.section-divider + #process .container {
  padding-top: calc(var(--space-lg) * 0.65);
}

.section-divider {
  position: relative;
  height: clamp(140px, 18vw, 210px);
  margin-top: -1px;
  overflow: hidden;
}

.section-divider--wave {
  background:
    linear-gradient(180deg, rgba(11, 19, 36, 0.05) 0%, rgba(11, 19, 36, 0.6) 55%, rgba(11, 19, 36, 0.92) 100%);
}

.wave-layer {
  position: absolute;
  inset: 0;
  width: 200%;
  height: 115%;
  left: -50%;
  transform: translateZ(0);
}

.wave-layer svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wave-layer path {
  filter: drop-shadow(0 36px 64px rgba(8, 15, 28, 0.38));
}

.wave-layer {
  animation: wave-slide 32s linear infinite;
}

.wave-layer--back {
  opacity: 0.55;
  animation-duration: 38s;
  animation-delay: -6s;
  animation-direction: alternate;
}

.wave-layer--front {
  opacity: 0.9;
  top: -6%;
  height: 118%;
  animation-duration: 24s;
  animation-delay: -3s;
}

.wave-haze {
  position: absolute;
  inset: -20% 0 12%;
  background:
    radial-gradient(100% 120% at 50% 10%, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 72%),
    radial-gradient(120% 90% at 50% 0%, rgba(189, 240, 255, 0.45) 0%, rgba(189, 240, 255, 0) 70%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.footer-wave {
  position: absolute;
  top: -105px;
  left: 0;
  width: 100%;
  height: 180px;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.footer-wave__layer {
  position: absolute;
  inset: 0;
  width: 220%;
  height: 118%;
  left: -60%;
  animation: wave-slide 34s linear infinite;
}

.footer-wave__layer svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: scaleY(-1);
}

.footer-wave__layer path {
  filter: drop-shadow(0 12px 26px rgba(12, 38, 68, 0.25));
}

.footer-wave__layer--back {
  opacity: 0.6;
  animation-duration: 32s;
  animation-delay: -4s;
}

.footer-wave__layer--front {
  opacity: 0.88;
  animation-duration: 24s;
  animation-delay: -2s;
}

.footer-wave__haze {
  position: absolute;
  inset: -16% 0 34%;
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(190, 242, 255, 0.48) 0%, rgba(190, 242, 255, 0) 56%),
    radial-gradient(120% 100% at 50% 10%, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0) 74%);
  mix-blend-mode: screen;
}

@media (max-width: 720px) {
  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .site-footer {
    padding: calc(var(--space-lg) + 120px) var(--space-sm) var(--space-lg);
  }
}

@keyframes wave-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--clr-muted);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  background: var(--clr-accent);
  box-shadow: 0 0 0 5px rgba(14, 165, 233, 0.15);
}

/* Process */
.process-flow {
  --process-gap: clamp(1.6rem, 3vw, 4rem);
  display: flex;
  gap: var(--process-gap);
  position: relative;
  overflow-x: auto;
  padding-bottom: calc(var(--space-sm) * 0.5);
  scroll-snap-type: x mandatory;
  justify-content: flex-start;
}

.process-flow::-webkit-scrollbar {
  height: 6px;
}

.process-flow::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(14,165,233,0.35), rgba(14,165,233,0.75));
  border-radius: 999px;
}

.process-step {
  position: relative;
  isolation: isolate;
  flex: 1 1 18rem;
  min-width: min(18rem, 85vw);
  scroll-snap-align: start;
}

.process-step::after,
.process-step::before {
  z-index: 0;
}

.process-step .step-card {
  position: relative;
  z-index: 1;
}

.process-step span {
  box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.18);
}

.process-step::after,
.process-step::before {
  content: '';
  position: absolute;
  pointer-events: none;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.process-step:last-child::after,
.process-step:last-child::before {
  display: none;
}

/* Process adopts the exact leadership gradient for a seamless flow */
#process {
  position: relative;
  background:
    radial-gradient(circle at clamp(18rem, 26vw, 24rem) 30%, rgba(14, 165, 233, 0.4) 0%, rgba(14, 165, 233, 0) 65%),
    linear-gradient(160deg, rgba(9, 17, 34, 0.94), rgba(15, 27, 51, 0.98) 45%, rgba(18, 58, 89, 0.92));
  color: #fff;
  overflow: hidden;
  /* Chevron composition variables */
  --chev-left: clamp(18px, 2.4vw, 28px);  /* left chevron depth */
  --chev-right: clamp(18px, 2.4vw, 28px); /* right chevron depth */
  /* legacy arrow vars kept for compatibility but unused below */
  --arrow-notch: 18px;
  --arrow-tip: 40px;
  /* Breadcrumb chevron chain variables */
  --crumb-tip:   clamp(40px, 4.6vw, 52px); /* right pointed tip */
  --crumb-notch: var(--crumb-tip);         /* match left cut to previous tip */
  --crumb-bevel: clamp(8px, 1.4vw, 12px);  /* small beveled top/bottom left edges */
}

/* Inner spacing within the dark section */
#process .container {
  padding: var(--space-lg) var(--space-sm);
}

#process .section-heading span { color: rgba(255,255,255,0.7); }
#process .section-heading h2 { color: #fff; }

/* Build a chained arrow effect */
#process .process-flow {
  gap: clamp(0.5rem, 1.6vw, 1rem); /* spaced breadcrumb chevrons */
  overflow: visible;            /* remove horizontal scrollbar */
  scroll-snap-type: none;       /* disable snap scrolling */
  flex-wrap: nowrap;            /* one line across breakpoints */
}
#process .process-flow .process-step {
  flex: 1 1 0;                  /* equal-width segments that can shrink */
  min-width: 0;                 /* force-fit to a single row */
}
#process .process-flow .process-step + .process-step { margin-left: 0; }
/* position context for connectors */
#process .process-step { position: relative; }
/* Tighter spacing for chained arrows */
#process .process-flow { --process-gap: clamp(0.75rem, 2vw, 1.5rem); }

#process .step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08); /* liquid glass surface */
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 36px rgba(15, 27, 51, 0.22);
  padding: var(--space-md);
  isolation: isolate;
  overflow: hidden;
  clip-path: none;
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
}

/* Add liquid glass sheen overlay; keep ::after unused */
#process .step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(1000px 320px at -10% -20%, rgba(255,255,255,0.16), rgba(255,255,255,0) 55%),
    radial-gradient(800px 300px at 110% 0%, rgba(255,255,255,0.08), rgba(255,255,255,0) 60%);
  mix-blend-mode: screen;
  opacity: 0.85;
}
#process .step-card::after { content: none !important; }

/* Uniform blocks; no special first item shape */
#process .step-card:first-child { clip-path: none; }

/* Remove any external connector arrows */
#process .process-step::after { content: none !important; display: none !important; }

/* All segments use the same chevron shape */

/* No separate arrowhead; shape handled by ::before to avoid overlap issues */
#process .step-card::after { display: none; }

#process .step-card h3 { color: #fff; }
#process .step-card p { color: rgba(255,255,255,0.82); }

/* Number badge styling on dark cards */
/* Use default badge styling from global .step-card */
#process .step-card span {
  background: rgba(14, 165, 233, 0.18);
  color: #bdf0ff;
  border: 1px solid rgba(189, 240, 255, 0.25);
  box-shadow: 0 6px 16px rgba(14,165,233,0.22);
}

/* Static cards: no hover lift */
@media (hover: hover) and (pointer: fine){
  #process .step-card { transition: none; }
}




/* Keep single row on mobile too, static */
@media (max-width: 767px) {
  #process .container {
    padding: calc(var(--space-lg) * 0.85) var(--space-sm);
  }

  #process .section-heading {
    text-align: center;
    gap: calc(var(--space-xs) * 0.75);
  }

  #process .process-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.1rem, 4vw, 1.6rem);
    overflow: visible;
  }

  #process .process-step {
    flex: none;
    min-width: 0;
    width: 100%;
  }

  #process .step-card {
    padding: clamp(1.1rem, 5vw, 1.6rem);
  }

  #process .step-card span {
    font-size: clamp(0.9rem, 3.4vw, 1.05rem);
    padding: clamp(0.4rem, 1.8vw, 0.55rem) clamp(0.65rem, 2.6vw, 0.85rem);
  }
}

@media (min-width: 768px) {
  #process .process-step { padding-bottom: var(--space-lg); position: relative; }

  /* Triangular connector to next card (right arrow) */
  #process .process-step::after {
    content: none;
    position: absolute;
    top: 50%;
    right: calc(-0.5 * (clamp(22px, 2.8vw, 38px)));
    width: clamp(22px, 2.8vw, 38px);
    height: 50px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, rgba(14,165,233,0.65), rgba(46,196,255,0.35));
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    filter: drop-shadow(0 10px 20px rgba(14,165,233,0.32));
    display: none !important;
  }

  #process .process-step:last-child::after { display: none !important; }
}

/* Subtle glass sheen overlay for key surfaces */
.service-card::before,
.feature-card::before,
.stats-stack .stat::before,
.list-simple li::before,
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(1000px 320px at -10% -20%, rgba(255,255,255,0.16), rgba(255,255,255,0) 55%),
    radial-gradient(800px 300px at 110% 0%, rgba(255,255,255,0.08), rgba(255,255,255,0) 60%);
  mix-blend-mode: screen;
}

.step-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--clr-accent-soft);
  color: var(--clr-accent);
  font-weight: 600;
}

.step-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.step-card p {
  margin: 0;
  color: var(--clr-muted);
}

/* Process section single animation aligned to the end */
/* .process-anim removed */

/* Fleet */
.fleet {
  background: var(--clr-surface);
}

.fleet-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  align-items: center;
}

.fleet-inner img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}



.fleet-matrix {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.matrix-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
}

.matrix-card::after {
  content: '';
  position: absolute;
  inset: -40% -40% 40% 40%;
  background: radial-gradient(70% 70% at 120% -20%, rgba(14,165,233,0.18), transparent);
  pointer-events: none;
}

.matrix-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--clr-muted);
  font-weight: 600;
}

.matrix-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
}

.matrix-card p {
  margin: 0;
  color: var(--clr-muted);
}

.package-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.package-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  position: relative;
  overflow: hidden;
}

.package-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 60% at 120% -20%, rgba(14,165,233,0.12), transparent);
}

.package-card header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  z-index: 1;
}

.package-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-muted);
}

.package-card h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.package-card p {
  margin: 0;
  color: var(--clr-muted);
  position: relative;
  z-index: 1;
}

/* Partners */
.partners-strip {
  background: rgba(255,255,255,0.7);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid rgba(255,255,255,0.5);
  overflow: hidden;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.partners-strip .track {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  will-change: transform;
}

.partners-strip img {
  max-height: 48px;
  filter: saturate(0) contrast(0.9);
  opacity: 0.7;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.partners-strip img:hover,
.partners-strip img:focus {
  filter: saturate(1);
  opacity: 1;
}

/* Partners marquee animation: distance set via CSS var for seamless loop */
@keyframes partners-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--marquee-distance, 50%))); }
}

#partners .partners-strip .track {
  animation: partners-marquee var(--marquee-duration, 22s) linear infinite;
  will-change: transform;
}

@media (hover: hover){
  #partners .partners-strip:hover .track { animation-play-state: paused; }
}

/* Testimonials */
.testimonials {
  position: relative;
  color: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: 0 30px 60px rgba(15, 27, 51, 0.28);
  /* Match the leadership section's deep blue with a soft cyan glow */
  background:
    radial-gradient(circle at clamp(18rem, 26vw, 24rem) 30%, rgba(14, 165, 233, 0.35) 0%, rgba(14, 165, 233, 0) 65%),
    linear-gradient(160deg, rgba(9, 17, 34, 0.94), rgba(15, 27, 51, 0.98) 45%, rgba(18, 58, 89, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
}

/* Add breathing room above footer on Contact page CTA band */
[data-page="contact"] section.testimonials { margin-bottom: var(--space-xl); }

/* liquid glass sheen */
.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(1200px 420px at -10% -20%, rgba(255,255,255,0.20), rgba(255,255,255,0) 55%),
    radial-gradient(900px 360px at 110% 0%, rgba(255,255,255,0.10), rgba(255,255,255,0) 60%);
  mix-blend-mode: screen;
  opacity: 0.85;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.testimonial {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.testimonial p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.testimonial .author {
  font-weight: 600;
  color: #fff;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
  align-items: start;
}

.contact-card {
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.6);
  display: grid;
  gap: 1rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.contact-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.contact-card li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--clr-muted);
}

.contact-card li strong {
  color: var(--clr-primary);
  font-weight: 600;
}

.contact-form {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 27, 51, 0.12);
  background: #f8f9fc;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(14, 165, 233, 0.6);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
  background: #fff;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form .form-status {
  display: block;
  margin-top: 0.5rem;
  margin-bottom: -0.25rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  background: rgba(14, 165, 233, 0.08);
  color: var(--clr-muted);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-form .form-status.is-info {
  background: rgba(14, 165, 233, 0.12);
  color: #0f4f74;
}

.contact-form .form-status.is-success {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
}

.contact-form .form-status.is-error {
  background: rgba(239, 68, 68, 0.12);
  color: #991b1b;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: calc(var(--space-xl) + 10px) var(--space-sm) calc(var(--space-lg) + 10px);
  background: linear-gradient(180deg, rgba(144, 232, 255, 0.55) 0%, rgba(42, 126, 196, 0.58) 42%, rgba(7, 27, 53, 0.9) 100%);
  color: rgba(235, 244, 255, 0.97);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  align-items: center;
  position: relative;
  z-index: 1;
}

.footer-watermark {
  font-weight: 600;
  color: rgba(192, 229, 255, 0.92);
  letter-spacing: 0.02em;
}

.footer-watermark:hover,
.footer-watermark:focus-visible {
  color: #4ecbff;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(193, 225, 255, 0.28);
  background: rgba(21, 102, 162, 0.16);
  color: rgba(214, 236, 255, 0.92);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-social .social-link:hover,
.footer-social .social-link:focus-visible {
  background: rgba(78, 203, 255, 0.3);
  border-color: rgba(78, 203, 255, 0.6);
  color: #fff;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  display: block;
}

.site-footer a {
  font-weight: 500;
  color: rgba(145, 220, 255, 0.95);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #6fd7ff;
}

/* About page extras */
.hero--compact {
  min-height: 60vh;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
  align-items: start;
}

/* About 8: Logistics animation panel */
#about-direction .container { align-items: center; }
.logistics-wrap {
  position: relative;
  min-height: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-radius: 0;
  overflow: visible;
}

/* Static image variant */
.logistics-wrap .logistics-image {
  width: min(480px, 100%);
  height: auto;
  display: block;
}

/* Overlay for jumping dots */
.dots-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Hub pulse */
.logistics-wrap .hub circle:first-child { filter: drop-shadow(0 6px 12px rgba(14,165,233,0.35)); }
.logistics-wrap .hub circle:last-child { animation: hub-pulse 1800ms ease-out infinite; transform-origin: center; }

@keyframes hub-pulse {
  0% { transform: scale(0.8); opacity: 0.22; }
  60% { transform: scale(1.2); opacity: 0.08; }
  100% { transform: scale(1.35); opacity: 0; }
}

@media (max-width: 900px) {
  .logistics-wrap { min-height: unset; }
  .logistics-wrap .logistics-image { width: min(320px, 100%); }
}

@media (max-width: 640px) {
  .logistics-wrap { min-height: unset; }
  .logistics-wrap .logistics-image { width: min(260px, 100%); }
}

/* (removed globe styles for About 8) */

.card-grid {
  display: grid;
  gap: var(--space-md);
}

.card {
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.stats-bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-md);
  color: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: 0 30px 60px rgba(15, 27, 51, 0.28);
  background:
    radial-gradient(circle at clamp(18rem, 26vw, 24rem) 30%, rgba(14, 165, 233, 0.35) 0%, rgba(14, 165, 233, 0) 65%),
    linear-gradient(160deg, rgba(9, 17, 34, 0.94), rgba(15, 27, 51, 0.98) 45%, rgba(18, 58, 89, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  /* center all metric items and text */
  justify-items: center;
  text-align: center;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(1100px 360px at -10% -20%, rgba(255,255,255,0.20), rgba(255,255,255,0) 55%),
    radial-gradient(900px 320px at 110% 0%, rgba(255,255,255,0.10), rgba(255,255,255,0) 60%);
  mix-blend-mode: screen;
  opacity: 0.85;
}

.stats-bar .stat-number {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

/* Center all numbers uniformly (remove previous nudge) */
.stats-bar > div:first-child .stat-number { margin-left: 0; }

.stats-bar .stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.timeline {
  display: grid;
  gap: var(--space-md);
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.4rem;
  top: 0.2rem;
  bottom: 0.2rem;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.2) 0%, rgba(14, 165, 233, 0.6) 100%);
  width: 2px;
}

.t-item {
  position: relative;
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.t-item::before {
  content: '';
  position: absolute;
  left: -1.05rem;
  top: 1.4rem;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--clr-accent);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

.member {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
}

.member img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  /* Nudge visible area down a bit so faces sit lower */
  object-position: 50% 40%;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

/* Fine-tune lower crop for specific images */
.member img[src$="echipa/IMG_5074.jpg"] {
  object-position: 50% 10%;
}

.member img[src$="echipa/fata.jpeg"] {
  object-position: 50% 20%;
}

.member-role {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.16);
  color: var(--clr-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}


.member-links {
  margin-top: var(--space-sm);
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.member-link {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: var(--clr-accent);
  border: 1px solid rgba(14, 165, 233, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.member-link--whatsapp {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.35);
  color: var(--clr-accent);
  box-shadow: 0 10px 22px rgba(14, 165, 233, 0.16);
}

.member-link--whatsapp:hover,
.member-link--whatsapp:focus-visible,
.member-link:not(.member-link--whatsapp):hover,
.member-link:not(.member-link--whatsapp):focus-visible {
  background: rgba(14, 165, 233, 0.22);
  color: #0b76b4;
  transform: translateY(-2px);
}

.member-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

.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;
}

.cta-band {
  position: relative;
  /* Match article.testimonial transparency */
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  justify-content: space-between;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: none;
}

/* Generic page layouts */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--space-xl) * 1.1) var(--space-sm) var(--space-xl);
  background: linear-gradient(140deg, rgba(15, 27, 51, 0.92) 0%, rgba(15, 27, 51, 0.75) 48%, rgba(29, 78, 216, 0.7) 100%);
  color: #fff;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255, 255, 255, 0.18) 0%, transparent 55%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.page-hero h1 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 600;
}

.page-hero p {
  margin: 0 0 var(--space-md);
  color: rgba(255, 255, 255, 0.78);
  max-width: 42ch;
}

/* Optional hero illustration on internal pages */
.page-hero .hero-graphic {
  margin: var(--space-sm) 0 var(--space-sm);
}

.page-hero .hero-graphic img {
  display: block;
  width: min(100%, 620px);
  height: auto;
  opacity: 0.55; /* lower opacity as requested */
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-hero-metrics {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

/* (reverted) keep Despre noi metrics in default flow */

.page-hero-metrics .metric {
  background: rgba(15, 27, 51, 0.45);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.page-hero-metrics strong {
  display: block;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.page-hero-metrics span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

/* Force 2 per row and let width follow text on Services, Fleet and About */
[data-page="services"] .page-hero-metrics,
[data-page="fleet"] .page-hero-metrics,
[data-page="about"] .page-hero-metrics {
  grid-template-columns: repeat(2, 1fr);
}

[data-page="services"] .page-hero-metrics .metric,
[data-page="fleet"] .page-hero-metrics .metric,
[data-page="about"] .page-hero-metrics .metric {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 110px; /* more square-like */
}

@media (max-width: 640px) {
  [data-page="services"] .page-hero-metrics,
  [data-page="fleet"] .page-hero-metrics,
  [data-page="about"] .page-hero-metrics {
    grid-template-columns: 1fr;
  }
}

/* Ensure headings break onto their own line to keep boxes squarish */
.hero-metrics .metric strong { display: block; }
.page-hero-metrics .metric strong { display: block; }

/* Make homepage metric boxes similar height for a squarer look */
.hero-metrics .metric { min-height: 100px; }

/* Servicii: background image behind text, similar to homepage video */
.page-hero--servicii {
  /* Darker overlay over the photo for readability */
  background: linear-gradient(0deg, rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../trucks1.jpg');
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat;
}

/* Disable the default page-hero radial overlay on this section */
.page-hero--servicii::after {
  content: none;
}

/* Despre noi: subtle team background with light grey overlay */
.page-hero--despre {
  background: linear-gradient(0deg, rgba(0,0,0,0.64), rgba(0,0,0,0.64)), url('../move_team.png');
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat;
}

.page-hero--despre::after {
  content: none;
}

/* Rețea & Tehnologie: background image with neutral grey overlay */
.page-hero--flota {
  background: linear-gradient(0deg, rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('../truck_cargo2.jpg');
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat;
}

.page-hero--flota::after {
  content: none;
}

/* Contact: background image with neutral grey overlay */
.page-hero--contact {
  background: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('plane.jpeg');
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat;
}

.page-hero--contact::after {
  content: none;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
  align-items: start;
}

/* (reverted) removed rotating globe styles */

.service-overview {
  display: grid;
  gap: var(--space-md);
}

.service-overview p {
  color: var(--clr-muted);
  margin: 0;
}

.feature-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg) var(--space-md);
  display: grid;
  gap: 0.75rem;
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.feature-card strong {
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--clr-muted);
}

/* Hover / focus animation for feature cards (e.g., PROCES) */
.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.35);
}

/* Subtle sheen motion on hover to add depth */
.feature-card::before {
  transition: transform 0.35s ease, opacity 0.3s ease;
  opacity: 0.9;
}

.feature-card:hover::before,
.feature-card:focus-within::before {
  transform: translateY(-4px);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .feature-card::before {
    transition: none;
  }
}

.stats-stack {
  display: grid;
  gap: var(--space-md);
}

.stats-stack .stat {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
}

.stats-stack .stat strong {
  font-size: 1.6rem;
  font-weight: 600;
}

.stats-stack .stat span {
  color: var(--clr-muted);
}

.list-simple {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.list-simple li {
  position: relative;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--clr-muted);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
}

.list-simple li strong {
  display: block;
  font-weight: 600;
  color: var(--clr-primary);
}

.quote-card {
  background: var(--clr-primary);
  color: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.quote-card p {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Blue liquid-glass variant for quote cards (Flota page) */
.quote-card.is-glass-blue {
  position: relative;
  background:
    radial-gradient(circle at clamp(18rem, 26vw, 24rem) 30%, rgba(14, 165, 233, 0.35) 0%, rgba(14, 165, 233, 0) 65%),
    linear-gradient(160deg, rgba(9, 17, 34, 0.94), rgba(15, 27, 51, 0.98) 45%, rgba(18, 58, 89, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 30px 60px rgba(15, 27, 51, 0.28);
}

.quote-card.is-glass-blue::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(1100px 360px at -10% -20%, rgba(255,255,255,0.20), rgba(255,255,255,0) 55%),
    radial-gradient(900px 320px at 110% 0%, rgba(255,255,255,0.10), rgba(255,255,255,0) 60%);
  mix-blend-mode: screen;
  opacity: 0.85;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pill-grid li {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.1);
  color: var(--clr-accent);
  font-weight: 500;
}

.accordion {
  display: grid;
  gap: 0.75rem;
}

.accordion details {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-sm);
}

.accordion summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  list-style: none;
}

.accordion summary::marker,
.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion details[open] summary {
  color: var(--clr-accent);
}

.accordion p {
  margin: 0.75rem 0 0;
  color: var(--clr-muted);
}

.map-embed {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  width: 100%;
  aspect-ratio: 4 / 3; /* keep consistent 4:3 map ratio */
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.contact-info-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-info-grid .info-card {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.info-card span {
  display: block;
  margin-top: 0.4rem;
  color: var(--clr-muted);
}

.table-grid {
  width: 100%;
  border-collapse: collapse;
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
}

.table-grid thead {
  /* Use brand accent (logo light blue) with slight transparency */
  background: #0ea5e926; /* ~15% alpha of #0ea5e9 */
}

.table-grid th,
.table-grid td {
  text-align: left;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--clr-border);
}

.table-grid tr:last-child td {
  border-bottom: none;
}

.tiles {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tile {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md);
  display: grid;
  gap: 0.75rem;
}

.tile p {
  margin: 0;
  color: var(--clr-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .site-header .container {
    padding-inline: var(--space-sm);
  }

  .header-controls {
    gap: var(--space-sm);
  }

  .language-switcher {
    padding: 0.15rem 0.25rem;
  }

  .language-button {
    font-size: 0.75rem;
    padding: 0.2rem 0.45rem;
  }

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

  .nav-list {
    position: fixed;
    inset: 72px 1rem auto;
    padding: var(--space-md);
    background: rgba(15, 27, 51, 0.96);
    border-radius: var(--radius-md);
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    transform: scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    color: #fff;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }

  .nav-list.open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .nav-list a::after {
    display: none;
  }

  .nav-list .cta-link {
    background: #fff;
    color: var(--clr-primary);
    box-shadow: none;
  }

  .hero .container {
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-metrics {
    text-align: center;
  }
}

@media (max-width: 640px) {
  section {
    padding: var(--space-lg) var(--space-sm);
  }

  .hero {
    min-height: auto;
  }

  .hero video {
    display: block; /* keep video visible on small screens */
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: left;
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 2.4rem);
  }

  .hero-content p {
    margin: 0 0 var(--space-md);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    text-align: left;
  }

  .page-hero {
    padding: var(--space-xl) var(--space-sm) var(--space-lg);
  }

  .page-hero .container {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .page-hero-metrics {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .capabilities,
  .split-grid,
  .grid-two,
  .feature-grid,
  .services-grid,
  .process-grid,
  .team-grid,
  .tiles,
  .contact-info-grid,
  .stats-bar,
  .testimonials-grid {
    gap: var(--space-md);
  }

  .capabilities .highlight,
  .cta-band,
  .quote-card {
    padding: var(--space-md);
  }

  .cta-band {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cta-band .btn {
    width: 100%;
  }

  .table-grid {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-grid th,
  .table-grid td {
    padding: 0.75rem 0.9rem;
    white-space: nowrap;
  }

  .map-embed { aspect-ratio: 4 / 3; }

  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }
}
