/* CSS Global del proyecto ISPmax
   Aquí van estilos de secciones, páginas PHP, landings de pago, etc.
*/

/* Ejemplo básico */
body {
    background-color: #ffffff;
}
/* =========================================================
   ISPmax – Estilos base landing (page-home-ispmax.php)
   ========================================================= */

/* Regla CSS Universales ISPmax (V1): fix tamaño texto móviles */
@media screen and (max-width: 767px) {
  html,
  body {
    -moz-text-size-adjust: none !important;
    -webkit-text-size-adjust: none !important;
    text-size-adjust: none !important;
  }
}

/* Variables de color */
:root {
  --ispmax-navy: #0d1440;
  --ispmax-navy-dark: #050826;
  --ispmax-accent: #ffc266;
  --ispmax-accent-soft: #ffe0a3;
  --ispmax-bg-soft: #fff7e8;
  --ispmax-text-main: #111111;
  --ispmax-text-muted: #555555;
  --ispmax-radius-lg: 24px;
  --ispmax-radius-md: 16px;
  --ispmax-shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.12);
  --ispmax-max-width: 1180px;
}

/* Contenedor genérico */
.ispmax-container {
  width: 100%;
  max-width: var(--ispmax-max-width);
  margin: 0 auto;
  padding: 0 16px;
}
.ispmax-hero__image {
  width: 100%;
  display: block;
  border-radius: 28px;
  box-shadow: var(--ispmax-shadow-soft);
  object-fit: cover;
}

/* Botones (usando clases Neve y compatibles) */
.ispmax-hero .button.button-primary {
  background-color: #ffffff;
  color: var(--ispmax-navy);
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 600;
  border: 2px solid #ffffff;
}

.ispmax-hero .button.button-primary:hover {
  background-color: transparent;
  color: #ffffff;
}

.ispmax-hero .button.button-secondary {
  background-color: transparent;
  color: #ffffff;
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 500;
  border: 2px solid #ffffff;
}

.ispmax-hero .button.button-secondary:hover {
  background-color: #ffffff;
  color: var(--ispmax-navy);
}

/* ====== SECCIONES GENERALES ====== */

.ispmax-home .ispmax-section {
  padding: 72px 0;
}

.ispmax-section--motivos,
.ispmax-section--sistema,
.ispmax-section--texto-dual,
.ispmax-section--por-que,
.ispmax-section--faq {
  background-color: var(--ispmax-bg-soft);
}

.ispmax-section--servicios {
  background-color: #ffffff;
}

.ispmax-section__header {
  margin-bottom: 40px;
}

.ispmax-section__header--center {
  text-align: center;
}

.ispmax-section__title {
  font-size: 28px;
  line-height: 1.25;
  margin: 8px 0 16px;
  color: var(--ispmax-text-main);
}

.ispmax-section__title--left {
  text-align: left;
}

.ispmax-section__eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ispmax-text-muted);
}

.ispmax-section__intro {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--ispmax-text-muted);
  line-height: 1.7;
}

/* ====== GRID UTILIDAD ====== */

.ispmax-grid {
  display: grid;
  gap: 20px;
}

.ispmax-grid--3 {
  grid-template-columns: 1fr;
}

/* ====== CARDS ====== */

.ispmax-card,
.ispmax-service-card {
  background-color: #ffffff;
  border-radius: var(--ispmax-radius-md);
  padding: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.ispmax-card__title {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--ispmax-text-main);
}

.ispmax-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ispmax-text-muted);
}

/* ====== SERVICE CARDS ====== */

.ispmax-service-card__image-wrapper {
  margin: -24px -24px 16px;
  border-radius: var(--ispmax-radius-md) var(--ispmax-radius-md) 0 0;
  overflow: hidden;
}

.ispmax-service-card__image-wrapper img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.ispmax-service-card__title {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--ispmax-text-main);
}

.ispmax-service-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ispmax-text-muted);
}

/* ====== SISTEMA ISPmax ====== */

.ispmax-sistema__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

.ispmax-sistema__lead {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--ispmax-text-main);
}

.ispmax-sistema__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.ispmax-sistema__steps li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ispmax-text-muted);
}

.ispmax-sistema__image-wrapper img {
  width: 100%;
  max-width: 380px;
  display: block;
  border-radius: var(--ispmax-radius-lg);
  box-shadow: var(--ispmax-shadow-soft);
}

/* ====== TEXTO DUAL ====== */

.ispmax-text-dual__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.ispmax-text-dual__left p,
.ispmax-text-dual__right p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ispmax-text-main);
}

/* ====== FAQ ====== */

.ispmax-faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.ispmax-faq-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.ispmax-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--ispmax-text-main);
  list-style: none;
}

.ispmax-faq-item summary::-webkit-details-marker {
  display: none;
}

.ispmax-faq-item p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ispmax-text-muted);
}

/* ====== RESPONSIVE BREAKPOINTS ====== */

@media (min-width: 768px) {
  .ispmax-hero {
    padding: 96px 0 88px;
  }

  .ispmax-hero__grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .ispmax-hero__content {
    text-align: left;
  }

  .ispmax-hero__title {
    font-size: 40px;
  }

  .ispmax-hero__buttons {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
  }

  .ispmax-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ispmax-sistema__grid {
    flex-direction: row;
    align-items: center;
  }

  .ispmax-sistema__text {
    flex: 2;
  }

  .ispmax-sistema__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .ispmax-text-dual__grid {
    grid-template-columns: 1.1fr 1.5fr;
  }
}

@media (min-width: 1024px) {
  .ispmax-hero__title {
    font-size: 46px;
  }

  .ispmax-section__title {
    font-size: 32px;
  }
}
/* ======================================= */
/*               HERO ISPmax               */
/* ======================================= */

#ispmax-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.ispmax-hero-inner {
    position: relative;
    width: 100%;
    min-height: 580px;
    display: flex;
    align-items: center;
}

.ispmax-hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 1;
}

.ispmax-hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 0;
}

.ispmax-hero-text {
    max-width: 55%;
}

.ispmax-hero-title {
    font-size: 48px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1e66;
    font-family: 'Playfair Display', serif;
}

.ispmax-hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    color: #000;
}

.ispmax-hero-buttons a {
    margin-right: 15px;
}

.ispmax-hero-legal {
    margin-top: 25px;
    font-size: 14px;
    color: #333;
}

