/* =========================================
   QUALITY CARGO — Production Landing Page
   ========================================= */

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

:root {
  --orange: #E8712B;
  --orange-hover: #D4621F;
  --green: #00A86B;
  --green-hover: #008F5A;
  --green-light: rgba(0, 168, 107, 0.08);
  --dark: #1A1A2E;
  --dark-gradient: #2d2d4e;
  --gray-bg: #F5F6F8;
  --gray-text: #6B7280;
  --gray-border: #EEEEEE;
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --pain-red: #C0392B;
  --header-h: 70px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

/* === SCROLL REVEAL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === HEADER === */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s;
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.logo {
  display: flex;
  align-items: center;
}
.header .logo {
  justify-content: center;
  position: relative;
  z-index: 101;
  top: 10px;
  background-color: #fff;
  height: 109px;
  width: 200px;
  border-radius: 30%;
}
.logo-img {
  height: 75px;
  width: auto;
}
.footer .logo-img {
  height: 45px;
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--dark);
  position: relative;
  transition: color 0.3s;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s;
}
.nav a:hover { color: var(--orange); }
.nav a:hover::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-toggle {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-text);
  border: 1px solid #ddd;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: border-color 0.3s;
  user-select: none;
}
.lang-toggle:hover { border-color: var(--orange); }
.lang-toggle .active { color: var(--orange); font-weight: 700; }
.header-phone {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  transition: color 0.3s;
}
.header-phone:hover { color: var(--orange); }
.btn-header {
  background: var(--orange);
  color: white;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.3s, transform 0.2s;
}
.btn-header:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s;
  display: block;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 99;
  padding: 40px;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu a {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-border);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu .mobile-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu .mobile-phone {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  border: none;
  padding: 0;
}
.mobile-menu .btn-mobile {
  background: var(--orange);
  color: white;
  text-align: center;
  padding: 14px;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  border: none;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 0 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -20px;
  background: url('../images/hero-bg.png') center/cover no-repeat;
  z-index: 0;
  animation: heroKenBurns 25s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.72) 0%, rgba(26, 26, 46, 0.55) 50%, rgba(26, 26, 46, 0.68) 100%);
}
@keyframes heroKenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.12) translate(-15px, -8px);
  }
}
.hero-content {
  max-width: 620px;
  position: relative;
  z-index: 1;
}
.hero-tag {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 4px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
  animation: fadeSlideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.hero h1 {
  font-size: 44px;
  font-weight: 900;
  color: white;
  line-height: 1.12;
  margin-bottom: 18px;
  animation: fadeSlideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}
.hero h1 .highlight { color: var(--orange); }
.hero .hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 480px;
  animation: fadeSlideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  animation: fadeSlideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: white;
  padding: 15px 34px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--orange);
  transition: all 0.3s;
}
.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 113, 43, 0.35);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: white;
  padding: 15px 34px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all 0.3s;
}
.btn-secondary:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.btn-secondary svg { width: 18px; height: 18px; }

/* === TRUST BAR === */
.trust-bar {
  background: var(--green);
  padding: 0 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 90px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
  border-right: 1px solid rgba(255,255,255,0.15);
  padding: 20px;
  justify-content: center;
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}
.trust-number {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
}
.trust-label {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
  line-height: 1.3;
}

