/* Tipografía y layout base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #020617; /* slate-950 */
  color: #e5e7eb;      /* gray-200 */
  padding-top: 64px;   /* alto del header fijo */
}

/* Contenedor general */
.mc-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* HEADER + MENÚ TIPO ATENTO (offcanvas lateral) */
.mc-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  background: #020617;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.mc-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mc-logo img {
  height: 60px;
  max-width: 250px;
}

/* Botón hamburguesa */
.mc-menu-toggle {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.mc-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Estado abierto del icono */
body.mc-menu-open .mc-menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.mc-menu-open .mc-menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.mc-menu-open .mc-menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Backdrop */
.mc-offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1000;
}

body.mc-menu-open .mc-offcanvas-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* Panel lateral */
.mc-offcanvas {
  position: fixed;
  inset: 0 auto 0 0;
  width: 320px;
  max-width: 80%;
  background: #020617;
  color: #e5e7eb;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  z-index: 1050;
  display: flex;
  flex-direction: column;
}

body.mc-menu-open .mc-offcanvas {
  transform: translateX(0);
}

.mc-offcanvas-inner {
  padding: 1.5rem 1.75rem 2.5rem;
  overflow-y: auto;
  height: 100%;
}

.mc-offcanvas-brand {
  margin-bottom: 1.75rem;
}

.mc-offcanvas-brand img {
  height: 34px;
}

/* Secciones navegación */
.mc-nav-section {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  padding-bottom: 1rem;
}

.mc-nav-section-simple {
  border-bottom: none;
}

.mc-nav-group-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  color: #38bdf8;
  cursor: pointer;
}

.mc-nav-group-icon {
  font-size: 1.1rem;
}

.mc-nav-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.mc-nav-submenu.is-open {
  max-height: 500px;
}

.mc-nav-submenu li,
.mc-nav-section-simple ul li {
  margin-bottom: 0.4rem;
}

.mc-nav-submenu a,
.mc-nav-section-simple a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
}

.mc-nav-submenu a:hover,
.mc-nav-section-simple a:hover {
  color: #38bdf8;
}

/* Al abrir menú bloqueamos scroll */
body.mc-menu-open {
  overflow: hidden;
}

/* HERO CON VIDEO */
.mc-hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 3rem 1.5rem;
  overflow: hidden;
  color: #ffffff;
}

.mc-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.mc-hero-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #020617;
}

.mc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.6),
    rgba(15, 23, 42, 0.9)
  );
  z-index: 1;
}

.mc-hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.mc-hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.mc-hero h1 {
  font-size: clamp(2rem, 3vw + 1.5rem, 3.5rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.mc-hero-subtitle {
  font-size: 1rem;
  max-width: 34rem;
  margin-bottom: 1.75rem;
  opacity: 0.95;
}

/* Botones */
.mc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease, color 0.18s ease;
  cursor: pointer;
}

.mc-btn-primary {
  background: linear-gradient(90deg, #ff5c35, #0077d9);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.mc-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.mc-btn-outline {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
  margin-left: 0.75rem;
}

.mc-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Botón pausa video */
.mc-hero-video-toggle {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  border: none;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.mc-hero-video-toggle:hover {
  background: rgba(15, 23, 42, 0.9);
}

/* SECCIONES GENERALES */
.mc-section {
  padding: 4rem 0;
}

.mc-section-header {
  margin-bottom: 2rem;
}

.mc-section-header h1,
.mc-section-header h2 {
  margin-bottom: 0.25rem;
}

.mc-section-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #38bdf8;
}

/* Grids y cards reutilizables */
.mc-grid {
  display: grid;
  gap: 1.75rem;
}

.mc-grid-2 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.mc-grid-3 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .mc-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mc-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.mc-card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.6);
}

.mc-card h3,
.mc-card h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.mc-card ul {
  padding-left: 1.1rem;
}

/* Listas tipo pilares */
.mc-list-pillars {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .mc-list-pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.mc-list-pillars li {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.25rem 1.4rem;
}

.mc-list-pillars h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* Servicios */
.mc-service-block {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1.25rem;
  border: 1px solid rgba(129, 140, 248, 0.35);
  padding: 1.75rem 1.75rem 1.5rem;
  margin-bottom: 1.5rem;
}

/* Clientes logos */
.mc-client-carousel {
  position: relative;
  width: 100%;
  padding: 2.5rem 0;
  overflow: hidden;
}

.mc-client-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: mc-clients-marquee 50s linear infinite;
}

