/* VARIABLES DE COLOR */
:root {
    --primary-orange: #ffc40d;
    --primary-orange-hover: #fac423;
    --secondary-blue: #2c3e50;
    --background-color: #f8f9fa;
    --table-background-color: #ffffff;
    --text-color: #34495e;
    --border-color: #eaeded;
    --color-check: #27ae60;
    --color-cross: red;
    --main-font: "Montserrat", sans-serif;
    /* Nuevas Variables para Badges */
    --badge-new-green: #287843;
    --badge-popular-yellow: #f5cf4d;
    --badge-vip-red: #fa4a4c;
    --badge-sellout-pink: #be717d;
    /* Color para "Likely to Sell Out" */

    --color-primario-naranja: #ffc40d;
    /* Accent */
    --color-shadow: rgba(44, 62, 80, 0.15);
    --color-texto-oscuro: #333333;
    --color-fondo-claro: #fcfcfc;
}

.comparison-table-wrapper {
    max-width: 1200px;
    margin: 2rem auto;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    display: grid;
    grid-template-columns: minmax(200px, 1.5fr) repeat(4,
            minmax(250px, 1fr));
    width: 100%;
}

.table-cell,
.plan-header,
.feature-label {
    padding: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--table-background-color);
}

.feature-label {
    justify-content: flex-start;
    font-weight: 600;
    font-size: 0.95rem;
    border-right: 1px solid var(--border-color);
    position: sticky;
    left: 0;
    z-index: 2;
}

/* ICONO dentro de FEATURE LABEL */
.feature-label i {
    margin-right: 10px;
    font-size: 1.1rem;
    color: var(--primary-orange);
}

/* ESTILO: Esquina Superior Izquierda con Imagen de Fondo (SOLUCIÓN) */
.plan-header.feature-label {
    background-image: url('../images/huayhuash-cuadrado.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* === AÑADIR ESTAS LÍNEAS PARA DARLE TAMAÑO === */
    min-height: 200px;
    /* Asegura que tenga la misma altura que los encabezados de plan */
    min-width: 200px;
    /* Asegura que tenga el ancho mínimo definido en grid */
    /* ============================================== */

    position: sticky;
    left: 0;
    z-index: 3;
    font-size: 0;
}

.plan-header {
    text-align: center;
    flex-direction: column;
    border-bottom: 3px solid var(--border-color);
    position: relative;
}

.plan-header:not(:first-child) {
    border-left: 1px solid var(--border-color);
}

.plan-header h2 {
    margin-top: 2rem;
    line-height: 1em;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary-blue);
    margin-bottom: 0.5rem;
}

@media (min-width: 993px) {
    .plan-header h2 {
        font-size: 1.4rem;
    }
}


.plan-header .plan-description {
    font-size: 0.9rem;
    color: #666;
    min-height: 40px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-blue);
}

.price span {
    font-size: 1rem;
    font-weight: 500;
}

.price-offer {
    font-size: 0.9rem;
    color: #95a5a6;
    text-decoration: line-through;
}

.table-cell {
    border-left: 1px solid var(--border-color);
}

.table-cell .icon {
    font-size: 1.5rem;
}

.table-cell .fa-check-circle {
    color: var(--color-check);
}

.table-cell .fa-times-circle {
    color: var(--color-cross);
}

.cta-button {
    text-align: center;
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 80%;
    margin-top: 1rem;
}

.cta-primary {
    background-color: var(--primary-orange);
    color: #fff;
}

.cta-primary:hover {
    background-color: var(--primary-orange-hover);
    transform: scale(1.05);
    color: #fff;
}

.cta-secondary {
    background-color: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.cta-secondary:hover {
    background-color: var(--primary-orange);
    color: #fff;
}

.is-recommended {
    background-color: #fffaf5;
}

.plan-header.is-recommended {
    border-bottom-color: var(--primary-orange);
}

.recommended-badge {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.3rem 1.0rem;
    /* Más padding horizontal y vertical */
    border-radius: 50px;
    font-size: 0.8rem;
    /* Ligeramente más pequeño para textos más largos */
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    /* Evita que el texto se rompa en varias líneas */
}

/* CLASES DE COLORES PARA BADGES */
.badge-new {
    background-color: var(--badge-new-green);
}

.badge-popular {
    background-color: var(--badge-popular-yellow);
    color: #fff !important;
    /* ¡CAMBIADO A BLANCO! */
}

.badge-vip {
    background-color: var(--badge-vip-red);
}

.badge-sellout {
    background-color: var(--badge-sellout-pink);
}

@media (max-width: 992px) {
    .comparison-table {
        min-width: 1100px;
    }
}


/* CONTENEDOR PRINCIPAL */
.pricing-grid-container {
    display: flex;
    gap: 30px;
    /* Espacio entre tarjetas */
    justify-content: center;
    align-items: stretch;
    padding: 30px;
    font-family: var(--fuente-principal), sans-serif;
}

/* TARJETA PROFESIONAL */
.pricing-card-professional {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px var(--color-shadow);
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    /* Asegura que el contenido se estire */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card-professional:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(44, 62, 80, 0.25);
}

/* ENCABEZADO OSCURO */
.pricing-header-pro {
    color: grey;
    /* Color de texto del encabezado */
    padding: 30px 20px;
    text-align: center;
    /* Línea de acento naranja */
    border-bottom: 5px solid var(--color-primario-naranja);
}

.pricing-header-pro h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.pricing-header-pro p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin: 5px 0 15px;
}

