  :root {
    --blue-deep: #2358c5;
    --blue-sky: #2596be;
    --white: #ffffff;
    --blue-pale: #e8f4f8;
    --blue-mid: #1a3f8f;
    --blue-glow: rgba(37, 150, 190, 0.15);
    --blue-border: rgba(37, 150, 190, 0.3);
    --text-dark: #0d1f4a;
    --text-muted: #5a7a9a;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'IBM Plex Sans', sans-serif;
    background: var(--white);
    color: var(--text-dark);
    overflow-x: hidden;
  }

  /* ---- TYPOGRAPHY ---- */
  .display {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.03em;
  }

  .label {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue-sky);
  }

  /* ---- NAV ---- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;
}

/* En tu styles.css */
.nav-logo img {
  height: 48px;          /* altura fija en desktop */
  width: auto;           /* mantiene proporciones */
  max-width: 160px;      /* límite de ancho */
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast; /* mejora nitidez en algunos browsers */
}

@media (max-width: 768px) {
  .nav-logo img {
    height: 36px;        /* un poco más pequeño en móvil */
    max-width: 120px;
  }
}

/* Ajuste en mÃ³viles */
@media (max-width: 480px) {
  .nav-logo img {
    width: 120px;
  }
}

  .logo-mark {
    width: 36px;
    height: 36px;
    background: var(--blue-deep);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .logo-mark::before {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 50%;
    top: 10px; left: 10px;
  }

  .logo-mark::after {
    content: '';
    position: absolute;
    width: 6px; height: 6px;
    background: var(--blue-sky);
    border-radius: 50%;
    top: 15px; left: 15px;
  }

  .logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--blue-deep);
    letter-spacing: -0.02em;
  }

  .nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
  }

  .nav-links a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    opacity: 0.7;
    transition: opacity 0.2s;
  }

  .nav-links a:hover { opacity: 1; color: var(--blue-deep); }

  .nav-cta {
    background: var(--blue-deep);
    color: white !important;
    opacity: 1 !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s !important;
  }

  .nav-cta:hover { background: var(--blue-mid) !important; }

  /* ---- HERO ---- */
  .hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
  }

  /* Carousel fills full hero background */
  .carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.9s cubic-bezier(0.77, 0, 0.18, 1);
  }

  .carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
  }

  .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Dark gradient overlay so text stays readable */
  .carousel-overlay {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to right, rgba(5,15,40,0.82) 0%, rgba(5,15,40,0.55) 55%, rgba(5,15,40,0.28) 100%),
      linear-gradient(to top, rgba(5,15,40,0.6) 0%, transparent 50%);
    pointer-events: none;
  }

  /* Animated grid on top of photo */
  .hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
      linear-gradient(rgba(37,150,190,0.07) 1px, transparent 1px),
      linear-gradient(90deg, rgba(37,150,190,0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridShift 20s linear infinite;
    pointer-events: none;
  }

  @keyframes gridShift {
    0% { transform: translateY(0); }
    100% { transform: translateY(60px); }
  }

  /* Content layer above everything */
  .hero-content-layer {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 60px 120px;
    max-width: 780px;
  }

  /* Slide caption bottom-right */
  .slide-caption {
    position: absolute;
    bottom: 100px;
    right: 60px;
    background: #0d1f4a;
    
    border: 1px solid #2596be;
    border-radius: 14px;
    padding: 14px 20px;
    max-width: 240px;
    z-index: 4;
  }

  .slide-caption-tag {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue-sky);
    margin-bottom: 4px;
  }

  .slide-caption-text {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
  }

  /* Carousel controls bottom-center */
  .carousel-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 5;
  }

  .carousel-btn {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: #1a3f8f;
    
    border: 1px solid #3a6abf;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
  }

  .carousel-btn:hover {
    background: var(--blue-deep);
    border-color: var(--blue-deep);
  }

  .carousel-dots {
    display: flex;
    gap: 7px;
    align-items: center;
  }

  .carousel-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #8fa8c8;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0;
  }

  .carousel-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
  }

  /* Progress bar */
  .carousel-progress {
    position: absolute;
    bottom: 0; left: 0;
    height: 3px;
    background: var(--blue-sky);
    z-index: 5;
  }

  /* Hero text styles (now white on dark photo) */
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a3f8f;
    border: 1px solid #2596be;
    border-radius: 100px;
    padding: 8px 16px;
    margin-bottom: 32px;
  }

  .hero-badge-dot {
    width: 6px; height: 6px;
    background: var(--blue-sky);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
  }

  .hero-badge span {
    font-size: 12px;
    font-weight: 500;
    color: #7fd4f0;
    letter-spacing: 0.05em;
  }

  .hero-title {
    font-size: clamp(52px, 7vw, 90px);
    color: #ffffff;
    margin-bottom: 28px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.3);
  }

  .hero-title .accent {
    color: #7fd4f0;
  }

  .hero-title .stroke {
    -webkit-text-stroke: 2px rgba(255,255,255,0.6);
    color: transparent;
  }

  .hero-sub {
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255,255,255,0.68);
    max-width: 520px;
    margin-bottom: 48px;
    font-weight: 300;
  }

  .hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
  }

  /* Override btn-secondary color for dark hero */
  .hero-content-layer .btn-secondary {
    color: white;
    border-bottom-color: rgba(255,255,255,0.5);
  }

  .btn-primary {
    background: var(--blue-deep);
    color: white;
    padding: 16px 36px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }

  .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #3a6abf, transparent);
    opacity: 0;
    transition: opacity 0.3s;
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(35,88,197,0.35);
  }

  .btn-primary:hover::before { opacity: 1; }

  .btn-secondary {
    color: var(--blue-deep);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid var(--blue-sky);
    padding-bottom: 2px;
    transition: gap 0.2s;
  }

  .btn-secondary:hover { gap: 14px; }

  /* ---- STATS STRIP ---- */
  .stats-strip {
    background: var(--blue-deep);
    padding: 40px 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
  }

  .stat-item {
    padding: 0 40px;
    border-right: 1px solid #1e3a5f;
  }

  .stat-item:last-child { border-right: none; }

  .stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 6px;
  }

  .stat-number span {
    color: var(--blue-sky);
  }

  .stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    font-weight: 400;
  }

  /* ---- SERVICES ---- */
  .section {
    padding: 120px 60px;
  }

  .section-header {
    margin-bottom: 72px;
  }

  .section-title {
    font-size: clamp(36px, 4vw, 56px);
    margin-top: 16px;
    color: var(--text-dark);
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .service-card {
    border: 1px solid #d0daf0;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
    background: white;
    cursor: default;
  }

  .service-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-deep), var(--blue-sky));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
  }

  .service-card:hover {
    border-color: rgba(35,88,197,0.3);
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(35,88,197,0.12);
  }

  .service-card:hover::before { transform: scaleX(1); }

  .service-card.featured {
    background: var(--blue-deep);
    border-color: var(--blue-deep);
    grid-column: span 2;
  }

  .service-card.featured .service-title,
  .service-card.featured .service-desc,
  .service-card.featured .service-label { color: white; }

  .service-card.featured .service-label { color: rgba(255,255,255,0.6); }
  .service-card.featured .service-desc { color: rgba(255,255,255,0.7); }

  .service-icon {
    width: 52px; height: 52px;
    background: var(--blue-pale);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
  }

  .service-card.featured .service-icon {
    background: #1a3f8f;
  }

  .service-icon svg { width: 24px; height: 24px; }

  .service-label {
    color: var(--blue-sky);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 12px;
  }

  .service-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
  }

  .service-desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 28px;
  }

  .service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .tag {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 100px;
    background: var(--blue-pale);
    color: var(--blue-deep);
    font-weight: 500;
  }

  .service-card.featured .tag {
    background: #1a3f8f;
    color: rgba(255,255,255,0.85);
  }

  .service-card.featured .service-card-visual {
    position: absolute;
    right: -20px; bottom: -20px;
    width: 220px; height: 220px;
    opacity: 0.08;
  }

  /* ---- CLIENTS ---- */
  .clients-section {
    padding: 80px 60px;
    background: #f7faff;
    border-top: 1px solid #e0e8f4;
    border-bottom: 1px solid #e0e8f4;
  }

  .clients-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 48px;
    flex-wrap: wrap;
  }

  .client-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 28px;
    background: white;
    border: 1px solid #d0daf0;
    border-radius: 100px;
    transition: all 0.3s;
  }

  .client-pill:hover {
    border-color: var(--blue-sky);
    box-shadow: 0 8px 24px rgba(37,150,190,0.12);
  }

  .client-icon-ring {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
  }

  .client-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dark);
    letter-spacing: -0.01em;
  }

  .client-sector {
    font-size: 12px;
    color: var(--text-muted);
  }

  /* ---- PRODUCT STAR ---- */
  .product-section {
    padding: 120px 60px;
    background: var(--text-dark);
    position: relative;
    overflow: hidden;
  }

  .product-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 280px;
    font-weight: 800;
    color: rgba(255,255,255,0.02);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -0.05em;
  }

  .product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
  }

  .product-label { color: var(--blue-sky); }

  .product-title {
    font-size: clamp(36px, 4vw, 54px);
    color: white;
    margin-top: 16px;
    margin-bottom: 24px;
  }

  .product-desc {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    margin-bottom: 48px;
    font-weight: 300;
  }

  .feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }

  .feature-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--blue-sky);
    margin-top: 6px;
    flex-shrink: 0;
  }

  .feature-text h4 {
    font-size: 15px;
    font-weight: 500;
    color: white;
    margin-bottom: 4px;
  }

  .feature-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    line-height: 1.5;
  }

  /* Device mockup */
  .product-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
  }

  .phone-frame {
    width: 200px;
    height: 400px;
    background: #111827;
    border-radius: 32px;
    border: 2px solid #1e3a5f;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  }

  .phone-notch {
    width: 80px; height: 20px;
    background: #000;
    border-radius: 0 0 12px 12px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  .phone-screen {
    padding: 12px;
    height: calc(100% - 20px);
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .phone-map {
    flex: 1;
    background: linear-gradient(135deg, #1a2f50, #0d1f38);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
  }

  .map-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(37,150,190,0.1) 1px, transparent 1px),
      linear-gradient(90deg, rgba(37,150,190,0.1) 1px, transparent 1px);
    background-size: 24px 24px;
  }

  .map-route {
    position: absolute;
    top: 30%; left: 20%;
    width: 60%; height: 40%;
    border: 2px solid var(--blue-sky);
    border-right: none;
    border-bottom: none;
    border-radius: 8px 0 0 0;
    opacity: 0.6;
  }

  .map-dot {
    position: absolute;
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 2px solid white;
  }

  .map-dot-1 { background: #22c55e; top: 28%; left: 18%; }
  .map-dot-2 { background: var(--blue-sky); top: 60%; left: 72%; animation: mapPing 2s ease-in-out infinite; }
  .map-dot-3 { background: #f59e0b; top: 45%; left: 50%; }

  @keyframes mapPing {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,150,190,0.7); }
    50% { box-shadow: 0 0 0 8px rgba(37,150,190,0); }
  }

  .phone-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .phone-stat {
    background: #1a3f8f;
    border: 1px solid #2358c5;
    border-radius: 10px;
    padding: 8px 10px;
  }

  .phone-stat-val {
    font-size: 15px;
    font-weight: 700;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
  }

  .phone-stat-key {
    font-size: 9px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.05em;
  }

  .iot-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .iot-card {
    width: 130px;
    background: #13243d;
    border: 1px solid #1e3a5f;
    border-radius: 16px;
    padding: 16px;
    transition: all 0.3s;
  }

  .iot-card:hover {
    background: #1a3f8f;
    border-color: #2596be;
    transform: translateX(4px);
  }

  .iot-indicator {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #22c55e;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
  }

  .iot-name {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    margin-bottom: 4px;
  }

  .iot-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: white;
  }

  .iot-unit {
    font-size: 10px;
    color: rgba(255,255,255,0.35);
  }

  /* ---- CTA ---- */
  .cta-section {
    padding: 120px 60px;
    background: linear-gradient(135deg, var(--blue-deep) 0%, #1a3b9e 50%, var(--blue-sky) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
  }

  .cta-content {
    position: relative;
    z-index: 2;
  }

  .cta-title {
    font-size: clamp(40px, 5vw, 68px);
    color: white;
    margin: 16px 0 24px;
  }

  .cta-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 48px;
    font-weight: 300;
  }

  .btn-white {
    background: white;
    color: var(--blue-deep);
    padding: 18px 44px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
  }

  .btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.25);
  }

  /* ---- FOOTER ---- */
  footer {
    background: var(--text-dark);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: white;
    letter-spacing: -0.02em;
  }

  .footer-right {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
  }

  /* ---- SCROLL ANIMATIONS ---- */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  
  
    /* ============================================
     RESPONSIVE â€” TABLET  (â‰¤ 1024px)
     ============================================ */
  @media (max-width: 1024px) {
    nav { padding: 18px 32px; }

    .hero-content-layer { padding: 120px 32px 100px; }

    .slide-caption { right: 24px; bottom: 90px; }

    .stats-strip {
      grid-template-columns: repeat(2, 1fr);
      padding: 40px 32px;
      gap: 0;
    }
    .stat-item {
      padding: 24px 24px;
      border-right: none;
      border-bottom: 1px solid #1e3a5f;
    }
    .stat-item:nth-child(odd)  { border-right: 1px solid #1e3a5f; }
    .stat-item:nth-child(3),
    .stat-item:nth-child(4)    { border-bottom: none; }

    .section { padding: 80px 32px; }

    .services-grid {
      grid-template-columns: 1fr 1fr;
    }
    .service-card.featured { grid-column: span 2; }

    .clients-section { padding: 60px 32px; }
    .clients-row { gap: 16px; }

    .product-section { padding: 80px 32px; }
    .product-grid { gap: 48px; }

    .iot-card { width: 110px; }

    .cta-section { padding: 80px 32px; }

    footer { padding: 40px 32px; }
  }

  /* ============================================
     RESPONSIVE â€” MOBILE  (â‰¤ 700px)
     ============================================ */
  @media (max-width: 700px) {

    /* NAV â€” hamburger-less: hide links, keep logo + CTA */
    nav {
      padding: 16px 20px;
      gap: 12px;
    }
    .nav-links {
      display: none;
    }

    /* HERO */
    .hero-content-layer {
      padding: 100px 20px 110px;
      max-width: 100%;
    }
    .hero-badge { margin-bottom: 20px; }
    .hero-badge span { font-size: 11px; }
    .hero-title { margin-bottom: 18px; }
    .hero-sub { font-size: 15px; margin-bottom: 32px; }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
    .btn-primary { width: 100%; justify-content: center; padding: 15px 28px; }

    .slide-caption {
      display: none; /* hide caption on small screens â€” too cramped */
    }
    .carousel-controls { bottom: 28px; gap: 10px; }
    .carousel-btn { width: 36px; height: 36px; }

    /* STATS */
    .stats-strip {
      grid-template-columns: 1fr 1fr;
      padding: 32px 20px;
    }
    .stat-item { padding: 16px 12px; }
    .stat-number { font-size: 32px; }

    /* SECTIONS */
    .section { padding: 60px 20px; }
    .section-header { margin-bottom: 40px; }

    /* SERVICES â€” single column */
    .services-grid { grid-template-columns: 1fr; }
    .service-card.featured { grid-column: span 1; }
    .service-card { padding: 28px 24px; }

    /* CLIENTS */
    .clients-section { padding: 48px 20px; }
    .clients-row {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
      margin-top: 28px;
    }
    .client-pill { width: 100%; border-radius: 16px; }

    /* PRODUCT SECTION */
    .product-section { padding: 60px 20px; }
    .product-grid {
      grid-template-columns: 1fr;
      gap: 48px;
    }
    .product-visual {
      flex-direction: column;
      gap: 20px;
    }
    .iot-panel {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
    }
    .iot-card { width: calc(50% - 10px); }
    .phone-frame {
      width: 180px;
      height: 360px;
    }

    /* CTA */
    .cta-section { padding: 60px 20px; }
    .cta-sub { font-size: 15px; }
    .btn-white { padding: 15px 32px; font-size: 15px; }

    /* FOOTER */
    footer {
      flex-direction: column;
      gap: 12px;
      padding: 32px 20px;
      text-align: center;
    }
  }

  /* ============================================
     RESPONSIVE â€” SMALL MOBILE  (â‰¤ 400px)
     ============================================ */
  @media (max-width: 400px) {
    .stats-strip { grid-template-columns: 1fr; }
    .stat-item { border-right: none !important; }
    .stat-item:last-child { border-bottom: none; }

    .hero-badge { display: none; }

    .iot-card { width: 100%; }
  }
  
    /* ============================================
     CARRUSEL MARCAS
     ============================================ */
  /* â”€â”€ Base (Desktop grande >1024px) â”€â”€ */
.track-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.track-wrap::before,
.track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.track-wrap::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}