.mc-client-card {
  flex: 0 0 260px;
  height: 120px;
  background: #f9fafb;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 0 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.7);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.mc-client-card:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.95),
    0 0 24px rgba(56, 189, 248, 0.45);
  background: #ffffff;
}

.mc-client-card img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}

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

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

@media (max-width: 768px) {
  .mc-client-carousel { padding: 2rem 0; }

  .mc-client-track {
    gap: 1.5rem;
    animation-duration: 9s;
  }

  .mc-client-card {
    flex: 0 0 190px;
    height: 100px;
    padding: 0 1.2rem;
    border-radius: 1.25rem;
  }

  .mc-client-card img {
    max-height: 55px;
  }
}

/* Contacto */
.mc-contact-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.75rem;
}

/* === FOOTER === */
.mc-footer {
  background: #0f172a;
  color: #e5e7eb;
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.mc-footer a {
  text-decoration: none;
}

.mc-footer img {
  display: inline-block;
  vertical-align: middle;
}

.mc-footer h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #38bdf8;
}

.mc-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mc-footer ul li a {
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.mc-footer ul li a:hover {
  color: #38bdf8;
}

/* Íconos sociales en el footer */
.mc-footer .w-6 {
  width: 24px;
  height: 24px;
  filter: none; /* sin invertir colores */
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mc-footer .w-6:hover {
  transform: scale(1.1);
  opacity: 0.9;
}
/* Responsive */
@media (max-width: 768px) {
  .mc-footer {
    text-align: center;
  }
}

/* === BOTÓN WHATSAPP === */
.mc-whatsapp-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  background: #25D366;
  border-radius: 50%;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mc-whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.mc-whatsapp-button img {
  width: 40px;
  height: 40px;
  display: block;
}

/* Botones hero mejorados */
.mc-hero-actions .mc-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.2s ease;
}

/* PRIMARY: gradiente suave y animado */
.mc-hero-actions .mc-btn-primary {
  background: linear-gradient(120deg, #f97316, #fb7185, #0ea5e9);
  background-size: 200% 100%;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.55);
}

.mc-hero-actions .mc-btn-primary:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.75);
}

/* OUTLINE: borde delicado + fondo ligeramente translúcido */
.mc-hero-actions .mc-btn-outline {
  background: rgba(15, 23, 42, 0.35);
  border-color: rgba(248, 250, 252, 0.7);
  color: #e5e7eb;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.4);
}

.mc-hero-actions .mc-btn-outline:hover {
  background: rgba(15, 23, 42, 0.6);
  transform: translateY(-2px);
  border-color: #38bdf8;
  color: #f9fafb;
}

/* Accesibilidad: foco visible con teclado */
.mc-hero-actions .mc-btn:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

