/*--------------------------------------------------------------
# Marca SMA Technology
--------------------------------------------------------------*/
:root {
  --brand-blue: #56aaf2;
  --brand-purple: #8740a8;
}

.header .logo img,
.footer .footer-about .logo img {
  max-height: 44px;
  margin-right: 10px;
}

.logo .sitename {
  text-transform: none !important;
  font-family: "Poppins", var(--heading-font);
  font-weight: 700 !important;
  letter-spacing: -0.5px;
}

.logo .sitename .sma {
  background: linear-gradient(90deg, var(--brand-purple), var(--brand-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.header .logo .sitename .tech {
  color: #222831;
}

.footer .logo .sitename .tech {
  color: #fff;
}

@media (max-width: 575px) {
  .header .logo h1 {
    font-size: 22px;
  }

  .header .logo img {
    max-height: 34px;
  }
}

/*--------------------------------------------------------------
# Colores de marca aplicados al sitio
--------------------------------------------------------------*/
:root {
  --brand-gradient: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-blue) 100%);
}

::selection {
  background: var(--brand-blue);
  color: #fff;
}

/* Barra superior */
.header .topbar {
  background: var(--brand-gradient);
}

.header .topbar,
.header .topbar a,
.header .topbar span,
.header .topbar i,
.header .topbar .social-links a {
  color: #fff !important;
}

/* Títulos de sección */
.section-title h2 {
  color: var(--heading-color);
}

/* Tarjetas de servicios */
.services .service-item .icon {
  background: var(--brand-gradient);
  box-shadow: 0 10px 25px rgba(86, 170, 242, 0.35);
}

.services .service-item:hover .icon {
  transform: rotate(-8deg) scale(1.08);
}

@media (min-width: 1365px) {
  .services .service-item:hover {
    border-color: var(--brand-purple);
  }

  .services .service-item:hover h3 {
    color: var(--brand-purple);
  }
}

/* Llamado a la acción */
.call-to-action.light-background {
  background: linear-gradient(120deg, #f3ecfa 0%, #e6f2fe 100%);
}

.call-to-action .cta-btn {
  background: var(--brand-gradient);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  padding: 14px 40px;
  box-shadow: 0 10px 25px rgba(135, 64, 168, 0.3);
}

.call-to-action .cta-btn:hover {
  background: var(--brand-gradient);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(86, 170, 242, 0.45);
}

/* Encabezado de páginas internas */
.page-title.dark-background {
  background: linear-gradient(115deg, #2a1a4a 0%, #1d3f80 55%, #2f7fd6 100%);
}

/* Footer */
.footer.dark-background {
  background: linear-gradient(160deg, #0f1733 0%, #1d1440 100%);
}

.footer .footer-links ul a:hover,
.footer .social-links a:hover {
  color: var(--brand-blue);
}

/* Botones y elementos de acento */
.scroll-top,
#preloader div,
.contact .php-email-form button[type=submit],
.features .nav-link.active i {
  background: var(--brand-gradient) !important;
}

.contact .php-email-form button[type=submit] {
  border-radius: 50px;
}

.contact .info-item i {
  color: var(--brand-purple);
}

.features .nav-link.active i {
  color: #fff;
}

.features .nav-link.active h4 {
  color: var(--brand-purple);
}

/*--------------------------------------------------------------
# Header integrado con el hero
--------------------------------------------------------------*/
:root {
  --hero-bg:
    radial-gradient(circle at 72% 45%, rgba(255, 255, 255, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(135, 64, 168, 0.45) 0%, transparent 50%),
    linear-gradient(115deg, #2f7fd6 0%, #56aaf2 55%, #7cc0f7 100%);
}

/* Páginas internas: el header lleva el mismo fondo que el hero */
.header {
  background: linear-gradient(115deg, #2f7fd6 0%, #56aaf2 60%, #7cc0f7 100%);
}

.header .branding {
  min-height: 84px;
  padding: 14px 0;
}

/* Portada: header transparente flotando sobre el hero */
.index-page .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
}

.index-page.scrolled .header {
  background: rgba(47, 127, 214, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(15, 23, 51, 0.18);
}

.index-page.scrolled .header .branding {
  min-height: 70px;
  padding: 8px 0;
}

.index-page .hero-cyber {
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 84px;
}

/* Logo en blanco */
.header .logo .sitename .tech,
.header .logo .sitename .sma {
  color: #fff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.header .logo img {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.9)) drop-shadow(0 4px 10px rgba(15, 23, 51, 0.3));
}

.header .logo h1 {
  font-size: 30px;
  font-weight: 800 !important;
  text-shadow: 0 2px 12px rgba(15, 23, 51, 0.2);
}

.header .logo h1 .sma {
  margin-right: 6px;
}

/* Menú escritorio */
@media (min-width: 1200px) {
  .header .navmenu > ul > li > a,
  .header .navmenu > ul > li > a:focus {
    color: rgba(255, 255, 255, 0.88);
    font-family: "Poppins", var(--nav-font);
    font-size: 16px;
    font-weight: 500;
    text-transform: none;
    padding: 14px 20px;
    position: relative;
  }

  .header .navmenu > ul > li > a::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transform: scaleX(0);
    transition: transform 0.3s;
  }

  .header .navmenu > ul > li:hover > a,
  .header .navmenu > ul > li > a.active {
    color: #fff;
  }

  .header .navmenu > ul > li:hover > a::after,
  .header .navmenu > ul > li > a.active::after {
    transform: scaleX(1);
  }

  .header .navmenu .dropdown ul {
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(15, 23, 51, 0.2);
  }
}

/* Botones del header */
.header-actions {
  align-items: center;
  gap: 14px;
}

.header-actions a {
  font-family: "Poppins", var(--nav-font);
  font-size: 15px;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 50px;
  white-space: nowrap;
  transition: all 0.3s;
}

.btn-header-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.btn-header-outline:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}

.btn-header-solid {
  color: #2a5fc4;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 51, 0.18);
}

.btn-header-solid i {
  margin-left: 6px;
  transition: transform 0.3s;
}

.btn-header-solid:hover {
  color: var(--brand-purple);
  transform: translateY(-2px);
}

.btn-header-solid:hover i {
  transform: translateX(4px);
}

/* Móvil */
@media (max-width: 1199px) {
  .header .mobile-nav-toggle {
    color: #fff;
  }

  .header .branding {
    min-height: 70px;
    padding: 8px 0;
  }

  .index-page .hero-cyber {
    padding-top: 70px;
  }
}

@media (max-width: 575px) {
  .header .logo h1 {
    font-size: 22px;
  }
}

@media (min-width: 992px) {
  .index-page .hero-cyber .hero-media {
    height: calc(100% - 100px);
  }
}

/*--------------------------------------------------------------
# ¿Por qué elegirnos?
--------------------------------------------------------------*/
.why-us {
  background: linear-gradient(120deg, #f6f1fb 0%, #eef6fe 100%);
  padding: 90px 0;
}

.why-us .why-us-img {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 23, 51, 0.18);
}

.why-us .why-us-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s;
}

.why-us .why-us-img:hover img {
  transform: scale(1.05);
}

.why-us h2 {
  font-family: "Poppins", var(--heading-font);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--heading-color);
  margin-bottom: 30px;
}

.why-us h2 span {
  color: inherit;
}

.why-us .accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-width: 0;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-active-bg: transparent;
}

.why-us .accordion-item {
  border-bottom: 1px solid rgba(27, 35, 64, 0.15);
}

.why-us .accordion-button {
  padding: 26px 50px 26px 0;
  font-family: "Poppins", var(--heading-font);
  font-size: 21px;
  font-weight: 500;
  color: var(--heading-color);
  background: transparent;
  box-shadow: none;
  position: relative;
}

.why-us .accordion-button:not(.collapsed) {
  color: var(--brand-purple);
}

/* Icono + que gira a × */
.why-us .accordion-button::after {
  content: "";
  position: absolute;
  right: 6px;
  width: 26px;
  height: 26px;
  margin: 0;
  background: none;
  transform: none;
}

.why-us .accordion-button::before {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  width: 38px;
  height: 38px;
  margin-top: -19px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  color: var(--brand-blue);
  transition: transform 0.35s, color 0.35s;
}

.why-us .accordion-button:not(.collapsed)::before {
  transform: rotate(45deg);
  color: var(--brand-purple);
}

.why-us .accordion-body {
  padding: 0 50px 26px 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--default-color);
}

@media (max-width: 575px) {
  .why-us {
    padding: 60px 0;
  }

  .why-us .accordion-button {
    font-size: 18px;
    padding: 20px 46px 20px 0;
  }
}

/*--------------------------------------------------------------
# Cuéntanos tu necesidad
--------------------------------------------------------------*/
.idea-cta {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  text-align: center;
  background:
    radial-gradient(ellipse 45% 60% at 0% 0%, rgba(86, 170, 242, 0.55) 0%, transparent 70%),
    radial-gradient(ellipse 40% 55% at 100% 100%, rgba(135, 64, 168, 0.45) 0%, transparent 70%),
    #f1f0fd;
}

.idea-cta .idea-logo {
  height: 48px;
  margin-bottom: 26px;
}

.idea-cta h2 {
  font-family: "Poppins", var(--heading-font);
  font-size: clamp(32px, 4.6vw, 62px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: #161a2b;
  max-width: 1000px;
  margin: 0 auto 46px;
}

.idea-cta h2 span {
  color: inherit;
}

.idea-cta .idea-form {
  display: flex;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 6px 6px 6px 22px;
  background: #fff;
  border: 1px solid rgba(123, 95, 208, 0.18);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(86, 80, 180, 0.1);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.idea-cta .idea-form:focus-within {
  border-color: rgba(123, 95, 208, 0.5);
  box-shadow: 0 10px 40px rgba(86, 80, 180, 0.2), 0 0 0 4px rgba(86, 170, 242, 0.15);
}

.idea-cta .idea-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 18px;
  color: #161a2b;
  padding: 12px 10px 12px 0;
}

.idea-cta .idea-form input::placeholder {
  color: #55596b;
}

.idea-cta .idea-form button {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-size: 20px;
  background: linear-gradient(135deg, #7b5fd0, var(--brand-purple));
  transition: transform 0.3s, box-shadow 0.3s;
}

.idea-cta .idea-form button:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(135, 64, 168, 0.4);
}

.idea-cta .idea-note {
  margin: 18px 0 0;
  font-size: 16px;
  color: #3a3f55;
}

@media (max-width: 575px) {
  .idea-cta {
    padding: 80px 0;
  }

  .idea-cta .idea-form input {
    font-size: 16px;
  }
}

/*--------------------------------------------------------------
# Quiénes somos (debajo del hero)
--------------------------------------------------------------*/
.intro-sma {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background: #fff;
}

.intro-sma .intro-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-family: "Poppins", var(--heading-font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-purple);
}

.intro-sma h2 {
  font-family: "Poppins", var(--heading-font);
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--heading-color);
  margin-bottom: 22px;
}

