/**
 * WileyTEC Brand CSS
 * Variables y estilos personalizados de marca
 * Generado: 2025-12-26
 */

/* ===== CSS VARIABLES (Design Tokens) ===== */
:root {
    /* Colores principales */
    --color-brand-primary: #F1B307;
    --color-brand-secondary: #0B1526;
    --color-brand-accent: #F1B307;

    /* Texto */
    --color-text-primary: #111315;
    --color-text-secondary: #6B7280;
    --color-text-light: #FFFFFF;
    --color-text-muted: #9CA3AF;

    /* Fondos */
    --color-bg-primary: #FFFFFF;
    --color-bg-secondary: #F9FAFB;
    --color-bg-dark: #0B1526;
    --color-bg-accent: #F1B307;

    /* Estados */
    --color-hover-primary: #D9A006;
    --color-hover-secondary: #162340;
    --color-success: #10B981;
    --color-error: #EF4444;
    --color-warning: #F59E0B;

    /* Tipografia */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Espaciado */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Bordes */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-full: 9999px;

    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Transiciones */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ===== CLASES UTILITARIAS ===== */

/* Colores de texto */
.text-primary { color: var(--color-brand-primary) !important; }
.text-secondary { color: var(--color-brand-secondary) !important; }
.text-dark { color: var(--color-text-primary) !important; }
.text-light { color: var(--color-text-light) !important; }
.text-muted { color: var(--color-text-muted) !important; }

/* Fondos */
.bg-primary { background-color: var(--color-brand-primary) !important; }
.bg-secondary { background-color: var(--color-brand-secondary) !important; }
.bg-dark { background-color: var(--color-bg-dark) !important; }
.bg-light { background-color: var(--color-bg-secondary) !important; }

/* ===== BOTONES DE MARCA ===== */
.btn-wiley-primary {
    background-color: var(--color-brand-primary);
    color: var(--color-brand-secondary);
    padding: 12px 32px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid var(--color-brand-primary);
    transition: all var(--transition-normal);
    display: inline-block;
    text-decoration: none;
}

.btn-wiley-primary:hover {
    background-color: var(--color-hover-primary);
    border-color: var(--color-hover-primary);
    color: var(--color-brand-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-wiley-secondary {
    background-color: transparent;
    color: var(--color-brand-primary);
    padding: 12px 32px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid var(--color-brand-primary);
    transition: all var(--transition-normal);
    display: inline-block;
    text-decoration: none;
}

.btn-wiley-secondary:hover {
    background-color: var(--color-brand-primary);
    color: var(--color-brand-secondary);
    transform: translateY(-2px);
}

.btn-wiley-dark {
    background-color: var(--color-brand-secondary);
    color: var(--color-text-light);
    padding: 12px 32px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid var(--color-brand-secondary);
    transition: all var(--transition-normal);
    display: inline-block;
    text-decoration: none;
}

.btn-wiley-dark:hover {
    background-color: var(--color-hover-secondary);
    border-color: var(--color-hover-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== TARJETAS DE SERVICIO ===== */
.wiley-service-card {
    background: var(--color-bg-primary);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.wiley-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-brand-primary);
}

.wiley-service-card .service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-brand-primary), var(--color-hover-primary));
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.wiley-service-card .service-icon i,
.wiley-service-card .service-icon svg {
    font-size: 28px;
    color: var(--color-brand-secondary);
}

.wiley-service-card h3 {
    color: var(--color-brand-secondary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.wiley-service-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ===== SECCIONES ===== */
.section-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--color-text-light);
}

.section-dark .text-accent {
    color: var(--color-brand-primary);
}

.section-light {
    background-color: var(--color-bg-secondary);
}

/* ===== ENCABEZADOS ===== */
.wiley-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-brand-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.wiley-section-title span,
.wiley-section-title .highlight {
    color: var(--color-brand-primary);
}

.wiley-section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

/* ===== HERO SECTION ===== */
.wiley-hero {
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, #162340 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.wiley-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23F1B307" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 200px;
    opacity: 0.3;
}

.wiley-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-text-light);
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.wiley-hero h1 span {
    color: var(--color-brand-primary);
}

.wiley-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 540px;
    line-height: 1.7;
}

/* ===== ESTADISTICAS ===== */
.wiley-stat {
    text-align: center;
    padding: var(--spacing-xl);
}

.wiley-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-brand-primary);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.wiley-stat-label {
    font-size: 1rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== TESTIMONIOS ===== */
.wiley-testimonial {
    background: var(--color-bg-primary);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-2xl);
    position: relative;
    box-shadow: var(--shadow-lg);
}