/* === BOTONES EN HEADER === */
.mc-header-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mc-btn-outline-sm,
.mc-btn-primary-sm {
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

/* Outline: transparente con borde azul claro */
.mc-btn-outline-sm {
  border-color: rgba(56, 189, 248, 0.7);
  color: #38bdf8;
  background: transparent;
}

.mc-btn-outline-sm:hover {
  background: rgba(56, 189, 248, 0.1);
  transform: translateY(-2px);
  border-color: #38bdf8;
}

/* Primary: gradiente suave */
.mc-btn-primary-sm {
  background: linear-gradient(120deg, #0ea5e9, #6366f1);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.mc-btn-primary-sm:hover {
  background: linear-gradient(120deg, #38bdf8, #818cf8);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

/* Responsive: oculta en móviles, muestra en escritorio */
@media (max-width: 768px) {
  .mc-header-buttons {
    display: none;
  }
}
/* Estilo tipo botón para el kicker de sección */
.mc-pill {
  display: inline-block;
  background: #7dd3fc; /* celeste similar al botón de la imagen */
  color: #0f172a; /* texto oscuro para contraste */
  padding: 0.6rem 1.5rem;
  border-radius: 999px; /* bordes redondeados tipo píldora */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(56, 189, 248, 0.3);
}

.mc-pill:hover {
  background: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(56, 189, 248, 0.45);
}

/* === BOTONES GRADIENTES EN HEADER === */
.mc-header-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mc-btn-outline-gradient {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff; /* letras blancas */
  text-decoration: none;
  border: 1.5px solid #38bdf8;
  background: transparent;
  transition: all 0.35s ease;
  overflow: hidden;
  letter-spacing: 0.02em;
  isolation: isolate; /* importante para que ::before quede debajo del texto */
}

.mc-btn-outline-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #38bdf8, #6366f1);
  z-index: -1; /* queda debajo del texto */
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* Hover: activa el gradiente */
.mc-btn-outline-gradient:hover::before {
  opacity: 1;
}

/* Hover: brillo y ligera elevación */
.mc-btn-outline-gradient:hover {
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.35);
}

/* Móviles */
@media (max-width: 768px) {
  .mc-header-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
}
/* Grid servicios: un poco más aire entre cards */
.mc-service-grid {
  gap: 2rem;
}

/* Card servicios con imagen, desenfoque y glow */
.mc-card-service {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.06), transparent 55%),
    #0b0f19;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.75rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
  overflow: hidden;
}

/* contenido sobre la imagen */
.mc-card-service > * {
  position: relative;
  z-index: 1;
}

/* halo */
.mc-card-service::before {
  content: "";
  position: absolute;
  inset: -15%;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  border-radius: inherit;
  z-index: 0;
}

/* imagen de fondo con desenfoque */
.mc-card-service::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(6px); /* desenfoque suave */
  opacity: 0;
  transition: opacity 0.35s ease, filter 0.35s ease;
  z-index: 0;
}

/* hover con efecto glow */
.mc-card-service:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.3);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.6),
    0 0 10px rgba(255, 255, 255, 0.15); /* glow sutil */
}

.mc-card-service:hover::before {
  opacity: 1;
}

.mc-card-service:hover::after {
  opacity: 0.25;
  filter: blur(4px); /* blur más sutil al hover */
}

/* texto */
.mc-card-service h3 {
  margin-top: 0.4rem;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  color: #f3f4f6;
}

.mc-card-service p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d1d5db;
}

/* imágenes por tipo */
.mc-card-service--ventas::after {
  background-image: url("../img/bg-ventas.jpg");
}

.mc-card-service--atencion::after {
  background-image: url("../img/bg-atencion.jpg");
}

.mc-card-service--cobranzas::after {
  background-image: url("../img/bg-cobranzas.jpg");
}

/* Icono arriba del texto */
.mc-service-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: radial-gradient(circle at 80% 0, #f9fafb, #9ca3af);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mc-service-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.9);
}

/* SVG siempre con sus colores */
.mc-service-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: none;
  transition: transform 0.2s ease;
}

.mc-service-icon:hover img {
  transform: translateY(-1px);
}

/* === CTA BANNER === */
.mc-cta-banner {
  position: relative;
  padding: 3rem 0;
  margin: 3rem 0 0;
  overflow: hidden;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

/* Imagen de fondo del banner (cambia la ruta a tu imagen) */
.mc-cta-banner-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/img/cta-banner.jpg"); /* <- tu banner */
  background-size: cover;
  background-position: center;
  filter: brightness(0.45) saturate(1.1);
  transform: scale(1.05);
  z-index: 0;
}

/* Capa de degradado encima de la imagen */
.mc-cta-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(148, 163, 184, 0.25), transparent 55%),
    linear-gradient(120deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.8));
  z-index: 1;
}

/* Texto CTA */
.mc-cta-title {
  font-size: clamp(1.5rem, 2vw + 1rem, 2.2rem);
  font-weight: 600;
  color: #f9fafb;
}

.mc-cta-text {
  font-size: 0.98rem;
  color: #e5e7eb;
  max-width: 32rem;
}

