/* Results Section Styles (Mobile) */
.mini-linea-mobile {
  width: 100vw;
  height: 1px;
  background: #181818;
  opacity: 0.12;
  position: fixed;
  top: 50%;
  left: 0;
  z-index: 10;
}
.results-section {
  background: #000 !important;
  /* slightly tighter vertical padding for better proportion on small screens */
  padding: 36px 0 22px 0 !important;
}
.results-title {
  font-size: 1.2rem;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  font-weight: 700;
  margin: 0;
  padding-top: 0;
  margin-bottom: 2.2rem;
  letter-spacing: -1px;
  font-family: inherit;
/* Services Title Styles (Mobile) */
  letter-spacing: -1px;
  font-family: inherit;
}
.results-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 100vw;
  margin: 0 auto;
  background: none;
  border-radius: 0;
  padding: 18px 0;
}
.result-card {
  flex: 1 1 140px;
  min-width: 140px;
  max-width: 100vw;
  background: linear-gradient(to bottom, rgba(60,55,110,0.22) 0%, rgba(20,18,40,0.88) 100%);
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.12);
  border: none;
  transition: box-shadow 0.2s, border-color 0.2s;
  border-bottom: 0 !important;
  padding: 24px 8px 18px 8px;
  text-align: center;
}

@media (hover: hover), (pointer: coarse) {
  .result-card:hover, .result-card:active {
    box-shadow: 0 0 0 4px rgba(128,0,255,0.18), 0 4px 32px 0 rgba(128,0,255,0.18);
    border-color: #8000ff;
  }
}
.result-value {
  font-size: 2rem;
  font-weight: 700;
  /* font-family for result numbers is set only within the results section */
  color: #fff;
  margin-bottom: 12px;
}
.result-desc {
  font-size: 1rem;
  color: #c9c3e6;
}
/* Estilos responsive solo para móviles */
@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    overflow-x: hidden !important;
    margin: 0 !important;
  }
  html, body {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  .footer-contacts {
    display: flex !important;
    justify-content: center !important;
    gap: 0.6rem !important;
    margin-bottom: 1.2rem !important;
  }
  .footer {
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-top: none !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: #000 !important;
  }
  /* New styles for copyright section */
  #footer-copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
    gap: 1.38px;
  line-height: 1.7;
  }
  .footer-copyright-main {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  }
  .footer-copyright-dev {
  display: block;
  margin-top: 0;
  color: #fff;
  }
  .service-desc {
    margin-top: 2px !important;
    margin-bottom: 10px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .portfolio-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  overflow-x: hidden !important;
  margin: 0 !important;
  }
  /* Mostrar sólo las primeras 6 imágenes en mobile (2 filas x 3) */
  .portfolio-grid .portfolio-item:nth-child(n+7) {
    display: none !important;
  }
  .hero-content {
  margin-top: -28px !important;
  }
  .hero-title {
     line-height: 1.75 !important;
  margin-bottom: 4px !important;
  }
  .cta-btn {
    background: rgba(0,0,0,0.6) !important;
    color: #DFE537 !important;
    border: 2px solid #DFE537 !important;
    border-radius: 0.4rem !important;
    box-shadow: inset 0 1px 0 0 rgba(223,229,55,0.12) !important, 0 0 0 0 rgba(223,229,55,0.08) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.12em !important;
    padding: 0.9rem 1.8rem !important;
    margin-top: 1.1rem !important;
    margin-bottom: 1.1rem !important;
    text-decoration: none !important;
    position: relative !important;
    outline: none !important;
    cursor: pointer !important;
    display: inline-block !important;
    min-width: 120px !important;
    z-index: 1 !important;
    transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease !important;
  }

  .cta-btn:hover, .cta-btn:focus {
    color: #DFE537 !important;
    background: rgba(0,0,0,0.6) !important;
    border-color: #DFE537 !important;
    box-shadow: 0 0 28px rgba(223,229,55,0.4) !important, inset 0 1px 0 0 rgba(223,229,55,0.08) !important;
    transform: translateY(-2px) !important;
  }
  /* Sin animación ni efecto al pasar el mouse */
  .navbar {
  margin-top: -30px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  justify-content: space-between !important;
  background: #000 !important;
  }
  .navbar img {
    margin-top: 0 !important;
    margin-left: 12px !important;
  }
  .hero {
  min-height: calc(50vh - 50px) !important;
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
  background: #000 !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
  }
  .hero-title {
  font-size: 2.4rem !important;
  word-break: break-word !important;
  line-height: 1.2 !important;
  }
  .hero-subtitle {
  font-size: 1.1rem !important;
  word-break: break-word !important;
  line-height: 1.5 !important;
  margin-bottom: 2rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 5 !important;
  line-clamp: 5 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    white-space: normal !important;
  }
  .cta-btn {
  font-size: 0.75rem !important;
  padding: 1.1rem 2.2rem !important;
  min-width: 150px !important;
  }
  .portfolio-grid .portfolio-item:last-child {
    display: none !important;
  }
  .customer-logos img {
     height: 110px !important;
     width: auto !important;
     min-width: 110px !important;
     max-width: 180px !important;
     object-fit: contain !important;
     margin: 0 0.5rem !important;
  }
  .service {
    text-align: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-bottom: 10px !important;
    background: #000 !important; /* cards black on mobile */
    color: #fff !important; /* ensure text inside is white */
    box-shadow: 0 6px 18px rgba(0,0,0,0.45) !important;
  }
  /* OCULTAR CONTENEDOR 0 (duplicado con IDs): Tiene problemas de fadding, mantener ocultado con CSS */
  div.services > .service:first-child {
    display: none !important;
  }
  #services-title {
    color: #fff !important;
  }
  .services {
    min-width: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    box-sizing: border-box !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    padding-bottom: 10px !important;
    margin: 0 auto 1.2rem auto !important;
    flex: 1 1 100% !important;
    scroll-snap-align: none !important;
    box-shadow: none !important;
    flex-direction: column !important;
    border: none !important;
    background: #000 !important;
    display: flex !important;
    gap: 1rem !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .logo {
    margin-right: auto !important;
    padding-left: 40px !important;
  }
  .lang-switch {
    margin-left: auto !important;
  }
  /* Separación extra entre logo y selector de idioma */
  .logo, .lang-switch {
    margin-top: 8px;
    margin-bottom: 8px;
    padding-left: 24px;
    padding-right: 24px;
  }
  body {
    font-size: 16px;
    margin: 8px;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  .container, .content, header, footer {
     width: 100vw !important;
     max-width: 100vw !important;
     padding: 0 !important;
     box-sizing: border-box !important;
     overflow-x: hidden !important;
  }
    /* Logo pequeño y centrado en el footer mobile */
    .footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 14px 0 0 0;
    }
    .footer-logo img {
      width: 76px;
      height: auto;
      opacity: 0.8;
      filter: brightness(0) invert(1);
    }
  nav, ul, li {
    display: block;
    width: 100%;
  }
  h1, h2, h3 {
    font-size: 1.5em;
    word-break: break-word;
  }
  /* Agrega más reglas según lo que veas en tu sitio */

  /* Carrusel de logos clientes principales */
  .customer-logos img:hover {
    transform: none !important;
  }
  .customer-logos {
    display: flex !important;
    gap: 0 !important;
    padding: 1rem 0 !important;
    justify-content: flex-start !important;
    align-items: center !important;
    overflow: hidden !important;
    position: relative !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    max-width: 100vw !important;
  }
  .customer-logos-track {
    display: flex !important;
    gap: 0 !important;
    animation: none !important;
    will-change: transform !important;
    min-width: 200vw !important;
  }
  @keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  .customer-logos-track.animated {
    animation: scroll-logos 45s linear infinite !important;
  }

  /* Estilos para íconos de idioma en mobile */
  .language-icon {
    border: 1px solid rgba(255,255,255,0.12); /* Borde blanco muy sutil */
    background: none;
    box-shadow: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    margin-right: 0;
    transition: border-color 0.2s;
  }
  .language-icon.active {
    border: 1.5px solid #a259ff; /* Violeta solo si está activo */
  }

  /* Modal de vista previa portfolio */
  .portfolio-arrows-container {
    display: flex;
    justify-content: center;
    gap: 2.5em;
    margin-top: 0.7em;
      /* Eliminado: las flechas van fuera de la imagen */
    }
  .portfolio-arrow {
  display: none;
.portfolio-arrow.left {
  left: 0.5em;
}
.portfolio-arrow.right {
  right: 0.5em;
}
.portfolio-arrow:active, .portfolio-arrow:focus {
  color: #007bff;
  opacity: 0.8;
  background: rgba(0,0,0,0.04);
}
  }
  .portfolio-arrow:active {
    color: #007bff;
    opacity: 1;
  }
  .portfolio-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
  }
  .portfolio-modal.active {
    display: flex;
  }
  .portfolio-modal-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(16px) brightness(1.2);
  z-index: 1;
  }
  .portfolio-modal-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    overflow: visible;
  }
}

