/* ============================================
   SHYRO HOSTING - PÁGINA NOSOTROS
   ESTILOS ESPECÍFICOS - VERSIÓN COMPLETA
   ============================================ */

/* ---------- HERO DE NOSOTROS ---------- */
.nosotros-hero .hero-content h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    color: var(--color-text-primary);
}

[data-theme="light"] .nosotros-hero .hero-content h1 {
    color: #FFFFFF;
}

.nosotros-hero .hero-content h1 span {
    color: var(--color-primary);
}

.nosotros-hero .hero-sub {
    max-width: 600px;
    margin-bottom: 36px;
}

.nosotros-hero-image svg {
    max-width: 500px;
    width: 100%;
    height: auto;
}

[data-theme="light"] .nosotros-hero-image svg {
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.15));
}

/* ---------- RESPONSIVE HERO ---------- */
@media (max-width: 1024px) {
    .nosotros-hero .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nosotros-hero .hero-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .nosotros-hero .hero-content h1 {
        font-size: 1.8rem;
    }
}

/* ============================================
   HISTORIA COMPLETA
   ============================================ */
.history-full {
    padding: 80px 0;
    background: var(--color-bg);
}

[data-theme="light"] .history-full {
    background: var(--color-bg);
}

/* ---------- CAPÍTULOS ---------- */
.history-chapter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 0;
    border-bottom: 1px solid var(--color-border);
    align-items: center;
}

.history-chapter:last-child {
    border-bottom: none;
}

.history-chapter-alt {
    direction: rtl;
}

.history-chapter-alt .history-chapter-content {
    direction: ltr;
}

.chapter-number {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    margin-bottom: 12px;
    padding: 4px 14px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-bg-input);
}

[data-theme="light"] .chapter-number {
    background: rgba(0, 229, 255, 0.04);
    border-color: rgba(0, 229, 255, 0.08);
}

.history-chapter-content .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.history-chapter-content .section-title::after {
    margin: 16px 0 0;
}

.history-chapter-content p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 540px;
}

/* ---------- ESTADÍSTICAS DEL CAPÍTULO ---------- */
.history-chapter-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-box {
    text-align: center;
    padding: 24px 16px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    border-radius: 14px;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-smooth);
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(0, 229, 255, 0.12);
}

[data-theme="light"] .stat-box {
    background: var(--color-bg-card);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 4px 16px rgba(0, 0, 0, 0.03);
}

.stat-box .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.stat-box .stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ---------- LISTA DE PROBLEMAS ---------- */
.problems-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
    list-style: none;
    padding: 0;
}

.problems-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    border-radius: 10px;
    transition: all var(--transition-smooth);
}

[data-theme="light"] .problems-list li {
    background: var(--color-bg-card);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.problems-list li:hover {
    border-color: rgba(229, 62, 62, 0.15);
    transform: translateX(4px);
}

.problems-list li i {
    font-size: 1.2rem;
    color: #E53E3E;
    margin-top: 2px;
    flex-shrink: 0;
}

.problems-list li div {
    flex: 1;
}

.problems-list li strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-text-primary);
}

.problems-list li span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ---------- FILOSOFÍA ---------- */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.philosophy-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    border-radius: 10px;
    transition: all var(--transition-smooth);
}

[data-theme="light"] .philosophy-item {
    background: var(--color-bg-card);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.philosophy-item:hover {
    border-color: rgba(0, 229, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.philosophy-item i {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.philosophy-item div {
    flex: 1;
}

.philosophy-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-primary);
}

.philosophy-item span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ---------- CARACTERÍSTICAS (NUEVO) ---------- */
.features-grid-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.feature-item-small {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    border-radius: 12px;
    transition: all var(--transition-smooth);
}

[data-theme="light"] .feature-item-small {
    background: var(--color-bg-card);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-item-small:hover {
    border-color: rgba(0, 229, 255, 0.12);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.feature-item-small i {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-top: 2px;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.feature-item-small div {
    flex: 1;
}

.feature-item-small strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.feature-item-small span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ---------- VALORES DEL EQUIPO ---------- */
.team-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    border-radius: 12px;
    transition: all var(--transition-smooth);
}

[data-theme="light"] .value-item {
    background: var(--color-bg-card);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.value-item:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.12);
    box-shadow: var(--shadow-card-hover);
}

.value-item i {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.value-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-primary);
}

/* ---------- ESTADÍSTICAS DE HOY ---------- */
.today-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.today-stat {
    text-align: center;
    padding: 24px 16px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-smooth);
}

[data-theme="light"] .today-stat {
    background: var(--color-bg-card);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.today-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(0, 229, 255, 0.12);
}

.today-stat .today-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.today-stat .today-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ---------- CTA ---------- */
.cta-section {
    padding: 80px 0;
    background: var(--color-bg-section);
}

[data-theme="light"] .cta-section {
    background: var(--color-bg-section);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .history-chapter {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 48px 0;
    }

    .history-chapter-alt {
        direction: ltr;
    }

    .history-chapter-content p {
        max-width: 100%;
    }

    .history-chapter-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .philosophy-grid {
        grid-template-columns: 1fr 1fr;
    }

    .features-grid-small {
        grid-template-columns: 1fr 1fr;
    }

    .team-values {
        grid-template-columns: repeat(2, 1fr);
    }

    .today-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .history-chapter {
        padding: 32px 0;
    }

    .history-chapter-stats {
        grid-template-columns: 1fr 1fr;
    }

    .history-chapter-stats .stat-box:last-child {
        grid-column: 1 / -1;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .features-grid-small {
        grid-template-columns: 1fr;
    }

    .team-values {
        grid-template-columns: 1fr 1fr;
    }

    .today-stats {
        grid-template-columns: 1fr;
    }

    .history-chapter-content .section-title {
        font-size: 1.8rem;
    }

    .history-chapter-content p {
        font-size: 0.95rem;
    }

    .stat-box .stat-number,
    .today-stat .today-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .history-chapter-stats {
        grid-template-columns: 1fr;
    }

    .team-values {
        grid-template-columns: 1fr;
    }

    .problems-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .stat-box .stat-number,
    .today-stat .today-number {
        font-size: 1.6rem;
    }

    .chapter-number {
        font-size: 0.65rem;
    }

    .philosophy-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 14px 16px;
    }

    .feature-item-small {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 14px 16px;
    }

    .feature-item-small i {
        font-size: 1.4rem;
    }

    .history-chapter-content .section-title {
        font-size: 1.5rem;
    }

    .cta-section {
        padding: 60px 0;
    }
}

/* ---------- ANIMACIONES ---------- */
.history-chapter {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.6s ease forwards;
}

.history-chapter:nth-child(1) { animation-delay: 0.1s; }
.history-chapter:nth-child(2) { animation-delay: 0.2s; }
.history-chapter:nth-child(3) { animation-delay: 0.3s; }
.history-chapter:nth-child(4) { animation-delay: 0.4s; }
.history-chapter:nth-child(5) { animation-delay: 0.5s; }
.history-chapter:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- TRANSICIONES SUAVES ---------- */
.stat-box,
.philosophy-item,
.feature-item-small,
.value-item,
.today-stat,
.problems-list li {
    transition: background-color 0.3s ease,
                border-color 0.3s ease,
                transform 0.3s ease,
                box-shadow 0.3s ease;
}