/* === BOTÓN CTA MODERNO CON SVG Y EFECTO GLOW === */
.mc-btn-cta-modern {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.6rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(90deg, #38bdf8, #6366f1, #8b5cf6);
  background-size: 200% auto;
  box-shadow:
    0 0 10px rgba(99, 102, 241, 0.3),
    inset 0 0 8px rgba(255, 255, 255, 0.15);
  transition: all 0.35s ease;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
}

/* Animación del gradiente */
.mc-btn-cta-modern:hover {
  background-position: right center;
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 0 25px rgba(99, 102, 241, 0.4),
    0 0 45px rgba(56, 189, 248, 0.35);
}

/* Ícono SVG */
.mc-btn-cta-modern .mc-btn-icon {
  width: 22px;
  height: 22px;
  color: #ffffff;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

/* Efecto movimiento del ícono */
.mc-btn-cta-modern:hover .mc-btn-icon {
  transform: translateX(6px);
}

/* Glow interno dinámico */
.mc-btn-cta-modern::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.25), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.mc-btn-cta-modern:hover::after {
  opacity: 1;
}

/* Texto y SVG visibles sobre el fondo */
.mc-btn-cta-modern span,
.mc-btn-cta-modern svg {
  position: relative;
  z-index: 1;
}

/* Foco accesible */
.mc-btn-cta-modern:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 768px) {
  .mc-btn-cta-modern {
    width: 100%;
    justify-content: center;
  }
}
/* Gradiente que aparece al hover */
.mc-btn-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, #38bdf8, #6366f1);
  opacity: 0;
  z-index: 0;
  transition: opacity 0.3s ease;
}

/* Texto sobre el gradiente */
.mc-btn-cta span {
  position: relative;
  z-index: 1;
}

/* Hover: gradiente + brillo + elevación */
.mc-btn-cta:hover::before {
  opacity: 1;
}

.mc-btn-cta:hover {
  color: #f9fafb;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.85);
}

/* Foco accesible */
.mc-btn-cta:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

/* Ajustes responsive */
@media (max-width: 768px) {
  .mc-cta-banner {
    padding: 2.4rem 0;
  }
  .mc-cta-title {
    text-align: center;
  }
  .mc-cta-text {
    text-align: center;
    margin-bottom: 1.5rem;
    max-width: 100%;
  }
  .mc-btn-cta {
    width: 100%;
    justify-content: center;
  }
}
/* === Pilares (Innovación, Seguridad, ESG) === */

/* Card con efecto vidrio + imagen de fondo */
.mc-pillar-card {
  position: relative;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.7rem 1.7rem 1.9rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  backdrop-filter: blur(4px);
}

/* Todo el contenido por encima del fondo */
.mc-pillar-card > * {
  position: relative;
  z-index: 2;
}

/* Glow suave en la esquina */
.mc-pillar-card::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  border-radius: inherit;
  z-index: 1;
}

/* Imagen de fondo difuminada */
.mc-pillar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(7px);
  opacity: 0;
  transition: opacity 0.35s ease, filter 0.35s ease;
  z-index: 0;
}

/* Hover: elevación, glow y fondo visible */
.mc-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.7),
    0 0 18px rgba(148, 163, 184, 0.35);
}

.mc-pillar-card:hover::before {
  opacity: 1;
}

.mc-pillar-card:hover::after {
  opacity: 0.35;
  filter: blur(4px);
}

/* Tipografía dentro de los pilares */
.mc-pillar-card h3 {
  margin-top: 0.4rem;
  margin-bottom: 0.55rem;
  font-size: 1.02rem;
  color: #f9fafb;
}

.mc-pillar-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d1d5db;
}

/* Icono circular arriba del texto */
.mc-pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #f9fafb, #9ca3af);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.75);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mc-pillar-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: none;
  transition: transform 0.2s ease;
}

.mc-pillar-card:hover .mc-pillar-icon {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.9);
}

.mc-pillar-card:hover .mc-pillar-icon img {
  transform: translateY(-1px);
}

/* === Asignar imágenes de fondo por pilar === */
/* Ajusta la ruta según dónde esté tu CSS:
   si tu CSS está en assets/css, usa ../img/  */
.mc-pillar--ia::after {
  background-image: url("../img/bg-ia-bi.jpg");
}

.mc-pillar--seguridad::after {
  background-image: url("../img/bg-seguridad.jpg");
}

.mc-pillar--esg::after {
  background-image: url("../img/bg-esg.jpg");
}
/* === Misión & Visión en 2 columnas === */
.mc-section-mv {
  position: relative;
}