/* BLOQUE DE PRECIO */
.price-block {
    padding: 15px 0 0;
    line-height: 1;
}

.price-actual {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primario-naranja);
    /* Precio en color de acento */
    margin: 0;
}

.price-reg {
    font-size: 1rem;
    color: #ccc;
    margin-top: 5px;
    font-weight: 500;
}

/* DESTACADO / BADGE */
.highlight-badge {
    background-color: var(--color-primario-naranja);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    display: block;
    width: fit-content;
    margin: 0 auto 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- CLASES AUXILIARES DE COLOR PARA BADGES --- */
.badge-new {
    background-color: #287843;
    /* Verde para 'New' */
}

.badge-sellout {
    background-color: #be717d;
    /* Rosa/Marrón para 'Likely to Sell Out' */
}

/* ----------------------------------------------- */

/* === NUEVOS ESTILOS PARA LOGOS DE CONFIANZA === */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    /* Espacio entre los iconos */
    margin: 15px 0 0;
    /* Espacio debajo del precio */
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.trust-badges a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s;
}

.trust-badges a:hover {
    transform: translateY(-2px);
}

.trust-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 100%;
    padding: 2px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.trust-icon2 {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 100%;
    padding: 2px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.trust-icon3 {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 100%;
    padding: 2px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ============================================== */


/* CONTENIDO (INCLUIDO/NO INCLUIDO) */
.pricing-content-pro {
    display: flex;
    padding: 25px 20px;
    gap: 30px;
    flex-grow: 1;
}

.feature-section {
    flex-basis: 50%;
}

.list-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    /* Para centrar el icono y texto */
    align-items: center;
}

/* Estilos de título y borde para "Incluido" */
.included-list .list-title {
    color: var(--color-check);
    border-color: var(--color-check);
}

/* Estilos de título y borde para "No Incluido" */
.not-included-list .list-title {
    color: var(--color-cross);
    border-color: var(--color-cross);
}

.feature-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-section li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #333;
    display: flex;
    align-items: flex-start;
}

/* Estilo del icono (reemplaza los emojis) */
.feature-icon {
    font-size: 1rem;
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

.included-icon {
    color: var(--color-check);
}

.not-included-icon {
    color: var(--color-cross);
}


/* === PIE DE PÁGINA Y BOTONES (CTA y WhatsApp) === */
.pricing-footer-pro {
    padding: 20px;
    text-align: center;
    border-top: 1px dashed #ddd;
    display: flex;
    /* Usamos Flexbox para alinear botones */
    justify-content: center;
    align-items: center;
    gap: 15px;
    /* Espacio entre los botones */
}

.book-now-button {
    display: inline-block;
    background-color: var(--color-primario-naranja);
    color: white;
    padding: 12px 25px;
    /* Ajuste de padding */
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    /* Ajuste de fuente */
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid var(--color-primario-naranja);
    flex-shrink: 0;
    /* Asegura que no se encoja */
}

.book-now-button:hover {
    background-color:#fac423;
    color: white;
    transform: translateY(-1px);
}

.whatsapp-button {
    background-color: #25D366;
    /* Verde WhatsApp */
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    border: 2px solid #25D366;
    flex-shrink: 0;
    /* Asegura que no se encoja */
}

.whatsapp-button i {
    font-size: 1.2rem;
    margin-right: 8px;
}

.whatsapp-button:hover {
    background-color: #3ec86e;
    transform: translateY(-1px);
}

/* ============================================== */

/* RESPONSIVIDAD (Móviles) */
@media (max-width: 767px) {
    .pricing-grid-container {
        flex-direction: column;
        gap: 20px;
        padding: 15px;
    }

    .pricing-card-professional {
        border-radius: 6px;
    }

    .pricing-content-pro {
        flex-direction: column;
        gap: 20px;
        padding: 15px;
    }

    .feature-section {
        flex-basis: 100%;
    }

    .price-actual {
        font-size: 2rem;
    }

    /* Botones apilados en móvil */
    .pricing-footer-pro {
        flex-direction: column;
        gap: 10px;
    }

    .book-now-button,
    .whatsapp-button {
        width: 90%;
        text-align: center;
    }
}

/* ----------------------------------- */
/* Estilos del Contenedor Principal */
/* ----------------------------------- */
.equipo-container {
    text-align: center;
    font-family: var(--fuente-principal);
    background-color: #ffffff; /* Fondo blanco o claro */
}

.equipo-titulo h2 {
    font-size: 2.5em;
    color: var(--color-texto-oscuro);
    margin-bottom: 10px;
    font-weight: 700;
}

.equipo-titulo p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.5;
}

