
/* ===========================
   HERO FULL WIDTH + ANIMADO
=========================== */

.markad-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 20px;
  color: #fff;
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(circle at 20% 30%, rgb(0, 125, 235), transparent 42%),
    radial-gradient(circle at 80% 70%, #7c4dff, transparent 45%),
    radial-gradient(circle at 50% 50%, #1a237e, #0b0f1a 70%);

  background-size: 180% 180%;
  animation: heroBackgroundMove 18s ease-in-out infinite;
}


/* Movimiento del fondo */
@keyframes heroBackgroundMove {
  0% {
    background-position: 0% 50%, 100% 50%, 50% 50%;
  }
  50% {
    background-position: 100% 50%, 0% 50%, 50% 60%;
  }
  100% {
    background-position: 0% 50%, 100% 50%, 50% 50%;
  }
}

/* ===========================
   GLOWS ANIMADOS (SUTIL)
=========================== */

.markad-hero::before,
.markad-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* Glow azul */
.markad-hero::before {
  width: 520px;
  height: 520px;
  top: -120px;
  left: -120px;

  background: radial-gradient(
    circle,
    rgba(0,125,235,0.35),
    transparent 70%
  );

  filter: blur(90px);
  animation: glowMoveOne 18s ease-in-out infinite;
}

/* Glow morado */
.markad-hero::after {
  width: 620px;
  height: 620px;
  bottom: -180px;
  right: -180px;

  background: radial-gradient(
    circle,
    rgba(124,77,255,0.35),
    transparent 70%
  );

  filter: blur(110px);
  animation: glowMoveTwo 22s ease-in-out infinite;
}

/* Animaciones de glows */
@keyframes glowMoveOne {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(80px, 60px) scale(1.15);
    opacity: 0.25;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
}

@keyframes glowMoveTwo {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-100px, -80px) scale(1.2);
    opacity: 0.8;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
}

/* ===========================
   CONTENIDO
=========================== */

.hero-container {
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-media img {
  width: 100%;
  max-width: 600px;
  height: auto;

  animation: floatImage 6s ease-in-out infinite;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.35));
}

@keyframes floatImage {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-18px);
  }
  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
	  padding-top: 5rem;
  }

  .hero-media {
    margin-top: 40px;
  }

  .hero-media img {
    max-width: 300px;
  }
}

.hero-content h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 700;
	color: #fff;
}

.titulo-principal2 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}

.typed-loop {
  display: inline-block;
  margin-left: 8px;
  background: linear-gradient(90deg, #00e7ff, #7c4dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

/* Cursor */
.typed-loop::after {
  content: "|";
  margin-left: 4px;
  animation: blink 3s infinite;
}

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



.hero-content h1 span {
  background: linear-gradient(
    90deg,
    rgb(0, 125, 235),
    #7c4dff
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.hero-content p {
  margin-top: 25px;
  font-size: 1.1rem;
  color: #cfd8dc;
  max-width: 520px;
}

/* ===========================
   BOTONES
=========================== */

.hero-buttons {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}

.btn-primary-mak {
  background: linear-gradient(90deg, #00e5ff, #7c4dff);
  padding: 14px 32px;
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  text-decoration: none !important;
  transition: transform .3s ease, box-shadow .3s ease;
}

.btn-primary-mak {
  background: linear-gradient(
    90deg,
    rgb(0, 125, 235),
    #7c4dff
  );
}


.btn-primary-mak:hover {
	color: #fff !important;
  transform: translateY(-4px);
  transition: transform 0.6s cubic-bezier(.22,1,.36,1);
  box-shadow: 0 15px 35px rgba(0,229,255,.35);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,.3);
  padding: 14px 32px;
  border-radius: 30px;
  color: #fff;
  text-decoration: none !important;
  transition: background .3s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,.1);
	color: #4DE2FF;
}

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

@media (max-width: 900px) {
  .hero-content {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }
}

/* Seguridad contra scroll horizontal */
html, body {
  overflow-x: hidden;
}

/* seccion de contacto programa de gastronomía */

/* ===========================
   SECCIÓN SISTEMA MARKAD
=========================== */

.markad-system-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  position: relative;
  padding: 120px 20px;
  color: #fff;
  overflow: hidden;

  background:
    radial-gradient(
      circle at top center,
      rgba(0,125,235,0.22),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(13,77,255,0.18),
      transparent 55%
    ),
    linear-gradient(
      to bottom,
      #28117A 0%,
      #182A4F 65%
    );
}


.system-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ===========================
   BLOQUE VISUAL
=========================== */

.system-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.media-wrapper {
  position: relative;
}

.system-image {
  width: 100%;
  max-width: 420px;
  height: auto;
  animation: floatSoft 7s ease-in-out infinite;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.4));
  border-radius: 24px;
}

/* Animación flotante */
@keyframes floatSoft {
  0% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
  100% { transform: translateY(0); }
}

/* ===========================
   BLOQUE CONTENIDO
=========================== */

