/* ============================================
   VARIABLES DE COLOR CORPORATIVO
   ============================================ */
:root {
    --intuya-primary: #ccd400;
    --intuya-primary-dark: #b3ba00;
    --intuya-primary-light: #e6ed33;
    --intuya-primary-rgb: 204, 212, 0;
}

/* ============================================
   SECCIÓN PRINCIPAL (Quiénes Somos y Planes)
   ============================================ */
.about-section {
    position: relative;
    padding: 120px 0;
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Overlay oscuro para mejorar legibilidad del texto */
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 0;
}

/* Contenedor principal con z-index alto */
.about-section .container {
    position: relative;
    z-index: 2;
}

/* ============================================
   ELEMENTOS DECORATIVOS
   ============================================ */
.about-decoration-1 {
    position: absolute;
    top: 10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(204, 212, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: floatSlow 12s ease-in-out infinite;
}

.about-decoration-2 {
    position: absolute;
    bottom: 0;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(204, 212, 0, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: floatReverse 15s ease-in-out infinite;
}

.about-decoration-3 {
    position: absolute;
    top: 30%;
    right: 5%;
    width: 250px;
    height: 250px;
    border: 2px solid rgba(204, 212, 0, 0.25);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: rotate 20s linear infinite;
}

.about-decoration-4 {
    position: absolute;
    bottom: 15%;
    left: 8%;
    width: 150px;
    height: 150px;
    background: rgba(204, 212, 0, 0.08);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: pulseGlow 3s ease-in-out infinite;
}

.about-decoration-5 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    border: 1px solid rgba(204, 212, 0, 0.08);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: expandPulse 8s ease-in-out infinite;
}

/* Animaciones decorativas */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-30px) translateX(15px); }
    66% { transform: translateY(20px) translateX(-10px); }
}

@keyframes floatReverse {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(25px) translateX(-20px); }
    66% { transform: translateY(-20px) translateX(15px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); box-shadow: 0 0 30px rgba(204, 212, 0, 0.3); }
}

@keyframes expandPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.6; }
}

/* ============================================
   BADGE
   ============================================ */
.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(204, 212, 0, 0.15);
    backdrop-filter: blur(4px);
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(204, 212, 0, 0.3);
    transition: all 0.3s ease;
}

.about-badge:hover {
    transform: scale(1.02);
    border-color: rgba(204, 212, 0, 0.6);
    background: rgba(204, 212, 0, 0.2);
}

.about-badge-dot {
    width: 8px;
    height: 8px;
    background: #ccd400;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.about-badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ccd400;
    text-transform: uppercase;
}

/* ============================================
   TÍTULOS
   ============================================ */
.about-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.about-title-highlight {
    position: relative;
    display: inline-block;
    color: #ccd400;
}

.about-subtitle {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive para subtítulo */
@media (max-width: 768px) {
    .about-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .about-subtitle {
        font-size: 1.1rem;
    }
}

/* ============================================
   IMAGEN CON OVERLAY
   ============================================ */
.about-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 50px -25px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: rgba(0, 0, 0, 0.3);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-image-wrapper:hover .about-image-overlay {
    opacity: 1;
}

.about-image-overlay-text {
    color: #ccd400;
    font-weight: 700;
    font-size: 1.5rem;
    text-align: center;
    padding: 20px;
}

@media (max-width: 768px) {
    .about-image-overlay-text {
        font-size: 1.2rem;
    }
}

/* ============================================
   FEATURE CARDS (3 CARDS - Quiénes Somos)
   ============================================ */
.about-feature-card {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-feature-card:hover {
    transform: translateX(10px);
    border-bottom-color: #ccd400;
}

.about-feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(204, 212, 0, 0.15);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccd400;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.about-feature-card:hover .about-feature-icon {
    background: #ccd400;
    color: #1a2a36;
    transform: scale(1.05) rotate(5deg);
}

.about-feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.about-feature-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .about-feature-title {
        font-size: 1.1rem;
    }
    .about-feature-text {
        font-size: 0.9rem;
    }
    .about-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        border-radius: 14px;
    }
}

/* ============================================
   STATS CARDS (Quiénes Somos)
   ============================================ */
.about-stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.about-stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(204, 212, 0, 0.5);
}

.about-stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ccd400 0%, #e6ed33 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #1a2a36;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.about-stat-card:hover .about-stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.about-stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ccd400;
    margin-bottom: 8px;
    line-height: 1;
}

.about-stat-number::before {
    content: '+';
    font-size: 2rem;
    font-weight: 600;
    margin-right: 4px;
}

.about-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 500;
}

/* ============================================
   BOTÓN PRINCIPAL
   ============================================ */