.wiley-testimonial::before {
    content: '"';
    font-size: 6rem;
    color: var(--color-brand-primary);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

.wiley-testimonial-text {
    font-size: 1.125rem;
    color: var(--color-text-primary);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: var(--spacing-lg);
}

.wiley-testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.wiley-testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius-full);
    object-fit: cover;
}

.wiley-testimonial-author-name {
    font-weight: 700;
    color: var(--color-brand-secondary);
}

.wiley-testimonial-author-role {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ===== PRICING CARDS ===== */
.wiley-pricing-card {
    background: var(--color-bg-primary);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-2xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all var(--transition-normal);
}

.wiley-pricing-card:hover {
    border-color: var(--color-brand-primary);
    transform: translateY(-4px);
}

.wiley-pricing-card.featured {
    border-color: var(--color-brand-primary);
    position: relative;
}

.wiley-pricing-card.featured::before {
    content: 'Recomendado';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-brand-primary);
    color: var(--color-brand-secondary);
    padding: 4px 16px;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.wiley-pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-brand-secondary);
}

.wiley-pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

/* ===== CTA SECTION ===== */
.wiley-cta {
    background: linear-gradient(135deg, var(--color-brand-primary) 0%, var(--color-hover-primary) 100%);
    padding: 80px 0;
    text-align: center;
}

.wiley-cta h2 {
    color: var(--color-brand-secondary);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.wiley-cta p {
    color: var(--color-brand-secondary);
    opacity: 0.8;
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
}

/* ===== FOOTER ===== */
.wiley-footer {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    padding-top: 80px;
}

.wiley-footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.wiley-footer a:hover {
    color: var(--color-brand-primary);
}

.wiley-footer h4 {
    color: var(--color-text-light);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== ACCESIBILIDAD WCAG AA ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible para teclado - Alto contraste */
*:focus-visible {
    outline: 3px solid var(--color-brand-primary) !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 6px rgba(241, 179, 7, 0.3) !important;
}

/* Focus para botones */
.th-btn:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--color-brand-primary) !important;
    outline-offset: 3px !important;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-brand-primary);
    color: var(--color-brand-secondary);
    padding: 8px 16px;
    z-index: 100;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* ===== CONTRASTE CRÍTICO - WCAG AA (≥4.5:1) ===== */

/* REGLA: Texto sobre amarillo (#F1B307) SIEMPRE negro/azul oscuro, NUNCA blanco */
.th-btn,
.th-btn.style3,
[style*="background-color:#F1B307"] *,
[style*="background-color: #F1B307"] *,
[style*="background:#F1B307"] *,
.bg-theme *,
.wiley-cta *,
.btn-wiley-primary {
    color: #0B1526 !important;
}

/* Botones amarillos - texto oscuro */
.th-btn {
    background-color: #F1B307 !important;
    color: #0B1526 !important;
    border-color: #F1B307 !important;
    font-weight: 600 !important;
}

.th-btn:hover {
    background-color: #D9A006 !important;
    color: #0B1526 !important;
    border-color: #D9A006 !important;
}

/* Botones outline/secundarios */
.th-btn.style2,
.th-btn.btn-border {
    background-color: transparent !important;
    color: #F1B307 !important;
    border: 2px solid #F1B307 !important;
}

.th-btn.style2:hover,
.th-btn.btn-border:hover {
    background-color: #F1B307 !important;
    color: #0B1526 !important;
}

/* Texto gris mejorado para legibilidad */
.text-muted,
.sec-text,
p {
    color: #4B5563 !important; /* Ratio ≥4.5:1 sobre blanco */
}

/* Enlaces con buen contraste */
a:not(.th-btn) {
    color: #0B1526;
}

a:not(.th-btn):hover {
    color: #F1B307;
}

/* ===== FORZAR COLORES DE MARCA EN TODO EL TEMA ===== */

/* Color primario del tema = Amarillo Wiley */
.text-theme,
.sec-title span,
.title span,
.feature-title span,
[class*="text-primary"],
.counter-card_number,
.testi-card_quote i,
.accordion-button:not(.collapsed),
.footer-widget a:hover {
    color: #F1B307 !important;
}

/* Fondo primario = Amarillo Wiley */
.bg-theme,
.th-btn:not(.style2):not(.btn-border),
.feature-icon,
.process-card_number,
.accordion-button::after,
.swiper-pagination-bullet-active {
    background-color: #F1B307 !important;
}

/* Color secundario = Azul oscuro Wiley */
.bg-theme2,
.bg-dark,
.hero-style2,
.cta-style1,
footer,
.footer-wrapper {
    background-color: #0B1526 !important;
}