/* Imagen consultor */
.ispmax-hero-image {
    max-width: 40%;
    text-align: right;
}

.ispmax-hero-img {
    width: 100%;
    max-width: 420px;
}

/* ====================== */
/* RESPONSIVE */
/* ====================== */

@media (max-width: 992px) {
    .ispmax-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .ispmax-hero-text {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .ispmax-hero-image {
        max-width: 70%;
    }
}

@media (max-width: 600px) {
    .ispmax-hero-title {
        font-size: 32px;
    }

    .ispmax-hero-subtitle {
        font-size: 16px;
    }

    .ispmax-hero-img {
        max-width: 280px;
    }
}
/* ======================================= */
/*        MOTIVOS ISPmax (fondo naranja)   */
/* ======================================= */

#ispmax-motivos {
    background: #ffc266;
    padding: 60px 0;
}

.ispmax-motivos-inner {
    text-align: center;
    color: #000;
}

.ispmax-motivos-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.ispmax-motivos-intro {
    max-width: 850px;
    margin: 0 auto 40px auto;
    font-size: 18px;
}

.ispmax-motivos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 25px;
    margin-bottom: 40px;
}

.ispmax-motivo-item {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    padding: 25px;
    text-align: left;
}

.ispmax-motivo-title {
    font-size: 22px;
    margin-bottom: 10px;
}

.ispmax-motivo-text {
    font-size: 16px;
    line-height: 1.6;
}

.ispmax-motivos-pricing p {
    font-size: 18px;
    margin: 8px 0;
}

/* ============================== */
/* RESPONSIVE */
/* ============================== */

@media (max-width: 992px) {
    .ispmax-motivos-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .ispmax-motivo-item {
        text-align: center;
    }
}
/* ======================================= */
/*           CÓMO TRABAJAMOS ISPmax        */
/* ======================================= */

#ispmax-como-trabajamos {
    padding: 70px 0;
}

.ispmax-como-inner {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.ispmax-como-title {
    font-size: 36px;
    font-family: 'Playfair Display', serif;
    color: #1a1e66;
    margin-bottom: 20px;
}

.ispmax-como-text {
    font-size: 18px;
    color: #000;
    margin-bottom: 40px;
}

.ispmax-como-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ispmax-como-list li {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: left;
}

.ispmax-como-list strong {
    color: #1a1e66;
}

/* ============================== */
/* RESPONSIVE */
/* ============================== */

@media (max-width: 768px) {
    .ispmax-como-list li {
        text-align: center;
    }
}
/* ======================================= */
/*   3 TARJETAS (Diagnóstico / Plan / Informes) */
/* ======================================= */

#ispmax-tres-tarjetas {
    padding: 60px 0 90px;
    background: #ffffff;
}

.ispmax-tarjetas-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.ispmax-tarjeta-item {
    background: #f7f8fc;
    border-radius: 16px;
    padding: 28px 24px 32px;
    border: 1px solid #d0d4e6;
    text-align: center;
    box-shadow: 0 8px 18px rgba(10, 22, 70, 0.08);
}

.ispmax-tarjeta-img {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto 18px auto;
    border-radius: 12px;
    object-fit: cover;
}

.ispmax-tarjeta-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1a1e66;
}

.ispmax-tarjeta-text {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

/* RESPONSIVE 3 TARJETAS */
@media (max-width: 1024px) {
    .ispmax-tarjetas-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    #ispmax-tres-tarjetas {
        padding: 50px 16px 70px;
    }

    .ispmax-tarjetas-grid {
        grid-template-columns: 1fr;
    }

    .ispmax-tarjeta-item {
        max-width: 420px;
        margin: 0 auto;
    }
}

/* ============================== */
/* RESPONSIVE */
/* ============================== */

@media (max-width: 992px) {
    .ispmax-tarjetas-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .ispmax-tarjetas-grid {
        grid-template-columns: 1fr;
    }
}
/* ======================================= */
/*          AUDITORÍA GRATUITA ISPmax      */
/* ======================================= */

#ispmax-auditoria {
    padding: 80px 0;
    background: #ffffff;
}

.ispmax-auditoria-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.ispmax-auditoria-image {
    text-align: center;
}

.ispmax-auditoria-img {
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
}

.ispmax-auditoria-content {
    text-align: left;
}

.ispmax-auditoria-title {
    font-size: 34px;
    font-family: 'Playfair Display', serif;
    color: #1a1e66;
    margin-bottom: 20px;
}

.ispmax-auditoria-text {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #000;
}

.ispmax-auditoria-points {
    margin-bottom: 30px;
    padding-left: 20px;
}

.ispmax-auditoria-points li {
    font-size: 16px;
    margin-bottom: 10px;
}

/* CTA */
.ispmax-btn-cta {
    padding: 12px 26px;
    font-size: 18px;
    border-radius: 10px;
}

/* ============================== */
/* RESPONSIVE */
/* ============================== */

@media (max-width: 992px) {
    .ispmax-auditoria-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ispmax-auditoria-content {
        text-align: center;
    }

    .ispmax-auditoria-points {
        text-align: left;
        display: inline-block;
    }
}
/* ======================================= */
/*              FAQ ISPmax                 */
/* ======================================= */

#ispmax-faq {
    padding: 80px 0;
    background: #ffffff;
}

.ispmax-faq-title {
    text-align: center;
    font-size: 36px;
    font-family: 'Playfair Display', serif;
    color: #1a1e66;
    margin-bottom: 40px;
}