.intro-sma h2 span {
  color: inherit;
}

.intro-sma .intro-lead {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.intro-sma .intro-list {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
}

.intro-sma .intro-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(27, 35, 64, 0.1);
}

.intro-sma .intro-list li:last-child {
  border-bottom: 0;
}

.intro-sma .intro-list i {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  font-size: 22px;
  color: #fff;
  background: var(--brand-gradient);
  box-shadow: 0 8px 20px rgba(86, 170, 242, 0.35);
}

.intro-sma .intro-list h4 {
  font-family: "Poppins", var(--heading-font);
  font-size: 19px;
  font-weight: 600;
  margin: 2px 0 4px;
}

.intro-sma .intro-list p {
  margin: 0;
  font-size: 15px;
}

.intro-sma .intro-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", var(--heading-font);
  font-weight: 600;
  font-size: 16px;
  color: var(--brand-purple);
}

.intro-sma .intro-link i {
  transition: transform 0.3s;
}

.intro-sma .intro-link:hover i {
  transform: translateX(5px);
}

/* Laptop con brillo de marca detrás */
.intro-sma .intro-img {
  position: relative;
  text-align: center;
}

.intro-sma .intro-img::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 40%, rgba(86, 170, 242, 0.85), transparent 62%),
    radial-gradient(circle at 70% 65%, rgba(135, 64, 168, 0.7), transparent 62%);
  filter: blur(40px);
}

