* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #0B0B0F;
  color: white;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

header {
  padding: 25px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: sticky;
  top: 0;
  background: rgba(11,11,15,0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
   color: #2563EB;
}

.logo span {
  color: white;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

nav a:hover {
  color: #2563EB;
}

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 50px;
}

.tag {
  color: #2563EB;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-text h2 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 25px;
}

.description {
  color: #A1A1AA;
  font-size: 1.1rem;
  margin-bottom: 35px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 30px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.primary {
  background: #2563EB;
  color: white;
}

.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(37,99,235,0.4);
}

.secondary {
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
}

.secondary:hover {
  border-color: #2563EB;
}

.hero-card {
  display: flex;
  justify-content: center;
}

.mockup {
  width: 100%;
  max-width: 450px;
  background: #111118;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(37,99,235,0.15);
}

.mockup-header {
  height: 50px;
  background: #18181B;
}

.mockup-content {
  padding: 30px;
}

.mockup-content h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.mockup-content p {
  color: #A1A1AA;
  margin-bottom: 25px;
}

.mockup-box {
  height: 180px;
  background: linear-gradient(135deg, #2563EB, #111118);
  background-image: url(Images/paginasmuestra.jpg);
  background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
  border-radius: 18px;
  margin-bottom: 20px;
}

.mockup-box.small {
  height: 70px;
  background-image: url(Images/minimock.jpg);
  background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: #111118;
  padding: 35px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #2563EB;
}

.card h3 {
  margin-bottom: 15px;
}

.card p {
  color: #A1A1AA;
  line-height: 1.7;
}

.portfolio {
  padding: 100px 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.portfolio-item {
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #2563EB, #111118);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: end;
  padding: 25px;
}

#Polarizado {
    background-image: url('Images/RicoTint.jpeg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

.cta {
  padding: 100px 0;
}

.cta-content {
  background: linear-gradient(135deg, #2563EB, #111118);
  padding: 60px;
  border-radius: 30px;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.footer {
  background: #09090c;
  padding-top: 70px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  padding-bottom: 50px;
}

.footer-brand h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.footer-brand p {
  color: #A1A1AA;
  max-width: 350px;
  line-height: 1.7;
}

.footer-social h4 {
  margin-bottom: 20px;
}

.redes {
  display: flex;
  gap: 18px;
}

.redes a {
  width: 50px;
  height: 50px;
  background: #111118;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: 0.3s;
}

.redes a:hover {
  background: #2563EB;
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(37,99,235,0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 25px 0;
  text-align: center;
}

.footer-bottom p {
  color: #A1A1AA;
}

.footer-bottom a {
  color: #2563EB;
  text-decoration: none;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {

  /* Ocultar navegación */
  nav {
    display: none;
  }

  /* Ajustar hero */
  .hero {
    padding: 60px 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h2 {
    font-size: 2.5rem;
  }

  .description {
    font-size: 1rem;
  }

  /* Botones hero */
  .hero-buttons {
    justify-content: center;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  /* CTA */
  .cta-content {
    padding: 40px 25px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
    line-height: 1.4;
  }

  .cta-content .btn {
    width: 100%;
    display: block;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .redes {
    justify-content: center;
  }

  #Polarizado {
        min-height: 250px;
    }

}