.ispmax-faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.ispmax-faq-item {
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

.ispmax-faq-question {
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    color: #1a1e66;
    margin-bottom: 10px;
}

.ispmax-faq-answer {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    display: block;
}

/* ============================== */
/* RESPONSIVE */
/* ============================== */

@media (max-width: 600px) {
    .ispmax-faq-question {
        font-size: 18px;
    }
}
/* ======================================= */
/*               CTA FINAL ISPmax          */
/* ======================================= */

#ispmax-cta-final {
    padding: 80px 0;
    background: #f5f7fb;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}

.ispmax-cta-final-inner {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.ispmax-cta-final-title {
    font-size: 36px;
    font-family: 'Playfair Display', serif;
    color: #1a1e66;
    margin-bottom: 20px;
}

.ispmax-cta-final-subtext {
    font-size: 20px;
    color: #000;
    margin-bottom: 35px;
}

.ispmax-btn-cta-final {
    padding: 14px 30px;
    font-size: 20px;
    border-radius: 10px;
    margin-bottom: 35px;
}

.ispmax-cta-final-description {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    margin-top: 20px;
}

/* ============================== */
/* RESPONSIVE */
/* ============================== */

@media (max-width: 600px) {
    .ispmax-cta-final-title {
        font-size: 28px;
    }
    .ispmax-cta-final-subtext,
    .ispmax-cta-final-description {
        font-size: 16px;
    }
    .ispmax-btn-cta-final {
        font-size: 18px;
        padding: 12px 24px;
    }
}
/* ==============================
   HERO ISPmax – Colores texto
   ============================== */

.ispmax-hero-title,
.ispmax-hero-subtitle,
.ispmax-hero-text p,
.ispmax-hero-legal {
  color: #ffffff;
}

.ispmax-hero-title {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.ispmax-hero-subtitle {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
/* ======================================== */
/*   CORRECCIÓN HERO MÓVIL (BOTONES + TEXTO) */
/* ======================================== */
@media screen and (max-width: 767px) {

  /* Aumenta el padding lateral del texto */
  .ispmax-hero-text,
  .ispmax-hero-subtitle,
  .ispmax-hero-legal {
    padding-left: 20px !important;
    padding-right: 20px !important;
    text-align: center !important;
  }

  /* Botones en vertical */
  .ispmax-hero-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    align-items: center !important;
    width: 100%;
    margin-top: 20px;
  }

  /* Cada botón ocupa casi todo el ancho del móvil */
  .ispmax-hero-buttons a {
    width: 85% !important;
    text-align: center !important;
    display: block !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
  }

  /* Evitar que las líneas del botón secundario queden aplastadas */
  .ispmax-btn-hero {
    white-space: normal !important;
  }
}
/* ================================
   HERO – Botones en móvil
   ================================ */
@media (max-width: 767px) {
    .ispmax-hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px; /* separación real entre botones */
        width: 100%;
        margin-top: 20px;
    }

    .ispmax-hero-buttons a {
        width: 80%;           /* botones más elegantes */
        max-width: 320px;     /* límite estético */
        text-align: center;
    }

    /* Ajustar texto del hero para que no quede pegado */
    .ispmax-hero-text {
        padding: 0 20px;
    }
}
/* ================================
   SERVICIOS – Responsive móvil
   ================================ */
@media (max-width: 767px) {
    .ispmax-servicios-grid {
        display: flex;
        flex-direction: column;
        gap: 35px;  /* separación entre tarjetas */
        width: 100%;
        padding: 0 20px;
    }

    .ispmax-servicio-item {
        width: 100% !important;
    }

    .ispmax-servicio-item img {
        width: 100%;
        height: auto;
        border-radius: 16px;
    }
}
/* ============================================
   HERO ISPmax — Estilos mejorados
=============================================== */

/* Overlay azul más fuerte */
.ispmax-hero-bg {
    position: relative;
}

.ispmax-hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 15, 70, 0.92) 0%,
        rgba(10, 15, 70, 0.70) 40%,
        rgba(10, 15, 70, 0.20) 80%,
        rgba(10, 15, 70, 0.0) 100%
    );
    z-index: 1;
}

.ispmax-hero-inner,
.ispmax-hero-content {
    position: relative;
    z-index: 2;
}

/* Ajustar separación entre texto e imagen */
.ispmax-hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
}

/* H1 móvil */
@media (max-width: 767px) {
    .ispmax-hero-title {
        font-size: 30px !important;
        line-height: 1.2;
        padding: 0 15px;
        text-align: center;
    }

    .ispmax-hero-subtitle {
        padding: 0 20px;
        text-align: center;
    }

    /* Imagen pasa abajo */
    .ispmax-hero-content {
        flex-direction: column;
        gap: 30px;
    }
}
/* HERO – Botones verticales en móvil */
@media (max-width: 767px) {
    .ispmax-hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
        margin-top: 20px;
    }

    .ispmax-hero-buttons a {
        width: 80%;
        max-width: 330px;
        text-align: center;
    }
}
/* BOTONES HERO - MÓVIL */
@media (max-width: 768px) {
    .ispmax-hero-buttons {
        flex-direction: column !important;
        align-items: center;
        gap: 18px;
        width: 100%;
    }

    .ispmax-hero-buttons a {
        width: 85%;
        text-align: center;
        display: block;
        margin: 0 auto;
    }

    .ispmax-hero-text {
        padding: 0 22px;
    }

    #ispmax-hero h1 {
        font-size: 32px !important;
        line-height: 1.25;
    }
}
/* SERVICIOS — RESPONSIVE */
@media (max-width: 1024px) {
    .ispmax-servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ispmax-servicios-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        padding: 0 18px;
    }
}
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all .8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ======================================= */
/*            SERVICIOS ISPmax             */
/* ======================================= */

#ispmax-servicios {
    padding: 80px 0;
    background: #f9fafc;
}

.ispmax-servicios-title {
    text-align: center;
    font-size: 36px;
    font-family: 'Playfair Display', serif;
    color: #1a1e66;
    margin-bottom: 20px;
}

.ispmax-servicios-intro {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 50px auto;
    font-size: 18px;
    color: #000;
}

/* GRID DE SERVICIOS */
.ispmax-servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

/* TARJETA DE SERVICIO */
.ispmax-servicio-item {
    background: #f5f7fb;
    border-radius: 16px;
    padding: 28px 24px 32px;
    border: 1px solid #d0d4e6;
    text-align: center;
    box-shadow: 0 8px 18px rgba(10, 22, 70, 0.08);
}

.ispmax-servicio-img {
    width: 100%;
    max-width: 260px;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 12px;
    object-fit: cover;
}

.ispmax-servicio-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #1a1e66;
}

.ispmax-servicio-price {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
}

.ispmax-servicio-text {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

/* RESPONSIVE SERVICIOS */
@media (max-width: 1024px) {
    .ispmax-servicios-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    #ispmax-servicios {
        padding: 60px 16px;
    }

    .ispmax-servicios-grid {
        grid-template-columns: 1fr;
    }

    .ispmax-servicio-item {
        max-width: 420px;
        margin: 0 auto;
    }
}
/* FORZAR que el hero ocupe todo el ancho en móvil */
@media (max-width: 767px) {
    #ispmax-hero .ispmax-hero-content {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
/* =======================================
   HERO ISPmax v2 (page-inicio.php)
   ======================================= */

#ispmax-hero {
  position: relative;
  color: #ffffff;
  overflow: hidden;
}