.track-wrap::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

.track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: clients-scroll 28s linear infinite;
}

.track:hover {
  animation-play-state: paused;
}

@keyframes clients-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* â”€â”€ Pill â”€â”€ */
.client-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 14px;
  border-radius: 50px;
  border: 0.5px solid #e0e0e0;
  background: #f9f9f9;
  flex-shrink: 0;
  min-width: 240px;
}

.client-icon-ring {
  width: 48px;
  height: 48px;
}

.client-icon-ring img {
  width: 30px;
  height: 30px;
}

.client-name {
  font-size: 14px;
}

.client-sector {
  font-size: 12px;
}

/* â”€â”€ Tablet (â‰¤1024px) â”€â”€ */
@media (max-width: 1024px) {
  .track {
    gap: 16px;
    animation: clients-scroll 32s linear infinite;
  }

  .track-wrap::before,
  .track-wrap::after {
    width: 60px;
  }

  .client-pill {
    min-width: 200px;
    padding: 12px 18px;
  }

  .client-icon-ring {
    width: 42px;
    height: 42px;
  }

  .client-name {
    font-size: 13px;
  }

  .client-sector {
    font-size: 11px;
  }
}

/* â”€â”€ MÃ³vil grande (â‰¤700px) â”€â”€ */
/* â”€â”€ MOBILE (<700px) â”€â”€ */
@media (max-width: 700px) {

  .track-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    /* evita saltos */
    scroll-behavior: auto;
  }

  .track {
    display: flex;
    gap: 12px;

    /* clave: NO max-content aquÃ­ */
    width: auto;

    animation: none;
    transform: none;
  }

  .client-pill {
    flex: 0 0 auto;
    min-width: 160px;
  }

  .track-wrap::before,
  .track-wrap::after {
    display: none;
  }
}
/* â”€â”€ MÃ³vil pequeÃ±o (â‰¤400px) â”€â”€ */
@media (max-width: 400px) {
  .track {
    gap: 10px;
    animation: clients-scroll 40s linear infinite;
  }

  .track-wrap::before,
  .track-wrap::after {
    width: 25px;
  }

  .client-pill {
    min-width: 150px;
    padding: 8px 12px;
  }

  .client-icon-ring {
    width: 32px;
    height: 32px;
  }

  .client-icon-ring img {
    width: 20px;
    height: 20px;
  }

  .client-name {
    font-size: 11px;
  }

  .client-sector {
    display: none; /* oculto para evitar saturaciÃ³n */
  }
}