/* Iconos y elementos decorativos */
.feature-icon i,
.process-card_number,
.service-card_icon i {
    color: #0B1526 !important;
}

/* Headers sobre fondo oscuro */
.hero-style2 .hero-title,
.cta-style1 h2,
.footer-widget .widget-title,
[class*="bg-dark"] h1,
[class*="bg-dark"] h2,
[class*="bg-dark"] h3 {
    color: #FFFFFF !important;
}

/* Subtítulos sobre fondo oscuro */
.hero-style2 .hero-subtitle,
.cta-style1 p,
[class*="bg-dark"] p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ===== FORMULARIOS ACCESIBLES ===== */
input:not([type="submit"]):not([type="button"]),
textarea,
select {
    border: 2px solid #D1D5DB !important;
    padding: 12px 16px !important;
    font-size: 16px !important; /* Previene zoom en iOS */
    border-radius: 8px !important;
    transition: border-color 0.2s ease !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #F1B307 !important;
    box-shadow: 0 0 0 3px rgba(241, 179, 7, 0.2) !important;
    outline: none !important;
}

/* Labels visibles */
label {
    display: block !important;
    margin-bottom: 6px !important;
    font-weight: 500 !important;
    color: #374151 !important;
}

/* Placeholders con contraste adecuado */
::placeholder {
    color: #6B7280 !important;
    opacity: 1 !important;
}

/* Submit buttons */
input[type="submit"],
button[type="submit"] {
    background-color: #F1B307 !important;
    color: #0B1526 !important;
    font-weight: 600 !important;
    padding: 14px 32px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
    background-color: #D9A006 !important;
    transform: translateY(-2px) !important;
}

/* ===== NAVEGACIÓN ACCESIBLE ===== */
.main-menu > ul > li > a {
    color: #0B1526 !important;
    font-weight: 500 !important;
}

.main-menu > ul > li > a:hover,
.main-menu > ul > li.current-menu-item > a {
    color: #F1B307 !important;
}

/* Dropdown menus */
.main-menu ul ul {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
}

.main-menu ul ul li a {
    color: #374151 !important;
    padding: 12px 20px !important;
}

.main-menu ul ul li a:hover {
    background: #F1B307 !important;
    color: #0B1526 !important;
}

/* ===== PRICING CARDS RESPONSIVE ===== */

.pricing-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.pricing-section.dark-bg {
    background: linear-gradient(180deg, #0B1526 0%, #162340 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-grid.three-cols {
    grid-template-columns: repeat(3, 1fr);
}

.pricing-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #F1B307;
}

.pricing-card.featured {
    border-color: #F1B307;
    transform: scale(1.02);
}

.pricing-card.featured::before {
    content: 'Recomendado';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #F1B307;
    color: #0B1526;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #0B1526;
    margin-bottom: 8px;
}

.pricing-card-subtitle {
    font-size: 14px;
    color: #6B7280;
}

.pricing-card-price {
    margin: 20px 0;
}

.pricing-card-price .currency {
    font-size: 20px;
    font-weight: 600;
    color: #0B1526;
    vertical-align: top;
}

.pricing-card-price .amount {
    font-size: 48px;
    font-weight: 800;
    color: #0B1526;
    line-height: 1;
}

.pricing-card-price .period {
    display: block;
    font-size: 14px;
    color: #6B7280;
    margin-top: 4px;
}

.pricing-card-price .monthly {
    font-size: 13px;
    color: #9CA3AF;
    margin-top: 8px;
}

.pricing-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    text-align: left;
    flex-grow: 1;
}

.pricing-card-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    color: #374151;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pricing-card-features li:last-child {
    border-bottom: none;
}

.pricing-card-features li::before {
    content: '✓';
    color: #10B981;
    font-weight: bold;
    flex-shrink: 0;
}

.pricing-card-features li.highlight {
    font-weight: 600;
    color: #0B1526;
}

.pricing-card-btn {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    background: #F1B307;
    color: #0B1526;
    font-weight: 600;
    font-size: 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    margin-top: auto;
}

.pricing-card-btn:hover {
    background: #D9A006;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 179, 7, 0.4);
    color: #0B1526;
}

.pricing-card-btn.secondary {
    background: transparent;
    border: 2px solid #F1B307;
    color: #F1B307;
}

.pricing-card-btn.secondary:hover {
    background: #F1B307;
    color: #0B1526;
}

.pricing-note {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: #6B7280;
}

.pricing-note strong {
    color: #0B1526;
}

/* Pricing Section Title */
.pricing-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.pricing-section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0B1526;
    margin-bottom: 16px;
}

