/* =========================================================
   MC Perú — Hero Tier-1  (css para el markup #mcHero suministrado)
   Namespaced en .mc-* — no afecta navbar ni otras secciones.
   Estética operador Tier-1: telecom, fibra óptica, elegante.
   ========================================================= */

.mc-hero {
  --mc-navy: #091b57;
  --mc-ink: #050a18;
  --mc-cyan: #51d8ff;
  --mc-blue: #14a8ff;
  --mc-cyan-soft: rgba(81, 216, 255, .55);
  --mc-gold: #f5b400;
  --mc-gold-hover: #ffc51f;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--mc-ink);
  color: #fff;
}
@supports not (min-height: 100svh) {
  .mc-hero { min-height: 100vh; }
}

/* Reset de caja para evitar overflow por padding */
.mc-hero,
.mc-hero *,
.mc-hero *::before,
.mc-hero *::after {
  box-sizing: border-box;
}
.mc-hero__content { text-align: left; }

/* ============ CAPA 0 · FONDO ============ */
.mc-hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../images/custom/index/home/hero-mcperu-tier1.jpg?v=20260919");
  background-size: cover;
  background-position: 42% 72%;
  background-repeat: no-repeat;
  transform: scale(1.045);
  will-change: transform;
}
.webp .mc-hero__background {
  background-image: url("../images/custom/index/home/hero-mcperu-tier1.webp?v=20260919");
}

/* ============ CAPA 1 · SCRIM ============ */
.mc-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(5, 10, 24, .94) 0%,
      rgba(5, 10, 24, .78) 32%,
      rgba(5, 10, 24, .40) 58%,
      rgba(5, 10, 24, .18) 100%),
    linear-gradient(180deg,
      rgba(5, 10, 24, .40) 0%,
      rgba(5, 10, 24, 0) 24%,
      rgba(5, 10, 24, 0) 60%,
      rgba(5, 10, 24, .66) 100%);
}

/* ============ CAPA 2 · GLOW AMBIENTAL ============ */
.mc-hero__ambient {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(60px);
}
.mc-hero__ambient--1 {
  right: 4%;
  top: 6%;
  width: 42vw;
  max-width: 620px;
  height: 42vw;
  max-height: 620px;
  background: radial-gradient(closest-side, rgba(20, 168, 255, .30), transparent 70%);
  animation: mcAmbient 13s ease-in-out infinite alternate;
}
.mc-hero__ambient--2 {
  right: 22%;
  bottom: -8%;
  width: 34vw;
  max-width: 520px;
  height: 34vw;
  max-height: 520px;
  background: radial-gradient(closest-side, rgba(81, 216, 255, .22), transparent 72%);
  animation: mcAmbient 16s ease-in-out infinite alternate-reverse;
}
@keyframes mcAmbient {
  0%   { opacity: .55; transform: translate3d(0, 0, 0); }
  100% { opacity: 1;   transform: translate3d(-3%, 2.5%, 0); }
}