/* â”€â”€ Logo siempre en escala de grises â”€â”€ */
.client-icon-ring img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

/* â”€â”€ InteracciÃ³n SOLO en dispositivos con hover (desktop) â”€â”€ */
@media (hover: hover) {
  .client-pill:hover .client-icon-ring img {
    filter: grayscale(0);   /* pasa a color */
    opacity: 1;
  }
}

/* â”€â”€ Asegurar que en mÃ³viles SIEMPRE quede en gris â”€â”€ */
@media (max-width: 700px) {
  .client-icon-ring img {
    filter: grayscale(1);
    opacity: 0.7;
  }
}

/* estado activo (tap) */
.client-pill:active .client-icon-ring img {
  filter: grayscale(0);
  opacity: 1;
}

/* clase controlada por JS (mejor UX) */
.client-pill.is-active .client-icon-ring img {
  filter: grayscale(0);
  opacity: 1;
}

/* .video-innovation-wrapper { */
  /* position: relative; */
  /* border-radius: 20px; */
  /* overflow: hidden; */
  /* border: 1px solid rgba(0, 229, 255, 0.18); */
  /* box-shadow: 0 0 24px rgba(0, 229, 255, 0.25); */
  /* aspect-ratio: 16/9; */
  /* background: #050d18; */
/* } */
/* .video-innovation-wrapper iframe { */
  /* width: 100%; height: 100%; */
  /* border: none; display: block; */