.pricing-section-header h2 span {
    color: #F1B307;
}

.pricing-section-header p {
    font-size: 18px;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Big Data Grid - 2 rows of 4 */
.pricing-grid.bigdata {
    grid-template-columns: repeat(4, 1fr);
}

/* ===== PRICING RESPONSIVE ===== */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .pricing-grid.bigdata {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }

    .pricing-grid.bigdata {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 28px 20px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card-price .amount {
        font-size: 40px;
    }

    .pricing-section-header h2 {
        font-size: 28px;
    }

    .pricing-section-header p {
        font-size: 16px;
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .pricing-card {
        padding: 24px 16px;
    }

    .pricing-card-title {
        font-size: 18px;
    }

    .pricing-card-price .amount {
        font-size: 36px;
    }

    .pricing-card-features li {
        font-size: 13px;
        padding: 8px 0;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .wiley-hero h1 {
        font-size: 2.5rem;
    }

    .wiley-section-title {
        font-size: 2rem;
    }

    .wiley-stat-number {
        font-size: 2.5rem;
    }

    .wiley-pricing-card {
        padding: var(--spacing-xl);
    }
}

@media (max-width: 480px) {
    .wiley-hero {
        padding: 80px 0;
    }

    .wiley-hero h1 {
        font-size: 2rem;
    }

    .btn-wiley-primary,
    .btn-wiley-secondary,
    .btn-wiley-dark {
        padding: 10px 24px;
        font-size: 0.875rem;
    }
}

/* ===== MOBILE IMPROVEMENTS ===== */
@media (max-width: 767px) {
    /* Reduce section spacing on mobile */
    .elementor-section {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    
    /* Better hero text on mobile */
    .hero-style2 .hero-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
    
    .hero-style2 .hero-subtitle {
        font-size: 14px !important;
    }
    
    /* Mobile buttons */
    .th-btn {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
    
    /* Service cards on mobile */
    .service-card {
        margin-bottom: 20px;
    }
    
    /* Team cards spacing */
    .th-team {
        margin-bottom: 30px;
    }
    
    /* Footer mobile */
    .footer-widget {
        margin-bottom: 30px;
        text-align: center;
    }
    
    /* Process steps mobile */
    .process-card {
        margin-bottom: 30px;
    }
    
    /* FAQ mobile */
    .accordion-card {
        margin-bottom: 15px;
    }
    
    /* Testimonial mobile */
    .testi-card {
        padding: 20px !important;
    }
    
    /* Hide decorative elements on mobile */
    .shape-mockup {
        display: none !important;
    }
    
    /* Better touch targets */
    .menu-item a,
    .th-btn,
    .social-btn a {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Mobile logo size */
    .mobile-logo img {
        max-height: 40px;
        width: auto;
    }
    
    /* Section titles mobile */
    .sec-title {
        font-size: 24px !important;
    }
    
    .sec-subtitle {
        font-size: 12px !important;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-style2 .hero-title {
        font-size: 36px !important;
    }
    
    .sec-title {
        font-size: 32px !important;
    }
}
/* ===== PRICING MODERNO WILEY ===== */

.wiley-pricing {
    padding: 100px 20px;
    background: #ffffff;
}

.wiley-pricing.dark {
    background: #0B1526;
}

.wiley-pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.wiley-badge {
    display: inline-block;
    background: #F1B307;
    color: #0B1526;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.wiley-badge.light {
    background: rgba(241, 179, 7, 0.15);
    color: #F1B307;
}

.wiley-pricing-header h2 {
    font-size: 48px;
    font-weight: 800;
    color: #0B1526;
    margin: 0 0 16px 0;
    line-height: 1.1;
}

.wiley-pricing.dark .wiley-pricing-header h2 {
    color: #ffffff;
}

.wiley-pricing-header p {
    font-size: 18px;
    color: #6B7280;
    margin: 0;
}

.wiley-pricing.dark .wiley-pricing-header p {
    color: rgba(255, 255, 255, 0.7);
}

/* Grid de planes */
.wiley-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card de plan */
.wiley-plan {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #E5E7EB;
}

.wiley-pricing.dark .wiley-plan {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.wiley-plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border-color: #F1B307;
}

.wiley-plan.popular {
    border-color: #F1B307;
    transform: scale(1.02);
}

.wiley-plan.popular:hover {
    transform: scale(1.02) translateY(-10px);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #F1B307;
    color: #0B1526;
    padding: 6px 24px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wiley-plan h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0B1526;
    margin: 0 0 24px 0;
}

.wiley-pricing.dark .wiley-plan h3 {
    color: #ffffff;
}

/* Precio */
.wiley-price {
    margin-bottom: 24px;
}

.wiley-price .currency {
    font-size: 24px;
    font-weight: 600;
    color: #0B1526;
    vertical-align: top;
    position: relative;
    top: 8px;
}

.wiley-price .amount {
    font-size: 64px;
    font-weight: 800;
    color: #0B1526;
    line-height: 1;
}

.wiley-price .period {
    font-size: 16px;
    color: #9CA3AF;
    font-weight: 500;
}

.wiley-pricing.dark .wiley-price .currency,
.wiley-pricing.dark .wiley-price .amount {
    color: #ffffff;
}

/* Specs minimalistas */
.wiley-specs {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.8;
    margin-bottom: 24px;
}

.wiley-specs strong {
    color: #0B1526;
    font-weight: 700;
}

.wiley-pricing.dark .wiley-specs {
    color: rgba(255, 255, 255, 0.7);
}

.wiley-pricing.dark .wiley-specs strong {
    color: #F1B307;
}

/* Badge GRATIS */
.wiley-free-badge {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

/* Boton */
.wiley-plan-btn {
    display: block;
    background: #F1B307;
    color: #0B1526;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wiley-plan-btn:hover {
    background: #D9A006;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(241, 179, 7, 0.4);
    color: #0B1526;
}

.wiley-plan-btn.light {
    background: transparent;
    border: 2px solid #F1B307;
    color: #F1B307;
}

.wiley-plan-btn.light:hover {
    background: #F1B307;
    color: #0B1526;
}

/* ===== SOLUCIONES CON IMAGENES ===== */
.wiley-solutions {
    padding: 100px 20px;
    background: #f8f9fa;
}

.wiley-solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.wiley-solution-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.wiley-solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.wiley-solution-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.wiley-solution-content {
    padding: 30px;
    text-align: center;
}

.wiley-solution-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0B1526;
    margin: 0 0 8px 0;
}

.wiley-solution-content p {
    font-size: 14px;
    color: #6B7280;
    margin: 0 0 16px 0;
}

.wiley-solution-content .wiley-free-badge {
    display: inline-block;
    margin-bottom: 20px;
}

.wiley-solution-content .wiley-plan-btn {
    padding: 12px 24px;
    font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .wiley-pricing-grid,
    .wiley-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wiley-pricing,
    .wiley-solutions {
        padding: 60px 16px;
    }

    .wiley-pricing-grid,
    .wiley-solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .wiley-pricing-header h2 {
        font-size: 32px;
    }

    .wiley-plan {
        padding: 32px 24px;
    }

    .wiley-plan.popular {
        transform: none;
    }

    .wiley-price .amount {
        font-size: 48px;
    }

    .wiley-solution-img {
        height: 180px;
    }
}

/* ===== CORRECCION DE CONTRASTES ===== */
.wiley-pricing.dark .wiley-plan {
    background: rgba(255, 255, 255, 0.08);
}

.wiley-pricing.dark .wiley-plan:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Asegurar legibilidad en fondos oscuros */
.wiley-pricing.dark * {
    color: #ffffff;
}

.wiley-pricing.dark .wiley-specs {
    color: rgba(255, 255, 255, 0.85);
}

.wiley-pricing.dark .wiley-price .period {
    color: rgba(255, 255, 255, 0.6);
}

.wiley-pricing.dark .wiley-plan-btn.light {
    color: #F1B307;
}

.wiley-pricing.dark .wiley-plan-btn.light:hover {
    color: #0B1526;
}

/* ===== FIX CONTRASTE BOTONES HOVER ===== */
.wiley-plan-btn,
.wiley-plan-btn:hover,
.wiley-plan-btn:focus,
.wiley-plan-btn:active {
    color: #0B1526 !important;
}

.wiley-pricing.dark .wiley-plan-btn {
    background: #F1B307 !important;
    color: #0B1526 !important;
}

.wiley-pricing.dark .wiley-plan-btn:hover {
    background: #D9A006 !important;
    color: #0B1526 !important;
}

/* Fix general para todos los botones del tema */
.th-btn:hover,
.th-btn:focus,
button:hover,
a.th-btn:hover {
    color: #0B1526 !important;
}

/* Asegurar que texto en fondos oscuros sea legible */
.bg-dark a,
.bg-dark p,
.bg-dark span,
.bg-dark li,
[style*="background:#0B1526"] *,
[style*="background: #0B1526"] * {
    color: #ffffff !important;
}

.bg-dark a:hover {
    color: #F1B307 !important;
}