.intro-sma .intro-img img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 30px 40px rgba(15, 23, 51, 0.3));
  animation: intro-float 6s ease-in-out infinite;
}

@keyframes intro-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@media (max-width: 991px) {
  .intro-sma {
    padding: 70px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-sma .intro-img img {
    animation: none;
  }
}

/*--------------------------------------------------------------
# Animación de red alrededor de la laptop
--------------------------------------------------------------*/
.intro-sma .intro-img {
  margin: 30px 10px;
}

.intro-sma .net-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 0;
  pointer-events: none;
}

.intro-sma .net-orbit {
  fill: none;
  stroke: url(#net-grad);
  stroke-width: 1.5;
  stroke-dasharray: 4 10;
  opacity: 0.55;
  animation: net-dash 30s linear infinite;
}

.intro-sma .net-sat {
  fill: var(--brand-blue);
  filter: drop-shadow(0 0 6px var(--brand-blue));
}

.intro-sma .net-sat.alt {
  fill: var(--brand-purple);
  filter: drop-shadow(0 0 6px var(--brand-purple));
}

.intro-sma .net-line {
  fill: none;
  stroke: url(#net-grad);
  stroke-width: 2.5;
  stroke-dasharray: 6 8;
  opacity: 0.95;
  animation: net-dash 3s linear infinite;
}

.intro-sma .net-packet {
  fill: #fff;
  stroke: var(--brand-blue);
  stroke-width: 2;
  filter: drop-shadow(0 0 5px var(--brand-blue));
}

.intro-sma .net-packet.alt {
  fill: var(--brand-purple);
  stroke: none;
  filter: drop-shadow(0 0 5px var(--brand-purple));
}

@keyframes net-dash {
  to { stroke-dashoffset: -140; }
}

/* Nodos flotantes */
.intro-sma .net-node {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(86, 170, 242, 0.35);
  box-shadow: 0 10px 30px rgba(15, 23, 51, 0.15);
  font-family: "Poppins", var(--heading-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--heading-color);
  white-space: nowrap;
  animation: net-bob 4s ease-in-out infinite;
}

.intro-sma .net-node.n2 { animation-delay: -1s; }
.intro-sma .net-node.n3 { animation-delay: -2s; }
.intro-sma .net-node.n4 { animation-delay: -3s; }

.intro-sma .net-node i {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 15px;
  color: #fff;
  background: var(--brand-gradient);
}

/* Onda de pulso en cada nodo */
.intro-sma .net-node i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--brand-blue);
  animation: net-ping 2.2s ease-out infinite;
}

