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

body {
  font-family: 'Roboto', sans-serif;
  background: #f8f9fa;
  color: #2d2d2d;
  line-height: 1.7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: #1f1f1f;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 52px;
}

/* Menú hamburguesa */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.9rem;
  cursor: pointer;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-menu a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #e30613;
}

/* Switch de idioma */
.language-switch {
  display: flex;
  gap: 6px;
  margin-left: 25px;
}

.lang-btn {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border: none;
  padding: 7px 13px;
  border-radius: 20px;
  font-size: 0.92rem;
  cursor: pointer;
}

.lang-btn.active {
  background: #e30613;
  color: white;
  font-weight: 600;
}

.hero {
  height: 100vh;
  min-height: 680px;
  background: linear-gradient(rgba(31,31,31,0.88), rgba(31,31,31,0.88)), 
              url('images/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
  padding: 20px;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.7rem, 7.5vw, 4.6rem);
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero p {
  font-size: clamp(1.18rem, 4vw, 1.4rem);
  margin-bottom: 45px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 15px 36px;
  background: #e30613;
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-size: 1.08rem;
}

.btn:hover {
  background: #c00410;
  transform: translateY(-3px);
}

.tracking-section {
  background: #1f1f1f;
  padding: 70px 20px;
  text-align: center;
  color: white;
}

.tracking-section h2 {
  color: #e30613;
  margin-bottom: 28px;
}

.tracking-box {
  max-width: 620px;
  margin: 0 auto 25px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.tracking-box input {
  flex: 1;
  min-width: 280px;
  padding: 16px 22px;
  font-size: 1.1rem;
  border: 2px solid #444;
  border-radius: 50px;
  background: #2a2a2a;
  color: white;
}

.tracking-btn {
  padding: 16px 34px;
  background: #e30613;
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
}

.tracking-btn:hover {
  background: #c00410;
}

.logo-section {
  padding: 100px 20px;
  background: #f8f9fa;
  text-align: center;
}

.main-logo {
  max-width: 460px;
  width: 85%;
  height: auto;
}

.section {
  padding: 110px 0;
}

.section h2 {
  text-align: center;
  font-size: 2.85rem;
  font-weight: 600;
  color: #1f1f1f;
  margin-bottom: 55px;
}

.section.dark h2 {
  color: #ffffff; 
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.story {
  font-size: 1.25rem;
  text-align: center;
  max-width: 780px;
  margin: 0 auto 55px;
  color: #555;
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
}

.card {
  background: white;
  padding: 40px 32px;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.07);
}

.card h3 {
  color: #e30613;
  margin-bottom: 18px;
}

.dark {
  background: #1f1f1f;
  color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 30px;
}

.service-card {
  background: #2a2a2a;
  padding: 38px 28px;
  border-radius: 12px;
  transition: all 0.4s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.service-card h3 {
  color: #e30613;
  margin-bottom: 14px;
}

.advantages {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
}

.advantages li {
  font-size: 1.2rem;
  margin: 20px 0;
  padding-left: 40px;
  position: relative;
}

.advantages li::before {
  content: "▹";
  color: #e30613;
  position: absolute;
  left: 0;
  font-size: 1.4rem;
}

#contacto .container {
  max-width: 800px;
}

.contact-form {
  max-width: 100%;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  background: white;
}

.contact-form textarea {
  grid-column: span 2;
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  grid-column: span 2;
  justify-self: start;
}

.contact-info {
  margin-top: 50px;
  text-align: center;
  font-size: 1.1rem;
}

.contact-info p {
  margin: 12px 0;
}

.floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #e30613;
  color: white;
  padding: 16px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(227, 6, 19, 0.35);
  z-index: 9999;
  transition: all 0.3s ease;
}

.floating-btn:hover {
  transform: scale(1.08) translateY(-4px);
  background: #c00410;
}

footer {
  background: #1f1f1f;
  padding: 55px 0 35px;
  text-align: center;
  color: #aaaaaa;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1f1f1f;
    display: none;
    padding: 25px 0;
  }

  .nav-menu.active {
    display: block;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form textarea {
    grid-column: span 1;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .tracking-box {
    flex-direction: column;
  }

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