/* Contenedor interno del hero */
#ispmax-hero .ispmax-hero-inner {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
}

/* Fondo con la imagen azul (hero-fondo-ispmax.png) */
#ispmax-hero .ispmax-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Contenido (texto + foto) centrado en la página */
#ispmax-hero .ispmax-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 32px 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

/* Columna de texto */
#ispmax-hero .ispmax-hero-text {
  flex: 1 1 0;
  max-width: 640px;
}

/* Columna de imagen (Domingo) */
#ispmax-hero .ispmax-hero-image {
  flex: 0 0 360px;
}

/* Imagen del director */
#ispmax-hero .ispmax-hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  object-fit: cover;
}

/* ---------- Responsive tablet ---------- */
@media (max-width: 991px) {
  #ispmax-hero .ispmax-hero-content {
    padding: 64px 24px 56px;
    gap: 32px;
  }

  #ispmax-hero .ispmax-hero-image {
    flex: 0 0 300px;
  }
}

/* ---------- Responsive móvil ---------- */
@media (max-width: 767px) {
  #ispmax-hero .ispmax-hero-inner {
    min-height: auto;
  }

  #ispmax-hero .ispmax-hero-content {
    padding: 56px 16px 56px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  /* En móvil, primero texto y debajo la foto (o al revés si prefieres) */
  #ispmax-hero .ispmax-hero-text {
    max-width: 100%;
  }

  #ispmax-hero .ispmax-hero-image {
    flex: 0 0 auto;
    max-width: 320px;
    width: 100%;
  }

  #ispmax-hero .ispmax-hero-img {
    border-radius: 24px;
  }
}
#ispmax-hero .ispmax-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 80, 0.55); /* azul oscuro semitransparente */
    z-index: 1;
}
/* ----------------------------------------------
   HERO ISPmax – Fondo recreado sin imagen
------------------------------------------------ */
#ispmax-hero .ispmax-hero-bg {
    background: radial-gradient(circle at 30% 20%, rgba(70, 0, 255, 0.45) 0%, rgba(15, 20, 60, 0.8) 40%, #050826 100%),
                linear-gradient(135deg, #132b85 0%, #050826 80%);
    background-blend-mode: overlay;
    opacity: 1 !important;
}
/* Igualar estilo de la tarjeta central con las laterales */
.ispmax-como-list img {
    width: 100%;
    height: auto;
    border-radius: 18px; /* igual que las laterales */
    object-fit: cover;
}
/* ----------------------------------------------
   Imagen de Plan personalizado DISTINTO  tamaño
------------------------------------------------ */

.ispmax-como-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.ispmax-como-list li {
    padding: 24px 24px;
}
/* ======================================================
   CTA FINAL ISPmax — versión 100% funcional y prioritaria
   Fondo crema + borde naranja + textos azules + botón azul
   ====================================================== */

#ispmax-cta-final {
    background: linear-gradient(180deg, #fdf7ee 0%, #f7ebd6 100%) !important; /* Fondo crema degradado */
    border-top: 6px solid #ffc266 !important; /* Línea naranja corporativa */
    padding: 90px 0 !important;
    position: relative !important;
    z-index: 2 !important;

    /* Cancelamos cualquier fondo heredado */
    background-color: transparent !important;
    backdrop-filter: none !important;
}

/* Eliminamos fondos del container interno */
#ispmax-cta-final .container,
#ispmax-cta-final .ispmax-cta-final-inner {
    background: transparent !important;
}
/* ==========================================================
   FOOTER ISPmax – Estilo corporativo azul + blanco
========================================================== */

.ispmax-footer {
    background: #0D1440;
    color: #ffffff;
    padding: 50px 0 40px 0;
    font-size: 15px;
    line-height: 1.6;
}

.ispmax-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 25px;
    text-align: center;
}

/* ===========================
   ENLACES SUPERIORES
=========================== */

.ispmax-footer-links {
    margin-bottom: 35px;
    font-size: 15px;
}

.ispmax-footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 5px;
    font-weight: 500;
}

.ispmax-footer-links a:hover {
    color: #FFC266; /* dorado corporativo */
}

/* ===========================
   BLOQUE LEGAL CENTRADO
=========================== */

.ispmax-footer-legal {
    margin-bottom: 35px;
    font-size: 15px;
}

.ispmax-footer-legal p {
    margin: 6px 0;
}

/* ===========================
   COPYRIGHT FINAL
=========================== */

.ispmax-footer-copy {
    margin-top: 20px;
    font-size: 15px;
    font-weight: 600;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 768px) {

    .ispmax-footer {
        padding: 40px 0 35px 0;
    }

    .ispmax-footer-links {
        line-height: 2;
        font-size: 14px;
        margin-bottom: 30px;
    }

    .ispmax-footer-legal {
        font-size: 14px;
        padding: 0 10px;
    }

    .ispmax-footer-copy {
        margin-top: 25px;
        font-size: 14px;
    }
}
/* Ocultar completamente el footer nativo de Neve */
.site-footer,
footer.site-footer,
.hfg-footer,
.hfg-footer__wrapper,
.builder-item--footer,
.footer--row {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================================
   FOOTER ISPmax – Estilo corporativo azul + blanco
========================================================== */

footer#ispmax-footer.ispmax-footer {
    background: #0D1440 !important;
    color: #ffffff !important;
    padding: 50px 0 40px 0 !important;
    font-size: 15px;
    line-height: 1.6;
}

.ispmax-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 25px;
    text-align: center;
}

/* ENLACES SUPERIORES */
.ispmax-footer-links {
    margin-bottom: 35px;
    font-size: 15px;
}

.ispmax-footer-links a {
    color: #ffffff !important;
    text-decoration: none;
    margin: 0 5px;
    font-weight: 500;
}

.ispmax-footer-links a:hover {
    color: #FFC266 !important; /* dorado corporativo */
}

/* BLOQUE LEGAL */
.ispmax-footer-legal {
    margin-bottom: 35px;
    font-size: 15px;
}

.ispmax-footer-legal p {
    margin: 6px 0;
}

