* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Prevent horizontal overflow globally */
html, body {
  overflow-x: hidden;
  width: 100%;
}

:root {
  --primary-orange: #ff8c00;
  --primary-yellow: #ffd700;
  --primary-blue: #1e3a8a;
  --secondary-blue: #3b82f6;
  --white: #ffffff;
  --black: #000000;
  --gray-light: #f8f9fa;
  --gray-medium: #6c757d;
  --gray-dark: #343a40;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
  --green-primary: #25d366;
  --green-secondary: #128c45;
  --green-hover: #20ba5a;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: var(--black);
  overflow-x: hidden;
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Header Styles */
.header-top {
  background: var(--gray-dark);
  color: var(--white);
  padding: 8px 0;
  font-size: 14px;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-info span {
  margin-right: 20px;
}

.header-info i {
  margin-right: 5px;
  color: var(--primary-orange);
}

.header-social a {
  color: var(--white);
  margin-left: 10px;
  font-size: 16px;
  transition: color 0.3s ease;
}

.header-social a:hover {
  color: var(--primary-orange);
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 999;
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  width: 100%;
}

.logo {
  height: 60px;
  width: auto;
  max-width: 200px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: var(--primary-orange);
  border: 2px solid #007BFF;
  padding: 6px 6px;
  border-radius: 6px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Hamburger Menu Styles */
.hamburger {
  display: none; 
  cursor: pointer;
  z-index: 1100;
  font-size: 24px;
  color: #000; 
}


@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    width: 100%;
    flex-direction: column;
    padding: 1rem;
  }

  .nav-menu.active {
    display: flex;
  }
}



.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero-bg {
  padding: 120px 0 40px;
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  width: 100%;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  word-wrap: break-word;
  hyphens: auto;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(-50px);
  animation: dropDown 0.8s ease forwards;
}

.hero-word:nth-child(1) { animation-delay: 0.1s; }
.hero-word:nth-child(2) { animation-delay: 0.2s; }
.hero-word:nth-child(3) { animation-delay: 0.3s; }
.hero-word:nth-child(4) { animation-delay: 0.4s; }
.hero-word:nth-child(5) { animation-delay: 0.5s; }
.hero-word:nth-child(6) { animation-delay: 0.6s; }
.hero-word:nth-child(7) { animation-delay: 0.7s; }

@keyframes dropDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--white);
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.8s forwards;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  opacity: 0;
  animation: fadeInUp 1s ease 1s forwards;
  flex-wrap: wrap;
}

.hero-image {
  opacity: 0;
  transform: scale(0.8);
  animation: elegantAppear 1.2s ease 0.5s forwards;
  width: 100%;
}

@keyframes elegantAppear {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-width: 100%;
}

.btn-cotizar,
.btn-rastrear {
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  min-width: 120px;
}

.btn-cotizar {
  background: var(--white);
  color: var(--primary-orange);
}