.system-content {
  max-width: 520px;
}

.system-label {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #00CCFF;
  font-weight: 600;
}

.system-content h2 {
  font-size: 2.6rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 25px;
}

.system-content h2 span {
  background: linear-gradient(
    90deg,
    rgb(0,125,235),
    #7c4dff
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.system-description {
  font-size: 1.05rem;
  color: #cfd8dc;
  line-height: 1.7;
  margin-bottom: 18px;
}

/* ===========================
   LISTA DE FEATURES
=========================== */

.system-features {
  list-style: none;
  padding: 0;
  margin: 30px 0 40px;
}

.system-features li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #e0e0e0;
  position: relative;
  padding-left: 22px;
}

.system-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: rgb(0,125,235);
  font-size: 0.9rem;
}

/* ===========================
   BOTÓN
=========================== */

.btn-system {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 30px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(
    90deg,
    rgb(0,125,235),
    #7c4dff
  );
  transition: transform .3s ease, box-shadow .3s ease;
}

.pulse-cta {
  position: relative;
  z-index: 1;
}

/* Onda */
.pulse-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background: rgba(0,231,255,0.45);
  z-index: -1;

  animation: pulseWave 2.8s ease-out infinite;
}

@keyframes pulseWave {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.pulse-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background: rgba(0,231,255,0.35);
  z-index: -1;

  animation: pulseWave 2.8s ease-out infinite;
  animation-delay: 1.4s;
}



.btn-system:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,125,235,0.35);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.16,.84,.44,1),
    filter 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}


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

@media (max-width: 900px) {
  .system-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .system-content {
    max-width: 100%;
  }

  .system-features {
    text-align: left;
    display: inline-block;
  }

  .system-image {
    max-width: 300px;
    margin-bottom: 40px;
  }

  .system-content h2 {
    font-size: 2.2rem;
  }
}

/* seccion servicios home */

/* =========================
   SECCIÓN SERVICIOS
========================= */
.markad-services {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding: 120px 20px;
  color: #fff;
  position: relative;
  overflow: hidden;

background:
  radial-gradient(
    circle at 50% 45%,
    rgba(0,231,255,0.55) 0%,
    rgba(0,231,255,0.30) 25%,
    rgba(0,231,255,0.12) 45%,
    transparent 65%
  ),
  linear-gradient(
    to bottom,
    #0b0f1a 0%,
    #0f1530 100%
  );


}


.markad-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
	circle at 50% 50%   /* exacto centro */
    rgba(0,231,255,0.35),
    transparent 65%
  );
  animation: pulseHalo 16s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseHalo {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

.services-container {
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.services-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 80px;
}

.services-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #00CCFF;
  margin-bottom: 10px;
}

.services-header h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.services-header p {
  color: #cfd8dc;
  font-size: 1.05rem;
}

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

/* CARD */
.service-card {
  position: relative;
  background: rgba(15, 21, 45, 0.55); /* vidrio oscuro */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 22px;
  padding: 40px 30px;
  overflow: hidden;

  transition: transform .4s ease, box-shadow .4s ease;
}

.service-card {
  opacity: 0;
  transform: translateY(40px) rotateX(6deg) scale(0.96);
  filter: blur(6px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.16,.84,.44,1),
    filter 0.8s ease;
  will-change: transform, opacity;
}

.service-card.is-visible {
  opacity: 1;
  transform: translateY(0) rotateX(0) scale(1);
  filter: blur(0);
}


.service-card::before {
  content: "";
  position: absolute;
  inset: 0;

  border-radius: inherit;

  background: linear-gradient(
    120deg,
    #00E7FF,
    #7c4dff,
    #00E7FF
  );
  background-size: 300% 300%;
  animation: borderGlow 6s linear infinite;

  /* 🔥 BORDE REAL UNIFORME */
  padding: 2px;

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  pointer-events: none;
}


@keyframes borderGlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

.service-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
	color: #fff;
}

.service-card p {
  font-size: 0.95rem;
  color: #cfd8dc;
  margin-bottom: 25px;
}

.service-card a {
  font-size: 0.9rem;
  color: #fff !important;
  text-decoration: none;
	
}

/* ICON */
.service-icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.btn-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 26px;
  border-radius: 999px;

  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
  color: #ffffff;

  background: linear-gradient(
    135deg,
    #7c4dff,
    #5e6bff,
    #00e7ff
  );

  position: relative;
  z-index: 1;

  box-shadow:
    0 0 0 rgba(0,231,255,0),
    0 12px 30px rgba(124,77,255,0.45);

  transition: all 0.35s ease;
}

.btn-glow::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;

  background: linear-gradient(
    135deg,
    rgba(124,77,255,0.7),
    rgba(0,231,255,0.7)
  );

  filter: blur(14px);
  opacity: 0.75;
  z-index: -1;
}

.btn-glow:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 18px 45px rgba(0,231,255,0.55);
}


