/* =========================================================
   SIFO TRANSPORT & LOGISTICS — STYLESHEET
   Theme: Deep Navy #0F172A | Bold Orange #EA580C | White/Light Gray
   ========================================================= */

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0F172A;
  --navy-mid:    #1E293B;
  --navy-light:  #334155;
  --orange:      #EA580C;
  --orange-dark: #C2410C;
  --orange-light:#F97316;
  --white:       #ffffff;
  --text-on-dark:#F8FAFC;   /* text on the dark theme; --white is translucent there */
  --light:       #F8FAFC;
  --gray:        #94A3B8;
  --gray-light:  #E2E8F0;
  --text:        #1E293B;
  --text-light:  #64748B;

  --font-heading: 'Oswald', sans-serif;
  --font-body:    'Roboto', sans-serif;

  --radius:    14px;
  --radius-sm:  8px;
  --shadow:    0 4px 24px rgba(15,23,42,0.10);
  --shadow-lg: 0 16px 48px rgba(15,23,42,0.18);
  --transition: all 0.32s cubic-bezier(0.4,0,0.2,1);
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: var(--font-body); }
body.no-scroll { overflow: hidden; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--orange);
  color: var(--text-on-dark);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234,88,12,0.38);
}

.btn-outline {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-dark:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-large { padding: 16px 34px; font-size: 1rem; }

/* ── Section Shared ──────────────────────────────────────── */
.section-tag {
  display: inline-block;
  background: rgba(234,88,12,0.1);
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(234,88,12,0.22);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Scroll Animations ───────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAVBAR ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding: 20px 0;
}

.navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
  padding: 12px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-on-dark);
  transition: var(--transition);
  flex-shrink: 0;
}
.nav-logo:hover .logo-icon { background: var(--orange-dark); }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-main {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: 2px;
}
.logo-sub {
  font-size: 0.52rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 3.5px;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.78);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-transform: uppercase;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text-on-dark);
  background: rgba(255,255,255,0.1);
}

.nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-cta { padding: 10px 20px; font-size: 0.8rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 100px;
  overflow: hidden;
  text-align: center;
}

/* Orange diagonal stripe */
.hero-diagonal {
  position: absolute;
  inset: 0;
  clip-path: polygon(60% 0, 100% 0, 100% 100%, 75% 100%);
  background: linear-gradient(160deg, rgba(234,88,12,0.18) 0%, rgba(234,88,12,0.05) 100%);
  pointer-events: none;
}
.hero-diagonal::after {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: polygon(70% 0, 100% 0, 100% 60%);
  background: rgba(234,88,12,0.12);
}

/* Grid overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(234,88,12,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234,88,12,0.04) 1px, transparent 1px);
  background-size: 55px 55px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

/* Hero entry animations */
.animate-hero {
  opacity: 0;
  transform: translateY(28px);
  animation: heroFadeUp 0.8s ease forwards;
}
.animate-hero.delay-1 { animation-delay: 0.2s; }
.animate-hero.delay-2 { animation-delay: 0.38s; }
.animate-hero.delay-3 { animation-delay: 0.56s; }

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234,88,12,0.14);
  border: 1px solid rgba(234,88,12,0.3);
  color: var(--orange-light);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 24px;
  margin-bottom: 26px;
  letter-spacing: 0.5px;
}
.hero-badge i { font-size: 0.9rem; }

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 700;
  color: var(--text-on-dark);
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero-accent {
  color: var(--orange);
  position: relative;
  display: inline-block;
}
.hero-accent::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0; right: 0;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
  animation: accentLine 0.7s ease 0.9s both;
  transform-origin: left;
}
@keyframes accentLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.hero-subtitle {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.38);
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 1.2s forwards;
}
.scroll-arrow {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, rgba(234,88,12,0.65), transparent);
  animation: scrollBounce 1.8s ease infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50%       { transform: scaleY(1.3); opacity: 1; }
}

