:root {
  --blue: #2f6198;
  --blue-light: #3f7fbd;
  --dark: #071626;
  --dark2: #0b1d33;
  --dark3: #030910;
  --gray: #2b2d31;
  --light: #f4f6f8;
  --white: #ffffff;
  --text-dark: #0b1d33;
  --text-muted: #5c6670;
  --whatsapp: #25d366;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

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

.container {
  width: min(1180px, 92%);
  margin: auto;
}

/* HEADER */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 22, 38, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  width: 280px;
  display: flex;
  align-items: center;
}

.logo {
  width: 240px;
  height: auto;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 30px;
}

nav a,
.nav-whatsapp {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

nav a {
  opacity: 0.92;
  transition: 0.3s;
}

nav a:hover {
  color: var(--blue-light);
}

.nav-whatsapp {
  background: var(--blue);
  padding: 14px 24px;
  border-radius: 40px;
  transition: 0.3s;
}

.nav-whatsapp:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

/* HERO */

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    circle at 72% 32%,
    #356fae 0%,
    #071626 43%,
    #030910 100%
  );
  padding-top: 130px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(47, 97, 152, 0.15), transparent 45%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -120px;
  bottom: -150px;
  background: rgba(47, 97, 152, 0.22);
  filter: blur(100px);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 130px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.tag {
  display: inline-block;
  background: rgba(47, 97, 152, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 10px 20px;
  border-radius: 40px;
  margin-bottom: 24px;
  color: #fff;
}

h1 {
  font-size: clamp(44px, 6vw, 86px);
  line-height: 0.95;
  margin-bottom: 26px;
  letter-spacing: -2px;
}

.hero-content p {
  font-size: 21px;
  line-height: 1.6;
  color: #dce7f4;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin: 34px 0;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 44px;
  text-decoration: none;
  font-weight: 900;
  transition: 0.3s;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-3px);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.hero-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.hero-specs div,
.power-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  padding: 22px;
  backdrop-filter: blur(10px);
}

.hero-specs strong,
.power-card strong {
  display: block;
  font-size: 30px;
}

.hero-specs span,
.power-card span {
  font-size: 14px;
  color: #c8d4e3;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.35);
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.45));
  animation: floatTruck 4s ease-in-out infinite;
}

@keyframes floatTruck {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* SECCIONES */

.section {
  padding: 110px 0;
  background: #fff;
  color: var(--text-dark);
}

.dark-section {
  background: var(--dark);
  color: var(--white);
}

.section-heading {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 58px;
}

.section-heading span,
.eyebrow {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-heading h2 {
  font-size: clamp(34px, 4vw, 56px);
  margin: 14px 0;
  letter-spacing: -1px;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 19px;
  line-height: 1.55;
}

.section-heading.light p {
  color: #cdd7e4;
}

/* POTENCIA */

.power-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.power-card {
  background: #f4f6f8;
  color: var(--text-dark);
  text-align: center;
  transition: 0.3s;
}

.power-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(47, 97, 152, 0.12);
}

.power-card strong {
  color: var(--blue);
  font-size: 46px;
}

/* SPLIT */

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.split-grid h2 {
  font-size: clamp(36px, 4vw, 52px);
  margin: 18px 0 24px;
  letter-spacing: -1px;
}

.split-grid p {
  color: #d5dfeb;
  line-height: 1.8;
  font-size: 18px;
}

.feature-list {
  margin-top: 34px;
  display: grid;
  gap: 16px;
}

.feature-list div {
  background: rgba(255, 255, 255, 0.06);
  padding: 18px 22px;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.3s;
}

.feature-list div:hover {
  background: rgba(47, 97, 152, 0.28);
  transform: translateX(6px);
}

.image-card img {
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

/* GALERÍA */

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

.gallery-grid a {
  overflow: hidden;
  border-radius: 24px;
  display: block;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}

.gallery-grid img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 24px;
  transition: 0.45s;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.06);
}

/* APLICACIONES */

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