/* FEATURED CARD */
.service-card.featured {
  background: linear-gradient(
    135deg,
    rgb(0,125,235),
    #412685
  );
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured a {
  color: #fff !important;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-header h2 {
    font-size: 2.2rem;
  }
}

.markad-contact-cta {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 110px 20px;
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 15% 40%,
      rgba(0,231,255,0.12),
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 60%,
      rgba(0,125,235,0.10),
      transparent 50%
    ),
    #ffffff;
}


.contact-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

/* TEXTO */
.contact-content h2 {
  font-size: 2.6rem;
  line-height: 1.2;
  font-weight: 700;
  color: #0047b3;
}

.contact-content h4 {
  margin-top: 20px;
  font-size: 1.1rem;
  color: #007deb;
  font-weight: 600;
}

.contact-content p {
  margin-top: 20px;
  max-width: 520px;
  font-size: 1.05rem;
  color: #4a4a4a;
}

/* BARRA CTA */
.contact-bar {
  margin-top: 35px;
  background: #eaf3f8;
  border-radius: 40px;
  padding: 10px 14px 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 520px;
}

.contact-bar span {
  font-size: 0.95rem;
  color: #3a3a3a;
}

.contact-btn {
  background: #0056d2;
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none !important;
  font-weight: 600;
  transition: transform .3s ease, box-shadow .3s ease;
}

.contact-btn:hover {
	color: #75EBFF !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,86,210,.35);
}



/* IMAGEN */
.contact-image img {
  width: 100%;
  max-width: 420px;
  display: block;
  margin-left: auto;
}

/* Estado base (desktop) */
.desktop-only {
  display: block !important;
}

.mobile-only {
  display: none !important;
}

.btn-system:focus,
.btn-system:focus-visible,
.btn-nav:focus,
.btn-nav:focus-visible {
  outline: none;
  box-shadow: none;
}


@media (max-width: 900px) {

  /* ⛔ OCULTAR COMPLETAMENTE LA IMAGEN DE ESCRITORIO */
  .contact-image.desktop-only {
    display: none !important;
    visibility: hidden;
    height: 0;
    margin: 0;
    padding: 0;
  }

  /* ✅ MOSTRAR SOLO LA MOBILE */
  .contact-image.mobile-only {
    display: flex !important;
    justify-content: center;
    margin: 25px 0 10px;
  }

  .contact-image.mobile-only img {
    width: 260px;
    max-width: 85%;
    height: auto;
  }

  /* 🔧 AJUSTES DEL GRID */
  .contact-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    text-align: center;
  }

  .contact-content {
    order: 1;
  }
	
	 .contact-bar {
    flex-direction: column;   /* 👈 texto arriba, botón abajo */
    align-items: stretch;
    gap: 12px;
    text-align: center;
    padding: 18px;
  }
	
	  .contact-bar span {
    font-size: 0.9rem;
    color: #4a5d66;
  }

  .contact-btn {
    width: 100%;              /* 👈 botón ancho completo */
    justify-content: center;
  }

  .contact-bar {
    order: 3;
    margin-top: 20px;
  }
}


.markad-brands {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 80px 20px;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(0,231,255,0.10),
      transparent 60%
    ),
    #ffffff;
}

.brands-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.brands-title {
  font-size: 1rem;
  color: #5f6b7a;
  margin-bottom: 40px;
  letter-spacing: 0.4px;
}

.brands-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  align-items: center;
}

.brands-logos img {
  max-height: 210px;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: all 0.35s ease;
}

.brands-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .brands-logos {
    gap: 30px;
  }

  .brands-logos img {
    max-height: 120px;
  }
}

.markad-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 100px 20px 50px;
  position: relative;
  overflow: hidden;
  color: #eaf6fb;

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(0,231,255,0.18),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(124,77,255,0.18),
      transparent 50%
    ),
    radial-gradient(
      circle at center,
      #0e2a3b,
      #071521 70%
    );

  background-size: 200% 200%;
  animation: footerGradientMove 22s ease-in-out infinite;
}

@keyframes footerGradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 60%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.footer-container {
  max-width: 1000px;
  margin: auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-logo img {
  max-width: 140px;
  margin-bottom: 30px;
}

.footer-logo img {
  display: block;
  margin: 0 auto 28px;
}


.footer-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #cfe7f2;
  max-width: 780px;
  margin: 0 auto 35px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 40px;
	
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  transition: all 0.35s ease;
}

.footer-social a:hover {
  background: linear-gradient(135deg, #00e7ff, #7c4dff);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,231,255,0.35);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.25),
    transparent
  );
  margin-bottom: 25px;
}

.footer-copy {
  font-size: 0.85rem;
  color: #9fb8c4;
}

@media (max-width: 768px) {
  .markad-footer {
    padding: 80px 20px 40px;
  }

  .footer-text {
    font-size: 0.95rem;
  }
}

/* barra de menu navegacion */
.markad-header {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}