/* COPYRIGHT FINAL */
.ispmax-footer-copy {
    margin-top: 20px;
    font-size: 15px;
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    footer#ispmax-footer.ispmax-footer {
        padding: 40px 0 35px 0 !important;
    }

    .ispmax-footer-links {
        line-height: 2;
        font-size: 14px;
        margin-bottom: 30px;
    }

    .ispmax-footer-legal {
        font-size: 14px;
        padding: 0 10px;
    }

    .ispmax-footer-copy {
        margin-top: 25px;
        font-size: 14px;
    }
}
/* ============================================================
   HERO – Nuestros Servicios Digitales
============================================================ */

#ispmax-hero-servicios {
    position: relative;
    width: 100%;
    padding: 80px 0;
    overflow: hidden;
}

.ispmax-hero-servicios-inner {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fondo dibujado en CSS (sin imágenes) */
.ispmax-hero-servicios-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(130, 90, 255, 0.35), transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(0, 200, 255, 0.25), transparent 60%),
        linear-gradient(135deg, #0D1440 0%, #2B3CA8 100%);
    opacity: 1;
}

/* Contenido */
.ispmax-hero-servicios-content {
    position: relative;
    z-index: 5;
    padding: 60px 0;
    text-align: center;
}

.ispmax-hero-servicios-title {
    font-size: 46px;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    text-shadow: 0px 2px 8px rgba(0,0,0,0.45);
}

.ispmax-hero-servicios-subtitle {
    font-size: 20px;
    color: #e8e8e8;
    max-width: 760px;
    margin: 0 auto 30px;
}

/* Botón */
.ispmax-hero-servicios-buttons a {
    padding: 14px 34px;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 767px) {
    #ispmax-hero-servicios {
        padding: 60px 0;
    }

    .ispmax-hero-servicios-title {
        font-size: 30px;
        padding: 0 20px;
    }

    .ispmax-hero-servicios-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }

    .ispmax-hero-servicios-buttons a {
        width: 80%;
        max-width: 330px;
        text-align: center;
    }
}
/* ============================================================
   Imagen Consultor – Página Nuestros Servicios Digitales
============================================================ */

.ispmax-consultor-wrapper {
    text-align: center;
    margin: 40px auto 60px;
}

.ispmax-consultor-img {
    width: 100%;
    max-width: 780px;
    height: auto;
    border-radius: 22px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.18);
    object-fit: cover;
}
/* ============================================================
   METODOLOGÍA – Página Nuestros Servicios Digitales
============================================================ */

.ispmax-metodologia-inner {
    text-align: center;
    margin: 60px auto;
    max-width: 900px;
}

.ispmax-metodologia-title {
    font-size: 36px;
    font-family: 'Playfair Display', serif;
    color: #1a1e66;
    margin-bottom: 20px;
}

.ispmax-metodologia-intro {
    font-size: 18px;
    color: #333;
    max-width: 760px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

/* GRID con 3 pasos */
.ispmax-metodologia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.ispmax-metodologia-item {
    background: #f5f7fb;
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 8px 18px rgba(10,22,70,0.08);
    text-align: center;
}

.ispmax-metodologia-number {
    width: 52px;
    height: 52px;
    margin: 0 auto 15px;
    background: #ffc266;
    color: #0D1440;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
}

.ispmax-metodologia-item h3 {
    font-size: 20px;
    color: #1a1e66;
    margin-bottom: 10px;
}

.ispmax-metodologia-item p {
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 991px) {
    .ispmax-metodologia-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}
/* ============================================================
   Imagen Equipo – Página Nuestros Servicios Digitales
============================================================ */

.ispmax-equipo-wrapper {
    text-align: center;
    margin: 40px auto 60px;
}

.ispmax-equipo-img {
    width: 100%;
    max-width: 820px;
    height: auto;
    border-radius: 22px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.18);
    object-fit: cover;
}
/* ===========================================
   ISPmax – Página Nuestros Servicios Digitales
   Forzar visibilidad de los bloques .fade-in
   =========================================== */

#ispmax-servicios-page .fade-in {
    opacity: 1 !important;
    transform: none !important;
}
/* Más espacio antes de la imagen del consultor en móvil */
@media (max-width: 767px) {
    #ispmax-img-consultor {
        padding-top: 140px !important; /* antes 80–96 */
    }
}
/* CTA debajo de las tarjetas */
#ispmax-cta-post-servicios {
    margin-top: 50px;
    margin-bottom: 40px;
}

#ispmax-cta-post-servicios .ispmax-btn-cta {
    padding: 14px 38px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 14px;
}
/* =============================================== */
/* SECCIÓN IA – CTA DESTACADA (Fondo Degradado)    */
/* =============================================== */

#ispmax-ia-cta {
    background: linear-gradient(180deg, #0f1d4c 0%, #1c2f80 40%, #e0a654 100%);
    padding: 90px 0 120px !important; /* Más aire arriba y abajo */
    text-align: center;
}

/* Contenedor interno */
.ispmax-ia-inner {
    max-width: 900px;
}

/* Mejorar espacio del botón */
.ispmax-btn-cta-final {
    margin-top: 35px;
}

/* Asegurar espacio ANTES de la imagen del equipo */
section#ispmax-ia-cta {
    margin-bottom: 90px; /* Evita que quede pegado en PC y móvil */
}

/* Ajuste móvil */
@media (max-width: 768px) {
    #ispmax-ia-cta {
        padding: 70px 0 130px !important;
    }
    section#ispmax-ia-cta {
        margin-bottom: 110px; /* MÁS aire en móvil */
    }
}
/* ===================================================== */
/* SECCIÓN IA – Estilo final según captura               */
/* ===================================================== */

/* Texto blanco */
#ispmax-ia-cta,
#ispmax-ia-cta h2,
#ispmax-ia-cta p {
    color: #ffffff !important;
}

/* Botón estilo ISPmax IA */
#ispmax-ia-cta .ispmax-btn-cta-final {
    background-color: #f7b563 !important; /* naranja */
    border: 2px solid #ffffff !important;
    color: #0f1d4c !important; /* azul oscuro para contraste */
    padding: 18px 38px;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: all 0.25s ease;
}

/* Hover: blanco + borde naranja + texto naranja */
#ispmax-ia-cta .ispmax-btn-cta-final:hover {
    background-color: #ffffff !important;
    border-color: #f7b563 !important;
    color: #f7b563 !important;
}