@keyframes net-bob {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 8px)); }
}

@keyframes net-ping {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Señal WiFi sobre la pantalla */
.intro-sma .net-wifi {
  position: absolute;
  z-index: 2;
  left: 64.5%;
  top: -34px;
  width: 70px;
  height: 46px;
  transform: translateX(-50%);
}

.intro-sma .net-wifi span {
  position: absolute;
  left: 50%;
  bottom: 0;
  border: 4px solid transparent;
  border-top-color: var(--brand-blue);
  border-radius: 50%;
  transform: translateX(-50%);
  opacity: 0.15;
  animation: net-wifi 1.8s ease-in-out infinite;
}

.intro-sma .net-wifi span:nth-child(1) { width: 26px; height: 26px; bottom: 6px; animation-delay: 0s; }
.intro-sma .net-wifi span:nth-child(2) { width: 46px; height: 46px; bottom: -4px; animation-delay: 0.25s; border-top-color: #7b78d8; }
.intro-sma .net-wifi span:nth-child(3) { width: 66px; height: 66px; bottom: -14px; animation-delay: 0.5s; border-top-color: var(--brand-purple); }

.intro-sma .net-wifi i {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 10px var(--brand-blue);
}

@keyframes net-wifi {
  0%, 100% { opacity: 0.15; }
  40% { opacity: 1; }
}

@media (max-width: 575px) {
  .intro-sma .net-node {
    font-size: 11px;
    padding: 5px 10px 5px 5px;
  }

  .intro-sma .net-node i {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .intro-sma .net-node.n1,
  .intro-sma .net-node.n3 {
    left: 16% !important;
  }

  .intro-sma .net-node.n2,
  .intro-sma .net-node.n4 {
    left: 84% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-sma .net-orbit,
  .intro-sma .net-line,
  .intro-sma .net-node,
  .intro-sma .net-node i::after,
  .intro-sma .net-wifi span {
    animation: none;
  }
}

/*--------------------------------------------------------------
# Sección de video: redes
--------------------------------------------------------------*/
.net-video {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background: #fff;
}

.net-video .net-video-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 23, 51, 0.22);
}

.net-video .net-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Brillo de marca sobre el video */
.net-video .net-video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(135, 64, 168, 0.25), transparent 50%, rgba(86, 170, 242, 0.15));
  pointer-events: none;
}