.btn-cotizar:hover {
  background: var(--gray-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-rastrear {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-rastrear:hover {
  background: var(--white);
  color: var(--primary-orange);
}

.hero-bottom {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px 0;
  width: 100%;
}

.tracking-section {
  text-align: center;
}

.tracking-section h3 {
  color: var(--white);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin-bottom: 20px;
  font-weight: 700;
}

.tracking-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.tracking-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  min-width: 0;
}

.btn-track {
  padding: 15px 30px;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-track:hover {
  background: var(--secondary-blue);
  transform: translateY(-2px);
}

/* Stats Counter Section */
.stats-section {
  padding: 80px 0;
  background: var(--primary-blue);
  color: var(--white);
  width: 100%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-icon {
  font-size: 3rem;
  color: var(--primary-orange);
  margin-bottom: 20px;
}

.stat-number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
}

.stat-label {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* Clientes Section */
.clientes {
  padding: 80px 0;
  background: var(--white);
  width: 100%;
}

.clientes h2 {
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 50px;
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.cliente-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.cliente-item:hover {
  transform: translateY(-10px);
}

.cliente-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cliente-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: 30px 20px 20px;
}

.cliente-overlay h4 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 700;
}

/* Cotizador Section */
.cotizador {
  padding: 80px 0;
  background: var(--gray-light);
  width: 100%;
}

.cotizador-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.cotizador-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  max-width: 100%;
}

.cotizador-form {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--shadow);
  width: 100%;
}

.form-header {
  margin-bottom: 30px;
}

.form-header h2 {
  color: var(--primary-blue);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.form-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tab {
  padding: 10px 20px;
  border: none;
  background: var(--gray-light);
  color: var(--gray-medium);
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tab.active {
  background: var(--primary-orange);
  color: var(--white);
}

.form-section {
  margin-bottom: 30px;
}

.form-section h3 {
  color: var(--primary-blue);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 600;
  margin-bottom: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.form-section select,
.form-section input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 14px;
  background: var(--white);
  transition: border-color 0.3s ease;
  min-width: 0;
}

.form-section select:focus,
.form-section input:focus {
  outline: none;
  border-color: var(--primary-orange);
}

.precio-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--gray-light);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.precio-label {
  font-weight: 600;
  color: var(--gray-dark);
}

.precio-valor {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--primary-orange);
}

.btn-cotizar-form {
  width: 100%;
  padding: 15px;
  background: var(--primary-orange);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-cotizar-form:hover {
  background: var(--primary-yellow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Como Funciona Section */
.como-funciona {
  padding: 80px 0;
  background: var(--white);
  text-align: center;
  width: 100%;
}

.como-funciona h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 80px;
}

.proceso-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  max-width: 100%;
  margin: 0 auto;
}

.step {
  text-align: center;
}

.step-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 20px;
  transition: transform 0.3s ease;
}

.step:hover .step-icon {
  transform: scale(1.1);
}

.step-icon img {
  width: 100px;
  height: 100px;
  max-width: 100%;
}

.step h3 {
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 5px;
  text-transform: uppercase;
}

.step p {
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  color: var(--gray-medium);
  text-transform: uppercase;
}

.step.satisfaction h3,
.step.satisfaction p {
  color: var(--primary-orange);
}

/* Promocion Section */
.promocion {
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-yellow) 100%);
  padding: 60px 0 0;
  text-align: center;
  color: var(--white);
  width: 100%;
}

.promocion-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  margin-bottom: 10px;
  opacity: 0.9;
}

.promocion h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-contactanos {
  padding: 15px 40px;
  background: var(--white);
  color: var(--primary-orange);
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.btn-contactanos:hover {
  background: var(--gray-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.promocion-images {
  padding: 40px 0;
}

.images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.images-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.images-grid img:hover {
  transform: scale(1.05);
}

/* Preguntas Frecuentes Section */
.preguntas-frecuentes {
  padding: 80px 0;
  background: var(--gray-light);
  width: 100%;
}

.preguntas-header {
  text-align: center;
  margin-bottom: 50px;
}

.pregunta-character {
  display: inline-block;
  position: relative;
  margin-bottom: 30px;
}

.speech-bubble {
  background: var(--primary-orange);
  color: var(--white);
  padding: 20px;
  border-radius: 20px;
  border-bottom-left-radius: 5px;
  width: min(300px, 90vw);
  box-shadow: var(--shadow);
  margin: 0 auto;
  position: relative;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 30px;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid var(--primary-orange);
}

.speech-bubble h3 {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-info i {
  font-size: 1.5rem;
}

.contact-info span {
  display: block;
  text-align: center;
}

.preguntas-frecuentes h2 {
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 50px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.faq-item {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary-blue);
  transition: background-color 0.3s ease;
  gap: 15px;
}

.faq-question:hover {
  background: rgba(255, 140, 0, 0.1);
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--primary-orange);
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--gray-light);
}

.faq-answer.active {
  padding: 20px;
  max-height: 200px;
}

.faq-answer p {
  color: var(--gray-dark);
  line-height: 1.6;
}

/* Ubicanos Section */
.ubicanos-hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  padding: 80px 0 40px;
  text-align: center;
  color: var(--white);
  width: 100%;
}

.ubicanos-hero h1 {
  font-size: clamp(2.5rem, 6vw, 3rem);
  font-weight: 900;
  margin-bottom: 30px;
}

.fleet-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 30px;
  max-width: 100%;
}

.btn-ver-mapa {
  padding: 15px 30px;
  background: var(--primary-orange);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-ver-mapa:hover {
  background: var(--primary-yellow);
  transform: translateY(-2px);
}

/* Nosotros Section */
.nosotros {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  width: 100%;
}

.nosotros::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange) 0%, var(--primary-blue) 100%);
}

.nosotros-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.nosotros-text .section-title {
  font-size: clamp(2.5rem, 6vw, 3rem);
  font-weight: 900;
  color: var(--primary-blue);
  margin-bottom: 30px;
  text-align: left;
}