.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ccd400;
    color: #ffffff;
    padding: 16px 42px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    z-index: 1;
}

.about-btn i {
    transition: transform 0.3s ease;
    color: #ffffff;
}

.about-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #ffffff;
    transition: left 0.4s ease;
    z-index: -1;
}

.about-btn:hover {
    color: #ccd400;
    gap: 18px;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(204, 212, 0, 0.4);
    background: transparent;
}

.about-btn:hover i {
    transform: translateX(5px);
    color: #ccd400;
}

.about-btn:hover::before {
    left: 0;
}

/* ============================================
   COLORES CORPORATIVOS - CLASES ESPECÍFICAS
   ============================================ */

/* Color corporativo para textos */
.text-intuya {
    color: var(--intuya-primary) !important;
}

/* Color corporativo para backgrounds */
.bg-intuya {
    background-color: var(--intuya-primary) !important;
}

/* Color corporativo para borders */
.border-intuya {
    border-color: var(--intuya-primary) !important;
}

/* Versión con opacidad para fondos */
.bg-intuya-10 {
    background-color: rgba(204, 212, 0, 0.1) !important;
}

.bg-intuya-15 {
    background-color: rgba(204, 212, 0, 0.15) !important;
}

.bg-intuya-20 {
    background-color: rgba(204, 212, 0, 0.2) !important;
}