/* ── STATS ───────────────────────────────────────────────── */
.stats-section {
  background: var(--orange);
  position: relative;
  z-index: 1;
}

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

.stat-card {
  padding: 44px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.18);
  transition: var(--transition);
  cursor: default;
}
.stat-card:last-child { border-right: none; }
.stat-card:hover { background: rgba(0,0,0,0.07); }

.stat-icon {
  font-size: 1.9rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-on-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  letter-spacing: 0.4px;
}

/* ── SERVICES ────────────────────────────────────────────── */
.services-section {
  padding: 100px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 38px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(234,88,12,0.35);
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: var(--orange);
  margin-bottom: 22px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--orange);
  color: var(--text-on-dark);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-features { display: flex; flex-direction: column; gap: 7px; }
.service-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  color: var(--text-light);
}
.service-features li i { color: var(--orange); font-size: 0.7rem; flex-shrink: 0; }

/* ── WHY CHOOSE US ───────────────────────────────────────── */
.why-section {
  padding: 100px 0;
  background: var(--light);
}

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

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px 28px;
  text-align: center;
  border: 1.5px solid var(--gray-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.38s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(234,88,12,0.25);
}
.why-card:hover::before { transform: scaleX(1); }

.why-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--orange);
  margin: 0 auto 22px;
  transition: var(--transition);
}
.why-card:hover .why-icon {
  background: var(--orange);
  color: var(--text-on-dark);
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.why-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── TRACKING CTA SECTION ────────────────────────────────── */
.tracking-cta-section {
  background: var(--navy-mid);
  padding: 80px 0;
}

.tracking-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.tracking-cta-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 10px;
}
.tracking-cta-text p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
}

.tracking-form {
  display: flex;
  gap: 12px;
  flex: 1;
  min-width: 320px;
  max-width: 580px;
}

.tracking-input-wrap {
  position: relative;
  flex: 1;
}
.tracking-input-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  pointer-events: none;
}
.tracking-input-wrap input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  color: var(--text-on-dark);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}
.tracking-input-wrap input::placeholder { color: rgba(255,255,255,0.38); }
.tracking-input-wrap input:focus {
  border-color: var(--orange);
  background: rgba(255,255,255,0.12);
}

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonials-section {
  padding: 100px 0;
  background: var(--white);
}

.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.48s cubic-bezier(0.25,0.46,0.45,0.94);
  cursor: grab;
}
.testimonials-track:active { cursor: grabbing; }

.testimonial-card {
  min-width: 100%;
  padding: 52px 64px;
  background: var(--light);
  border-radius: var(--radius);
  border-left: 5px solid var(--orange);
  box-shadow: var(--shadow);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  color: #FBBF24;
  margin-bottom: 22px;
  font-size: 1rem;
}

.testimonial-text {
  font-size: 1.06rem;
  color: var(--text);
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 28px;
  position: relative;
  padding-left: 24px;
}
.testimonial-text::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 4.5rem;
  color: rgba(234,88,12,0.18);
  position: absolute;
  top: -16px; left: -8px;
  line-height: 1;
  pointer-events: none;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--orange);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.author-info { display: flex; flex-direction: column; gap: 3px; }
.author-info strong { color: var(--navy); font-size: 0.95rem; }
.author-info span   { color: var(--gray); font-size: 0.82rem; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.carousel-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--light);
  border: 2px solid var(--gray-light);
  color: var(--navy);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.carousel-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--text-on-dark);
}

.carousel-dots { display: flex; gap: 8px; align-items: center; }
.dot {
  width: 10px; height: 10px;
  border-radius: 5px;
  background: var(--gray-light);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.dot.active {
  background: var(--orange);
  width: 26px;
}

/* ── CTA BANNER ──────────────────────────────────────────── */
.cta-banner-section {
  background: var(--navy);
  padding: 90px 0;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-banner-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 14px;
  line-height: 1.2;
}
.cta-banner-text p {
  color: rgba(255,255,255,0.62);
  font-size: 1.02rem;
  max-width: 520px;
  line-height: 1.7;
}

.cta-banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-section {
  padding: 100px 0;
  background: var(--light);
}

.contact-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 42px 34px;
  color: var(--text-on-dark);
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-on-dark);
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-item:last-of-type { border-bottom: none; }

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(234,88,12,0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
  font-size: 0.92rem;
}