.mc-mv-grid {
  display: grid;
  gap: 2rem;
}

/* 2 columnas en desktop, 1 en móvil */
@media (min-width: 768px) {
  .mc-mv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}

/* Card estilo vidrio con glow */
.mc-mv-card {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(148,163,184,0.18), transparent 55%),
    #020617;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 2rem 2rem 2.2rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.8);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  backdrop-filter: blur(4px);
}

/* Glow de fondo */
.mc-mv-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at top right, rgba(56,189,248,0.22), transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  border-radius: inherit;
  z-index: 0;
}

/* Contenido por encima del glow */
.mc-mv-card > * {
  position: relative;
  z-index: 1;
}

/* Hover: elevar + resaltar borde */
.mc-mv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.95),
    0 0 22px rgba(56, 189, 248, 0.35);
}

.mc-mv-card:hover::before {
  opacity: 1;
}

/* Badge superior (Misión / Visión) */
.mc-mv-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.7);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e0f2fe;
}

.mc-mv-badge-icon {
  width: 18px;
  height: 18px;
  color: #38bdf8;
}

/* Texto interno */
.mc-mv-body p {
  margin: 0 0 0.75rem;
  font-size: 0.96rem;
  line-height: 1.7;
  color: #e5e7eb;
}

.mc-mv-body p:last-child {
  margin-bottom: 0;
}
#valor-diferencial {
  margin-bottom: 2.5rem; /* ajusta 2.5rem al espacio que quieras */
}
.mc-pillar--agilidad::after {
  background-image: url("../img/bg-agilidad.jpg");
}

.mc-pillar--seguridad-confianza::after {
  background-image: url("../img/bg-seguridad-confianza.jpg");
}

.mc-pillar--esg-filosofia::after {
  background-image: url("../img/bg-esg-filosofia.jpg");
}
/* Estilo tipo botón para el kicker de sección de Clientes */
.mc-client-pill {
  display: inline-block;
  background: #7dd3fc; /* celeste */
  color: #0f172a; /* texto oscuro */
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(56, 189, 248, 0.3);
  margin-bottom: 1rem; /* espacio debajo */
}

.mc-client-pill:hover {
  background: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(56, 189, 248, 0.45);
}
/* === SECTORES: CARDS CON ICONO + FONDO EN HOVER === */

/* algo más de aire entre cards de sectores */
.mc-sector-grid {
  gap: 2rem;
}

/* card base para sectores */
.mc-card-sector {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.05), transparent 55%),
    #020617;
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.75rem 1.75rem 1.6rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

/* contenido por encima de la imagen de fondo */
.mc-card-sector > * {
  position: relative;
  z-index: 1;
}

/* velo suave para el glow */
.mc-card-sector::before {
  content: "";
  position: absolute;
  inset: -15%;
  border-radius: inherit;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 0;
}

/* imagen de fondo que aparece en hover */
.mc-card-sector::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: blur(1.5px);
  transition: opacity 0.35s ease;
  z-index: 0;
}

/* hover: elevación + brillo + imagen de fondo */
.mc-card-sector:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.32);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65);
}

.mc-card-sector:hover::before {
  opacity: 1;
}

.mc-card-sector:hover::after {
  opacity: 0.28; /* ajusta transparencia si quieres más/menos imagen */
}

/* textos en los cards de sectores */
.mc-card-sector h3 {
  margin-top: 0.35rem;
  margin-bottom: 0.6rem;
  font-size: 1.02rem;
  color: #f3f4f6;
}

.mc-card-sector p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d1d5db;
}

/* icono circular arriba del texto */
.mc-sector-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: radial-gradient(circle at 80% 0, #f9fafb, #9ca3af);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 10px 22px rgba(0,0,0,0.75);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mc-sector-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: none;
  transition: transform 0.2s ease;
}

/* pequeño efecto al pasar sobre el icono */
.mc-card-sector:hover .mc-sector-icon {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.9);
}

.mc-card-sector:hover .mc-sector-icon img {
  transform: translateY(-1px);
}

/* imágenes específicas por sector */
.mc-card-sector--financiero::after {
  background-image: url("../img/bg-sector-financiero.jpg");
}