.net-video .net-video-live {
  position: absolute;
  z-index: 1;
  left: 20px;
  top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 50px;
  background: rgba(15, 23, 51, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: "Poppins", var(--heading-font);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.net-video .net-video-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: net-live 1.6s infinite;
}

@keyframes net-live {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.net-video .net-video-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-family: "Poppins", var(--heading-font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-purple);
}

.net-video h2 {
  font-family: "Poppins", var(--heading-font);
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--heading-color);
  margin-bottom: 22px;
}

.net-video h2 span {
  color: inherit;
}

.net-video .net-video-lead {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.net-video .net-video-list {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
}

.net-video .net-video-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-size: 16px;
  color: var(--heading-color);
  border-bottom: 1px solid rgba(27, 35, 64, 0.1);
}

.net-video .net-video-list li:last-child {
  border-bottom: 0;
}

.net-video .net-video-list i {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 18px;
  color: #fff;
  background: var(--brand-gradient);
  box-shadow: 0 8px 20px rgba(86, 170, 242, 0.35);
}

.net-video .net-video-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", var(--heading-font);
  font-weight: 600;
  font-size: 16px;
  color: var(--brand-purple);
}

.net-video .net-video-link i {
  transition: transform 0.3s;
}

.net-video .net-video-link:hover i {
  transform: translateX(5px);
}

@media (max-width: 991px) {
  .net-video {
    padding: 70px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .net-video .net-video-live i {
    animation: none;
  }
}

/*--------------------------------------------------------------
# Entrada de la laptop (Quiénes somos)
# 1) el halo de marca florece  2) la laptop aparece enfocándose
# 3) un brillo de luz recorre la laptop  4) la red aparece en cascada
--------------------------------------------------------------*/
.intro-sma .intro-img:not(.is-visible) img,
.intro-sma .intro-img:not(.is-visible)::before,
.intro-sma .intro-img:not(.is-visible) .net-svg,
.intro-sma .intro-img:not(.is-visible) .net-node,
.intro-sma .intro-img:not(.is-visible) .net-wifi {
  opacity: 0;
}

/* 1. Halo azul-morado que florece detrás */
.intro-sma .intro-img.is-visible::before {
  animation: intro-bloom 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes intro-bloom {
  0% { opacity: 0; scale: 0.2; }
  60% { opacity: 1; scale: 1.15; }
  100% { opacity: 1; scale: 1; }
}

/* 2. La laptop aparece y se enfoca */
.intro-sma .intro-img.is-visible img {
  animation: intro-focus 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both,
    intro-float 6s ease-in-out 2.4s infinite;
}

@keyframes intro-focus {
  from {
    opacity: 0;
    translate: 0 50px;
    scale: 0.88;
    filter: blur(10px) drop-shadow(0 30px 40px rgba(15, 23, 51, 0));
  }
  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    filter: blur(0) drop-shadow(0 30px 40px rgba(15, 23, 51, 0.3));
  }
}

/* 3. Reflejo de luz que recorre la laptop (solo sobre su silueta) */
.intro-sma .intro-shine {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.9) 48%, rgba(200, 225, 255, 0.6) 52%, transparent 65%);
  background-size: 250% 100%;
  background-position: 150% 0;
  -webkit-mask: url(../img/laptop-sma.webp) center / 100% 100% no-repeat;
  mask: url(../img/laptop-sma.webp) center / 100% 100% no-repeat;
}

.intro-sma .intro-img.is-visible .intro-shine {
  animation: intro-shine 1.1s ease-in-out 1.25s both;
}

@keyframes intro-shine {
  0% { opacity: 1; background-position: 150% 0; }
  90% { opacity: 1; }
  100% { opacity: 0; background-position: -60% 0; }
}

/* 4. La red aparece en cascada, con fundido suave */
.intro-sma .intro-img.is-visible .net-wifi {
  animation: intro-soft 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.5s both;
}

.intro-sma .intro-img.is-visible .net-node {
  animation: intro-soft 0.8s cubic-bezier(0.22, 1, 0.36, 1) both,
    net-bob 4s ease-in-out infinite;
}