.contact-item div { display: flex; flex-direction: column; gap: 3px; }
.contact-item strong { color: var(--white); font-size: 0.88rem; }
.contact-item span  { color: rgba(255,255,255,0.52); font-size: 0.85rem; }

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.contact-social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  transition: var(--transition);
}
.contact-social a:hover {
  background: var(--orange);
  color: var(--text-on-dark);
}

/* Quote Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 42px 38px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.3px;
}
.form-group label span { color: var(--orange); }

.input-icon-wrap { position: relative; }
.input-icon-wrap > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  font-size: 0.85rem;
  pointer-events: none;
}

.input-icon-wrap input,
.input-icon-wrap select {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: var(--transition);
  background: var(--white);
  appearance: none;
}
.input-icon-wrap input:focus,
.input-icon-wrap select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(234,88,12,0.1);
}
.input-icon-wrap input.input-error,
.input-icon-wrap select.input-error {
  border-color: #EF4444;
}

.form-error {
  font-size: 0.75rem;
  color: #EF4444;
  min-height: 16px;
}

.submit-btn {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 15px 20px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius-sm);
  color: #166534;
  font-size: 0.9rem;
}
.form-success.show { display: flex; }
.form-success i { color: #22C55E; font-size: 1.1rem; flex-shrink: 0; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer { background: #080F1E; }

.footer-top { padding: 72px 0 52px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 290px;
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--orange);
  color: var(--text-on-dark);
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-on-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.3s ease;
}
.footer-col ul li a:hover { color: var(--orange); }

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 13px;
}
.footer-contact-list li i {
  color: var(--orange);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
}
.footer-contact-list li span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 26px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}
.footer-legal-links {
  display: flex;
  gap: 22px;
}
.footer-legal-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.3s;
}
.footer-legal-links a:hover { color: var(--orange); }

/* ── TRACKING MODAL ──────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,15,30,0.88);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.88) translateY(32px);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-lg);
}
.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  transition: var(--transition);
  z-index: 1;
}
.modal-close:hover {
  background: rgba(255,255,255,0.25);
  color: var(--text-on-dark);
}

.modal-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 38px 38px 30px;
  text-align: center;
  color: var(--text-on-dark);
}
.modal-icon {
  width: 60px; height: 60px;
  background: rgba(234,88,12,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--orange);
  margin: 0 auto 16px;
}
.modal-header h2 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: var(--text-on-dark);
  margin-bottom: 7px;
}
.modal-header p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.58);
}
.modal-header p strong { color: var(--orange); }

.modal-body { padding: 32px 38px 38px; }

.modal-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--light);
  border-radius: var(--radius-sm);
}

.modal-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}
.modal-status-pill.active-status {
  background: rgba(234,88,12,0.12);
  color: var(--orange);
  border: 1px solid rgba(234,88,12,0.25);
}

.modal-eta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
}
.modal-eta i { color: var(--orange); }
.modal-eta strong { color: var(--text); }

.modal-details {
  background: var(--light);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 28px;
}
.modal-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.88rem;
}
.modal-detail-row:last-child { border-bottom: none; }
.modal-detail-row .label { color: var(--gray); }
.modal-detail-row .value { color: var(--text); font-weight: 600; }

/* Modal timeline */
.modal-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mtl-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 6px 0;
}