/* } */
/* .video-badge { */
  /* position: absolute; top: 14px; left: 14px; z-index: 10; */
  /* display: flex; align-items: center; gap: 8px; */
  /* background: rgba(6,10,16,0.82); */
  /* backdrop-filter: blur(10px); */
  /* border: 1px solid rgba(0,229,255,0.25); */
  /* border-radius: 100px; */
  /* padding: 6px 14px 6px 8px; */
  /* font-size: 11px; letter-spacing: 0.12em; */
  /* text-transform: uppercase; color: #00e5ff; */
/* } */
/* .badge-dot { */
  /* width: 7px; height: 7px; border-radius: 50%; */
  /* background: #00e5ff; box-shadow: 0 0 8px #00e5ff; */
  /* animation: blink 1.4s ease-in-out infinite; */
/* } */
/* @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} } */


/* .video-iframe { */
  /* position: relative; */
  /* width: 100%; */
  /* padding-bottom: 56.25%; /* 16:9 */ */
  /* height: 0; */
/* } */

/* .video-iframe iframe { */
  /* position: absolute; */
  /* top: 0; */
  /* left: 0; */
  /* width: 100%; */
  /* height: 100%; */
/* } */
  
  
.video-innovation-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.video-iframe {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

/* GIF responsive */
.gif-responsive {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ðŸ“± Ajuste mobile */
@media (max-width: 768px) {
  .video-innovation-wrapper {
    max-width: 100%;
  }
}
  
  
/*social*/

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* TÃ­tulo "SÃ­guenos en redes" */
.footer-title {
  font-size: 14px;
  color: #fff; /* ðŸ‘ˆ fuerza visibilidad */
  opacity: 0.9;
  letter-spacing: 0.5px;
}

/* Contenedor de Ã­conos */
.footer-icons {
  display: flex;
  gap: 15px;
}

/* Estilo de los links */
.footer-icons a {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* TamaÃ±o del SVG */
.footer-icons svg {
  width: 22px;
  height: 22px;
}

/* Hover elegante */
.footer-icons a:hover {
  transform: scale(1.2);
}

/* Colores de marca */
.footer-icons a:hover svg {
  color: inherit;
}

.footer-icons a[aria-label="LinkedIn"]:hover svg {
  color: #0077b5;
}

.footer-icons a[aria-label="YouTube"]:hover svg {
  color: #ff0000;
}

/* ðŸ“± Mobile */
@media (max-width: 768px) {
  .footer-social {
    margin: 10px 0;
  }

  .footer-title {
    font-size: 13px;
  }

  .footer-icons svg {
    width: 20px;
    height: 20px;
  }
}  



/*****Whatsapp**********/
.cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 24px;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(37, 211, 102, 0.4);
}

.cta-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 4px;
}

.cta-note-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 6px #25d366;
  animation: blink 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}


/* NAVBAR FIJO */
.navbar {
  position: fixed;   /* ðŸ”¥ Esto lo hace flotante */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;

  background: transparent;
  transition: all 0.3s ease;
}

/* EFECTO AL HACER SCROLL */
.navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* LOGO */
.nav-logo img {
  height: 40px;
}

/* LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

/* HAMBURGUESA */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    width: 100%;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 20px 0;
  }

  .nav-links.active {
    display: flex;
  }
}

/* ðŸ”¥ IMPORTANTE: evita que el contenido quede oculto detrÃ¡s del navbar */
body {
  padding-top: 80px;
}