.intro-text {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 40px;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.mv-item h3 {
  color: var(--primary-blue);
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
}

.mv-item h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-orange);
  border-radius: 2px;
}

.mv-item p {
  color: var(--gray-dark);
  line-height: 1.7;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.valores-section h3 {
  color: var(--primary-blue);
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  font-weight: 700;
  margin-bottom: 25px;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.valor-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-orange);
}

.valor-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(255, 140, 0, 0.15);
}

.valor-item i {
  font-size: 1.5rem;
  color: var(--primary-orange);
  width: 30px;
  text-align: center;
  flex-shrink: 0;
}

.valor-item span {
  font-weight: 600;
  color: var(--gray-dark);
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.logo-container {
  text-align: center;
  padding: 40px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.logo-container::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-blue) 100%);
  border-radius: 22px;
  z-index: -1;
}

.company-logo {
  width: 100%;
  max-width: 350px;
  height: auto;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

/* Servicios Section */
.services {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  width: 100%;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-title {
  font-size: clamp(2.5rem, 6vw, 3rem);
  font-weight: 900;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--gray-medium);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-orange);
}

.service-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.9) 0%, rgba(30, 58, 138, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-overlay i {
  font-size: 2rem;
  color: var(--white);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.service-card:hover .service-overlay i {
  transform: scale(1);
}

.service-content {
  padding: 25px;
  text-align: center;
}

.service-content h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-content p {
  color: var(--gray-dark);
  line-height: 1.6;
  font-size: clamp(0.9rem, 2vw, 0.95rem);
}

/* Contacto Section */
.contacto {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  width: 100%;
}

.contacto::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange) 0%, var(--primary-blue) 100%);
}

.contacto-header {
  text-align: center;
  margin-bottom: 60px;
}

.contacto-header h2 {
  font-size: clamp(2.5rem, 6vw, 3rem);
  font-weight: 900;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.contacto-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--gray-medium);
  max-width: 600px;
  margin: 0 auto;
}

.contacto-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contacto-info h3 {
  color: var(--primary-blue);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.info-grid {
  display: grid;
  gap: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-orange);
}

.info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  color: var(--white);
  font-size: 1.5rem;
}

.info-content h4 {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.2rem);
  margin-bottom: 8px;
}

.info-content p {
  color: var(--gray-dark);
  line-height: 1.6;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.contacto-form-container {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  width: 100%;
}

.contacto-form-container::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-blue) 100%);
  border-radius: 22px;
  z-index: -1;
}

.contacto-form h3 {
  color: var(--primary-blue);
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.form-group {
  margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: var(--white);
  min-width: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-enviar {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-enviar:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 140, 0, 0.3);
}

/* Footer */
.footer {
  background: var(--primary-blue);
  color: var(--white);
  padding: 60px 0 20px;
  width: 100%;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 60px;
  filter: brightness(0) invert(1);
  display: block;
  margin-left: -20px;
  margin-bottom: 20px;
  max-width: 200px;
}

.footer-section h4 {
  color: var(--primary-orange);
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-section p {
  line-height: 1.8;
  margin-bottom: 20px;
  opacity: 0.9;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
  opacity: 0.9;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-section ul li a:hover {
  color: var(--primary-orange);
  opacity: 1;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary-orange);
  transform: translateY(-2px);
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  opacity: 0.9;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-contact i {
  margin-right: 10px;
  color: var(--primary-orange);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-links a:hover {
  opacity: 1;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
}

.modal-content {
  background-color: var(--white);
  margin: 2% auto;
  border-radius: 20px;
  width: 90%;
  max-width: 900px;
  position: relative;
  animation: slideIn 0.4s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.service-modal-content {
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  color: var(--white);
}

.modal-header h3 {
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  font-weight: 700;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-body {
  padding: 30px;
  max-height: 60vh;
  overflow-y: auto;
}

.modal-image {
  margin-bottom: 25px;
}

.modal-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
}

.modal-info p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.7;
  color: var(--gray-dark);
  margin-bottom: 25px;
}

.modal-features h4,
.modal-benefits h4 {
  color: var(--primary-blue);
  font-size: clamp(1.2rem, 3vw, 1.3rem);
  font-weight: 700;
  margin-bottom: 15px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--gray-light);
  border-radius: 8px;
}

.feature-item i {
  color: var(--green-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.benefit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.benefit-tag {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
  min-width: 150px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
  color: var(--white);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-hover), var(--green-primary));
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--gray-light);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 20px;
}

.map-container iframe {
  border-radius: 15px;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  width: 70px;
  height: 70px;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-secondary) 100%);
  color: var(--white);
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: pulse 2s infinite;
  cursor: pointer;
}