/* Móvil – centrar y aumentar claridad */
@media (max-width: 768px) {
    #ispmax-ia-cta .ispmax-btn-cta-final {
        width: 90%;
        font-size: 1rem;
        padding: 16px 26px;
    }
}
/* ================================================
   HERO – Botones en vertical también para TABLET
   (entre 768px y 991px)
================================================= */
@media (max-width: 991px) and (min-width: 768px) {
    .ispmax-hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 18px !important;
        width: 100% !important;
        margin-top: 20px !important;
    }

    .ispmax-hero-buttons a {
        width: 70% !important;
        max-width: 340px !important;
        text-align: center !important;
    }
}
.ispmax-video-wrapper {
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.ispmax-video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
}

.ispmax-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* ============================================================
  VIDEO FULL WIDTH – compatible PC / Tablet / Móvil
   ============================================================ */
.ispmax-video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.ispmax-video-embed iframe {
    width: 100%;
    height: 520px;
    border-radius: 8px;
}

@media (max-width: 992px) {
    .ispmax-video-embed iframe {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .ispmax-video-embed iframe {
        height: 260px;
    }
}

/* TEXTO DEL EQUIPO */
.ispmax-equipo-text-block {
    max-width: 900px;
    margin: 40px auto;
    font-size: 18px;
    line-height: 1.7;
}

.ispmax-equipo-text-block h3 {
    font-size: 36px;
    margin-bottom: 5px;
}

.ispmax-equipo-cargo {
    font-size: 18px;
    font-weight: 600;
    color: #2B3CA8;
    margin-bottom: 25px;
}
/* Tarjeta de texto para equipo ISPmax (reutiliza estilo de servicios) */
.ispmax-equipo-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: 40px auto;
}
/* Tarjeta especial para Valeria con borde dorado */
.ispmax-equipo-card-valeria {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border-left: 6px solid #E5B673; /* dorado corporativo */
    max-width: 900px;
    margin: 40px auto;
}
/* Tarjeta azul para Pablo Usero */
.ispmax-equipo-card-azul {
    background: #1B265A; /* azul corporativo */
    color: #ffffff; /* texto blanco */
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    border-left: 6px solid #2B3CA8; /* azul más claro para contraste */
    max-width: 900px;
    margin: 40px auto;
}

.ispmax-equipo-card-azul h3 {
    color: #ffffff;
}

.ispmax-equipo-card-azul p,
.ispmax-equipo-card-azul ul li {
    color: #f0f0f0; /* mejora la legibilidad */
}
/* ============================================================
   CÓMO TRABAJAMOS – Tarjetas premium con  borde en azul
============================================================ */

#ispmax-como-trabajamos-v2 {
    padding: 80px 20px;
    background: #0D1440; /* fondo azul marino */
    color: white;
}

#ispmax-como-trabajamos-v2 .ispmax-proceso-title {
    font-size: 48px;
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 60px;
    color: #ffffff;
}

#ispmax-como-trabajamos-v2 .ispmax-proceso-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* TARJETAS SIN FONDO — SOLO BORDE */
#ispmax-como-trabajamos-v2 .ispmax-proceso-card {
    background: transparent !important; /* elimina el fondo */
    border: 2px solid #2B3CA8; /* borde azul elegante */
    padding: 32px 24px;
    border-radius: 18px;
    text-align: center;
    transition: 0.25s ease;
}

/* Hover elegante */
#ispmax-como-trabajamos-v2 .ispmax-proceso-card:hover {
    background: rgba(255,255,255,0.03); /* muy suave */
    transform: translateY(-6px);
    border-color: #FFC266; /* dorado en hover */
}

#ispmax-como-trabajamos-v2 .ispmax-proceso-number {
    width: 40px;
    height: 40px;
    background: #4da3ff;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#ispmax-como-trabajamos-v2 .ispmax-proceso-card-title {
    font-size: 22px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 12px;
    color: white;
}

#ispmax-como-trabajamos-v2 p {
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: 0.2px;
    color: #dce2ff;
}

/* Responsive */
@media (max-width: 991px) {
    #ispmax-como-trabajamos-v2 .ispmax-proceso-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}
/* ============================================================
   MÓDULO UNIVERSAL DE TARJETAS ISPmax (V1)
   Reutilizable en cualquier página de la web
============================================================== */

.ispmax-card-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.ispmax-card {
    background: #ffffff;
    border: 2px solid #10205c; /* azul corporativo borde */
    border-radius: 14px;
    padding: 30px;
    margin: 20px auto;
    box-shadow: 0 12px 24px rgba(0,0,0,0.07);
    transition: all 0.25s ease-in-out;
}

.ispmax-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.09);
}

.ispmax-card h2,
.ispmax-card h3 {
    font-family: 'Playfair Display', serif;
    color: #10205c;
    margin-bottom: 15px;
}

.ispmax-card p {
    font-size: 17px;
    line-height: 1.65;
    color: #333;
}

/* Enlaces dentro de la tarjeta */
.ispmax-card a {
    color: #10205c;
    font-weight: 600;
    text-decoration: none;
}

.ispmax-card a:hover {
    color: #0c8fd3;
}

/* Espaciado inferior entre secciones universales */
.ispmax-section-padding {
    padding-bottom: 120px;
}

/* Responsive */
@media (max-width: 768px) {
    .ispmax-card {
        padding: 25px;
        margin: 15px auto;
    }
}
/* ============================================================
   CTA – Inteligencia Artificial para Empresas (GLOBAL)
   Reutilizable en toda la web
============================================================ */

.ispmax-cta-ia-global {
    background: linear-gradient(180deg, #0D1440 0%, #233985 30%, #5a4f7d 55%, #d39d52 100%);
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
}

.ispmax-cta-ia-inner {
    max-width: 900px;
    margin: 0 auto;
}

.ispmax-cta-ia-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
}

.ispmax-cta-ia-text {
    font-size: 20px;
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto 40px;
    color: #ffffff;
}

/* Botón */
.ispmax-cta-ia-btn {
    display: inline-block;
    background: #ffc266;
    color: #0D1440;
    padding: 16px 38px;
    font-size: 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s ease;
    border: 2px solid transparent;
}

/* Hover elegante */
.ispmax-cta-ia-btn:hover {
    background: #ffdda1;
    color: #0D1440;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .ispmax-cta-ia-title {
        font-size: 32px;
    }
    .ispmax-cta-ia-text {
        font-size: 18px;
    }
}
/* ============================================================
   TESTIMONIOS – Sección Global Reutilizable ISPmax
   Ubicación: custom-pages.css
============================================================ */

.ispmax-testimonios {
    background: #f2f4f7;
    padding: 100px 20px;
}