.intro-sma .intro-img.is-visible .net-node.n1 { animation-delay: 1.65s, -1s; }
.intro-sma .intro-img.is-visible .net-node.n2 { animation-delay: 1.8s, -2s; }
.intro-sma .intro-img.is-visible .net-node.n4 { animation-delay: 1.95s, 0s; }
.intro-sma .intro-img.is-visible .net-node.n3 { animation-delay: 2.1s, -3s; }

@keyframes intro-soft {
  from { opacity: 0; scale: 0.7; filter: blur(6px); }
  to { opacity: 1; scale: 1; filter: blur(0); }
}

.intro-sma .intro-img.is-visible .net-svg {
  animation: intro-lines 1s ease-out 2.1s both;
}

@keyframes intro-lines {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-sma .intro-img:not(.is-visible) img,
  .intro-sma .intro-img:not(.is-visible)::before,
  .intro-sma .intro-img:not(.is-visible) .net-svg,
  .intro-sma .intro-img:not(.is-visible) .net-node,
  .intro-sma .intro-img:not(.is-visible) .net-wifi {
    opacity: 1;
  }

  .intro-sma .intro-img.is-visible::before,
  .intro-sma .intro-img.is-visible img,
  .intro-sma .intro-img.is-visible .net-svg,
  .intro-sma .intro-img.is-visible .net-node,
  .intro-sma .intro-img.is-visible .net-wifi {
    animation: none;
  }

  .intro-sma .intro-shine {
    display: none;
  }
}

/*--------------------------------------------------------------
# Banner de video: globo
--------------------------------------------------------------*/
.globe-banner {
  padding: 0;
  background: #050b1a;
}

.globe-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: #050b1a;
}

.globe-card .globe-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  scale: 1.12;
  transition: scale 2.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.globe-card.is-visible .globe-video {
  scale: 1;
}

/* Oscurece el lado del texto y tiñe con los colores de marca */
.globe-card .globe-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 11, 26, 0.92) 0%, rgba(5, 11, 26, 0.7) 40%, rgba(5, 11, 26, 0.1) 75%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(135, 64, 168, 0.45) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(86, 170, 242, 0.25) 0%, transparent 70%);
}

.globe-card .globe-content {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  color: rgba(255, 255, 255, 0.85);
}

