/* VARIABLES Y ESTILOS GENERALES */
:root {
  --primary-orange: #f97316;
  --orange-hover: #ea580c;
  --dark-blue: #0f172a;
  --text-dark: #1e293b;
  --bg-light: #f1f5f9;
  --white: #ffffff;
  --border-color: #cbd5e1;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

/* HEADER */
.header {
  background-color: var(--white);
  border-bottom: 2px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark-blue);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--primary-orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary-orange);
}

.btn-contacto {
  text-decoration: none;
  background-color: var(--primary-orange);
  color: var(--white);
  padding: 0.6rem 1.3rem;
  border-radius: 6px;
  font-weight: 700;
  transition: background-color 0.2s, transform 0.1s;
}

.btn-contacto:hover {
  background-color: var(--orange-hover);
  transform: translateY(-1px);
}

/* HERO SECTION CON FONDO */
.hero {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 5rem 1.5rem;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 58, 138, 0.88));
  z-index: 1;
}

.hero-content-centered {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  background-color: rgba(249, 115, 22, 0.2);
  color: #ffedd5;
  border: 1px solid var(--primary-orange);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--white);
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

.subtitle {
  font-size: 1.2rem;
  max-width: 750px;
  margin: 0 auto 3rem auto;
  color: #e2e8f0;
}

/* TARJETAS DE BENEFICIOS (4 COLUMNAS) */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 600px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  position: relative;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1.8rem 1.2rem;
  text-align: center;
  transition: transform 0.2s, background-color 0.2s;
}

.benefit-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.18);
}

/* DESTACADO ESPECIAL PARA FLETE GRATIS */
.highlight-card {
  background-color: rgba(249, 115, 22, 0.25) !important;
  border: 2px solid var(--primary-orange) !important;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

.promo-badge {
  position: absolute;
  top: -12px;
  right: 15px;
  background-color: var(--primary-orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  text-transform: uppercase;
}

.benefit-icon-wrapper {
  width: 55px;
  height: 55px;
  background-color: rgba(249, 115, 22, 0.2);
  border: 1px solid rgba(249, 115, 22, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  transition: transform 0.2s, background-color 0.2s;
}

.benefit-card:hover .benefit-icon-wrapper {
  transform: scale(1.1);
  background-color: var(--primary-orange);
}

.benefit-svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary-orange);
  transition: stroke 0.2s;
}

.benefit-card:hover .benefit-svg {
  stroke: var(--white);
}

.benefit-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.benefit-card p {
  font-size: 0.9rem;
  color: #cbd5e1;
}

/* BOTÓN DE COTIZAR HERO */
.hero-action {
  margin-top: 1rem;
}

.btn-hero-cotizar {
  display: inline-block;
  background-color: var(--primary-orange);
  color: var(--white);
  padding: 1.1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.1s;
}

.btn-hero-cotizar:hover {
  background-color: var(--orange-hover);
  transform: translateY(-2px);
}

/* SECCIÓN FORMULARIO */
.contact-section {
  padding: 4rem 1.5rem;
  background-color: #f1f5f9;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-card {
  background-color: #ffffff !important;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #cbd5e1;
}

.form-card h2 {
  font-size: 1.8rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
  text-align: center;
  font-weight: 800;
}

.form-card p {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #64748b;
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #0f172a;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  background-color: #ffffff;
  color: #1e293b;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #f97316;
}

.btn-submit {
  width: 100%;
  background-color: #0f172a!important;
  color: #ffffff !important;
  border: none;
  padding: 1.1rem;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit:hover {
  background-color: #f97316 !important;
  transform: translateY(-2px);
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--white);
  font-size: 0.85rem;
  color: #64748b;
}