:root {
  --accent: #DFE537;
  --accent-soft: rgba(223,229,55,0.12);
  --accent-strong: rgba(223,229,55,0.24);
}

body,
.navbar,
.hero,
.services,
.footer,
.results-section {
  background: #000 !important;
  color: #fff !important;
}

.portfolio,
.customers {
  background: #fff !important;
  color: #000 !important;
}

.hero-title,
.portfolio-title,
.main-customers-title,
.dream-team-title,
.service-title,
.results-title {
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  font-weight: 700 !important;
}

.service-title {
  font-family: 'Space Grotesk', 'Inter', Arial, sans-serif !important;
}

.hero-title {
  font-size: clamp(2rem, 8vw, 3rem) !important;
  letter-spacing: 0.16em !important;
  line-height: 1.2 !important;
}

.hero-subtitle,
.service-desc,
.result-desc {
  color: #d8d8a1 !important;
}

.cta-btn {
  background: rgba(0,0,0,0.6) !important;
  color: #DFE537 !important;
  border: 2px solid #DFE537 !important;
  border-radius: 0.4rem !important;
  box-shadow: inset 0 1px 0 0 rgba(223,229,55,0.12) !important, 0 0 0 0 rgba(223,229,55,0.08) !important;
  font-family: 'Space Grotesk', 'Inter', Arial, sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.18em !important;
  padding: 0.9rem 1.8rem !important;
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease !important;
}

