* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0A0C10;
  font-family: 'Inter', sans-serif;
  color: #E9ECF2;
  line-height: 1.5;
  scroll-behavior: smooth;
}

h1, h2, h3, .logo, .nav-links a, .btn, .service-card h3, .stat-number {
  font-family: 'Space Grotesk', monospace;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: none;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46, 54, 68, 0.5);
  transition: all 0.2s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 600;
  background: linear-gradient(135deg, #FFFFFF 0%, #fe9e4f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}

.logo span {
  background: none;
  color: #fae19ee0;
  -webkit-background-clip: unset;
  background-clip: unset;
}

/* Menú Hamburguesa */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #feb84f;
  background: none;
  border: none;
  z-index: 1001;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #D1D8E7;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #feb24f;
}

.btn-outline {
  border: 1px solid #feac4f;
  padding: 8px 18px;
  border-radius: 40px;
  background: transparent;
  color: #feac4f;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: rgba(254, 172, 79, 0);
  border-color: #ffb36b;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('../IMA/Gemini_Generated_Image_1elr6n1elr6n1elr.png');
  background-size: cover;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-top: 1%;
}

.hero-content {
  flex: 1.2;
  min-width: 280px;
}

.hero-badge {
  display: inline-block;
  background: rgba(254, 199, 79, 0.11);
  backdrop-filter: blur(2px);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #ffb08c;
  margin-bottom: 1.5rem;
  border: 0.5px solid rgba(254, 120, 79, 0.3);
}

.hero-content h1 {
  font-size: 3.8rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.gradient-text {
  background: linear-gradient(120deg, #FFFFFF, #fec14f, #e35f2b);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  color: #B6C2D6;
  max-width: 550px;
  margin-bottom: 2rem;
}

.cta-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: #feb84f;
  color: #0A0C10;
  padding: 12px 30px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

.btn-primary:hover {
  background: #ff8e6b;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid #fecf4f;
  padding: 12px 30px;
  border-radius: 40px;
  color: #ffbd42;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(254, 120, 79, 0.08);
  transform: translateY(-2px);
}

.hero-visual {
  flex: 0.9;
  display: flex;
  justify-content: center;
}

/* Secciones */
section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: #9AA9C1;
  max-width: 680px;
  margin: 0 auto 60px auto;
  font-size: 1.1rem;
}

/* Servicios Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #0F1117;
  border-radius: 28px;
  padding: 2rem 1.8rem;
  border: 1px solid #20242C;
  transition: all 0.2s ease;
  cursor: pointer;
}

.service-card:hover {
  border-color: #feb24f40;
  transform: translateY(-5px);
  background: #12151E;
}

.service-icon {
  font-size: 2.5rem;
  color: #ffb765;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: #B1BFD6;
  margin-bottom: 1.5rem;
}

.service-link {
  text-decoration: none;
  color: #feb84f;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #0F1117;
  border: 1px solid #20242C;
  border-radius: 32px;
  max-width: 500px;
  width: 90%;
  padding: 2rem;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.8rem;
  cursor: pointer;
  color: #feb84f;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #ff8e6b;
}

.modal-icon {
  font-size: 3rem;
  color: #feb84f;
  margin-bottom: 1rem;
}

.modal-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.modal-content p {
  color: #B1BFD6;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.modal-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: #B1BFD6;
}

.modal-content li {
  margin-bottom: 0.5rem;
}

.modal-btn {
  margin-top: 1.5rem;
  text-align: center;
}

/* Resultados */
.results-showcase {
  background: linear-gradient(145deg, #0B0E14 0%, #0A0C10 100%);
  border-radius: 48px;
  padding: 3rem 2rem;
  margin-top: 2rem;
  border: 1px solid #232832;
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  text-align: center;
}

.benefit-item {
  flex: 1;
  min-width: 160px;
}

.stat-number {
  font-size: 2.7rem;
  font-weight: 700;
  color: #feb84f;
}

/* Portafolio */
.portfolio-show {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.port-item {
  background: #0F1117;
  border-radius: 28px;
  overflow: hidden;
  width: 300px;
  transition: 0.2s;
  border: 1px solid #20242C;
}

.port-img {
  background: #1A1E28;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fea44f;
}

.port-info {
  padding: 1.5rem;
}

.port-info h4 {
  margin-bottom: 6px;
}

.port-info p {
  font-size: 0.85rem;
  color: #9aa9c1;
}

/*Portafolio de proyectos*/

.port-items{
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

/* Testimonios */
.testi-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.testi-card {
  background: #0F1117;
  border-radius: 28px;
  padding: 2rem;
  max-width: 350px;
  border: 1px solid #20242C;
}

.testi-card i {
  color: #fe864f;
  font-size: 2rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.testi-card p {
  font-style: italic;
  margin-bottom: 1rem;
  color: #CAD2E6;
}

/* CTA */
.cta-section {
  text-align: center;
  background: radial-gradient(circle at 30% 10%, #1f1911, #0e0b08);
  border-radius: 48px;
  margin: 40px 0;
  padding: 60px 40px;
}

.contact-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Footer */
footer {
  border-top: 1px solid #20242C;
  padding: 40px 0;
  text-align: center;
  color: #7D8B9F;
}

footer .logo {
  display: inline-block;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 850px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: #0F1117;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 2rem;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .hero-content {

    min-width: 500px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .container {
    padding: 0 24px;
  }

  section {
    padding: 70px 0;
  }

  .cta-section {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero-content {
    min-width: 100%;
  }
  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}