/* ----------------------------------- */
/* Contenedor de Tarjetas (Responsive Grid) */
/* ----------------------------------- */
.tarjetas-wrapper {
    display: flex;
    gap: 30px; /* Espacio entre las tarjetas */
    justify-content: center;
    flex-wrap: wrap;
}

/* ----------------------------------- */
/* Estilos de la Tarjeta Individual */
/* ----------------------------------- */
.tarjeta-miembro {
    background-color: var(--color-fondo-claro);
    border-radius: 20px;
    padding: 30px 20px;
    width: 100%;
    max-width: 350px; 
    box-shadow: 0 10px 30px var(--color-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    /* Para que las tarjetas tengan la misma altura */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tarjeta-miembro:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--color-shadow);
}

/* Foto del Miembro */
.foto-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: #f1f1f1;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid var(--color-primario-naranja); /* Borde naranja llamativo */
}

.foto-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nombre y Cargo */
.tarjeta-miembro h3 {
    font-size: 1.5em;
    color: var(--color-texto-oscuro);
    margin: 0 0 5px;
    font-weight: 600;
}

.tarjeta-miembro .cargo {
    color: var(--color-primario-naranja);
    font-size: 0.9em;
    margin-bottom: 25px;
    font-style: italic;
    font-weight: 500;
}

/* Contenedor de Botones de Contacto */
.contacto-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Estilos de los Enlaces/Botones */
.enlace-contacto {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 6px;
    background-color: #ffffff;
    color: var(--color-texto-oscuro);
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 600;
    border: 2px solid #ddd;
    transition: all 0.2s ease;
}

.enlace-contacto:hover {
    background-color: var(--color-primario-naranja);
    color: #ffffff;
    border-color: var(--color-primario-naranja);
}

.enlace-contacto i {
    margin-right: 5px;
}

/* Estilo especial para el botón de WhatsApp (opcional) */
.whatsapp-btn {
    background-color: #25d366; /* Verde de WhatsApp */
    color: #ffffff;
    border-color: #25d366;
}

.whatsapp-btn:hover {
    background-color: #36e676;;
    border-color: #36e676;;
}

/* Información Adicional (Teléfono/Web) */
.info-adicional {
    font-size: 0.85em;
    color: #888;
    margin-top: auto; /* Empuja al final de la tarjeta */
    padding-top: 15px;
    border-top: 1px solid #eee;
    width: 100%;
}

    .certificaciones-container {
      max-width: 1200px;
      width: 100%;
      background-color: #ffffff;
      padding: 40px 20px;
      border-radius: 16px;
      box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
      margin-top: 20px;
      /* Separación si hay contenido antes */
    }

    /* -------------------------------------- */
    /* TÍTULO Y TEXTO SUPERIOR */
    /* -------------------------------------- */
    .certificaciones-titulo {
      text-align: center;
      margin-bottom: 50px;
    }

    .certificaciones-titulo h3 {
      font-weight: 800;
      /* Extra Bold */
      color: #1f2937;
      /* Gris oscuro */
      line-height: 1.4;
      margin: 0 auto;
      max-width: 800px;
    }

    /* -------------------------------------- */
    /* CONTENEDOR DE TARJETAS (RESPONSIVE GRID) */
    /* -------------------------------------- */
    .logos-wrapper {
      display: grid;
      /* Por defecto 2 columnas para móviles */
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      justify-items: center;
    }

    /* 4 columnas para tabletas y escritorios */
    @media (min-width: 768px) {
      .logos-wrapper {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
      }
    }

    /* -------------------------------------- */
    /* ESTILO DE CADA TARJETA/MIEMBRO */
    /* -------------------------------------- */
    .tarjeta-logo {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 16px;
      text-align: center;
      width: 100%;
    }

    /* -------------------------------------- */
    /* CONTENEDOR DE IMAGEN (Logo) */
    /* -------------------------------------- */
    .logo-placeholder {
      height: 96px;
      width: 96px;
      margin-bottom: 16px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .logo-placeholder img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      border-radius: 50%;
      border: 4px solid #e5e7eb;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    /* Ajuste de tamaño de logo para pantallas más grandes */
    @media (min-width: 640px) {
      .logo-placeholder {
        height: 128px;
        width: 128px;
      }
    }

    /* -------------------------------------- */
    /* ESTILO DEL BOTÓN */
    /* -------------------------------------- */
    .btn-info {
      display: inline-block;
      padding: 8px 16px;
      font-size: 0.875rem;
      font-weight: 600;
      color: #ffffff;
      background-color: var(--color-primario-naranja);
      /* Naranja */
      border-radius: 9999px;
      box-shadow: 0 4px 6px rgba(255, 196, 13, 0.3);
      transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
      text-decoration: none;
      margin-top: auto;
    }

    .btn-info:hover {
      background-color: var(--color-primario-naranja);
      /* Naranja más oscuro */
      transform: translateY(-2px);
      box-shadow: 0 6px 8px rgba(255, 196, 13, 0.4);
      text-decoration: none;

    }