/**
 * Estilos para la página "Quiénes Somos" de Speakya
 * Colores corporativos: Azul #0078FF, Verde Lima #9FD438
 *
 * VERSIÓN MEJORADA: Con nuevas secciones y responsive optimizado
 */

/* Variables de colores corporativos */
:root {
    --speakya-blue: #0078FF;
    --speakya-green: #9FD438;
    --speakya-cyan: #00D9CE;
    --speakya-purple: #B040FF;
    --speakya-light-bg: #F5F8FF;
    --speakya-dark-text: #1a1a1a;
    --speakya-gray-text: #4a4a4a;
}

/* Contenedor principal de la página */
.speakya-about-page {
    background: #ffffff;
}

/* Contenedor general */
.speakya-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === BOTONES CTA === */
.hero-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn-primary,
.btn-secondary,
.btn-primary-large {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.btn-primary {
    background: var(--speakya-green);
    color: #ffffff;
}

.btn-primary:hover {
    background: #8BC430;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(159, 212, 56, 0.4);
}

.btn-secondary {
    background: var(--speakya-blue);
    color: #ffffff;
}

.btn-secondary:hover {
    background: #0062CC;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 120, 255, 0.4);
}

.btn-primary-large {
    background: var(--speakya-green);
    color: #ffffff;
    font-size: 1.2rem;
    padding: 20px 50px;
}

.btn-primary-large:hover {
    background: #8BC430;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(159, 212, 56, 0.4);
}

.cta-buttons {
    margin-top: 40px;
    text-align: center;
}

/* === HERO SECTION === */
.speakya-hero {
    background: linear-gradient(135deg, #E8F3FF 0%, #F0F8FF 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.speakya-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 120, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--speakya-blue);
    margin-bottom: 30px;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.hero-text {
    max-width: 900px;
    margin: 0 auto;
}

.hero-lead {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--speakya-dark-text);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--speakya-gray-text);
    font-weight: 400;
}

/* === SECTION HEADERS === */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--speakya-blue);
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--speakya-green);
    border-radius: 2px;
}

/* === MISIÓN SECTION === */
.speakya-mission {
    padding: 80px 0;
    background: #ffffff;
}

.mission-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-image {
    flex: 1;
    max-width: 500px;
}

.mission-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 120, 255, 0.15);
    object-fit: cover;
}

.mission-content {
    flex: 1;
    text-align: left;
}

.mission-text {
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--speakya-dark-text);
    font-weight: 500;
    font-style: italic;
}

/* === VISIÓN SECTION === */
.speakya-vision {
    padding: 80px 0;
    background: linear-gradient(135deg, #F0F8FF 0%, #E8F3FF 100%);
}

.vision-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: row-reverse; /* Imagen a la derecha */
}

.vision-image {
    flex: 1;
    max-width: 500px;
}

.vision-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 120, 255, 0.15);
    object-fit: cover;
}

.vision-content {
    flex: 1;
    text-align: left;
}

.vision-text {
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--speakya-dark-text);
    font-weight: 500;
    font-style: italic;
}

/* === FILOSOFÍA SECTION === */
.speakya-philosophy {
    padding: 80px 0;
    background: #ffffff;
}

.philosophy-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.philosophy-image {
    flex: 1;
    max-width: 500px;
}

.philosophy-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 120, 255, 0.15);
    object-fit: cover;
}

.philosophy-content {
    flex: 1;
}

.philosophy-text {
    background: linear-gradient(135deg, #E8F3FF 0%, #F5F8FF 100%);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 120, 255, 0.1);
}

.philosophy-lead {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--speakya-dark-text);
    margin-bottom: 25px;
    font-weight: 600;
}

.philosophy-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--speakya-gray-text);
    font-weight: 400;
}

/* === PROPUESTA DE VALOR SECTION === */
.speakya-value {
    padding: 80px 0;
    background: linear-gradient(135deg, #F0F8FF 0%, #E8F3FF 100%);
}

.value-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: row-reverse; /* Imagen a la derecha */
}

.value-image {
    flex: 1;
    max-width: 500px;
}

.value-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 120, 255, 0.15);
    object-fit: cover;
}

.value-content {
    flex: 1;
}

.value-text {
    font-size: 1.3rem;
    line-height: 1.9;
    color: var(--speakya-dark-text);
    text-align: left;
    font-weight: 400;
}

/* === VENTAJAS COMPETITIVAS SECTION === */
.speakya-advantages {
    padding: 80px 0;
    background: #ffffff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-item {
    background: linear-gradient(135deg, #F5F8FF 0%, #ffffff 100%);
    padding: 35px;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(159, 212, 56, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 120, 255, 0.15);
    border-color: var(--speakya-green);
}

.advantage-item:hover::before {
    top: -20%;
    right: -20%;
}

.advantage-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--speakya-green) 0%, #B8E866 100%);
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(159, 212, 56, 0.3);
}

.advantage-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--speakya-blue);
    margin-bottom: 12px;
    line-height: 1.4;
}

.advantage-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--speakya-gray-text);
    margin: 0;
}

/* === CÓMO FUNCIONA SECTION === */
.speakya-how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, #F0F8FF 0%, #E8F3FF 100%);
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-item {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 120, 255, 0.15);
    border-color: var(--speakya-blue);
}

.step-number {
    display: inline-block;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--speakya-blue) 0%, #0062CC 100%);
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 120, 255, 0.3);
}

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--speakya-blue);
    margin-bottom: 15px;
}