/* ============ CAPA 2 · RAYOS DE LUZ ============ */
.mc-light-rays {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.mc-light-ray {
  position: absolute;
  top: -30%;
  width: 2px;
  height: 160%;
  background: linear-gradient(180deg, rgba(81, 216, 255, 0), rgba(81, 216, 255, .30), rgba(81, 216, 255, 0));
  transform: rotate(14deg);
  opacity: .5;
  animation: mcRay 9s ease-in-out infinite;
}
.mc-light-ray--1 { left: 58%; animation-delay: 0s; }
.mc-light-ray--2 { left: 68%; height: 140%; animation-delay: 2.4s; }
.mc-light-ray--3 { left: 78%; animation-delay: 4.8s; }
@keyframes mcRay {
  0%, 100% { opacity: .12; }
  50%      { opacity: .55; }
}

/* ============ CAPA 3 · FIBRA / RED (SVG) ============ */
.mc-fiber-network {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.mc-fiber {
  fill: none;
  stroke-linecap: round;
}
.mc-fiber--soft {
  stroke: url(#fiberGradientSoft);
  stroke-width: 1.2;
  opacity: .4;
}
.mc-fiber--delay { opacity: .28; }
.mc-fiber--main {
  stroke: url(#fiberGradient);
  stroke-width: 2;
  opacity: .9;
  filter: url(#fiberGlow);
  stroke-dasharray: 12 360;
  animation: mcDash 6s linear infinite;
}
.mc-fiber--second { animation-duration: 7.6s; animation-delay: -2s; }
.mc-fiber--third  { animation-duration: 9s;   animation-delay: -4s; }
@keyframes mcDash {
  to { stroke-dashoffset: -372; }
}

.mc-fiber-spark {
  fill: #eaffff;
  filter: url(#strongGlow);
}
.mc-fiber-spark--small { opacity: .9; }
.mc-fiber-spark--tiny  { opacity: .8; }

.mc-network-nodes circle {
  fill: var(--mc-cyan);
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 6px rgba(81, 216, 255, .9));
  animation: mcNode 3.2s ease-in-out infinite;
}
.mc-network-nodes circle:nth-child(2) { animation-delay: .6s; }
.mc-network-nodes circle:nth-child(3) { animation-delay: 1.2s; }
.mc-network-nodes circle:nth-child(4) { animation-delay: 1.8s; }
.mc-network-nodes circle:nth-child(5) { animation-delay: 2.4s; }
@keyframes mcNode {
  0%, 100% { opacity: .4; transform: scale(.7); }
  50%      { opacity: 1;  transform: scale(1.3); }
}

/* ============ CAPA 3 · GRID TÉCNICO ============ */
.mc-tech-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .12;
  background-image:
    linear-gradient(rgba(81, 216, 255, .5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(81, 216, 255, .5) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 78% 42%, #000 0%, transparent 62%);
  mask-image: radial-gradient(circle at 78% 42%, #000 0%, transparent 62%);
}

/* ============ CONTENIDO ============ */
.mc-hero__container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(94px, 12vh, 128px) clamp(20px, 5vw, 64px) clamp(36px, 6vh, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  min-width: 0;
}

.mc-hero__content { max-width: 640px; min-width: 0; }

/* Eyebrow */
.mc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: clamp(.72rem, .68rem + .3vw, .86rem);
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--mc-cyan);
  margin-bottom: 1.15rem;
}
.mc-hero__eyebrow-line {
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--mc-cyan), rgba(81, 216, 255, 0));
}

/* Título */
.mc-hero__title {
  margin: 0 0 1rem;
  color: #fff;
  font-weight: 800;
  font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  text-shadow: 0 18px 44px rgba(0, 0, 0, .55);
  overflow-wrap: break-word;
}
.mc-hero__title span {
  display: block;
  background: linear-gradient(90deg, #ffffff 0%, #cdeeff 42%, var(--mc-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Descripción */
.mc-hero__description {
  margin: 0 0 1.6rem;
  max-width: 46ch;
  color: rgba(233, 240, 255, .9);
  font-size: clamp(1rem, .95rem + .35vw, 1.2rem);
  line-height: 1.65;
}

/* CTAs */
.mc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-bottom: 2rem;
}
.mc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
  will-change: transform;
}
.mc-button svg { width: 18px; height: 18px; }
.mc-button--primary {
  background: var(--mc-gold);
  color: #10203a;
  box-shadow: 0 12px 30px rgba(245, 180, 0, .32);
}
.mc-button--primary:hover {
  background: var(--mc-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(245, 180, 0, .42);
}
.mc-button--secondary {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border: 1px solid rgba(160, 210, 255, .45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.mc-button--secondary:hover {
  background: rgba(81, 216, 255, .16);
  border-color: var(--mc-cyan);
  transform: translateY(-2px);
}
.mc-button:focus-visible {
  outline: 3px solid var(--mc-cyan);
  outline-offset: 3px;
}

/* Beneficios */
.mc-hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(160, 210, 255, .18);
}
.mc-feature {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 150px;
}
.mc-feature__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(81, 216, 255, .10);
  border: 1px solid rgba(81, 216, 255, .28);
}
.mc-feature__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--mc-cyan);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mc-feature strong {
  display: block;
  font-size: .98rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.mc-feature span {
  display: block;
  font-size: .82rem;
  color: rgba(200, 214, 240, .72);
  margin-top: .1rem;
}

/* ============ PANEL VISUAL DERECHO ============ */
.mc-hero__visual {
  position: relative;
  z-index: 3;
  min-height: 380px;
  will-change: transform;
}

/* Nodo core */
.mc-core-node {
  position: absolute;
  top: 6%;
  left: 20%;
  width: 120px;
  height: 120px;
}
.mc-core-node__center {
  position: absolute;
  inset: 42%;
  border-radius: 50%;
  background: radial-gradient(circle, #eaffff, var(--mc-cyan) 60%, rgba(20, 168, 255, .2));
  box-shadow: 0 0 22px rgba(81, 216, 255, .9);
}
.mc-core-node__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--mc-cyan-soft);
  animation: mcCorePulse 3s ease-out infinite;
}
.mc-core-node__pulse--2 { animation-delay: 1.5s; }
@keyframes mcCorePulse {
  0%   { opacity: .7; transform: scale(.3); }
  80%  { opacity: 0;  transform: scale(1.15); }
  100% { opacity: 0;  transform: scale(1.15); }
}

/* HUD estado de red */
.mc-network-status {
  position: absolute;
  top: 2%;
  right: 0;
  width: 210px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(8, 16, 34, .62);
  border: 1px solid rgba(120, 190, 255, .25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}
.mc-network-status__top {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: #dff1ff;
}
.mc-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #37f2a0;
  box-shadow: 0 0 10px rgba(55, 242, 160, .9);
  animation: mcBlink 1.8s ease-in-out infinite;
}
@keyframes mcBlink { 0%,100%{opacity:1;} 50%{opacity:.25;} }
.mc-network-status__line {
  height: 1px;
  margin: 12px 0;
  background: linear-gradient(90deg, rgba(120, 190, 255, .4), transparent);
}
.mc-network-status__data {
  display: flex;
  gap: 1.2rem;
}
.mc-network-status__data small {
  display: block;
  font-size: .62rem;
  letter-spacing: .12em;
  color: rgba(180, 205, 240, .6);
}
.mc-network-status__data strong {
  display: block;
  font-size: .82rem;
  color: var(--mc-cyan);
  margin-top: .2rem;
}

/* Routers */
.mc-router-stack {
  position: absolute;
  bottom: 0;
  left: 8%;
  right: 6%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mc-router {
  position: relative;
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(18, 30, 58, .92), rgba(10, 18, 38, .92));
  border: 1px solid rgba(120, 190, 255, .22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.mc-router--second { margin-left: 14%; opacity: .92; }
.mc-router__brand {
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: #cfe6ff;
  margin-bottom: 8px;
}
.mc-router__ports {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  margin-bottom: 8px;
}
.mc-router--second .mc-router__ports { grid-template-columns: repeat(4, 1fr); }
.mc-router__ports span {
  height: 10px;
  border-radius: 2px;
  background: rgba(120, 190, 255, .18);
  border: 1px solid rgba(120, 190, 255, .28);
}
.mc-router__leds {
  display: flex;
  gap: 6px;
}
.mc-router__leds i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mc-cyan);
  box-shadow: 0 0 8px rgba(81, 216, 255, .9);
  animation: mcLed 1.4s steps(1) infinite;
}
.mc-router__leds i:nth-child(2) { animation-delay: .35s; background: #37f2a0; box-shadow: 0 0 8px rgba(55,242,160,.9); }
.mc-router__leds i:nth-child(3) { animation-delay: .7s; }
.mc-router__leds i:nth-child(4) { animation-delay: 1.05s; background: var(--mc-gold); box-shadow: 0 0 8px rgba(245,180,0,.9); }
@keyframes mcLed { 0%,100%{opacity:1;} 50%{opacity:.2;} }

/* ============ HORIZONTE ============ */
.mc-hero__horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(81, 216, 255, .5) 50%, transparent);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet / laptop chico */
@media (max-width: 1024px) {
  .mc-hero__container {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .mc-hero__visual {
    display: none;               /* la escena tech vive en la foto de fondo */
  }
  .mc-hero__background { background-position: 60% center; }
  .mc-hero__overlay {
    background:
      linear-gradient(90deg, rgba(5, 10, 24, .92) 0%, rgba(5, 10, 24, .62) 50%, rgba(5, 10, 24, .30) 100%),
      linear-gradient(180deg, rgba(5, 10, 24, .34) 0%, rgba(5, 10, 24, 0) 42%, rgba(5, 10, 24, .7) 100%);
  }
  .mc-hero__content { max-width: 620px; }
}

/* Móvil: reorganizar imagen ↑ copy ↓ CTA ↓ beneficios */
@media (max-width: 640px) {
  .mc-hero {
    min-height: auto;
    display: block;
  }
  .mc-hero__background {
    position: relative;
    height: 44svh;
    min-height: 290px;
    transform: none;
    will-change: auto;
    background-position: 32% center;
  }
  .mc-hero__overlay {
    background: linear-gradient(180deg, rgba(5, 10, 24, .12) 0%, rgba(5, 10, 24, .12) 42%, rgba(5, 10, 24, .97) 100%);
  }
  .mc-fiber-network { opacity: .5; }
  .mc-hero__ambient, .mc-light-rays, .mc-tech-grid { display: none; }

  .mc-hero__container {
    position: relative;
    margin-top: -20svh;
    padding: 0 22px 40px;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .mc-hero__content { max-width: 100%; min-width: 0; }
  .mc-hero__description { max-width: 100%; }
  .mc-hero__actions { gap: .7rem; }
  .mc-button { flex: 1 1 auto; padding: .9rem 1.1rem; }
  .mc-hero__features { flex-direction: column; gap: 1rem; }
}

@media (max-width: 380px) {
  .mc-hero__eyebrow { letter-spacing: .2em; }
  .mc-button { font-size: .92rem; }
}

/* =========================================================
   ACCESSIBILITY — prefers-reduced-motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .mc-hero__ambient,
  .mc-light-ray,
  .mc-fiber--main,
  .mc-network-nodes circle,
  .mc-core-node__pulse,
  .mc-status-dot,
  .mc-router__leds i {
    animation: none !important;
  }
  .mc-network-nodes circle { opacity: .8; }
  .mc-fiber--main { stroke-dasharray: none; }
  .mc-hero__background { transform: scale(1.02); }
}

/* =========================================================
   MC Perú — Portafolio de servicios (Tier-1 · inmersivo)
   Namespaced en .mc-services / .mc-service-card
   ========================================================= */

.mc-services {
  --mc-ink: #050a18;
  --mc-cyan: #51d8ff;
  --mc-blue: #14a8ff;
  --mc-gold: #f5b400;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: clamp(64px, 9vw, 116px) 0 clamp(76px, 10vw, 140px);
  color: #fff;
  background:
    radial-gradient(circle at 1% 42%, rgba(20, 168, 255, .16), transparent 24%),
    radial-gradient(circle at 99% 46%, rgba(20, 168, 255, .13), transparent 24%),
    linear-gradient(180deg, #040814 0%, #061635 48%, #04122d 100%);
}
.mc-services,
.mc-services *,
.mc-services *::before,
.mc-services *::after { box-sizing: border-box; }

.mc-services::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(81, 216, 255, .5) 50%, transparent);
}

/* Escena de fondo (globo + estelas + grid + constelacion) */
.mc-services__scene { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.mc-services__grid {
  position: absolute; inset: 0; opacity: .08;
  background-image:
    linear-gradient(rgba(81, 216, 255, .5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(81, 216, 255, .5) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 70% 58% at 50% 16%, #000, transparent 74%);
  mask-image: radial-gradient(ellipse 70% 58% at 50% 16%, #000, transparent 74%);
  animation: mcServicesGridDrift 26s linear infinite;
}
@keyframes mcServicesGridDrift { to { background-position: 60px 60px, 60px 60px; } }

.mc-services__scene::before,
.mc-services__scene::after {
  content: ""; position: absolute; width: 36%; height: 62%; top: -6%;
  background:
    radial-gradient(1.6px 1.6px at 20% 30%, rgba(140, 205, 255, .85), transparent),
    radial-gradient(1.6px 1.6px at 62% 12%, rgba(140, 205, 255, .6), transparent),
    radial-gradient(1.6px 1.6px at 82% 46%, rgba(140, 205, 255, .7), transparent),
    radial-gradient(1.6px 1.6px at 40% 62%, rgba(140, 205, 255, .5), transparent),
    radial-gradient(1.6px 1.6px at 8% 52%, rgba(140, 205, 255, .55), transparent);
  opacity: .7;
}
.mc-services__scene::before { left: -3%; }
.mc-services__scene::after { right: -3%; transform: scaleX(-1); }

.mc-services__globe {
  position: absolute; left: 50%; bottom: -66%; transform: translateX(-50%);
  width: min(1700px, 156%); aspect-ratio: 1 / 1; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 46.5%, rgba(81, 216, 255, .30) 47.5%, rgba(81, 216, 255, .06) 49.5%, transparent 52%),
    radial-gradient(circle at 50% 40%, rgba(20, 168, 255, .16), transparent 46%);
  box-shadow: 0 0 130px 22px rgba(20, 168, 255, .12);
}
.mc-services__streaks { position: absolute; left: 0; right: 0; bottom: -2%; width: 100%; height: 60%; opacity: .9; animation: mcStreakDrift 10s ease-in-out infinite; }
.mc-services__streak { fill: none; stroke: url(#svcStreak); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(81, 216, 255, .6)); opacity: .72; }
.mc-services__streak--2 { stroke-width: 1.4; opacity: .5; }
.mc-services__streak--3 { stroke-width: 1.2; opacity: .4; }
@keyframes mcStreakDrift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.mc-services__container {
  position: relative; z-index: 1; width: 100%; max-width: 1320px;
  margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px);
}

/* Header */
.mc-services__head { margin: 0 0 clamp(2.4rem, 5vw, 3.6rem); text-align: center; }
.mc-services__heading {
  margin: 0; color: #fff; font-size: clamp(1.9rem, 1.1rem + 2.6vw, 3rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.02em;
}
.mc-services__heading span { color: var(--mc-cyan); }
.mc-services__heading-line {
  display: inline-block; margin-top: 1rem; width: 78px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--mc-cyan), transparent);
  box-shadow: 0 0 16px rgba(81, 216, 255, .7);
}

/* Grid tarjetas */
.mc-services__list { display: flex; flex-wrap: wrap; align-items: stretch; width: 100%; margin: 0; padding: 0; list-style: none; }
.mc-services__item { display: flex; min-width: 0; padding: 8px; list-style: none; }

/* Tarjeta centrada */
.mc-service-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .7rem;
  width: 100%; min-width: 0; min-height: 302px; padding: 2.5rem 1.7rem 2.1rem;
  border-radius: 18px; text-decoration: none; color: #fff;
  background: linear-gradient(180deg, rgba(14, 28, 58, .40), rgba(6, 13, 32, .52));
  border: 1px solid rgba(120, 190, 255, .12);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, .30), inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s ease, box-shadow .3s ease, background .3s ease;
  will-change: transform;
}
/* Esquinas HUD */
.mc-service-card__hud {
  position: absolute; inset: 11px; border: 1px solid rgba(120, 210, 255, .55);
  border-radius: 14px; pointer-events: none; opacity: .5; transition: opacity .3s ease;
  -webkit-mask:
    linear-gradient(#000, #000) top left / 22px 22px no-repeat,
    linear-gradient(#000, #000) top right / 22px 22px no-repeat,
    linear-gradient(#000, #000) bottom left / 22px 22px no-repeat,
    linear-gradient(#000, #000) bottom right / 22px 22px no-repeat;
  mask:
    linear-gradient(#000, #000) top left / 22px 22px no-repeat,
    linear-gradient(#000, #000) top right / 22px 22px no-repeat,
    linear-gradient(#000, #000) bottom left / 22px 22px no-repeat,
    linear-gradient(#000, #000) bottom right / 22px 22px no-repeat;
}
/* Aro del icono */
.mc-service-card__ring {
  position: relative; width: 104px; height: 104px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 168, 255, .12), transparent 60%);
  border: 1px solid rgba(81, 216, 255, .28);
  box-shadow: 0 0 34px rgba(81, 216, 255, .18), inset 0 0 26px rgba(20, 168, 255, .10);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
/* Halo exterior estático (aro limpio) */
.mc-service-card__ring::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1px solid rgba(81, 216, 255, .16);
}
.mc-service-card__logo {
  width: 44px; height: 44px; display: block;
  filter: brightness(0) saturate(100%) invert(72%) sepia(89%) saturate(1167%) hue-rotate(156deg) brightness(104%) contrast(104%) drop-shadow(0 0 10px rgba(81, 216, 255, .55));
  transition: filter .3s ease, transform .3s ease;
}

.mc-service-card__title { margin: .2rem 0 0; font-size: 1.12rem; font-weight: 800; letter-spacing: .02em; color: #fff; }
.mc-service-card__underline {
  width: 34px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--mc-cyan), rgba(81, 216, 255, .2));
  box-shadow: 0 0 12px rgba(81, 216, 255, .6); transition: width .3s ease;
}
.mc-service-card__desc { margin: 0; text-align: center; font-size: .88rem; line-height: 1.5; color: rgba(200, 216, 244, .72); }

/* Estados */
.mc-service-card:hover,
.mc-service-card:focus-visible {
  transform: translateY(-8px); border-color: rgba(81, 216, 255, .5);
  background: linear-gradient(180deg, rgba(22, 40, 76, .66), rgba(9, 18, 40, .74));
  box-shadow: 0 30px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(81, 216, 255, .14);
}
.mc-service-card:hover .mc-service-card__hud,
.mc-service-card:focus-visible .mc-service-card__hud { opacity: 1; }
.mc-service-card:hover .mc-service-card__ring,
.mc-service-card:focus-visible .mc-service-card__ring {
  transform: scale(1.07); border-color: var(--mc-cyan);
  box-shadow: 0 0 40px rgba(81, 216, 255, .4), inset 0 0 26px rgba(20, 168, 255, .2);
}
.mc-service-card:hover .mc-service-card__logo,
.mc-service-card:focus-visible .mc-service-card__logo {
  filter: brightness(0) saturate(100%) invert(83%) sepia(75%) saturate(838%) hue-rotate(152deg) brightness(112%) contrast(108%) drop-shadow(0 0 16px rgba(81, 216, 255, .85));
  transform: scale(1.06);
}
.mc-service-card:hover .mc-service-card__underline,
.mc-service-card:focus-visible .mc-service-card__underline { width: 52px; }
.mc-service-card:focus-visible { outline: 3px solid var(--mc-cyan); outline-offset: 4px; }

/* Responsive */
@media (max-width: 640px) {
  .mc-services { padding: 56px 0 66px; }
  .mc-service-card { min-height: 0; padding: 1.8rem 1.3rem; }
  .mc-service-card__ring { width: 84px; height: 84px; }
  .mc-service-card__ring svg { width: 34px; height: 34px; }
}
@media (max-width: 380px) { .mc-services__heading { font-size: 1.7rem; } }

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .mc-services__grid, .mc-services__streaks, .mc-service-card__ring::before { animation: none !important; }
  .mc-service-card, .mc-service-card__ring, .mc-service-card__underline { transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
  .mc-service-card:hover, .mc-service-card:focus-visible { transform: none; }
  .mc-service-card:hover .mc-service-card__ring, .mc-service-card:focus-visible .mc-service-card__ring { transform: none; }
}

/* =========================================================
   MC Perú — CTA "Conectemos" (Tier-1)
   ========================================================= */
.mc-cta {
  --mc-cyan: #51d8ff;
  --mc-blue: #14a8ff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: clamp(66px, 9vw, 118px) 0;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, #04122d 0%, #061a3c 50%, #04122d 100%);
}
.mc-cta, .mc-cta *, .mc-cta *::before, .mc-cta *::after { box-sizing: border-box; }
.mc-cta::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(81, 216, 255, .5) 50%, transparent);
}
.mc-cta__scene { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.mc-cta__grid {
  position: absolute; inset: 0; opacity: .07;
  background-image:
    linear-gradient(rgba(81, 216, 255, .5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(81, 216, 255, .5) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 76%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 76%);
  animation: mcServicesGridDrift 28s linear infinite;
}
.mc-cta__glow {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%);
  width: min(760px, 90%); height: 380px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 168, 255, .22), transparent 70%);
  filter: blur(30px); animation: mcAmbient 12s ease-in-out infinite alternate;
}
.mc-cta__container {
  position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px);
}

.mc-cta__eyebrow {
  display: inline-flex; align-items: center; gap: .8rem; margin: 0 0 1.1rem;
  color: var(--mc-cyan); font-size: clamp(.72rem, .68rem + .3vw, .84rem);
  font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
}
.mc-cta__eyebrow-line { width: 26px; height: 2px; background: linear-gradient(90deg, rgba(81, 216, 255, 0), var(--mc-cyan)); }
.mc-cta__eyebrow-line:last-child { background: linear-gradient(90deg, var(--mc-cyan), rgba(81, 216, 255, 0)); }

.mc-cta__title {
  margin: 0 0 1.2rem; font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.75rem, 1.05rem + 2.4vw, 3rem); line-height: 1.12; letter-spacing: -.01em;
  text-shadow: 0 0 34px rgba(81, 216, 255, .18);
}
.mc-cta__title span {
  background: linear-gradient(90deg, #ffffff 0%, #9fe3ff 40%, var(--mc-cyan) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.mc-cta__desc {
  margin: 0 auto 2rem; max-width: 62ch; text-align: center;
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem); line-height: 1.65; color: rgba(225, 235, 255, .82);
}
.mc-cta__desc strong { color: #fff; font-weight: 700; }

.mc-cta__actions { display: flex; justify-content: center; margin-bottom: 1.7rem; }
.mc-cta__btn {
  display: inline-flex; align-items: stretch; border-radius: 12px; overflow: hidden; text-decoration: none;
  box-shadow: 0 16px 40px rgba(20, 168, 255, .30);
  transition: transform .2s ease, box-shadow .2s ease;
}
.mc-cta__btn-icon { display: grid; place-items: center; width: 56px; background: #0a1222; }
.mc-cta__btn-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mc-cta__btn-text {
  display: inline-flex; align-items: center; padding: 1rem 2.4rem;
  font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #06121f;
  background: linear-gradient(90deg, #1f8fff, #51d8ff);
}
.mc-cta__btn:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(20, 168, 255, .46); }
.mc-cta__btn:focus-visible { outline: 3px solid var(--mc-cyan); outline-offset: 3px; }

.mc-cta__more {
  display: inline-flex; align-items: center; gap: .55rem; color: var(--mc-cyan); text-decoration: none;
  font-weight: 700; letter-spacing: .02em; transition: color .2s ease;
}
.mc-cta__more:hover { color: #9fe6ff; }
.mc-cta__more:focus-visible { outline: 3px solid var(--mc-cyan); outline-offset: 3px; border-radius: 4px; }
.mc-cta__chev { display: inline-flex; animation: mcCtaChev 1.8s ease-in-out infinite; }
.mc-cta__chev svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes mcCtaChev { 0%, 100% { transform: translateY(-2px); opacity: .5; } 50% { transform: translateY(2px); opacity: 1; } }

@media (max-width: 640px) {
  .mc-cta { padding: 54px 0; }
  .mc-cta__btn-text { padding: .9rem 1.5rem; }
  .mc-cta__btn-icon { width: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .mc-cta__grid, .mc-cta__glow, .mc-cta__chev { animation: none !important; }
  .mc-cta__btn:hover { transform: none; }
}

/* =========================================================
   MC Perú — home-4 (Portafolio detalle) armonizado Tier-1
   Override del tema. Mantiene layout/imagenes; tarjetas glass.
   ========================================================= */
.home-4 {
  background: linear-gradient(180deg, #050d22 0%, #04122d 60%, #050d22 100%) !important;
  padding: 2.5rem 1rem 3.5rem !important;
}
/* Tarjeta de texto: glass oscuro (antes blanca) */
.home-4_businessText {
  background: linear-gradient(160deg, rgba(18, 34, 68, .88), rgba(8, 16, 38, .93)) !important;
  border: 1px solid rgba(120, 190, 255, .18);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255, 255, 255, .05) !important;
  color: rgba(214, 228, 252, .82) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.home-4_businessText h3 { color: #51d8ff !important; text-shadow: 0 0 20px rgba(81, 216, 255, .22); }
.home-4_businessText p { color: rgba(210, 224, 248, .78) !important; }
.home-4_businessText p strong,
.home-4_businessText .sub-title { color: #fff !important; }

/* Badge del icono: cristal cian (unifica los colores por servicio) */
.home-4_businessIcon,
.home-4_businessIcon.conectividad,
.home-4_businessIcon.seguridad,
.home-4_businessIcon.colaboracion,
.home-4_businessIcon.cloud {
  background-color: rgba(20, 40, 84, .82) !important;
  background-image: linear-gradient(160deg, rgba(81, 216, 255, .22), rgba(20, 168, 255, .10)) !important;
  border: 1px solid rgba(81, 216, 255, .38);
  box-shadow: 0 0 20px rgba(81, 216, 255, .26) !important;
}
.home-4_businessIcon:after { border-color: rgba(81, 216, 255, .34) transparent !important; }

/* Lista de features -> bullets cian */
.home-4_businessFeatures {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.4rem;
}
.home-4_businessFeatures li {
  position: relative;
  padding-left: 1.05rem;
  font-size: .92rem;
  color: rgba(202, 218, 246, .82);
}
.home-4_businessFeatures li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #51d8ff;
  box-shadow: 0 0 9px rgba(81, 216, 255, .8);
}

/* Botón "Más Información": dorado refinado + slide cian */
.home-4 .button-1 {
  background-color: #f5b400 !important;
  box-shadow: 0 14px 32px rgba(245, 180, 0, .30) !important;
}
.home-4 .button-1:before { background: #14a8ff !important; }
.home-4 .button-1 span { color: #10203a !important; }
.home-4 .button-1:hover span,
.home-4 .button-1:focus span { color: #fff !important; }