.ispmax-testimonios-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.ispmax-testimonios-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: #0D1440;
    text-align: center;
    margin-bottom: 80px;
}

/* GRID */
.ispmax-testimonios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

/* Testimonio */
.ispmax-testimonio-item {
    max-width: 500px;
}

.ispmax-stars {
    font-size: 20px;
    color: #0D1440;
    margin-bottom: 20px;
}

.ispmax-testimonio-text {
    font-size: 18px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 15px;
}

.ispmax-testimonio-author {
    font-size: 16px;
    font-style: italic;
    color: #555;
}

/* Responsive */
@media (max-width: 900px) {
    .ispmax-testimonios-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .ispmax-testimonio-item {
        margin: 0 auto;
    }
}
/* =============================== */
/*   Hero IA – Ajuste móvil       */
/* =============================== */
@media (max-width: 768px) {

    .ispmax-hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ispmax-hero-image {
        order: 2; /* Imagen debajo del texto */
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }

    .ispmax-hero-img {
        max-width: 260px; /* Tamaño ideal en móvil */
        width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
        border-radius: 8px; /* opcional, ya existe en otras */
    }
}
/* ========================================= */
/*   IA para Empresas - Secciones genéricas  */
/*   Aplica solo a la plantilla              */
/*   #ispmax-ia-empresas-page                */
/* ========================================= */

#ispmax-ia-empresas-page .ispmax-section {
  padding: 72px 0;
}

@media (max-width: 768px) {
  #ispmax-ia-empresas-page .ispmax-section {
    padding: 48px 0;
  }
}

/* ========================================= */
/*   IA para Empresas - Lista destacada      */
/* ========================================= */

.ispmax-ia-list {
  list-style: none;
  padding-left: 0;
  max-width: 900px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
}

.ispmax-ia-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}

.ispmax-ia-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ispmax-accent);
  font-size: 22px;
  line-height: 1.2;
}
/* ========================================= */
/*  IA para Empresas — Quitar espacio blanco */
/*  entre el menú y el hero                  */
/* ========================================= */

#ispmax-ia-empresas-page #ispmax-hero {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
/* ============================================= */
/*  Metodología ISPmax IA – Corrección de colores */
/* ============================================= */

#ispmax-metodologia-ia .ispmax-servicio-item {
    color: #0D1440 !important; /* texto oscuro */
}

#ispmax-metodologia-ia .ispmax-servicio-item h3 {
    color: #0D1440 !important; /* títulos oscuros */
}

#ispmax-metodologia-ia .ispmax-servicio-item p {
    color: #0D1440 !important;
}

/* Número dentro del recuadro azul */
#ispmax-metodologia-ia .ispmax-servicio-item h3 span {
    color: #ffffff !important; /* número en blanco */
    font-weight: 700;
}
/* ============================================
   FORMULARIO CONTACTO ISPmax
============================================ */

.contacto-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.contacto-form-wrapper {
    background: #F2F4F7;
    padding: 40px;
    border-radius: 18px;
    flex: 1 1 480px;
    max-width: 600px;
}

.contacto-info {
    flex: 1 1 400px;
    max-width: 600px;
}

.contacto-titulo {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.ispmax-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.ispmax-form input,
.ispmax-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.ispmax-form textarea {
    min-height: 120px;
}

.contacto-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 20px;
}

.contacto-submit {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    display: block;
}

/* Mensajes */
.ispmax-form-success {
    background: #d9f7d9;
    color: #1e6b1e;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.ispmax-form-error {
    background: #ffd7d7;
    color: #a10000;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .contacto-form-wrapper {
        padding: 30px;
    }
}
/* ============================================
   ESTILOS DEL CHECKBOX RGPD EN CONTACTO
============================================ */

.contacto-check-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 25px 0;
}

.contacto-check-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #0D1440; /* azul corporativo */
    cursor: pointer;
}

.contacto-check-wrapper span {
    font-size: 0.95rem;
    line-height: 1.4;
}

.contacto-check-wrapper a {
    font-weight: 600;
    color: #0D1440;
}

.contacto-check-wrapper a:hover {
    text-decoration: underline;
}

/* MENSAJE DE ÉXITO FORMULARIO */
.ispmax-form-success {
    background: #dff6df;
    color: #1e6b1e;
    padding: 18px;
    border-radius: 8px;
    margin: 0 auto 40px;
    width: 100%;
    text-align: center;
    font-size: 1.05rem;
}
/* ========================================= */
/* HERO LEGAL ISPmax (para páginas legales) */
/* ========================================= */

.ispmax-hero-legal-bg {
    background: linear-gradient(
        180deg,
        #0D1440 0%,
        #1F2D7A 40%,
        #2338A6 100%
    );
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
    z-index: -1;
}

.ispmax-hero-legal-inner {
    padding: 120px 20px;
    text-align: center;
}

.ispmax-hero-legal-title {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.ispmax-hero-legal-subtitle {
    color: #E8D4B0;
    font-size: 1.2rem;
}
/* ========================================= */
/* CONTENIDO LEGAL ISPmax */
/* ========================================= */

.ispmax-legal-content {
    line-height: 1.75;
    font-size: 1.05rem;
    padding: 40px 35px;
}

.ispmax-legal-content h2 {
    font-size: 1.4rem;
    margin-top: 35px;
    margin-bottom: 12px;
    color: #0D1440;
    font-weight: 700;
}

.ispmax-legal-content p,
.ispmax-legal-content ul {
    margin-bottom: 18px;
}

.ispmax-legal-content a {
    color: #2B3CA8;
    font-weight: 600;
}
/* ====================================== */
/* FIX FAQ RESPONSIVE — ISPmax (Móvil/Tablet) */
/* ====================================== */

#ispmax-faq {
    padding-left: 20px;
    padding-right: 20px;
}

#ispmax-faq .ispmax-faq-list {
    max-width: 900px;
    margin: 0 auto;
}

@media screen and (max-width: 1024px) {
    #ispmax-faq {
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media screen and (max-width: 768px) {
    #ispmax-faq {
        padding-left: 20px;
        padding-right: 20px;
    }

    #ispmax-faq .ispmax-faq-title {
        text-align: center;
        font-size: 1.8rem;
    }

    #ispmax-faq details {
        border-radius: 10px;
        padding: 12px 16px;
    }
}
/* ======================================= */
/* BANNER DE COOKIES ISPmax                */
/* ======================================= */
#ispmax-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #4B00FF; /* Morado ISPmax estilo premium */
    color: white;
    padding: 24px 30px;
    font-size: 15px;
    line-height: 1.6;
    z-index: 99999;
    display: none; /* oculto hasta que JS decida mostrarlo */
}