.markad-nav {
  width: 92%;
  max-width: 1200px;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;

  border-radius: 60px;

  background: rgba(8, 20, 40, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255,255,255,0.12);

  box-shadow:
    0 12px 35px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(0,231,255,0.08);
}

.nav-logo img {
  height: 38px;
}

.nav-links {
  display: flex;
  align-items: center;        /* 🔥 */
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #eaf6fb;
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color .3s ease;
	line-height: 1;             /* 🔥 evita que “bajen” */
	  display: inline-flex;
  align-items: center;
}

.nav-links a:hover {
  color: #00e7ff;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #00e7ff, #7c4dff);
  transition: width .3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-nav {
  padding: 10px 22px;
  border-radius: 30px;
  background: linear-gradient(135deg, #00e7ff, #7c4dff);
  color: #fff;
  font-weight: 600;
  text-decoration: none !important;
  font-size: 0.9rem;

 	
	 transition:
    transform 0.45s cubic-bezier(.22,1,.36,1),
    box-shadow 0.45s cubic-bezier(.22,1,.36,1),
    background 0.45s ease;
}

.btn-nav:hover {
	color: #fff;
 transform: translateY(-1.5px);
  box-shadow:
    0 10px 28px rgba(124,77,255,.35),
    0 0 0 1px rgba(124,77,255,.35);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .markad-nav {
    justify-content: space-between;
  }
}

.has-mega {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 130%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);

  width: 720px;
  padding: 28px;

 background: linear-gradient(
  180deg,
  rgba(15, 30, 80, 0.88),
  rgba(10, 20, 50, 0.88)
);


  backdrop-filter: blur(18px);
  border-radius: 22px;
  border: 1px solid rgba(0,231,255,0.35);

  opacity: 0;
  pointer-events: none;

  transition: all .35s ease;
  z-index: 999;
}

.has-mega:hover .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.mega-item {
  display: flex;
  flex-direction: column;

  padding: 18px 20px;
  border-radius: 16px;

  background: rgba(8,15,40,0.55);
  border: 1px solid rgba(255,255,255,0.08);

  color: #fff;
  text-decoration: none;

  position: relative;
  transform: translateZ(0);
  will-change: transform;

  transition:
    transform 0.45s cubic-bezier(.22,1,.36,1),
    box-shadow 0.55s cubic-bezier(.22,1,.36,1),
    border-color 0.55s ease;
}


.mega-item:hover {
  box-shadow: 0 20px 40px rgba(0,231,255,0.18);
}



.mega-item strong {
  display: block;
  margin: 0 0 1.2rem 0; /* EXACTO */
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
}


.mega-item p {
  margin: 0;
	font-weight: 300;
  font-size: 0.88rem;
  line-height: 1.45;
  opacity: 0.85;
}

/* preloader de carga de paginas */

/* =========================
   PRELOADER GLOBAL (GIF)
========================= */

#site-preloader {
  position: fixed;
  inset: 0;
  /* Fondo vidrio */
  background: rgba(15, 25, 45, 0.55); /* opaco elegante */
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);

  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;

  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#site-preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.preloader-gif {
  width: 120px;        /* ajusta según tu gif */
  max-width: 60%;
  height: auto;
}

/* ESTILOS DE PAGINAS PARA PUBLICACIONES */