.mtl-dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.mtl-step.done .mtl-dot {
  background: var(--orange);
  color: var(--text-on-dark);
}
.mtl-step.current .mtl-dot {
  background: var(--orange);
  color: var(--text-on-dark);
}
.mtl-dot.pulse {
  animation: modalPulse 1.8s ease infinite;
  box-shadow: 0 0 0 4px rgba(234,88,12,0.18);
}
@keyframes modalPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(234,88,12,0.18); }
  50%       { box-shadow: 0 0 0 8px rgba(234,88,12,0.08), 0 0 18px rgba(234,88,12,0.2); }
}

.mtl-content { padding-top: 6px; }
.mtl-content strong { display: block; font-size: 0.88rem; color: var(--navy); margin-bottom: 2px; }
.mtl-content span   { font-size: 0.8rem; color: var(--gray); }

.mtl-line {
  width: 2px;
  height: 20px;
  background: var(--gray-light);
  margin-left: 16px;
  transition: background 0.4s ease;
}
.mtl-line.done { background: var(--orange); }

/* ── BACK TO TOP ─────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px; height: 46px;
  background: var(--orange);
  color: var(--text-on-dark);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.25s ease;
  box-shadow: 0 6px 20px rgba(234,88,12,0.35);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--orange-dark); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .tracking-cta-inner { flex-direction: column; align-items: flex-start; }
  .tracking-form { min-width: 100%; max-width: 100%; }
}

@media (max-width: 768px) {
  /* Navbar */
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 86px 28px 40px;
    gap: 4px;
    box-shadow: -8px 0 32px rgba(0,0,0,0.35);
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-link { font-size: 1rem; width: 100%; padding: 13px 16px; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }

  /* Hero */
  .hero { padding: 120px 24px 80px; }
  .hero-ctas { flex-direction: column; align-items: center; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.18);
  }
  .stat-card:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.18); }
  .stat-card:last-child, .stat-card:nth-last-child(2) { border-bottom: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }

  /* Tracking form */
  .tracking-form { flex-direction: column; }

  /* CTA Banner */
  .cta-banner-inner { flex-direction: column; }
  .cta-banner-actions { flex-direction: column; width: 100%; }
  .cta-banner-actions .btn { width: 100%; justify-content: center; }

  /* Contact form */
  .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }

  /* Testimonials */
  .testimonial-card { padding: 30px 26px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Modal */
  .modal-body { padding: 24px 22px; }
  .modal-header { padding: 30px 22px 22px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.18) !important; }
  .stat-card:last-child { border-bottom: none !important; }
  .hero-title { font-size: 2.3rem; }
  .back-to-top { bottom: 20px; right: 20px; }
}

/* ── PRELOADER ───────────────────────────────────────────── */
#preloader { position:fixed; top:0; left:0; width:100%; height:100%; background:#0F172A; display:flex; align-items:center; justify-content:center; z-index:9999; transition:opacity 0.5s; }
#preloader.hidden { opacity:0; pointer-events:none; }
.spinner { border:4px solid rgba(255,255,255,0.1); border-top:4px solid #EA580C; border-radius:50%; width:50px; height:50px; animation:spin 0.8s linear infinite; }
@keyframes spin { to{transform:rotate(360deg)} }

/* ── HERO CANVAS ─────────────────────────────────────────── */
#hero-canvas { position:absolute; top:0; left:0; width:100%; height:100%; z-index:1; pointer-events:none; }
.hero { position:relative; overflow:hidden; }
.hero > .hero-content { position:relative; z-index:2; }

/* ── WHATSAPP FLOAT ──────────────────────────────────────── */
.whatsapp-float { position:fixed; width:60px; height:60px; bottom:30px; right:30px; background:#25D366; color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:28px; box-shadow:2px 2px 12px rgba(0,0,0,0.3); z-index:1000; text-decoration:none; animation:wapulse 2s infinite; }
.whatsapp-float:hover { transform:scale(1.1); background:#128C7E; }
@keyframes wapulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,0.7)} 70%{box-shadow:0 0 0 12px rgba(37,211,102,0)} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0)} }
@media(max-width:768px){ .whatsapp-float{width:50px;height:50px;bottom:20px;right:20px;font-size:24px;} }