#ispmax-cookie-banner p {
    max-width: 1100px;
    margin: 0 auto 15px auto;
}

#ispmax-cookie-banner a {
    color: #FFD27F;
    text-decoration: underline;
}

.ispmax-cookie-buttons {
    text-align: center;
    margin-top: 10px;
}

.cookie-btn {
    background: #000;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    margin: 0 6px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s ease;
}

.cookie-btn:hover {
    opacity: 0.85;
}

.cookie-btn.accept {
    background: #00C853;
}

.cookie-btn.reject {
    background: #E53935;
}

.cookie-btn.pref {
    background: #444;
}

/* MOBILE */
@media (max-width: 600px) {
    #ispmax-cookie-banner {
        padding: 20px 16px;
        text-align: left;
    }
    .cookie-btn {
        width: 100%;
        display: block;
        margin: 6px 0;
    }
}
#ispmax-cookie-banner {
    z-index: 999999 !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
}
/* =============================== */
/* MODAL COOKIES ISPmax           */
/* =============================== */

.ispmax-cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    z-index: 99999999 !important;
    justify-content: center;
    align-items: center;
}

.ispmax-cookie-modal-content {
    background: #fff;
    width: 90%;
    max-width: 420px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.25);
}

.ispmax-cookie-option {
    margin: 14px 0;
}

.ispmax-cookie-modal-buttons {
    margin-top: 20px;
    text-align: right;
}

.ispmax-cookie-modal button {
    margin-left: 10px;
}
/* ============================================================
   ESTILOS UNIVERSALES PARA TODAS LAS TARJETAS DE PAGO ISPmax
   Aplicable a:
   - /pagar-servicio/
   - /pagar-bizum/
   - /pagar-tarjeta/
============================================================ */

/* TARGET GLOBAL PARA TODAS LAS PÁGINAS DE PAGO */
#ispmax-pagar-servicio-page .rm-card-payment,
#ispmax-pagar-bizum-page .rm-card-payment,
#ispmax-pagar-tarjeta-page .rm-card-payment {
    max-width: 480px;
    margin: 40px auto;
    padding: 32px;
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e2e5ec !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08) !important;
    font-family: Georgia, serif !important;
}

/* TÍTULO */
#ispmax-pagar-servicio-page .rm-card-payment h3,
#ispmax-pagar-bizum-page .rm-card-payment h3,
#ispmax-pagar-tarjeta-page .rm-card-payment h3 {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #0D1440 !important;
    margin-bottom: 14px !important;
}

/* TEXTOS */
#ispmax-pagar-servicio-page .rm-card-payment p,
#ispmax-pagar-bizum-page .rm-card-payment p,
#ispmax-pagar-tarjeta-page .rm-card-payment p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #3b3f4a !important;
    margin-bottom: 20px !important;
}

/* LABEL */
#ispmax-pagar-servicio-page .rm-card-payment .rm-payment-label,
#ispmax-pagar-bizum-page .rm-card-payment .rm-payment-label,
#ispmax-pagar-tarjeta-page .rm-card-payment .rm-payment-label {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0D1440 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

/* INPUT */
#ispmax-pagar-servicio-page .rm-card-payment .rm-payment-input,
#ispmax-pagar-bizum-page .rm-card-payment .rm-payment-input,
#ispmax-pagar-tarjeta-page .rm-card-payment .rm-payment-input {
    width: 100% !important;
    padding: 14px !important;
    font-size: 18px !important;
    border-radius: 8px !important;
    border: 1px solid #ccd2d8 !important;
    background: #fff !important;
}

/* BOTÓN */
#ispmax-pagar-servicio-page .rm-card-payment .rm-payment-btn,
#ispmax-pagar-bizum-page .rm-card-payment .rm-payment-btn,
#ispmax-pagar-tarjeta-page .rm-card-payment .rm-payment-btn {
    margin-top: 20px !important;
    width: 100% !important;
    display: block !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    #ispmax-pagar-servicio-page .rm-card-payment,
    #ispmax-pagar-bizum-page .rm-card-payment,
    #ispmax-pagar-tarjeta-page .rm-card-payment {
        padding: 24px !important;
        width: 92% !important;
    }
}
/* ============================================================
   MÉTODOS DE PAGO – Bloque ISPmax (pagar-servicio)
============================================================ */

.ispmax-metodos-pago {
    padding: 70px 20px;
    text-align: center;
}

.ispmax-metodos-botones {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 35px 0;
}

.ispmax-metodos-botones .button {
    padding: 14px 32px;
    font-size: 1.15rem;
    border-radius: 40px;
}

/* Texto legal */
.ispmax-metodos-legal {
    font-size: 0.95rem;
    color: var(--ispmax-text-muted);
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .ispmax-metodos-botones {
        flex-direction: column;
        gap: 18px;
    }

    .ispmax-metodos-botones .button {
        width: 85%;
        max-width: 330px;
        margin: 0 auto;
        text-align: center;
    }
}
/* ============================================
   Módulo universal de iconos de confianza ISPmax
============================================ */

.ispmax-confianza-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 40px auto;
}

.ispmax-confianza-item {
    text-align: center;
    max-width: 180px;
}

.ispmax-confianza-item img {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

.ispmax-confianza-item p {
    font-weight: 600;
    font-size: 1.05rem;
}
/* =========================================
   GETNET – Consentimiento legal antes de pagar
========================================= */
.ispmax-legal-consent {
  max-width: 900px;
  margin: 18px auto 14px;
  padding: 14px 16px;
  border: 1px solid rgba(35, 56, 166, 0.25);
  border-radius: 12px;
  background: #fff;
}

.ispmax-legal-consent__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.45;
  font-size: 0.98rem;
  color: #222;
}

.ispmax-legal-consent__check input[type="checkbox"] {
  margin-top: 3px;
  flex: 0 0 auto;
}

.ispmax-legal-consent__check a {
  text-decoration: underline;
}

.ispmax-legal-consent__error {
  margin: 10px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
}

@media (max-width: 767px) {
  .ispmax-legal-consent {
    padding: 12px 12px;
  }
  .ispmax-legal-consent__check {
    font-size: 0.95rem;
  }
}
.ispmax-legal-consent__error { color: #b00020; }