/* Badge con fondo corporativo */
.badge-intuya {
    background-color: rgba(204, 212, 0, 0.2);
    color: var(--intuya-primary);
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Texto con opacidad para elementos secundarios (pero legibles) */
.text-white-muted {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ============================================
   SECCIÓN DE PLANES - CARDS DE PRECIOS
   ============================================ */

/* Cards de precios con el mismo estilo que about-stat-card */
.pricing-card {
    transition: all 0.3s ease;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

/* Card destacada (Intermedio) con borde resaltado */
.pricing-card-featured {
    border: 2px solid var(--intuya-primary) !important;
    position: relative;
    background: rgba(255, 255, 255, 0.12) !important;
}

.pricing-card-featured:hover {
    transform: translateY(-12px);
}

/* Estilo para los botones dentro de las cards NORMALES (Básico y Profesional) */
.pricing-card .about-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    background: var(--intuya-primary);
    color: #ffffff;
}

.pricing-card .about-btn i {
    color: #ffffff;
}

.pricing-card .about-btn:hover {
    background: transparent;
    color: var(--intuya-primary);
}

.pricing-card .about-btn:hover i {
    color: var(--intuya-primary);
}

/* Estilo para el botón de la CARD DESTACADA (Intermedio) */
.pricing-card-featured .about-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    background: var(--intuya-primary);
    color: #000000;
}

.pricing-card-featured .about-btn i {
    color: #000000;
}

.pricing-card-featured .about-btn:hover {
    background: transparent;
    color: var(--intuya-primary);
}

.pricing-card-featured .about-btn:hover i {
    color: var(--intuya-primary);
}

/* Listas dentro de cards */
.pricing-card ul li {
    font-size: 0.85rem;
}

/* Tabla comparativa con estilo dark */
.table-dark {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    overflow: hidden;
}

.table-dark th,
.table-dark td {
    border-color: rgba(255, 255, 255, 0.1);
    padding: 12px;
}

.table-dark thead th {
    border-bottom: 2px solid var(--intuya-primary);
}

/* ============================================
   ANIMACIONES DE ENTRADA
   ============================================ */
.about-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-animate.about-animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE GENERAL
   ============================================ */
@media (max-width: 991px) {
    .about-section {
        padding: 80px 0;
        background-attachment: scroll;
    }
    
    .about-stat-card {
        padding: 24px 16px;
    }
    
    .about-stat-number {
        font-size: 2.2rem;
    }
    
    .about-stat-number::before {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .about-stat-number {
        font-size: 2rem;
    }
    
    .about-btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
    
    .pricing-card ul li {
        font-size: 0.75rem;
    }
    
    .table-dark th,
    .table-dark td {
        font-size: 0.7rem;
        padding: 8px 4px;
    }
}

/* Ocultar branding de EmbedSocial */
.feed-powered-by-es {
    display: none !important;
}

/* ============================================
   SECCIÓN DE SOLUCIONES - SERVICE CARDS
   ============================================ */

.service-card {
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Estilo para los botones dentro de las service cards */
.service-card .about-btn {
    background: rgba(204, 212, 0, 0.9);
    color: #ffffff;
    font-size: 0.9rem;
    padding: 10px 20px;
}

.service-card .about-btn i {
    color: #ffffff;
}

.service-card .about-btn:hover {
    background: transparent;
    color: #ccd400;
}

.service-card .about-btn:hover i {
    color: #ccd400;
}

/* Responsive */
@media (max-width: 991px) {
    .service-title {
        font-size: 1.2rem;
    }
    
    .service-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .service-title {
        font-size: 1.1rem;
    }
}

/* ============================================
   FOOTER - ESTILOS PERSONALIZADOS
   ============================================ */

.footer-section {
    position: relative;
    background: #0a0a0a;
    padding: 60px 0 30px;
    overflow: hidden;
}

/* Elementos decorativos sutiles para el footer */
.footer-decoration-1 {
    position: absolute;
    bottom: 0;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(204, 212, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.footer-decoration-2 {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(204, 212, 0, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Banner de patrocinadores */
.footer-banner {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 8px;
    transition: all 0.3s ease;
}

.footer-banner img {
    max-height: 80px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-banner:hover img {
    opacity: 1;
}

/* Cards de oficinas */
.footer-office-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

.footer-office-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(204, 212, 0, 0.3);
}

.footer-office-icon {
    width: 50px;
    height: 50px;
    background: rgba(204, 212, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.footer-office-icon i {
    font-size: 1.3rem;
    color: #ccd400;
}

.footer-office-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.footer-office-address {
    font-size: 0.85rem;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: normal;
}

.footer-office-contact p {
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #ffffff;
}

.footer-office-contact i {
    color: #ccd400;
    width: 20px;
}

.footer-office-contact a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-office-contact a:hover {
    color: #ccd400;
}

/* Separador */
.footer-hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 30px 0;
}

/* Enlaces legales */
.footer-links {
    gap: 16px;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ccd400;
    text-decoration: none;
}

.footer-link-separator {
    color: #ffffff;
    font-size: 0.8rem;
}

/* Redes sociales */
.footer-social {
    text-align: center;
}

.footer-social-title {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.footer-social-icons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-icon:hover {
    background: #ccd400;
    color: #1a2a36;
    transform: translateY(-3px);
    text-decoration: none;
}

/* Copyright */
.footer-copyright p {
    font-size: 0.75rem;
    color: #ffffff;
    margin: 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 991px) {
    .footer-section {
        padding: 40px 0 20px;
    }
    
    .footer-office-card {
        padding: 20px 16px;
    }
    
    .footer-links {
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .footer-link {
        font-size: 0.7rem;
    }
    
    .footer-link-separator {
        display: none;
    }
    
    .footer-link {
        background: rgba(255, 255, 255, 0.05);
        padding: 6px 12px;
        border-radius: 20px;
    }
    
    .footer-social-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .footer-office-title {
        font-size: 1rem;
    }
    
    .footer-office-address {
        font-size: 0.8rem;
    }
    
    .footer-office-contact p {
        font-size: 0.8rem;
    }
}

/* ============================================
   FOOTER - AJUSTES ADICIONALES
   ============================================ */

/* Enlaces legales - blanco por defecto, corporativo al hover */
.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-link:hover,
.footer-link:active,
.footer-link:focus {
    color: #ccd400 !important;
    text-decoration: none;
}

/* Teléfonos y emails - blanco por defecto, corporativo al hover */
.footer-office-contact a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-office-contact a:hover,
.footer-office-contact a:active,
.footer-office-contact a:focus {
    color: #ccd400 !important;
    text-decoration: none;
}

/* Copyright - color corporativo y sin fondo */
.footer-copyright {
    background: transparent !important;
}

.footer-copyright p {
    font-size: 0.75rem;
    color: #ccd400;
    margin: 0;
    text-align: center;
}

/* Si existe algún background heredado de theme.css, lo eliminamos */
.footer-section .footer-copyright,
.footer-section .footer-copyright * {
    background: transparent !important;
}

/* Separador de enlaces - también blanco */
.footer-link-separator {
    color: #ffffff;
    font-size: 0.8rem;
}

/* Redes sociales - iconos blancos por defecto */
.footer-social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-icon:hover {
    background: #ccd400;
    color: #1a2a36;
    transform: translateY(-3px);
    text-decoration: none;
}

.alertas-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.alertas-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 30px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(204,212,0,0.2);
}
.check-item {
	transition: transform 0.2s ease, color 0.2s ease;
	cursor: default;
}
.check-item:hover {
	transform: translateX(5px);
}
.check-item:hover i {
	color: #CCD400 !important;
	transform: scale(1.1);
}
.alertas-icon {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.alertas-card:hover .alertas-icon {
	transform: scale(1.05);
	box-shadow: 0 0 20px rgba(204,212,0,0.3);
}
@media (max-width: 768px) {
	.alertas-card {
		border-left-width: 3px;
	}
}
