/* CargO landing — tokens aligned with cargo_client CargoTheme */
:root {
  --cargo-primary: #ff6b00;
  --cargo-primary-dark: #e55a00;
  --cargo-secondary: #1a1a2e;
  --cargo-accent: #00d4aa;
  --cargo-bg: #f5f5f7;
  --cargo-surface: #ffffff;
  --cargo-text: #1a1a2e;
  --cargo-muted: #6b7280;
  --cargo-navy-deep: #0f3460;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-soft: 0 24px 80px rgba(26, 26, 46, 0.12);
  --header-h: 72px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

html { scroll-behavior: smooth; }

body.landing-body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--cargo-bg);
  color: var(--cargo-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

[dir="rtl"] body.landing-body { text-align: right; }

.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  background: rgba(245, 245, 247, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(26, 26, 46, 0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.landing-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 0 rgba(26, 26, 46, 0.06);
}

.landing-logo {
  font-weight: 800;
  font-size: clamp(1.45rem, 1.35rem + 0.5vw, 1.85rem);
  letter-spacing: -0.03em;
  color: var(--cargo-secondary);
  text-decoration: none;
  line-height: 1.1;
}

.landing-logo__o {
  background: linear-gradient(180deg, #ffb347 0%, #ff6b00 52%, #e55a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.landing-logo--footer {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(1.55rem, 1.45rem + 0.45vw, 1.95rem);
  letter-spacing: -0.03em;
}

.landing-logo--plate {
  font-size: clamp(1.35rem, 1.2rem + 0.4vw, 1.55rem);
  margin: 0;
  text-align: center;
  padding: 10px 20px;
  border-radius: 14px;
  background: var(--cargo-surface);
  box-shadow: 0 8px 32px rgba(26, 26, 46, 0.1);
  border: 1px solid rgba(26, 26, 46, 0.06);
}

.landing-footer__brand {
  margin: 0 0 8px;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 20px);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.landing-nav a {
  color: var(--cargo-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.landing-nav a:hover {
  color: var(--cargo-secondary);
  background: rgba(26, 26, 46, 0.05);
}

.landing-lang {
  font-size: 0.85rem;
  border: 1px solid rgba(26, 26, 46, 0.12);
  border-radius: 10px;
  padding: 6px 10px;
  background: var(--cargo-surface);
  color: var(--cargo-text);
}

.landing-lang--flags {
  min-width: 8.5rem;
}

main.landing-main { padding-top: var(--header-h); }

.landing-hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: grid;
  align-items: center;
  padding: clamp(32px, 8vw, 100px) clamp(20px, 5vw, 48px);
  overflow: hidden;
  background: linear-gradient(165deg, var(--cargo-navy-deep) 0%, var(--cargo-secondary) 45%, #1e1e2e 100%);
  color: #fff;
}

.landing-hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  object-fit: cover;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.landing-hero__glow {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  top: -20%;
  right: -15%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.35) 0%, transparent 55%);
  pointer-events: none;
  animation: hero-glow 14s ease-in-out infinite alternate;
}

@keyframes hero-glow {
  from { transform: translate(0, 0) scale(1); opacity: 0.5; }
  to { transform: translate(-5%, 5%) scale(1.08); opacity: 0.75; }
}

.landing-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
}

.landing-hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 1rem;
  opacity: 0;
  transform: translateY(28px);
}

.landing-hero h1.is-visible {
  animation: rise-fade 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.landing-hero .lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 36rem;
  margin: 0 0 2rem;
  opacity: 0;
  transform: translateY(20px);
}

.landing-hero .lead.is-visible {
  animation: rise-fade 0.85s 0.12s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes rise-fade {
  to { opacity: 1; transform: translateY(0); }
}

.landing-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  transform: translateY(16px);
}

.landing-cta-row.is-visible {
  animation: rise-fade 0.8s 0.22s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--cargo-primary) 0%, #ff8a3d 100%);
  color: #fff;
  box-shadow: 0 12px 40px rgba(255, 107, 0, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 16px 48px rgba(255, 107, 0, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }

.btn-dark {
  background: var(--cargo-secondary);
  color: #fff;
}

.btn-dark:hover { background: #252540; }

.section {
  padding: clamp(56px, 10vw, 120px) clamp(20px, 5vw, 48px);
}

.section--alt { background: var(--cargo-surface); }

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  text-align: center;
}

.section__lead {
  text-align: center;
  color: var(--cargo-muted);
  max-width: 40rem;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.split {
  display: grid;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
}

.split img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.services-showcase {
  max-width: 1120px;
  margin: 0 auto 3rem;
}

.services-showcase__figure {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.services-showcase__photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52vh, 460px);
  object-fit: cover;
}

.drivers-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drivers-visual__photo {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.drivers-visual__hint {
  margin: 14px 0 0;
  font-size: 0.92rem;
}

.drivers-visual__hint a {
  color: var(--cargo-primary);
  font-weight: 600;
  text-decoration: none;
}

.drivers-visual__hint a:hover {
  text-decoration: underline;
}

.section--driver-flow {
  background: linear-gradient(180deg, #eef0f5 0%, var(--cargo-bg) 45%, var(--cargo-bg) 100%);
}

.driver-flow {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.driver-flow__lead {
  margin-bottom: 2.5rem !important;
}

.driver-flow__steps {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  text-align: start;
  display: grid;
  gap: 18px;
}

@media (min-width: 768px) {
  .driver-flow__steps {
    gap: 22px;
  }
}

.driver-flow__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 22px 22px 18px;
  background: var(--cargo-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 26, 46, 0.06);
  box-shadow: 0 8px 28px rgba(26, 26, 46, 0.05);
}

.driver-flow__num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, var(--cargo-primary) 0%, #ff8a3d 100%);
  flex-shrink: 0;
}

.driver-flow__step-title {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
}

.driver-flow__detail {
  margin: 0;
  color: var(--cargo-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.driver-flow__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.card-grid {
  display: grid;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--cargo-surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(26, 26, 46, 0.06);
  box-shadow: 0 4px 24px rgba(26, 26, 46, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(26, 26, 46, 0.08);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.15), rgba(0, 212, 170, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--cargo-primary);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--cargo-muted);
  font-size: 0.92rem;
}

.contact-form {
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cargo-muted);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(26, 26, 46, 0.12);
  font: inherit;
  background: var(--cargo-surface);
}

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

.alert-ok {
  background: rgba(0, 212, 170, 0.15);
  color: #0a5c4a;
  padding: 12px 16px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
}

.landing-footer {
  padding: 40px clamp(20px, 5vw, 48px);
  background: var(--cargo-secondary);
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  font-size: 0.9rem;
}

.landing-footer a { color: var(--cargo-accent); }

.landing-footer__legal {
  margin: 1rem 0 0;
  font-size: 0.88rem;
}

.landing-footer__legal a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Legal / privacy policy */
.legal-header {
  position: relative;
}

.legal-main {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 32px) clamp(20px, 4vw, 48px) 64px;
}

.legal-article h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--cargo-secondary);
}

.legal-meta {
  color: var(--cargo-muted);
  font-size: 0.95rem;
  margin: 0 0 2rem;
}

.legal-article h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  color: var(--cargo-secondary);
}

.legal-article p,
.legal-article li {
  color: var(--cargo-text);
  line-height: 1.65;
  font-size: 1rem;
}

.legal-article p { margin: 0 0 1rem; }

.legal-article ul {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

.legal-article li { margin-bottom: 0.5rem; }

.legal-article a {
  color: var(--cargo-primary-dark);
  word-break: break-word;
}