.globe-card .globe-kicker {
  display: inline-block;
  margin-bottom: 16px;
  font-family: "Poppins", var(--heading-font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.globe-card h2 {
  max-width: 680px;
  font-family: "Poppins", var(--heading-font);
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 22px;
}

.globe-card h2 span {
  color: #fff;
}

.globe-card p {
  max-width: 540px;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 34px;
}

.globe-card .globe-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.globe-card .globe-chips li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: "Poppins", var(--heading-font);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  transition: background 0.3s, border-color 0.3s;
}

.globe-card .globe-chips li:hover {
  background: rgba(86, 170, 242, 0.18);
  border-color: rgba(86, 170, 242, 0.6);
}

.globe-card .globe-chips i {
  font-size: 17px;
  color: var(--brand-blue);
}

@media (max-width: 767px) {
  .globe-card {
    min-height: 560px;
  }

  .globe-card .globe-video {
    object-position: center;
  }

  .globe-card .globe-overlay {
    background:
      linear-gradient(180deg, rgba(5, 11, 26, 0.55) 0%, rgba(5, 11, 26, 0.88) 100%),
      radial-gradient(ellipse 80% 60% at 0% 100%, rgba(135, 64, 168, 0.45) 0%, transparent 70%);
  }

  .globe-card .globe-content {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .globe-card p {
    font-size: 16px;
  }

  .globe-card .globe-chips li {
    font-size: 13px;
    padding: 8px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .globe-card .globe-video {
    scale: 1;
    transition: none;
  }
}

/*--------------------------------------------------------------
# Header blanco en todas las páginas
--------------------------------------------------------------*/
.header,
.index-page .header,
.index-page.scrolled .header,
.iso-page .header {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header {
  box-shadow: 0 2px 20px rgba(15, 23, 51, 0.06);
}

.scrolled .header {
  box-shadow: 0 8px 30px rgba(15, 23, 51, 0.1);
}

/* Logo con sus colores originales */
.header .logo img {
  filter: none;
}

.header .logo h1 {
  text-shadow: none;
}

.header .logo .sitename .sma {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.header .logo .sitename .tech {
  color: var(--heading-color);
}

/* Menú en azul marino, con morado al pasar el mouse o en la página actual */
@media (min-width: 1200px) {
  .header .navmenu > ul > li > a,
  .header .navmenu > ul > li > a:focus {
    color: var(--heading-color);
  }

  .header .navmenu > ul > li:hover > a,
  .header .navmenu > ul > li > a.active {
    color: var(--brand-purple);
  }

  .header .navmenu > ul > li > a::after {
    background: var(--brand-gradient);
  }
}

@media (max-width: 1199px) {
  .header .mobile-nav-toggle {
    color: var(--heading-color);
  }

  .mobile-nav-active .header .mobile-nav-toggle {
    color: #fff;
  }
}

/* Portada: arriba el header es transparente sobre el hero; blanco solo al hacer scroll */
.index-page:not(.scrolled) .header {
  background: transparent;
  box-shadow: none;
}

.index-page:not(.scrolled) .header .logo img {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.9)) drop-shadow(0 4px 10px rgba(15, 23, 51, 0.3));
}

.index-page:not(.scrolled) .header .logo h1 {
  text-shadow: 0 2px 12px rgba(15, 23, 51, 0.2);
}

.index-page:not(.scrolled) .header .logo .sitename .sma,
.index-page:not(.scrolled) .header .logo .sitename .tech {
  color: #fff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

@media (min-width: 1200px) {
  .index-page:not(.scrolled) .header .navmenu > ul > li > a,
  .index-page:not(.scrolled) .header .navmenu > ul > li > a:focus {
    color: rgba(255, 255, 255, 0.88);
  }

  .index-page:not(.scrolled) .header .navmenu > ul > li:hover > a,
  .index-page:not(.scrolled) .header .navmenu > ul > li > a.active {
    color: #fff;
  }

  .index-page:not(.scrolled) .header .navmenu > ul > li > a::after {
    background: #fff;
  }
}

@media (max-width: 1199px) {
  .index-page:not(.scrolled) .header .mobile-nav-toggle {
    color: #fff;
  }
}

.index-page .header {
  transition: background 0.4s, box-shadow 0.4s;
}

/* Imagen recortada (sin fondo): sin marco ni sombra de caja */
.why-us .why-us-img.cutout {
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
}

.why-us .why-us-img.cutout img {
  width: auto;
  max-width: 100%;
  max-height: 520px;
  aspect-ratio: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 25px 35px rgba(15, 23, 51, 0.22));
}

.why-us .why-us-img.cutout:hover img {
  transform: none;
}

/*--------------------------------------------------------------
# Lo esencial: tarjetas con imagen
--------------------------------------------------------------*/
.essentials {
  padding: 90px 0 100px;
  background: #fff;
}

.essentials-title {
  max-width: 900px;
  margin: 0 auto 56px;
  text-align: center;
  font-family: "Poppins", var(--heading-font);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--heading-color);
  text-wrap: balance;
}

.ess-card {
  display: block;
  color: var(--heading-color);
}

.ess-media {
  position: relative;
  aspect-ratio: 9 / 11;
  overflow: hidden;
  border-radius: 26px;
  background: #e8ecf7;
}

.ess-media.ess-purple {
  background:
    linear-gradient(135deg, rgba(135, 64, 168, 0.55), rgba(86, 170, 242, 0.35)),
    #c9b8f5;
}

.ess-media.ess-blue {
  background:
    linear-gradient(135deg, rgba(86, 170, 242, 0.6), rgba(135, 64, 168, 0.3)),
    #b8d4f7;
}

.ess-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.ess-cutout {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 92%;
  height: auto;
  max-height: 88%;
  object-fit: contain;
  object-position: bottom center;
  transform: translateX(-50%);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.ess-cutout.wide {
  width: 108%;
  bottom: 8%;
}

.ess-card:hover .ess-photo {
  transform: scale(1.06);
}

.ess-card:hover .ess-cutout {
  transform: translateX(-50%) scale(1.05);
}

.ess-chip {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  font-size: 24px;
  color: #fff;
  background: var(--brand-gradient);
  box-shadow: 0 10px 25px rgba(15, 23, 51, 0.25);
}

.ess-label {
  display: block;
  margin-top: 18px;
  font-family: "Poppins", var(--heading-font);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
  transition: color 0.3s;
}

.ess-card:hover .ess-label {
  color: var(--brand-purple);
}

@media (max-width: 575px) {
  .essentials {
    padding: 60px 0 70px;
  }

  .ess-media {
    aspect-ratio: 4 / 3;
  }
}

/* Al pasar el mouse: velo de color y flecha arriba a la derecha */
.ess-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(225deg, rgba(135, 64, 168, 0.55) 0%, rgba(86, 170, 242, 0.3) 45%, transparent 75%);
  transition: opacity 0.5s ease;
}

.ess-media::before {
  content: "\2197";
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  color: var(--heading-color);
  background: #fff;
  box-shadow: 0 10px 25px rgba(15, 23, 51, 0.2);
  opacity: 0;
  transform: translate(-10px, 10px) scale(0.8);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ess-card:hover .ess-media::after,
.ess-card:focus-visible .ess-media::after {
  opacity: 1;
}

.ess-card:hover .ess-media::before,
.ess-card:focus-visible .ess-media::before {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* En pantallas táctiles no hay hover: la flecha se muestra siempre */
@media (hover: none) {
  .ess-media::before {
    opacity: 1;
    transform: none;
  }
}

/* Iconos de las tarjetas de servicios: color liso, sin degradado ni resplandor */
.services .service-item .icon {
  background: var(--accent-color);
  box-shadow: none;
}

.services .service-item:hover .icon {
  transform: none;
}

/* Iconos de "Quiénes somos": color liso, igual que las tarjetas de servicios */
.intro-sma .intro-list i {
  background: var(--accent-color);
  box-shadow: none;
}

/*--------------------------------------------------------------
# Títulos con tipografía Outfit (más ligera y geométrica)
--------------------------------------------------------------*/
h1,
h2,
.hero-cyber h2,
.globe-card h2,
.essentials-title,
.idea-cta h2,
.con-stats-lead,
.con-stat strong {
  font-family: "Outfit", "Poppins", var(--heading-font) !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
}

.header .logo h1 {
  font-family: "Poppins", var(--heading-font) !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
}

/* Títulos principales de los hero: como estaban (negrita) */
.hero-cyber h2 {
  font-family: var(--heading-font) !important;
  font-weight: 900 !important;
  letter-spacing: -1px !important;
}

.iso-hero h1 {
  font-family: "Poppins", var(--heading-font) !important;
  font-weight: 700 !important;
  letter-spacing: -1px !important;
}

/*--------------------------------------------------------------
# Franja bajo el hero
--------------------------------------------------------------*/
.hero-band {
  position: relative;
  padding: 0;
  color: rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(ellipse 40% 140% at 0% 50%, rgba(135, 64, 168, 0.4) 0%, transparent 70%),
    radial-gradient(ellipse 40% 140% at 100% 50%, rgba(86, 170, 242, 0.3) 0%, transparent 70%),
    #0f1733;
}

.hero-band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 0;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-band-grid > li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 34px 28px;
}

.hero-band-grid > li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-band-grid > li:first-child {
  padding-left: 0;
}

.hero-band-grid > li > i {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  font-size: 24px;
  color: #fff;
  background: var(--brand-gradient);
  box-shadow: 0 0 24px rgba(86, 170, 242, 0.35);
}

.hero-band-grid strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Outfit", "Poppins", var(--heading-font);
  font-size: 20px;
  font-weight: 500;
  color: #fff;
}

.hero-band-grid span {
  display: block;
  font-size: 14px;
  line-height: 1.5;
}

.hero-band-cta {
  padding-right: 0 !important;
}

.hero-band-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  white-space: nowrap;
  font-family: "Poppins", var(--heading-font);
  font-size: 15px;
  font-weight: 600;
  color: #0f1733;
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-band-cta a:hover {
  color: var(--brand-purple);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1199px) {
  .hero-band-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-band-cta {
    grid-column: 1 / -1;
    justify-content: center;
    padding: 0 0 30px !important;
    border-left: 0 !important;
  }
}

@media (max-width: 767px) {
  .hero-band-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-band-grid > li,
  .hero-band-grid > li:first-child {
    padding: 22px 0;
  }

  .hero-band-grid > li + li {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-band-cta {
    padding: 20px 0 30px !important;
  }
}