.mc-card-sector--seguros::after {
  background-image: url("../img/bg-sector-seguros.jpg");
}

.mc-card-sector--retail::after {
  background-image: url("../img/bg-sector-retail.jpg");
}

/* responsive: un poco más compactos en móvil */
@media (max-width: 768px) {
  .mc-card-sector {
    padding: 1.5rem 1.35rem 1.45rem;
  }

  .mc-sector-icon {
    width: 52px;
    height: 52px;
  }

  .mc-sector-icon img {
    width: 40px;
    height: 40px;
  }
}
/* === NUEVA SECCIÓN DE CLIENTES CON ZOOM AUTOMÁTICO === */

.mc-client-showcase {
  position: relative;
  padding: 4rem 0;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.05), transparent 70%);
}

.mc-client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: center;
}

/* Cada logo dentro de su tarjeta */
.mc-client-logo-zoom {
  background: #f9fafb;
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  animation: mc-client-zoom 12s ease-in-out infinite;
}

/* Animación del zoom automático */
@keyframes mc-client-zoom {
  0%, 20%, 100% {
    transform: scale(1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
  }
  10% {
    transform: scale(1.08);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.7);
  }
}

/* Imágenes */
.mc-client-logo-zoom img {
  max-height: 70px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Hover: efecto manual adicional */
.mc-client-logo-zoom:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
}

.mc-client-logo-zoom:hover img {
  transform: scale(1.08);
}

/* Responsive */
@media (max-width: 768px) {
  .mc-client-logo-zoom {
    height: 100px;
    padding: 1rem 1.5rem;
    animation-duration: 10s;
  }

  .mc-client-logo-zoom img {
    max-height: 55px;
  }
}

/* === SECCIÓN DE SERVICIOS (uniforme, translúcida, moderna) === */
.mc-service-section {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 4rem;
}

.mc-service-box {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: stretch;
  gap: 2rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 1.75rem;
  margin: 2rem 0;
  padding: 2rem;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transition: all 0.3s ease;
}

.mc-service-box:hover {
  border-color: rgba(148, 163, 184, 0.45);
  transform: translateY(-3px);
}

/* Imagen difusa y translúcida */
.mc-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: blur(3px) brightness(1.05);
  border-radius: 1.25rem;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.mc-service-box:hover .mc-service-img img {
  opacity: 0.6;
  transform: scale(1.1);
}

/* Texto */
.mc-service-text {
  color: #e5e7eb;
  padding: 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(2,8,23,0.85), rgba(15,23,42,0.9));
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.mc-service-text h2 {
  color: #f9fafb;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.mc-service-text p, .mc-service-text ul {
  line-height: 1.7;
  font-size: 0.96rem;
  margin: 0.6rem 0;
}

/* Intercalar imágenes */
.mc-service-box.mc-reverse {
  grid-template-columns: 2fr 1fr;
}

.mc-service-box.mc-reverse .mc-service-img {
  order: 2;
}

/* Responsive */
@media (max-width: 768px) {
  .mc-service-box,
  .mc-service-box.mc-reverse {
    grid-template-columns: 1fr;
  }
  .mc-service-img {
    height: 180px;
    order: -1;
  }
}

/* alternar orden en filas pares (ya lo tendrás, lo dejo por claridad) */
.mc-service-item:nth-child(even) {
  flex-direction: row-reverse;
}

/* responsive: apilar en una columna */
@media (max-width: 900px) {
  .mc-service-item {
    flex-direction: column;
  }
  .mc-service-img {
    min-height: 220px;
  }
}
/* Fondo suave al hover */
.mc-service-text:hover {
  background: linear-gradient(120deg, rgba(56,189,248,0.12), rgba(99,102,241,0.15));
}

/* === Títulos y párrafos === */
.mc-service-text h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
  color: #f9fafb;
}
.mc-service-text p {
  margin-bottom: 1rem;
  line-height: 1.65;
}

.mc-service-text ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.mc-service-text li {
  margin-bottom: 0.6rem;
  line-height: 1.55;
}

/* Ajustar todas las imágenes a un tamaño fijo uniforme */
.mc-service-img {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  height: 360px; /* <-- altura fija uniforme */
  min-height: 360px;
  max-height: 360px;
}