/* --- Contenedor Principal --- */
    .real-people-section {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 60px;
        max-width: 1100px;
        margin: 0 auto;
        padding: 40px 20px;
        font-family: 'lexend', sans-serif; /* Asegúrate de tener esta fuente o la de tu tema */
        position: relative;
    }

    /* --- Lado Izquierdo: Imagen y Formas --- */
    .rp-image-wrapper {
        flex: 1;
        position: relative;
        min-height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* La mancha amarilla de fondo */
    .rp-blob-bg {
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: #6F27F5; /* Amarillo anaranjado */
        border-radius: 46% 54% 39% 61% / 55% 72% 28% 45%; /* Forma orgánica */
        z-index: 0;
        transform: rotate(-10deg) scale(1.1);
    }

    /* La imagen principal enmascarada */
    .rp-main-image {
        position: relative;
        z-index: 1;
        width: 350px;
        height: 350px;
        border-radius: 50%; /* Círculo perfecto o ajusta para óvalo */
        overflow: hidden;
        border: 5px solid white; /* Borde blanco opcional */
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

    .rp-main-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* La insignia flotante (25+ Years) */
    .rp-badge {
        position: absolute;
        top: 20px;
        left: 0;
        background: white;
        width: 130px;
        height: 130px;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        z-index: 2;
        text-align: center;
        padding: 15px;
    }

    .rp-badge h3 {
        color: #6F27F5; /* Naranja fuerte */
        font-size: 32px;
        font-weight: 800;
        margin: 0;
        line-height: 1;
    }

    .rp-badge span {
        color: #333;
        font-size: 12px;
        font-weight: 600;
        margin-top: 5px;
        line-height: 1.2;
    }

    /* --- Lado Derecho: Contenido --- */
    .rp-content {
        flex: 1;
        position: relative;
    }

    /* Flecha decorativa (SVG) */
    .rp-arrow-svg {
        position: absolute;
        top: -40px;
        left: -60px;
        width: 80px;
        height: auto;
        transform: rotate(-10deg);
        z-index: 0;
        opacity: 0.6;
    }

    /* Textos */
    .rp-subtitle {
        color: #27B4F5;
        font-weight: 700;
        font-size: 14px;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin-bottom: 10px;
        display: block;
    }

    .rp-content h2 {
        font-size: 38px;
        color: #2b2d42;
        line-height: 1.2;
        margin: 0 0 20px 0;
        font-weight: 800;
        position: relative;
        z-index: 1;
    }

    .rp-content p {
        color: #666;
        line-height: 1.6;
        margin-bottom: 30px;
        font-size: 15px;
    }

    /* Lista de Servicios con Iconos */
    .rp-services {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .rp-service-item {
        display: flex;
        gap: 15px;
        align-items: flex-start;
    }

    .rp-icon-box {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .rp-icon-box img {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

    .rp-service-text h4 {
        margin: 0 0 5px 0;
        color: #2b2d42;
        font-size: 1rem !important;
        font-weight: 700;
    }

    .rp-service-text p {
        margin: 0;
        font-size: 1rem !important;
        color: #777;
    }

    /* --- Responsividad (Móvil) --- */
    @media (max-width: 768px) {
        .real-people-section {
            flex-direction: column;
            gap: 40px;
            text-align: center;
        }

        .rp-badge {
            width: 100px;
            height: 100px;
            top: 0;
            left: 10px; /* Ajuste para que no se salga */
        }
        
        .rp-badge h3 { font-size: 24px; }
        .rp-badge span { font-size: 10px; }

        .rp-main-image {
            width: 280px;
            height: 280px;
        }

        /* Ocultar la flecha en móvil porque estorba */
        .rp-arrow-svg {
            display: none;
        }

        .rp-service-item {
            text-align: left; /* Mantener alineación izquierda en lista */
        }
        
        .rp-content h2 { font-size: 28px; }
    }

/* --- Contenedor Principal --- */
    .rp-mk-p-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 40px; /* Reducido un poco el espacio */
        max-width: 1100px;
        margin: 0 auto;
        padding: 60px 20px;
        font-family: 'lexend', sans-serif, Arial;
        position: relative;
        overflow: visible; /* Importante para que se vea la mancha de fondo */
    }

    /* --- Lado Izquierdo: Contenido --- */
    .rp-mk-p-content {
        flex: 1;
        max-width: 500px;
        z-index: 2; /* Asegura que el texto quede por encima del fondo */
    }

    .rp-mk-p-content h2 {
        font-size: 2.5rem;
        color: #2c2c2c;
        line-height: 1.2;
        font-weight: 700;
        margin-bottom: 40px;
    }

    .rp-mk-p-list {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .rp-mk-p-item {
        display: flex;
        align-items: flex-start;
        gap: 20px;
    }

    /* Icono Morado */
    .rp-mk-p-icon-box {
        width: 55px;
        height: 55px;
        flex-shrink: 0;
        background: linear-gradient(135deg, #9b84ee 0%, #7b5eea 100%);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 6px 15px rgba(123, 94, 234, 0.25);
    }

    .rp-mk-p-icon-box img {
        width: 28px;
        height: 28px;
        object-fit: contain;
        filter: brightness(0) invert(1);
    }

    .rp-mk-p-text p {
        margin: 0;
        color: #666;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* --- Lado Derecho: Imágenes de Celulares --- */
    .rp-mk-p-images-container {
        flex: 1;
        position: relative;
        height: 550px; /* Altura fija para el área de las imágenes */
        display: flex;
        align-items: center;
        justify-content: flex-end; /* Alinea los celulares a la derecha */
        z-index: 1;
    }

    /* La mancha de fondo gris sutil */
    .rp-mk-p-blob-bg {
        position: absolute;
        top: -10%;
        right: -30%; /* Se sale un poco a la derecha */
        width: 140%;
        height: 120%;
        background-color: #f8f9fa; /* Gris muy claro, casi blanco */
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; /* Forma orgánica */
        z-index: -1; /* Detrás de todo */
    }

    /* Estilos comunes para las imágenes de los cels (deben ser PNG transparentes) */
    .rp-mk-p-phone {
        position: absolute;
        display: block;
        height: auto;
        transition: transform 0.3s ease;
    }

    /* Celular Trasero */
    .rp-mk-p-phone-back {
        width: 240px;
        right: 20px;
        top: 40px;
        z-index: 1;
        opacity: 0.9;
    }

    /* Celular Frontal (Principal) */
    .rp-mk-p-phone-front {
        width: 260px;
        right: 140px; /* Más a la izquierda para superponerse */
        top: 100px;   /* Más abajo */
        z-index: 2;
        /* Sombra suave para darle profundidad */
        filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
    }

    /* Animación Hover suave */
    .rp-mk-p-images-container:hover .rp-mk-p-phone-front {
        transform: translateY(-10px);
    }
    .rp-mk-p-images-container:hover .rp-mk-p-phone-back {
        transform: translateX(10px);
    }

    /* --- Responsividad --- */
    @media (max-width: 900px) {
        .rp-mk-p-wrapper {
            flex-direction: column;
            text-align: center;
            padding-top: 40px;
            gap: 60px;
        }

        .rp-mk-p-content {
            max-width: 100%;
        }
        
        .rp-mk-p-list {
            text-align: left;
            display: inline-flex; /* Para centrar el bloque pero mantener alineación interna */
        }

        .rp-mk-p-images-container {
            width: 100%;
            height: 450px;
            justify-content: center; /* Centrar en móvil */
        }

        .rp-mk-p-blob-bg {
            width: 150%;
            right: -25%;
            top: -20%;
        }

        /* Ajustes de posición en móvil */
        .rp-mk-p-phone-front {
            width: 200px;
            right: auto; /* Reset */
            left: 50%;
            margin-left: -140px; /* Centrar y mover a la izquierda */
            top: 80px;
        }
        
        .rp-mk-p-phone-back {
            width: 190px;
            right: auto; /* Reset */
            left: 50%;
            margin-left: -30px; /* Centrar y mover a la derecha */
            top: 40px;
        }
    }/* --- Estilos de la Tarjeta (Contenedor Principal) --- */
    .rp-mk-card123-wrapper {
        display: flex;
        justify-content: center;
        padding: 40px 20px;
        font-family: 'lexend', sans-serif, Arial;
    }

    .rp-mk-card123 {
        background-color: #fff;
        width: 100%;
        max-width: 380px;
        border: 1px solid #e1e5ee;
        border-radius: 30px;
        padding: 40px 30px;
        text-align: center; /* Centra el título y el botón */
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .rp-mk-card123:hover {
        transform: translateY(-5px);
    }

    .rp-mk-card123 h3 {
        color: #0d0e2e;
        font-size: 22px;
        font-weight: 700;
        line-height: 1.3;
        margin: 0 0 20px 0;
    }

    .rp-mk-card123-image {
        width: 100%;
        height: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
    }

    .rp-mk-card123-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .rp-mk-card123 > p { /* El párrafo introductorio */
        color: #6b7280;
        font-size: 14px;
        margin-bottom: 20px;
    }

    /* --- Estilos de la Lista INTEGRADA --- */
    .lista-elegante-mk {
        list-style: none;
        padding: 0;
        margin: 0 0 30px 0;
        width: 100%; /* Ocupa todo el ancho de la tarjeta */
        text-align: left; /* IMPORTANTE: Forza alineación izquierda para la lista */
    }

    .lista-elegante-item {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px 0; /* Padding reducido para que quepa bien */
        border-bottom: 1px solid rgba(0,0,0,0.06);
        transition: transform 0.3s ease;
    }

    .lista-elegante-item:last-child {
        border-bottom: none;
    }

    .lista-elegante-item:hover {
        transform: translateX(5px);
    }

    /* Caja del icono (Reducida un poco para la tarjeta) */
    .le-icon-box {
        width: 40px; 
        height: 40px;
        border-radius: 50%;
        background-color: #f3f4f6;
        color: #5C4DFF;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: all 0.3s ease;
    }

    .le-icon-box svg {
        width: 20px;
        height: 20px;
    }

    .lista-elegante-item:hover .le-icon-box {
        background-color: #5C4DFF;
        color: white;
    }

    .le-text {
        font-size: 0.95rem; /* Texto un poco más pequeño */
        color: #4b5563;
        font-weight: 500;
        margin: 0;
        line-height: 1.4;
    }

    /* --- Botón --- */
    .rp-mk-card123-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 30px;
        border: 1px solid #e5e7eb;
        border-radius: 50px;
        background-color: transparent;
        color: #4b5563;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .rp-mk-card123-btn:hover {
        background-color: #5C4DFF;
        border-color: #5C4DFF;
        color: white;
    }

    .rp-mk-card123-arrow {
        font-weight: bold;
        line-height: 1;
        margin-top: -2px;
    }

.contenedor-degrade-mk-card {
    /* Degradado Radial: Del centro hacia afuera */
    background: radial-gradient(circle, #4DD6FF 0%, #5C4DFF 100%);
}

/* --- Contenedor Principal Vertical --- */
    .af-vertical-wrapper {
        font-family: 'lexend', sans-serif, Arial;
        max-width: 500px; /* Ancho máximo para que se vea compacto */
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Alinea todo a la izquierda */
        background-color: transparent;
    }

    /* --- 1. La Etiqueta (Badge) --- */
    .af-badge {
        background-color: #f3f0ff; /* Fondo lila muy suave */
        color: #5C4DFF; /* Morado vibrante */
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 8px 18px;
        border-radius: 50px;
        margin-bottom: 25px;
        display: inline-block;
    }

    /* --- 2. Título --- */
    .af-vertical-wrapper h2 {
        font-size: 2.5rem;
        color: #0d0e2e; /* Negro azulado */
        line-height: 1.2;
        font-weight: 800;
        margin: 0 0 20px 0;
    }

    /* --- 3. Párrafo --- */
    .af-vertical-wrapper p {
        color: #6b7280; /* Gris texto */
        font-size: 1rem;
        line-height: 1.6;
        margin: 0 0 30px 0;
    }

    /* --- 4. Lista con Checkmarks --- */
    .af-list {
        list-style: none;
        padding: 0;
        margin: 0 0 40px 0;
        width: 100%;
    }

    .af-list-item {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
        color: #1f2937;
        font-weight: 600;
        font-size: 1rem;
    }

    /* El icono del Checkmark */
    .af-check-icon {
        width: 20px;
        height: 20px;
        color: #5C4DFF; /* Color del chulito */
        flex-shrink: 0;
    }

    /* --- 5. Botonera (Botón + Flecha) --- */
    .af-btn-group {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    /* El Botón Largo */
    .af-main-btn {
        background-color: #5C4DFF;
        color: white;
        padding: 15px 35px;
        border-radius: 50px;
        font-weight: 800;
        font-size: 14px;
        text-transform: uppercase;
        text-decoration: none;
        letter-spacing: 0.5px;
        transition: transform 0.3s ease, background-color 0.3s ease;
        box-shadow: 0 10px 20px rgba(92, 77, 255, 0.3); /* Sombra morada */
    }

    /* El Botón Redondo (Flecha) */
    .af-arrow-btn {
        width: 50px;
        height: 50px;
        background-color: #5C4DFF;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        transition: transform 0.3s ease;
        box-shadow: 0 10px 20px rgba(92, 77, 255, 0.3);
    }

    /* Hover Effects */
    .af-main-btn:hover {
        background-color: #4a3dcc;
        transform: translateY(-3px);
    }

    .af-arrow-btn:hover {
        background-color: #4a3dcc;
        transform: rotate(45deg); /* Efecto de rotación al pasar el mouse */
    }

/* --- Contenedor Principal (Grid) --- */
    .mk-strategy-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
        max-width: 1100px;
        margin: 0 auto;
        font-family: 'Poppins', sans-serif, Arial;
        padding: 20px;
    }

    /* --- Estilo de la Tarjeta --- */
    .mk-strategy-card {
        background: #ffffff;
        flex: 1 1 350px; /* Base flexible, mínimo 350px */
        border-radius: 20px;
        padding: 40px 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Sombra suave */
        border-top: 5px solid #0066ff; /* Borde superior azul (como el cuadrado de tu imagen) */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
    }

    .mk-strategy-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    }

    /* Icono superior (opcional, decorativo) */
    .mk-card-icon {
        width: 50px;
        height: 50px;
        background-color: #eff6ff; /* Azul muy clarito */
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 25px;
        color: #0066ff;
    }

    /* Título H2 */
    .mk-strategy-card h2 {
        font-size: 1.4rem;
        font-weight: 700;
        color: #1a1a1a;
        margin: 0 0 20px 0;
        line-height: 1.3;
        text-transform: uppercase; /* Como en tu imagen */
    }

    /* Texto descriptivo */
    .mk-desc-text {
        font-size: 0.95rem;
        color: #555;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    /* --- Listas Personalizadas --- */
    .mk-custom-list {
        list-style: none;
        padding: 0;
        margin: 0 0 25px 0;
    }

    .mk-custom-list li {
        position: relative;
        padding-left: 25px;
        margin-bottom: 12px;
        color: #333;
        font-weight: 500;
        font-size: 0.95rem;
    }

    /* El punto de la lista (Bullet point personalizado) */
    .mk-custom-list li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 8px;
        width: 8px;
        height: 8px;
        background-color: #0066ff; /* Azul */
        border-radius: 50%;
    }

    /* --- Caja Destacada (Para la frase del dedo) --- */
    .mk-highlight-box {
        background-color: #fffbeb; /* Amarillo muy suave */
        border-left: 4px solid #f59e0b; /* Borde naranja */
        padding: 15px;
        border-radius: 8px;
        font-size: 0.9rem;
        color: #92400e;
        font-weight: 600;
        margin-top: auto; /* Empuja al fondo si sobra espacio */
        display: flex;
        gap: 10px;
        align-items: center;
    }

    /* --- Texto Final Fuerte (Optimización) --- */
    .mk-strong-footer {
        margin-top: auto;
        padding-top: 15px;
        border-top: 1px solid #eee;
        font-weight: 700;
        color: #1a1a1a;
        font-size: 1rem;
        text-align: center;
    }
    
    .mk-strong-footer span {
        color: #0066ff; /* Palabra clave en azul */
    }

    /* Responsividad */
    @media (max-width: 768px) {
        .mk-strategy-wrapper {
            flex-direction: column;
        }
        .mk-strategy-card {
            width: 100%;
        }
    }

/* --- Contenedor Externo --- */
    .contact-mk-p-wrapper {
        font-family: 'lexend', sans-serif, Arial;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        display: flex;
        justify-content: center;
        margin-top: 50px; /* Un poco de espacio arriba para la cabecera de la imagen */
    }

    /* --- Tarjeta Principal (Banner Morado) --- */
    .contact-mk-p-card {
        background: linear-gradient(135deg, #7F5AF0 0%, #6246EA 100%);
        width: 100%;
        border-radius: 30px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 60px;
        height: 280px;
        position: relative;
        /* CLAVE: Permite que la imagen se salga */
        overflow: visible !important; 
        box-shadow: 0 20px 40px rgba(98, 70, 234, 0.25);
    }

    /* --- Decoración de Fondo --- */
    .contact-mk-p-card::before {
        content: '';
        position: absolute;
        bottom: -50px;
        left: 20px;
        width: 250px;
        height: 250px;
        background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 70%);
        border-radius: 50%;
        z-index: 0;
    }

    .contact-mk-p-card::after {
        content: '';
        position: absolute;
        top: -80px;
        right: -20px;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 70%);
        border-radius: 50%;
        z-index: 0;
    }

    /* --- Contenedor de la Imagen (Izquierda) --- */
    .contact-mk-p-image-box {
        flex: 0 0 300px;
        /* Hacemos la caja más alta para que sobresalga arriba */
        height: 125%; 
        display: flex;
        align-items: flex-end; /* Pega la imagen al fondo */
        
        /* Posicionamiento para sacar la imagen del flujo */
        position: absolute;
        bottom: 0;
        left: 20px;
        z-index: 10;
        margin-right: 20px;
    }

    /* Estilos de la imagen en sí */
    .contact-mk-p-image-box img {
        width: 100%;
        height: auto;
        max-height: 100%; 
        object-fit: contain;
        object-position: bottom center;
        margin-bottom: 0; 
    }

    /* --- Texto Central --- */
    .contact-mk-p-content {
        flex: 1;
        z-index: 1;
        padding: 0 20px;
        /* Empujamos el contenido a la derecha para que no choque con la imagen absoluta */
        margin-left: 320px; 
    }

    .contact-mk-p-content h2 {
        color: #ffffff;
        font-size: 2.2rem;
        font-weight: 700;
        line-height: 1.2;
        margin: 0;
    }

    /* --- Botones (Derecha) --- */
    .contact-mk-p-btn-group {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 15px;
        z-index: 1;
        padding-left: 20px;
    }

    .contact-mk-p-btn {
        background-color: #ffffff;
        color: #0d0e2e;
        padding: 16px 32px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 14px;
        text-transform: uppercase;
        text-decoration: none !important;
        letter-spacing: 0.5px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        white-space: nowrap;
    }

    .contact-mk-p-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

    .contact-mk-p-arrow-btn {
        width: 52px;
        height: 52px;
        background-color: #ffffff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #0d0e2e;
        text-decoration: none !important;
        transition: transform 0.3s ease, background-color 0.3s ease;
    }

    .contact-mk-p-arrow-btn:hover {
        transform: rotate(45deg);
        background-color: #f0f0f0;
    }

    /* --- Responsividad (Móvil) --- */
    @media (max-width: 900px) {
        .contact-mk-p-card {
            flex-direction: column;
            height: auto;
            padding: 50px 20px;
            text-align: center;
            overflow: hidden !important; /* En móvil sí queremos que recorte si es necesario */
        }

        .contact-mk-p-image-box {
            /* IMPORTANTE: Reseteamos la posición absoluta para que fluya normal en móvil */
            position: relative; 
            bottom: auto;
            left: auto;
            height: auto;
            width: 100%;
            max-width: 250px; /* Limitamos el ancho en móvil */
            margin: 0 auto 30px auto; /* Centrado y con margen abajo */
            justify-content: center;
        }
        
        .contact-mk-p-image-box img {
            width: 100%;
            height: auto;
        }

        .contact-mk-p-content {
            margin-left: 0; /* Quitamos el margen izquierdo del escritorio */
            padding: 0;
        }

        .contact-mk-p-content h2 {
            font-size: 1.8rem;
            margin-bottom: 30px;
        }

        .contact-mk-p-btn-group {
            padding-left: 0;
            flex-direction: row;
            justify-content: center;
            flex-wrap: wrap; /* Permite que bajen si no caben */
        }
    }

    @media (max-width: 450px) {
        .contact-mk-p-btn-group {
            flex-direction: column;
            width: 100%;
        }
        .contact-mk-p-btn {
            width: 100%;
            text-align: center;
        }
    }