/* ===== Variables ===== */
:root {
  --navy: #0b2545;
  --navy-dark: #071a33;
  --navy-light: #13355e;
  --orange: #ff6b35;
  --orange-dark: #e05423;
  --gray-light: #f5f7fa;
  --gray: #667085;
  --white: #ffffff;
  --border: #e6e9ef;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
  --radius: 14px;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

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

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--navy);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--alt { background: var(--gray-light); }

.eyebrow {
  display: inline-block;
  color: var(--orange-dark);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 12px;
}

.section__head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section__head h2 { font-size: 2.1rem; margin-bottom: 12px; }
.section__head p { color: var(--gray); font-size: 1.05rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  border: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(255,107,53,.3); }
.btn--ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn--ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn--lg { padding: 14px 28px; font-size: 1rem; }
.btn--sm { padding: 9px 18px; font-size: .88rem; }
.btn--full { width: 100%; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo__icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo__text { font-family: var(--font-heading); font-weight: 500; font-size: 1.05rem; color: var(--navy); line-height: 1.1; }
.logo__text strong { display: block; font-weight: 700; color: var(--orange-dark); font-size: 1.1rem; }

.nav { display: flex; gap: 28px; }
.nav__link { font-weight: 500; font-size: .95rem; color: var(--navy); position: relative; padding: 4px 0; }
.nav__link:hover { color: var(--orange-dark); }

.header__cta { display: flex; align-items: center; gap: 18px; }
.header__phone { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--navy); }
.header__phone:hover { color: var(--orange-dark); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
}
.nav__toggle span { display: block; width: 100%; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 168px 0 96px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.hero__bg {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 700px;
  background: radial-gradient(circle at 30% 20%, rgba(255,107,53,.12), transparent 60%),
              radial-gradient(circle at 80% 10%, rgba(11,37,69,.08), transparent 55%);
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.tag {
  display: inline-block;
  background: rgba(255,107,53,.1);
  color: var(--orange-dark);
  font-weight: 600;
  font-size: .82rem;
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
}
.hero h1 { font-size: 2.7rem; margin-bottom: 20px; letter-spacing: -.01em; }
.hero h1 span { color: var(--orange-dark); }
.hero__text { color: var(--gray); font-size: 1.08rem; max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-heading); font-size: 1.6rem; color: var(--navy); }
.stat span { color: var(--gray); font-size: .88rem; }

.hero__visual { display: flex; justify-content: center; }
.hero__truck { width: 100%; max-width: 420px; }

/* ===== Cards ===== */
.cards { display: grid; gap: 28px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card > p { color: var(--gray); font-size: .95rem; margin-bottom: 16px; }
.card__list li {
  font-size: .88rem;
  color: var(--navy);
  padding: 6px 0 6px 22px;
  position: relative;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* ===== Proceso / Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--border);
  position: relative;
}
.step__num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step h4 { margin-bottom: 8px; font-size: 1.05rem; }
.step p { color: var(--gray); font-size: .92rem; }

/* ===== About / Por qué elegirnos ===== */
.about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about__visual {
  position: relative;
  height: 380px;
  background: var(--navy);
  border-radius: 24px;
  overflow: hidden;
}
.about__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,107,53,.35), transparent 55%),
              radial-gradient(circle at 80% 80%, rgba(255,255,255,.08), transparent 50%);
}
.about__box {
  position: absolute;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
}
.about__box--1 { top: 40px; left: 32px; color: var(--orange); }
.about__box--2 { top: 170px; right: 32px; color: #7fd3ff; }
.about__box--3 { bottom: 40px; left: 60px; color: #9dffb0; }

.about__content h2 { font-size: 2rem; margin-bottom: 16px; }
.about__content > p { color: var(--gray); margin-bottom: 32px; max-width: 520px; }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature h4 { font-size: 1rem; margin-bottom: 6px; }
.feature p { color: var(--gray); font-size: .9rem; }

/* ===== Testimonios ===== */
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.testimonial p { font-size: .98rem; color: var(--navy); margin-bottom: 20px; font-style: italic; }
.testimonial footer { color: var(--orange-dark); font-weight: 600; font-size: .88rem; }

/* ===== CTA Banner ===== */
.cta-banner { background: var(--navy); padding: 56px 0; }
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.cta-banner p { color: #b9c4d6; }

/* ===== Contacto ===== */
.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
}
.contact__info h2 { font-size: 1.9rem; margin: 8px 0 16px; }
.contact__info > p { color: var(--gray); margin-bottom: 32px; max-width: 440px; }

.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.contact__list li div { display: flex; flex-direction: column; }
.contact__list li strong { font-size: .9rem; }
.contact__list li span { color: var(--gray); font-size: .9rem; }
.contact__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--gray-light);
  color: var(--orange-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.contact__form {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__group { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form__group label { font-size: .85rem; font-weight: 600; color: var(--navy); }
.form__group input,
.form__group select,
.form__group textarea {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: .95rem;
  background: #fff;
  color: var(--navy);
  outline: none;
  transition: border-color .15s ease;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus { border-color: var(--orange); }
.form__note { margin-top: 14px; font-size: .88rem; text-align: center; color: var(--orange-dark); font-weight: 600; min-height: 20px; }

/* ===== Footer ===== */
.footer { background: var(--navy-dark); color: #b9c4d6; padding: 64px 0 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.logo__text--footer { color: #fff; }
.logo__text--footer strong { color: var(--orange); }
.footer__brand p { margin-top: 14px; font-size: .9rem; max-width: 280px; }
.footer__col h5 { color: #fff; font-family: var(--font-heading); font-size: .95rem; margin-bottom: 16px; }
.footer__col a { display: block; font-size: .9rem; margin-bottom: 10px; color: #b9c4d6; }
.footer__col a:hover { color: var(--orange); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  font-weight: 700;
}
.footer__social a:hover { background: var(--orange); color: #fff; }
.footer__bottom { text-align: center; padding: 24px 0; font-size: .85rem; }

/* ===== WhatsApp float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  z-index: 90;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ===== Reveal animation ===== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 320px; margin: 0 auto; }
  .about { grid-template-columns: 1fr; }
  .about__visual { height: 300px; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .header__phone { display: none; }
  .nav__toggle { display: flex; }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .nav.is-open .nav__link { padding: 12px 0; border-bottom: 1px solid var(--border); }

  .cards--3, .cards--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 2.1rem; }
  .section { padding: 64px 0; }
  .footer__inner { grid-template-columns: 1fr; }
  .header__inner { height: 68px; }
  .hero { padding-top: 128px; }
}