.mc-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  filter: brightness(0.9) contrast(1.05);
  transition: transform 0.6s ease, opacity 0.4s ease;
}

/* Efecto zoom y brillo */
.mc-service-item:hover .mc-service-img img {
  transform: scale(1.06);
  opacity: 1;
}

/* Marco difuso */
.mc-service-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--service-bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  filter: blur(2px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 0;
}
/* Alternar orden (imagen ? texto) */
.mc-service-item:nth-child(even) {
  flex-direction: row-reverse;
}

/* === Responsivo === */
@media (max-width: 900px) {
  .mc-service-item {
    flex-direction: column;
    min-height: auto;
  }

  .mc-service-img {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    height: 240px;
  }

  .mc-service-text {
    padding: 2rem 1.5rem;
  }
}
/* Menos espacio vertical general en la sección servicios */
.mc-section-services {
  padding-top: 3rem;   /* si quieres, ajusta */
  padding-bottom: 3rem;
}

/* Que el header no deje tanto hueco debajo */
.mc-section-services .mc-section-header {
  margin-bottom: 1.5rem;
}

/* El bloque de detalle no necesita padding extra arriba */
.mc-section-servicios-detalle {
  margin-top: 0;
  padding-top: 0;
}
/* Corrige el desplazamiento al navegar a anclas (#id)
   ajusta el valor según la altura de tu header fijo */
.mc-service-box {
  scroll-margin-top: 120px; /* si tu header mide ~100px */
}
/* === CARDS TECNOLÓGICOS (OMNICANAL / CLOUD / BI) === */

.mc-feature-card {
  position: relative;
  border-radius: 1.25rem;
  padding: 1.8rem 1.8rem 1.9rem;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.06), transparent 55%),
    #020617;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

/* contenido siempre por encima del fondo */
.mc-feature-card > * {
  position: relative;
  z-index: 1;
}

/* icono circular encima del texto */
.mc-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #f9fafb, #9ca3af);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.8);
}

.mc-feature-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: none; /* respetar colores originales del SVG */
}

/* halo suave */
.mc-feature-card::before {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: inherit;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 0;
}

/* imagen difusa de fondo (se define por variante) */
.mc-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: blur(2px);
  transform: scale(1.02);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  z-index: 0;
}

/* hover general */
.mc-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(248, 250, 252, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75);
}

.mc-feature-card:hover::before {
  opacity: 1;
}

.mc-feature-card:hover::after {
  opacity: 0.32;      /* nivel de transparencia del fondo */
  transform: scale(1.05);
}

/* títulos y texto */
.mc-feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  color: #f9fafb;
}

.mc-feature-card p {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e5e7eb;
}

.mc-feature-card ul {
  padding-left: 1.1rem;
  margin: 0;
  font-size: 0.93rem;
  color: #d1d5db;
}

/* === IMÁGENES DE FONDO POR TARJETA (ajusta las rutas a tus imágenes) === */
.mc-feature-card--omnicanal::after {
  background-image: url("../img/bg-omnicanal-ia.jpg");
}

.mc-feature-card--cloud::after {
  background-image: url("../img/bg-cloud-esg.jpg");
}

.mc-feature-card--bi::after {
  background-image: url("../img/bg-bi.jpg");
}

/* pequeño ajuste en móviles */
@media (max-width: 768px) {
  .mc-feature-card {
    padding: 1.5rem 1.4rem 1.6rem;
  }
}

/* === BLOQUE CIBERSEGURIDAD / CONTINUIDAD === */

.mc-tech-grid {
  gap: 2rem;
}

/* Card base con efecto moderno + fondo difuso en hover */
.mc-tech-card {
  position: relative;
  border-radius: 1.25rem;
  padding: 1.8rem 1.7rem 1.9rem;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.05), transparent 55%),
    #020617;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.mc-tech-card > * {
  position: relative;
  z-index: 1;
}

/* Icono circular arriba del texto */
.mc-tech-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #f9fafb, #9ca3af);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.8);
}

.mc-tech-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: none;
}

/* halo y fondo difuso */
.mc-tech-card::before {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: inherit;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 0;
}

