/* ============================================================
   START SOLUTIONS — Hoja de estilos principal
   ============================================================ */

:root {
  --black: #0a0a0a;
  --white: #f5f5f0;
  --cyan: #00b4d8;
  --magenta: #e0006e;
  --yellow: #f5c800;
  --red: #d62828;
  --gray: #1a1a1a;
  --gray2: #2a2a2a;
  --text-muted: #888;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4vw;
  padding-top: max(1.2rem, env(safe-area-inset-top));
  padding-left: max(4vw, env(safe-area-inset-left));
  padding-right: max(4vw, env(safe-area-inset-right));
  background: rgba(10,10,10,0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1e1e1e;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 201;
}
.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0px;
}
.nav-logo-start {
  font-family: 'Helvetica Neue', 'Helvetica', 'Archivo Black', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
}
.nav-logo-solutions {
  font-family: 'Helvetica Neue', 'Helvetica', 'Archivo Black', Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
nav ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
nav ul a:hover { color: var(--white); }

.nav-cta {
  background: var(--cyan);
  color: var(--black) !important;
  padding: 0.5rem 1.3rem;
  border-radius: 2px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--white) !important; color: var(--black) !important; }

/* ── NAV MOBILE (hamburguesa) ── */
.nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 201;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); background: var(--cyan); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); background: var(--cyan); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nav-overlay.open {
  display: block;
  opacity: 1;
}

/* ── HERO (home) ── */
#inicio {
  min-height: 100vh;
  min-height: 100svh; /* iOS/Android: alto real de pantalla, sin la barra del navegador */
  display: grid;
  place-items: center;
  padding: 8rem 4vw 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(0,180,216,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(224,0,110,0.06) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  position: relative;
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--cyan);
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.hero-title .accent-c { color: var(--cyan); }
.hero-title .accent-m { color: var(--magenta); }
.hero-title .accent-y { color: var(--yellow); }

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: #aaa;
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--cyan);
  color: var(--black);
  padding: 0.9rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--white); transform: translateY(-2px); }

.btn-ghost {
  display: inline-block;
  border: 1px solid #333;
  color: var(--white);
  padding: 0.9rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* Logo side (home hero) */
.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-ring {
  position: relative;
  width: min(360px, 80vw);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s-logo {
  width: 260px;
  height: 260px;
  position: relative;
  animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.s-logo svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 40px rgba(0,180,216,0.3)) drop-shadow(0 0 80px rgba(224,0,110,0.15));
}

.logo-glow {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,0.12) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

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

/* ── SECTION BASE ── */
section { padding: 6rem 4vw; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 1rem;
}

.divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  margin-bottom: 2.5rem;
  border-radius: 2px;
}

/* ── QUIÉNES SOMOS ── */
#nosotros { background: var(--gray); }

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.nosotros-text p {
  color: #bbb;
  line-height: 1.85;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.stat-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
}

.stat {
  border-left: 2px solid var(--cyan);
  padding-left: 1rem;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.equipos-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.equipo-card {
  background: var(--gray2);
  border: 1px solid #333;
  border-radius: 4px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.equipo-card:hover { border-color: var(--cyan); transform: translateY(-3px); }

.equipo-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  display: block;
}

.equipo-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--white);
}

.equipo-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ── SERVICIOS ── */
#servicios { background: var(--black); }

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.servicio-card {
  background: var(--gray);
  border: 1px solid #222;
  border-radius: 4px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.servicio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.servicio-card:hover { border-color: #444; transform: translateY(-4px); }
.servicio-card:hover::before { transform: scaleX(1); }

.servicio-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: #222;
  line-height: 1;
  margin-bottom: 1rem;
}

.servicio-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
  color: var(--white);
}

.servicio-desc {
  font-size: 0.9rem;
  color: #999;
  line-height: 1.7;
}

/* ── POR QUÉ ELEGIRNOS ── */
#por-que { background: var(--gray); }

