@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  background-color: #FFFFFF;
  color: #000000;
  overflow-x: hidden;
}

.watermark-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
  max-width: 650px;
}

header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ED1C24;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  padding: 12px 20px;
}

.encabezado {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 16px;
  overflow: hidden;
}

.empresa {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

.logo {
  width: 95px;
  height: auto;
  margin-right: 10px;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.titulo {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  background-image: repeating-linear-gradient(
    45deg,
    #000 0,
    #000 10px,
    #fff 10px,
    #fff 20px
  );
  background-size: 40px 40px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

nav .menu {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
  overflow-x: auto;
}

nav .menu li a {
  text-decoration: none;
  color: #FFFFFF;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  display: block;
  white-space: nowrap;
}

nav .menu li a:hover {
  background-color: #FFC20E;
  color: #000000;
  border-radius: 15px;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .encabezado {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    width: 55px;
  }

  .menu-toggle {
    display: block;
    align-self: flex-end;
    margin-top: 5px;
  }

  nav .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #ED1C24;
    padding: 10px 0;
    margin: 0;
  }

  nav .menu.show {
    display: flex;
  }

  nav .menu li {
    width: 100%;
    border-bottom: 1px solid #FFC20E;
  }

  nav .menu li a {
    text-align: left;
    padding: 12px 20px;
    white-space: normal;
  }
}

.fila {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 40px 16px;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.fila img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border: 4px solid #FFC20E;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  animation: floatBounce 3s ease-in-out infinite;
}

.fila img:hover {
  transform: scale(1.05);
}

.fila.izquierda img {
  order: -1;
}

.fila > div {
  flex: 1;
}

@keyframes floatBounce {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 2px solid #ED1C24;
}

@keyframes pulseZoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.logo-destacado {
  animation: pulseZoom 2.5s infinite ease-in-out;
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.4));
}

.lema {
  font-family: 'Lobster', cursive;
  font-weight: bold;
  color: #ED1C24;
}

.whatsapp, .redes a {
  display: inline-block;
  background-color: #FFC20E;
  color: #000000;
  padding: 10px 20px;
  margin-top: 10px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

.whatsapp:hover, .redes a:hover {
  background-color: #ED1C24;
  color: #FFFFFF;
}

.redes a {
  margin-right: 10px;
}

.carrusel {
  display: flex;
  overflow: hidden;
  margin: 30px 0;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.slide {
  display: none;
  width: 100%;
  flex-wrap: wrap;
  animation: fadeIn 0.8s ease-in-out;
}

.slide.active {
  display: flex;
}

.info {
  flex: 1;
  padding: 20px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

footer {
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 15px;
  text-align: center;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.3);
  margin-top: 40px;
  font-size: 0.85rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.carrusel {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
  gap: 30px;
  background-color: #f9f9f9;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.slide {
  display: none;
  align-items: center;
  width: 100%;
  gap: 30px;
  animation: fadeIn 0.8s ease-in-out;
}

.slide.active {
  display: flex;
}

.slide img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 12px;
  border: 4px solid #FFC20E;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.slide-text {
  flex: 1;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  font-weight: 500;
  animation: fadeIn 0.8s ease-in-out;
}

@media screen and (max-width: 768px) {
  .carrusel {
    flex-direction: column;
    text-align: center;
  }

  .slide {
    flex-direction: column;
  }

  .slide-text {
    padding-top: 15px;
  }
}

.control {
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: background 0.3s ease;
  align-self: center;
}

.control:hover {
  background-color: rgba(237, 28, 36, 0.8);
}

.control.prev {
  margin-right: 10px;
}

.control.next {
  margin-left: 10px;
}

@media screen and (max-width: 1024px) {
  nav, .menu-toggle {
    display: none !important;
  }
}