.cta-btn:hover,
.cta-btn:focus {
  background: rgba(0,0,0,0.6) !important;
  color: #DFE537 !important;
  border-color: #DFE537 !important;
  box-shadow: 0 0 28px rgba(223,229,55,0.4) !important, inset 0 1px 0 0 rgba(223,229,55,0.08) !important;
  transform: translateY(-2px) !important;
}

.service,
.result-card,
.portfolio-item {
  border-color: rgba(223,229,55,0.14) !important;
}

.service {
  background: #070708 !important;
  border: 1px solid rgba(223,229,55,0.14) !important;
}

.service-divider {
  background: var(--accent) !important;
}

.portfolio-item {
  border: 1px solid rgba(223,229,55,0.18) !important;
}

.customer-logos,
.footer {
  border-top: 1px solid rgba(223,229,55,0.12) !important;
}

.footer-icon {
  border: none;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

.whatsapp-float {
  background: var(--accent) !important;
}

/* Ensure result numbers use the modern display font only inside the results section on mobile */
.results-section .result-value {
  font-family: 'Space Grotesk', 'Inter', Arial, sans-serif !important;
  font-variant-numeric: tabular-nums;
  font-size: 2.0rem !important;
  letter-spacing: -0.02em !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  margin-bottom: 6px !important;
}

/* Remove card shadow only inside the results section on mobile */
.results-section .result-card {
  box-shadow: none !important;
  transition: none !important;
  background: transparent !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
.results-section .result-card:hover {
  box-shadow: none !important;
}
/* Make result descriptions uppercase only inside results section (mobile) */
.results-section .result-desc {
  font-family: 'Space Grotesk', 'Inter', Arial, sans-serif !important;
  text-transform: uppercase !important;
  font-size: 0.95rem !important;
  margin-top: 6px !important;
  letter-spacing: 0.06em !important;
  color: #DFE537 !important;
}

/* Service icon images (SVG/PNG) sizing for mobile */
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  color: var(--accent);
  border-radius: 50%;
  background: rgba(223,229,55,0.12);
  box-shadow: inset 0 0 0 1.5px rgba(223,229,55,0.22), 0 0 24px rgba(223,229,55,0.1);
  padding: 0;
}
.service-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}