.porq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.reasons-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reasons-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--gray2);
  border-radius: 4px;
  border: 1px solid #2a2a2a;
  font-size: 0.95rem;
  color: #ccc;
  transition: border-color 0.2s;
}
.reasons-list li:hover { border-color: var(--cyan); }

.reasons-list li::before {
  content: '✦';
  color: var(--cyan);
  font-size: 0.7rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.clientes-panel {
  background: var(--black);
  border: 1px solid #222;
  border-radius: 4px;
  padding: 2.5rem;
}

.clientes-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.clientes-desc {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.clientes-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  background: #1a1a1a;
  border: 1px solid #333;
  color: #ccc;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

/* ── MISIÓN Y VISIÓN ── */
#mision { background: var(--black); }

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.mv-card {
  padding: 2.5rem;
  border-radius: 4px;
  border: 1px solid #222;
  position: relative;
  overflow: hidden;
}

.mv-card.mision { background: linear-gradient(135deg, #0d1a1f 0%, var(--gray) 100%); border-color: rgba(0,180,216,0.3); }
.mv-card.vision { background: linear-gradient(135deg, #1a0d14 0%, var(--gray) 100%); border-color: rgba(224,0,110,0.3); }
.mv-card.mision h3 { color: var(--cyan); }
.mv-card.vision h3 { color: var(--magenta); }

.mv-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.mv-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.mv-card p {
  font-size: 0.95rem;
  color: #aaa;
  line-height: 1.8;
}

/* ── CONTACTO ── */
#contacto {
  background: var(--gray);
  border-top: 1px solid #1e1e1e;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contacto-info h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

.contacto-info p {
  color: #999;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.7;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #222;
  text-decoration: none;
  color: var(--white);
  transition: color 0.2s;
}
.contact-item:hover { color: var(--cyan); }
.contact-item:last-child { border-bottom: none; }

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--gray2);
  border: 1px solid #333;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 500;
}

.contacto-asesor {
  background: var(--black);
  border: 1px solid #222;
  border-radius: 4px;
  padding: 2.5rem;
}

.asesor-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #222;
}

.asesor-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.asesor-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}

.asesor-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.asesor-desc {
  color: #999;
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.asesor-hours {
  background: var(--gray2);
  border-radius: 4px;
  padding: 1.2rem;
  border: 1px solid #2a2a2a;
}
.asesor-hours-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.asesor-hours-value {
  font-size: 0.95rem;
  color: var(--white);
}

.asesor-brands {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #222;
}
.asesor-brands-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}
.asesor-brands-chips {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* ── WHATSAPP FLOTANTE (siempre visible) ── */
.wa-float {
  position: fixed;
  right: max(1.5rem, calc(env(safe-area-inset-right) + 1rem));
  bottom: max(1.5rem, calc(env(safe-area-inset-bottom) + 1rem));
  z-index: 140;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
  animation: waPulse 2.2s ease-out infinite;
  transition: transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

@keyframes waPulse {
  0% { box-shadow: 0 4px 18px rgba(0,0,0,0.35), 0 0 0 0 rgba(37,211,102,0.55); }
  70% { box-shadow: 0 4px 18px rgba(0,0,0,0.35), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 18px rgba(0,0,0,0.35), 0 0 0 0 rgba(37,211,102,0); }
}

.wa-float-tooltip {
  position: absolute;
  right: 72px;
  bottom: 14px;
  background: var(--black);
  color: var(--white);
  border: 1px solid #333;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.wa-float:hover .wa-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 480px) {
  .wa-float-tooltip { display: none; }
  .wa-float {
    width: 54px;
    height: 54px;
    right: max(1rem, calc(env(safe-area-inset-right) + 0.6rem));
    bottom: max(1rem, calc(env(safe-area-inset-bottom) + 0.6rem));
  }
  .wa-float svg { width: 28px; height: 28px; }
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  border-top: 1px solid #1a1a1a;
  padding: 2rem 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  color: var(--white);
}
.footer-brand span { color: var(--cyan); }

footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cyan); }

.footer-dots {
  display: flex;
  gap: 0.4rem;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-c { background: var(--cyan); }
.dot-m { background: var(--magenta); }
.dot-y { background: var(--yellow); }
.dot-k { background: #555; }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── PÁGINAS LEGALES (Privacidad / Términos) ── */
.legal-hero {
  padding: 9rem 4vw 3rem;
  max-width: 900px;
  margin: 0 auto;
}
.legal-hero .section-title { margin-bottom: 0.5rem; }
.legal-updated {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 4vw 6rem;
}
.legal-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  color: var(--cyan);
  margin: 2.5rem 0 1rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  color: #bbb;
  line-height: 1.85;
  font-size: 0.98rem;
  margin-bottom: 1.1rem;
}
.legal-content ul {
  color: #bbb;
  line-height: 1.85;
  font-size: 0.98rem;
  margin: 0 0 1.1rem 1.4rem;
}
.legal-content li { margin-bottom: 0.4rem; }
.legal-content a { color: var(--cyan); }
.legal-back {
  display: inline-block;
  margin-top: 1rem;
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.9rem;
}
.legal-back:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */

/* Tablets (iPad, Android tablets en portrait): aliviana grillas de 2/3 columnas */
@media (max-width: 1024px) {
  .hero-grid,
  .nosotros-grid,
  .servicios-grid,
  .porq-grid,
  .mv-grid,
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-logo-wrap { order: -1; }
  .s-logo { width: 220px; height: 220px; }
}

/* A partir de acá el menú de texto se reemplaza por el botón hamburguesa.
   900px cubre celulares y tablets chicas en portrait (iPad mini, etc.) */
@media (max-width: 900px) {
  .nav-toggle { display: block; }

  nav ul {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    width: min(82vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    background: var(--gray);
    border-left: 1px solid #2a2a2a;
    padding: 6rem 2rem 2rem;
    padding-top: max(6rem, calc(env(safe-area-inset-top) + 4.5rem));
    padding-bottom: max(2rem, calc(env(safe-area-inset-bottom) + 1rem));
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 190;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.4);
  }
  nav ul.nav-open { transform: translateX(0); }

  nav ul li {
    width: 100%;
    border-bottom: 1px solid #2a2a2a;
  }
  nav ul li:last-child { border-bottom: none; }

  nav ul a {
    display: block;
    width: 100%;
    padding: 1.15rem 0;
    font-size: 1rem;
  }

  .nav-cta {
    display: inline-block;
    margin-top: 1.2rem;
    text-align: center;
  }
}

@media (min-width: 901px) {
  .nav-toggle { display: none !important; }
  .nav-overlay { display: none !important; }
  nav ul { transform: none !important; }
}

/* Celulares y pantallas chicas: una sola columna en las grillas de contenido */
@media (max-width: 768px) {
  .hero-grid,
  .nosotros-grid,
  .servicios-grid,
  .porq-grid,
  .mv-grid,
  .contacto-grid {
    grid-template-columns: 1fr;
  }
  .hero-logo-wrap { order: -1; }
  .s-logo { width: 180px; height: 180px; }
  .stat-row { gap: 1.5rem; flex-wrap: wrap; }
  .equipos-preview { grid-template-columns: 1fr 1fr; }
  footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: max(2rem, calc(env(safe-area-inset-bottom) + 1rem));
  }
}

/* Celulares chicos (iPhone SE, Android compactos) */
@media (max-width: 480px) {
  nav {
    padding: 1rem 5vw;
    padding-top: max(1rem, env(safe-area-inset-top));
  }
  .nav-logo-img { height: 34px; }
  .nav-logo-start { font-size: 1.05rem; }
  .nav-logo-solutions { font-size: 0.62rem; }
  .equipos-preview { grid-template-columns: 1fr; }
  .servicio-card { padding: 2rem 1.5rem; }
  .stat-row { gap: 1.2rem; }
  .hero-actions,
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-actions a,
  .hero-ctas a { text-align: center; }
}

/* Evita el "tap highlight" gris feo en Android al tocar botones/links */
a, button {
  -webkit-tap-highlight-color: transparent;
}