.app-card {
  background: #fff;
  border-radius: 24px;
  padding: 38px 34px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: 0.3s;
  min-height: 190px;
}

.app-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(47, 97, 152, 0.14);
}

.app-card strong {
  font-size: 23px;
  color: var(--dark2);
}

.app-card span {
  color: #666;
  line-height: 1.5;
}

/* FICHA TÉCNICA */

.tech-wrapper {
  overflow: auto;
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

.tech-table tr:nth-child(even) {
  background: #f4f6f8;
}

.tech-table td {
  padding: 19px 24px;
  color: #222;
  font-size: 15px;
}

.tech-table td:first-child {
  font-weight: 900;
  width: 35%;
}

/* FORMULARIO */

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.quote-grid h2 {
  font-size: clamp(34px, 4vw, 50px);
  margin: 15px 0 22px;
  letter-spacing: -1px;
}

.quote-grid p {
  line-height: 1.65;
  color: #3e4a57;
}

.contact-box {
  margin-top: 34px;
  background: #f4f6f8;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid #e8edf3;
}

.contact-box p {
  color: var(--text-dark);
  font-weight: 700;
}

.quote-form {
  display: grid;
  gap: 18px;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 19px;
  border: 1px solid #e7edf5;
  border-radius: 15px;
  background: #f4f6f8;
  outline: none;
  transition: 0.3s;
  font-family: inherit;
}

.quote-form input:focus,
.quote-form textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47, 97, 152, 0.12);
}

.quote-form button {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 19px;
  border-radius: 15px;
  cursor: pointer;
  font-weight: 900;
  font-size: 16px;
  transition: 0.3s;
}

.quote-form button:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

/* FOOTER */

.footer {
  background: linear-gradient(135deg, #020811 0%, #071626 50%, #102845 100%);
  padding: 95px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 85px;
  align-items: center;
}

.footer-brand {
  max-width: 720px;
}

.footer-logo {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  margin-bottom: 38px;
  transition: 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.02);
}

.footer-brand p {
  color: #d8e4f2;
  font-size: 20px;
  line-height: 1.8;
  max-width: 660px;
}

.footer-contact {
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  padding: 36px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
}

.footer-contact h3 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #fff;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  color: #e8eef7;
  text-decoration: none;
  font-size: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.3s;
}

.footer-item:last-child {
  border-bottom: none;
}

.footer-item:hover {
  color: var(--blue-light);
  transform: translateX(5px);
}

.footer-item span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: 62px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom p {
  color: #9cb2c9;
  font-size: 15px;
}

/* WHATSAPP FLOTANTE */

.float-wa {
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: var(--whatsapp);
  color: #fff;
  padding: 17px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 900;
  z-index: 9999;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
  transition: 0.3s;
}

.float-wa:hover {
  transform: translateY(-4px);
  filter: brightness(1.05);
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .nav {
    height: 82px;
  }

  nav {
    display: none;
  }

  .brand {
    width: 230px;
  }

  .logo {
    width: 210px;
  }

  .hero-grid,
  .split-grid,
  .quote-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-specs,
  .power-cards,
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-list div {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .footer-logo {
    max-width: 360px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .hero {
    padding-top: 115px;
  }

  .hero-grid {
    gap: 35px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .hero-content p {
    font-size: 18px;
  }

  .hero-specs,
  .power-cards,
  .app-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 260px;
  }

  .footer {
    padding: 65px 0 26px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.9fr;
    gap: 60px;
    align-items: center;
  }

  .footer-logo {
    max-width: 360px;
    margin-bottom: 28px;
  }

  .footer-brand p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 560px;
  }

  .footer-contact {
    max-width: 420px;
    padding: 30px 32px;
    margin-left: auto;
  }

  .footer-contact h3 {
    font-size: 28px;
    margin-bottom: 22px;
  }

  .footer-item {
    font-size: 16px;
    padding: 16px 0;
  }

  .footer-bottom {
    margin-top: 38px;
    padding-top: 20px;
  }

  .float-wa {
    right: 20px;
    bottom: 20px;
    padding: 14px 22px;
  }
}