/* ── ANIMATED AVATAR RINGS ───────────────────────────────── */
.team-photo, .author-avatar, .testi-avatar, .agent-avatar {
  position: relative;
}
.team-photo::after, .author-avatar::after, .testi-avatar::after, .agent-avatar::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid #EA580C;
  opacity: 0;
  animation: ring-pulse 2.5s ease-in-out infinite;
}
@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%       { transform: scale(1.12); opacity: 0; }
}

/* ── HERO ANIMATED ICON ──────────────────────────────────── */
.hero-icon-animated {
  width: 110px; height: 110px;
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.05));
  backdrop-filter: blur(10px); border-radius: 28px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.8rem; animation: heroFloat 4s ease-in-out infinite;
  box-shadow: 0 20px 50px rgba(0,0,0,.35); border: 1.5px solid rgba(255,255,255,.15);
}
.hero-icon-animated i { font-size: 54px; color: #fff; animation: hiPulse 3s ease-in-out infinite; }
@keyframes heroFloat { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-18px) rotate(4deg)} }
@keyframes hiPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.82;transform:scale(1.1)} }

/* ── STAT ICON WRAPPER ───────────────────────────────────── */
.stat-icon-wrapper {
  width: 68px; height: 68px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto .75rem; animation: siBounce 2.2s ease-in-out infinite;
}
.stat-icon-wrapper .stat-icon { background: none !important; width: auto !important; height: auto !important; box-shadow: none !important; border: none !important; }
@keyframes siBounce { 0%,100%{transform:scale(1)} 50%{transform:scale(1.15)} }