/* === SECTION COMMON === */
.section { padding: 90px 60px; }
.section-gray { background: var(--gray-bg); }
.section-dark { background: linear-gradient(135deg, var(--dark), var(--dark-gradient)); }
.section-header {
  text-align: center;
  margin-bottom: 55px;
}
.section-tag {
  display: inline-block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: 34px;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.2;
}
.section-dark .section-title { color: white; }
.section-subtitle {
  font-size: 15px;
  color: var(--gray-text);
  margin-top: 14px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* === SERVICES === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: white;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--gray-border);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: background 0.3s, transform 0.3s;
}
.service-card:hover .service-icon {
  background: rgba(0, 168, 107, 0.15);
  transform: scale(1.08);
}
.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--green);
  stroke-width: 2;
  fill: none;
}
.service-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.service-card .pain {
  font-size: 12px;
  color: var(--pain-red);
  margin-bottom: 8px;
  font-style: italic;
  line-height: 1.4;
}
.service-card .solution {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.55;
}

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-image {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.about-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--orange);
  color: white;
  padding: 18px 26px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(232, 113, 43, 0.35);
}
.about-badge .number {
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}
.about-badge .label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.about-content .section-tag { text-align: left; display: block; }
.about-content .section-title {
  text-align: left;
  margin-bottom: 18px;
  font-size: 32px;
}
.about-content .about-text {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 26px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}
.about-feature .check {
  width: 24px;
  height: 24px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-feature .check svg {
  width: 13px;
  height: 13px;
  stroke: white;
  stroke-width: 2.5;
  fill: none;
}

/* === CTA + FORM === */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-gradient) 100%);
  padding: 80px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.cta-content .section-tag { color: var(--orange); display: block; text-align: left; }
.cta-content h2 {
  font-size: 32px;
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 14px;
}
.cta-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}
.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cta-form input, .cta-form textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 15px 18px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}
.cta-form input:focus, .cta-form textarea:focus {
  border-color: var(--orange);
  background: rgba(255,255,255,0.1);
}
.cta-form input::placeholder, .cta-form textarea::placeholder {
  color: rgba(255,255,255,0.32);
}
.cta-form .full-width { grid-column: 1 / -1; }
.cta-form textarea { resize: none; height: 90px; }
.btn-submit {
  background: var(--orange);
  color: white;
  border: none;
  padding: 15px 34px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-submit:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 113, 43, 0.35);
}

/* Form success state */
.form-success {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px;
  color: white;
}
.form-success svg {
  width: 48px;
  height: 48px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2;
  margin: 0 auto 12px;
  display: block;
}
.form-success h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.form-success p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

/* === CONTACT BAR === */
.contact-bar {
  background: var(--green);
  padding: 30px 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
}
.contact-icon {
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}
.contact-label {
  font-size: 11px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}
.contact-value {
  font-size: 15px;
  font-weight: 700;
}

/* === FOOTER === */
.footer {
  background: var(--dark);
  padding: 55px 60px 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 35px;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-top: 14px;
}
.footer h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-links a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  margin-bottom: 11px;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--orange); }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: all 0.3s;
}
.footer-social a:hover {
  background: var(--orange);
  color: white;
  transform: translateY(-3px);
}
.footer-social a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* ============================
   RESPONSIVE — TABLET
   ============================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 40px; }
  .cta-section { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* ============================
   RESPONSIVE — MOBILE
   ============================ */
@media (max-width: 767px) {
  :root { --header-h: 60px; }

  .header { padding: 0 20px; }
  .nav, .nav-right { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .logo {
    height: 80px;
    width: 150px;
    top: 6px;
  }
  .logo-img { height: 55px; }

  .hero { min-height: 520px; padding: 0 24px; }
  .hero h1 { font-size: 30px; }
  .hero .hero-sub { font-size: 14px; margin-bottom: 24px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; padding: 14px 24px; }

  .trust-bar { grid-template-columns: 1fr 1fr; padding: 0 20px; min-height: auto; }
  .trust-item { padding: 18px 14px; gap: 10px; justify-content: flex-start; }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-number { font-size: 22px; }
  .trust-icon { width: 36px; height: 36px; }
  .trust-icon svg { width: 16px; height: 16px; }

  .section { padding: 50px 20px; }
  .section-title { font-size: 26px; }
  .section-subtitle { font-size: 14px; }

  .services-grid { grid-template-columns: 1fr; gap: 16px; }

  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-image img { height: 260px; }
  .about-content .section-title { font-size: 26px; }
  .about-features { grid-template-columns: 1fr; gap: 12px; }

  .cta-section { grid-template-columns: 1fr; padding: 50px 20px; gap: 30px; }
  .cta-content h2 { font-size: 26px; }
  .cta-form { grid-template-columns: 1fr; }

  .contact-bar { grid-template-columns: 1fr; padding: 24px 20px; gap: 16px; }

  .footer { padding: 40px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
}
