* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
}

/* HEADER */

header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;

  /* CAMBIADO */
  background: rgba(15, 15, 18, 0.9);

  backdrop-filter: blur(10px);

  /* AÑADIDO */
  border-bottom: 1px solid rgba(255,255,255,0.05);

  z-index: 1000;
}

header img {
  height: 75px;
}

nav a {
  margin: 0 15px;
  text-decoration: none;

  /* CAMBIADO */
  color: rgba(255,255,255,0.92);

  font-weight: 600;

  /* AÑADIDO */
  transition: 0.3s;
}

nav a:hover {

  /* AÑADIDO */
  color: #ffffff;

}

.btn-nav {
  padding: 8px 16px;

  /* CAMBIADO */
  background: #2563eb;

  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  margin-left: 15px;
  transition: 0.3s;
}

.btn-nav:hover {

  /* CAMBIADO */
  background: #3b82f6;

}

/* HERO */

.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  color: white;
  padding: 140px 20px 80px;

  background:
    url('/img/3dkpas.webp')
    center/cover
    no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.45)
    );
}

.hero-small {
  min-height: 75vh;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1100px;
  width: 100%;
}

.hero-main-logo {
  width: 240px;
  margin-bottom: 35px;
  filter:
    drop-shadow(0 10px 25px rgba(0, 0, 0, 0.45));
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  font-size: 1.15rem;
  max-width: 850px;
  margin: auto;
  line-height: 1.8;
}

.brands-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
  margin: 50px 0 35px;
  flex-wrap: wrap;
}

.brand-link {
  transition: 0.3s;
}

.brand-link:hover {
  transform: translateY(-6px) scale(1.03);
}

.brand-logo {
  height: 120px;
  object-fit: contain;
  filter:
    drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.15));
}

.hero-description {
  margin-top: 25px;
}

.hero-description strong {
  color: #ffffff;
}

/* BOTONES HERO */

.hero-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 14px 30px;
  border-radius: 35px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.hero-btn:hover {
  transform: translateY(-4px);
}

.primary-btn {
  background: white;

  /* CAMBIADO */
  color: #111317;
}

.primary-btn:hover {
  background: #f1f1f1;
}

.secondary-btn {
  background: #25D366;
  color: white;
}

.secondary-btn:hover {
  background: #1ebe5d;
}

.btn {
  margin-top: 30px;
  padding: 12px 25px;
  border: none;
  background-color: #ffffff;

  /* CAMBIADO */
  color: #111317;

  cursor: pointer;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background-color: #e6e6e6;
}

/* SECTIONS */

.section {
  padding: 80px 20px;
  text-align: center;
}

.section h2 {
  margin-bottom: 40px;
  font-size: 2rem;
}

/* CONTENT SECTION */

.content-section {
  max-width: 1200px;
  margin: auto;
  padding: 90px 20px;
}

.content-section h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;

  /* CAMBIADO */
  color: #2563eb;
}

.content-section p {
  margin-bottom: 28px;
  line-height: 2;
  color: #555;
  font-size: 1.05rem;
}

/* BLUE BOX */

.blue-box {
  background:
    linear-gradient(
      135deg,

      /* CAMBIADO */
      #15171c,
      #1f4aa8
    );

  color: white;
  border-radius: 25px;
  padding: 50px;
  margin: 70px 0;

  /* AÑADIDO */
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.blue-box h2 {
  color: white;
  margin-bottom: 20px;
}

.blue-box p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 0;
}

/* SERVICES */

.services {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card {
  border: 1px solid #eee;
  width: 280px;
  border-radius: 15px;
  transition: 0.3s;
  background: #fff;
  overflow: hidden;
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      transparent,

      /* CAMBIADO */
      rgba(37, 99, 235, 0.08)
    );
  opacity: 0;
  transition: .3s;
  pointer-events: none;
}

.card:hover::after {
  opacity: 1;
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 20px;
}

/* EVENTOS CTA */

.events-banner {
  padding: 90px 20px;
  background:
    linear-gradient(
      135deg,

      /* CAMBIADO */
      #111317,
      #1f4aa8
    );
  color: white;
  position: relative;
  overflow: hidden;
}

.events-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.12),
      transparent 40%
    );
  pointer-events: none;
}

.events-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.events-image {
  flex: 1;
  min-width: 320px;
}

.events-image img {
  width: 100%;
  border-radius: 25px;
  object-fit: cover;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.35);
}

.events-text {
  flex: 1;
  min-width: 320px;
}

.events-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.95rem;
  margin-bottom: 25px;
  backdrop-filter: blur(6px);
}

.events-banner h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.events-banner p {
  font-size: 1.15rem;
  line-height: 1.8;
  opacity: 0.95;
}

.price-highlight {
  margin-top: 35px;
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.price-highlight span {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.8;
}

.events-buttons {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.events-btn {
  padding: 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.events-btn:hover {
  transform: translateY(-4px);
}

.instagram-btn {
  background: #ffffff;

  /* CAMBIADO */
  color: #111317;
}

.instagram-btn:hover {
  background: #f1f1f1;
}

.whatsapp-btn {
  background: #25D366;
  color: white;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
}

/* LOGO SLIDER */

.logo-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 30px;
}

.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

.logo-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.logo-track img {
  width: 180px;
  margin: 0 40px;
  flex-shrink: 0;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: 0.3s;
}

.logo-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.logo-slider::before,
.logo-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
}

.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

/* FOOTER */

footer {

  /* CAMBIADO */
  background: #0d0f13;

  color: white;
  padding: 70px 20px 30px;

  /* AÑADIDO */
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.footer-column img {
  width: 180px;
  margin-bottom: 20px;
}

.footer-column p {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  font-size: 0.95rem;
}

.footer-column h3 {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: 0.3s;
  width: fit-content;
}

.footer-links a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 50px;
  padding-top: 25px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* RESPONSIVE */

@media (max-width: 768px) {

  header {
    padding: 15px 20px;
  }

  header img {
    height: 60px;
  }

  nav a {
    margin: 0 8px;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 160px;
  }

  .hero-main-logo {
    width: 180px;
  }

  .brand-logo {
    height: 85px;
  }

  .brands-container {
    gap: 35px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .content-section h2 {
    font-size: 1.8rem;
  }

  .blue-box {
    padding: 35px 25px;
  }

  .events-banner {
    padding: 70px 20px;
  }

  .events-content {
    flex-direction: column;
    text-align: center;
  }

  .events-buttons {
    justify-content: center;
  }

  .events-banner h2 {
    font-size: 2rem;
  }

  .events-banner p {
    font-size: 1rem;
  }

  .price-highlight {
    font-size: 2.1rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  footer {
    text-align: center;
  }

  .footer-links a {
    width: 100%;
  }

}