.whatsapp-float:hover {
  background: linear-gradient(135deg, var(--green-hover) 0%, var(--green-primary) 100%);
  transform: scale(1.1);
  color: var(--white);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
  animation: none;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
  animation: ripple 2s infinite;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 0;
    bottom: 0;
    flex-direction: column;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    width: min(280px, 75vw);
    text-align: left;
    transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    padding: 80px 15px 20px;
    z-index: 1000;
    height: 100vh;
    overflow-y: auto;
    backdrop-filter: blur(10px);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 6px 0;
    width: 100%;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.3s ease forwards;
  }

  .nav-menu.active li {
    animation-delay: calc(var(--i) * 0.06s);
  }

  .nav-menu li:nth-child(1) { --i: 1; }
  .nav-menu li:nth-child(2) { --i: 2; }
  .nav-menu li:nth-child(3) { --i: 3; }
  .nav-menu li:nth-child(4) { --i: 4; }
  .nav-menu li:nth-child(5) { --i: 5; }
  .nav-menu li:nth-child(6) { --i: 6; }
  .nav-menu li:nth-child(7) { --i: 7; }

  .nav-menu a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    margin-bottom: 2px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
  }

  .nav-menu a:hover {
    background: rgba(255, 140, 0, 0.1);
    border-color: var(--primary-orange);
    transform: translateX(5px);
    color: var(--primary-orange);
  }

  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(2px);
  }

  .menu-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  .navbar {
    z-index: 1001;
  }
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .cotizador-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .nosotros-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contacto-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .header-top .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .hero-bg {
    padding: 100px 0 30px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .tracking-form {
    flex-direction: column;
    gap: 15px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .clientes-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .proceso-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .images-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .valores-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .modal-content {
    margin: 5% auto;
    width: 95%;
  }

  .modal-actions {
    flex-direction: column;
  }

  .whatsapp-float {
    width: 60px;
    height: 60px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }

  .stats-section,
  .clientes,
  .cotizador,
  .como-funciona,
  .preguntas-frecuentes,
  .nosotros,
  .services,
  .contacto {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .navbar .container {
    padding: 10px 15px;
  }

  .logo {
    height: 50px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .proceso-steps {
    grid-template-columns: 1fr;
  }

  .images-grid {
    grid-template-columns: 1fr;
  }

  .speech-bubble {
    width: min(250px, 85vw);
  }

  .modal-header {
    padding: 20px;
  }

  .modal-body {
    padding: 20px;
  }

  .nav-menu {
    width: min(260px, 85vw);
    padding: 70px 10px 15px;
  }

  .nav-menu a {
    padding: 8px 12px;
    font-size: 13px;
  }

  .btn {
    min-width: 120px;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .service-card:active {
    transform: translateY(-5px);
  }

  .faq-question:active {
    background: rgba(255, 140, 0, 0.2);
  }

  .btn:active,
  .btn-cotizar:active,
  .btn-rastrear:active,
  .btn-track:active,
  .btn-cotizar-form:active,
  .btn-contactanos:active,
  .btn-enviar:active {
    transform: translateY(-1px);
  }

  .nav-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hamburger {
    padding: 10px;
    margin: -10px;
  }
}

/* Print Styles */
@media print {
  .header-top,
  .hamburger,
  .whatsapp-float,
  .modal {
    display: none !important;
  }

  .hero {
    background: var(--white) !important;
    color: var(--black) !important;
  }

  .hero-title {
    color: var(--black) !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-orange: #ff6600;
    --primary-blue: #000080;
    --gray-medium: #404040;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Additional fixes for horizontal overflow */
* {
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

.hero-content,
.cotizador-content,
.nosotros-content,
.contacto-content,
.stats-grid,
.clientes-grid,
.proceso-steps,
.images-grid,
.services-grid,
.footer-content {
  width: 100%;
}

/* Ensure no element extends beyond viewport */
.hero,
.stats-section,
.clientes,
.cotizador,
.como-funciona,
.promocion,
.preguntas-frecuentes,
.ubicanos,
.nosotros,
.services,
.contacto,
.footer {
  max-width: 100vw;
  overflow-x: hidden;
}