.mc-tech-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: blur(2px);
  transform: scale(1.02);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  z-index: 0;
}

/* variantes de imagen de fondo */
.mc-tech-card--security::after {
  background-image: url("assets/img/bg-security.jpg");   /* ajusta ruta */
}

.mc-tech-card--drp::after {
  background-image: url("assets/img/bg-drp.jpg");        /* ajusta ruta */
}

/* hover */
.mc-tech-card:hover {
  transform: translateY(-4px);
  border-color: rgba(248, 250, 252, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8);
}

.mc-tech-card:hover::before {
  opacity: 1;
}

.mc-tech-card:hover::after {
  opacity: 0.3;
  transform: scale(1.05);
}

/* textos */
.mc-tech-card h4 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.02rem;
  color: #f9fafb;
}

.mc-tech-card p {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e5e7eb;
}

.mc-tech-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.93rem;
  color: #d1d5db;
}

/* CTA final */
.mc-tech-cta-card {
  border-radius: 1.5rem;
  padding: 2rem 2.2rem;
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.18), transparent 55%),
    #020617;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.mc-tech-cta-card h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: clamp(1.4rem, 2vw + 0.8rem, 1.8rem);
  color: #f9fafb;
}

.mc-tech-cta-card p {
  margin: 0 0 0.7rem;
  font-size: 0.96rem;
  line-height: 1.7;
  color: #e5e7eb;
}

@media (max-width: 768px) {
  .mc-tech-card {
    padding: 1.5rem 1.4rem 1.6rem;
  }
  .mc-tech-cta-card {
    padding: 1.7rem 1.5rem;
  }
}
/* === OPTIMIZACIÓN RESPONSIVA GLOBAL === */

/* --- TABLETS (=1024px) --- */
@media (max-width: 1024px) {
  body {
    padding-top: 58px;
  }
  .mc-header-inner {
    padding: 0.5rem 1rem;
  }
  .mc-logo img {
    height: 50px;
  }
  .mc-hero {
    padding: 2rem 1rem;
    text-align: center;
    justify-content: center;
  }
  .mc-hero-content {
    max-width: 90%;
    margin: 0 auto;
  }
  .mc-hero h1 {
    font-size: clamp(1.8rem, 2.2vw + 1rem, 2.8rem);
  }
  .mc-hero-subtitle {
    font-size: 0.95rem;
  }
  .mc-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
  .mc-btn {
    width: 100%;
    max-width: 260px;
  }
}

/* --- MÓVILES (=768px) --- */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  /* Header compacto */
  .mc-header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .mc-logo img {
    height: 44px;
    max-width: 180px;
  }
  .mc-menu-toggle {
    width: 34px;
    height: 34px;
    gap: 5px;
  }

  /* Hero */
  .mc-hero {
    min-height: calc(100vh - 56px);
    padding: 1.5rem 1rem;
    text-align: center;
  }
  .mc-hero-content {
    max-width: 100%;
  }
  .mc-hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }
  .mc-hero-subtitle {
    font-size: 0.9rem;
  }

  /* Botones de hero */
  .mc-hero-actions .mc-btn {
    width: 100%;
    max-width: none;
  }

  /* Controles de video */
  .mc-video-controls {
    right: 0.8rem !important;
    bottom: 0.8rem !important;
    gap: 6px !important;
  }
  .mc-video-controls button {
    width: 38px !important;
    height: 38px !important;
  }

  /* Footer */
  .mc-footer {
    text-align: center;
    padding: 2rem 1rem;
  }
  .mc-footer ul {
    margin-top: 1rem;
  }

  /* Cards y secciones */
  .mc-card, .mc-service-box, .mc-pillar-card, .mc-feature-card {
    margin: 1rem 0;
    padding: 1.25rem;
  }
  .mc-card h3, .mc-card h4, .mc-service-text h2 {
    font-size: 1rem;
  }

  /* Formularios y botones generales */
  input, select, textarea, button {
    font-size: 1rem;
  }
}

/* --- MÓVILES PEQUEÑOS (=480px) --- */
@media (max-width: 480px) {
  .mc-hero h1 {
    font-size: 1.8rem;
  }
  .mc-btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
  }
  .mc-logo img {
    height: 40px;
  }
}