/* ── GRADIENT SERVICE CARDS ──────────────────────────────── */
.service-card {
  position: relative; min-height: 300px; border-radius: 24px;
  padding: 2.8rem 2rem 2rem; overflow: hidden; cursor: pointer;
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s;
  border: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; align-items: flex-start; background: transparent;
}
.card-gradient-bg { position: absolute; inset: 0; z-index: 1; transition: transform .4s; border-radius: 24px; }
.service-card:hover .card-gradient-bg { transform: scale(1.06); }
.card-grad-1 { background: linear-gradient(135deg,#0F172A 0%,#1E2D4A 55%,#EA580C 100%); }
.card-grad-2 { background: linear-gradient(135deg,#0F172A 0%,#1A2E4A 55%,#C2410C 100%); }
.card-grad-3 { background: linear-gradient(135deg,#0A1628 0%,#102040 55%,#EA580C 100%); }
.card-grad-4 { background: linear-gradient(135deg,#1A0F0A 0%,#2E1A0F 55%,#EA580C 100%); }
.card-grad-5 { background: linear-gradient(135deg,#0F1A2A 0%,#1A2E4A 55%,#9A3412 100%); }
.card-grad-6 { background: linear-gradient(135deg,#0A1A1A 0%,#0F2A2A 55%,#EA580C 100%); }
.service-icon-container {
  position: relative; z-index: 3; width: 76px; height: 76px;
  margin-bottom: 1.6rem; animation: scFloat 3.2s ease-in-out infinite;
}
.service-icon-container i { font-size: 58px; color: rgba(255,255,255,.92); display: block; animation: scGlow 2.4s ease-in-out infinite; }
@keyframes scFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-13px)} }
@keyframes scGlow { 0%,100%{filter:drop-shadow(0 0 8px rgba(255,255,255,.25));opacity:1} 50%{filter:drop-shadow(0 0 18px rgba(255,255,255,.55));opacity:.9} }
.service-badge {
  position: relative; z-index: 3; background: linear-gradient(135deg,#EA580C,#C2410C);
  color: #fff; padding: .6rem 1.3rem; border-radius: 8px; font-weight: 700;
  font-size: .82rem; letter-spacing: .8px; text-transform: uppercase;
  display: inline-block; box-shadow: 0 4px 14px rgba(234,88,12,.45); margin-bottom: .8rem;
}
.service-description { position: relative; z-index: 3; color: rgba(255,255,255,.82); line-height: 1.65; font-size: .93rem; flex: 1; }
.service-link-card {
  position: relative; z-index: 3; color: rgba(255,255,255,.75); font-size: .88rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.2rem; transition: color .3s, gap .3s;
}
.service-link-card:hover { color: #EA580C; gap: .7rem; }

/* ============================================================
   ENHANCED HERO — Floating Icon Constellation (sifo-transport)
   ============================================================ */

.hero-central-icon {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.central-icon-inner {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(234,88,12,0.25), rgba(251,146,60,0.3));
  border: 2px solid rgba(234,88,12,0.5);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: #fb923c;
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 2;
  animation: stPulse 3s ease-in-out infinite;
}
.central-icon-ring {
  position: absolute;
  inset: -12px;
  border-radius: 36px;
  border: 2px dashed rgba(234,88,12,0.35);
  animation: stSpin 11s linear infinite;
}
@keyframes stPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(234,88,12,0.4); }
  50%      { box-shadow: 0 0 0 18px rgba(234,88,12,0); }
}
@keyframes stSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-constellation {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.constellation-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(234,88,12,0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  backdrop-filter: blur(6px);
}
.stci-1 { top: 10%; left: 5%;  color: #fb923c; animation: stfloat1 7s ease-in-out infinite; }
.stci-2 { top: 26%; left: 14%; color: #60a5fa; animation: stfloat2 9s ease-in-out infinite; }
.stci-3 { top: 62%; left: 6%;  color: #34d399; animation: stfloat3 8s ease-in-out infinite; }
.stci-4 { top: 79%; left: 20%; color: #fbbf24; animation: stfloat1 10s ease-in-out infinite; }
.stci-5 { top: 8%;  right: 6%; color: #f97316; animation: stfloat2 8.5s ease-in-out infinite; }
.stci-6 { top: 30%; right: 5%; color: #a78bfa; animation: stfloat3 9.5s ease-in-out infinite; }
.stci-7 { top: 67%; right: 9%; color: #fde68a; animation: stfloat1 7.5s ease-in-out infinite; }
.stci-8 { top: 83%; right: 22%;color: #86efac; animation: stfloat2 11s ease-in-out infinite; }

@keyframes stfloat1 {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-18px) rotate(6deg); }
}
@keyframes stfloat2 {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-24px) rotate(-8deg); }
}
@keyframes stfloat3 {
  0%,100% { transform: translateY(0); }
  33%      { transform: translateY(-14px) rotate(5deg); }
  66%      { transform: translateY(-8px) rotate(-4deg); }
}

.hero-trust-badges {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(234,88,12,0.3);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.trust-badge-item i { color: #fb923c; font-size: 0.85rem; }

.scroll-cue-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  margin: 0 auto 0.4rem;
  animation: sclinePulseST 2s ease-in-out infinite;
}
@keyframes sclinePulseST {
  0%,100% { opacity: 0.6; }
  50%      { opacity: 1; }
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 32px 64px rgba(0,0,0,.45); }

/* Fallback: if the AOS library fails to load, never leave content hidden */
.no-aos [data-aos] { opacity: 1 !important; transform: none !important; }

/* ===== ACCESSIBILITY ===== */
.skip-link {
  position: fixed; top: -48px; left: 12px; z-index: 100000;
  background: #F97316; color: #0c0e10; padding: 10px 18px; border-radius: 0 0 8px 8px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #FCD34D; outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  [data-aos] { opacity: 1 !important; transform: none !important; }
  .animate-on-scroll { opacity: 1; transform: none; }
  .animate-hero { animation: none !important; opacity: 1 !important; }
  #cursor-glow, .sifo-orb, .sifo-hero-rings, .sifo-scan-line { display: none !important; }
}