.step-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--speakya-gray-text);
    margin: 0;
}

/* === PLANES Y PRECIOS SECTION === */
.speakya-pricing {
    padding: 80px 0;
    background: #ffffff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: linear-gradient(135deg, #F5F8FF 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 120, 255, 0.2);
    border-color: var(--speakya-green);
}

.pricing-badge {
    display: inline-block;
    padding: 12px 30px;
    background: var(--speakya-cyan);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    margin-bottom: 25px;
}

.pricing-card:nth-child(2) .pricing-badge {
    background: var(--speakya-blue);
}

.pricing-card:nth-child(3) .pricing-badge {
    background: var(--speakya-purple);
}

.pricing-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--speakya-gray-text);
    margin-bottom: 30px;
    min-height: 80px;
}

.pricing-price {
    margin: 30px 0;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: var(--speakya-gray-text);
    margin-bottom: 10px;
}

.price-amount {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--speakya-blue);
    margin-bottom: 5px;
}

.price-period {
    display: block;
    font-size: 1rem;
    color: var(--speakya-gray-text);
}

.pricing-button {
    display: inline-block;
    padding: 14px 35px;
    background: var(--speakya-blue);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.pricing-button:hover {
    background: #0062CC;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 120, 255, 0.3);
}

/* === POR QUÉ ELEGIRNOS SECTION === */
.speakya-why-us {
    padding: 80px 0;
    background: linear-gradient(135deg, #F0F8FF 0%, #E8F3FF 100%);
}

.why-us-list {
    max-width: 900px;
    margin: 0 auto;
}

.why-us-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: #ffffff;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.why-us-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 120, 255, 0.15);
}

.why-us-icon {
    font-size: 2rem;
    font-weight: 800;
    flex-shrink: 0;
}

.why-us-icon.blue {
    color: var(--speakya-blue);
}

.why-us-icon.green {
    color: var(--speakya-green);
}

.why-us-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--speakya-dark-text);
    margin: 0;
}

/* === CTA FINAL SECTION === */
.speakya-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--speakya-blue) 0%, #0062CC 100%);
    position: relative;
    overflow: hidden;
}

.speakya-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.speakya-cta::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(159, 212, 56, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-text {
    font-size: 1.8rem;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 600;
    font-style: italic;
}

.cta-highlight {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #ffffff;
    font-weight: 500;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
}

/* === RESPONSIVE DESIGN === */

/* Tablets y pantallas medianas */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .hero-lead {
        font-size: 1.3rem;
    }

    .mission-text,
    .vision-text {
        font-size: 1.5rem;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets en modo portrait y móviles grandes */
@media (max-width: 768px) {
    .speakya-hero,
    .speakya-mission,
    .speakya-vision,
    .speakya-philosophy,
    .speakya-value,
    .speakya-advantages,
    .speakya-how-it-works,
    .speakya-pricing,
    .speakya-why-us,
    .speakya-cta {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-lead {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    /* Layouts con imágenes - stack vertical en móvil */
    .mission-wrapper,
    .vision-wrapper,
    .philosophy-wrapper,
    .value-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .mission-image,
    .vision-image,
    .philosophy-image,
    .value-image {
        max-width: 100%;
    }

    .mission-content,
    .vision-content,
    .philosophy-content,
    .value-content {
        text-align: center;
    }

    .value-text {
        text-align: center;
    }

    .mission-text,
    .vision-text {
        font-size: 1.2rem;
    }

    .philosophy-text {
        padding: 30px;
    }

    .philosophy-lead {
        font-size: 1.2rem;
    }

    .philosophy-description {
        font-size: 1rem;
    }

    .value-text {
        font-size: 1.1rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .advantage-item {
        padding: 25px;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .pricing-description {
        min-height: auto;
    }

    .why-us-item {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .why-us-text {
        font-size: 1.1rem;
    }

    .cta-text {
        font-size: 1.3rem;
    }

    .cta-highlight {
        font-size: 1.1rem;
        padding: 20px;
    }

    /* Botones responsive */
    .hero-cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .btn-primary-large {
        width: 100%;
        padding: 16px 30px;
        font-size: 1.1rem;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .speakya-container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .advantage-number,
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .advantage-title,
    .step-title {
        font-size: 1.1rem;
    }

    .pricing-badge {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .why-us-icon {
        font-size: 1.5rem;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 0.85rem;
        padding: 12px 18px;
    }

    .btn-primary-large {
        font-size: 1rem;
        padding: 14px 25px;
    }
}

/* Fix para botones en pantallas muy pequeñas */
@media (max-width: 360px) {
    .btn-primary,
    .btn-secondary {
        font-size: 0.8rem;
        padding: 10px 15px;
    }
}

/* Asegurar que no interfiera con otras páginas */
body:not(.page-template-page-quienes-somos) .speakya-hero,
body:not(.page-template-page-quienes-somos) .speakya-mission,
body:not(.page-template-page-quienes-somos) .speakya-vision,
body:not(.page-template-page-quienes-somos) .speakya-philosophy,
body:not(.page-template-page-quienes-somos) .speakya-value,
body:not(.page-template-page-quienes-somos) .speakya-advantages,
body:not(.page-template-page-quienes-somos) .speakya-how-it-works,
body:not(.page-template-page-quienes-somos) .speakya-pricing,
body:not(.page-template-page-quienes-somos) .speakya-why-us,
body:not(.page-template-page-quienes-somos) .speakya-cta {
    display: none !important;
}
