@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700;900&display=swap');

/* ============================
   RESET Y ESTILOS BASE
   ============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #1a1a1a;
    color: #f0f0f0;
    min-height: 100vh;
    text-align: center;
    position: relative;
    padding-top: 92px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1581152399908-4d7392f873e6?q=80&w=1974&auto=format&fit=crop') no-repeat center center/cover;
    opacity: 0.2;
    z-index: -1;
}

/* ============================
   HEADER Y NAVEGACIÓN
   ============================ */
.main-header {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #ffc107;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-menu li a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-menu li a:hover {
    background-color: #ffc107;
    color: #1a1a1a;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #ffc107;
    font-size: 2em;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: rgba(0, 0, 0, 0.95);
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: 700;
}

/* ============================
   CONTENEDOR PRINCIPAL
   ============================ */
.container {
    background-color: rgba(0, 0, 0, 0.75);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(255, 193, 7, 0.3);
    border: 1px solid #ffc107;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
}

.nosotros-container {
    max-width: 1200px !important;
    margin: 40px auto !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* ============================
   HERO MODERNO NOSOTROS
   ============================ */
.nosotros-hero-modern {
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(26,26,26,0.9) 50%, rgba(42,42,42,0.85) 100%),
                url('logo.webp') center/cover;
    padding: 60px 20px;
    margin: -40px -40px 40px -40px;
    border-bottom: 3px solid #ffc107;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid #ffc107;
    padding: 10px 20px;
    border-radius: 25px;
    margin-bottom: 25px;
    font-size: 0.9em;
    color: #ffc107;
    font-weight: 600;
}

.nosotros-title-hero {
    font-size: 2.8em;
    color: #ffc107;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.nosotros-subtitle-hero {
    font-size: 1.25em;
    color: #e0e0e0;
    margin-bottom: 30px;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================
   SECCIÓN CIFRAS
   ============================ */
.cifras-section {
    background: rgba(42, 42, 42, 0.4);
    padding: 50px 30px;
    margin: 40px -40px;
    border-top: 2px solid rgba(255, 193, 7, 0.3);
    border-bottom: 2px solid rgba(255, 193, 7, 0.3);
}

.cifras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.cifra-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    border: 2px solid rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
}

.cifra-item:hover {
    border-color: #ffc107;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.2);
}

.cifra-item i {
    font-size: 2.5em;
    color: #ffc107;
    margin-bottom: 15px;
    display: block;
}

.cifra-numero {
    font-size: 3em;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1;
}

.cifra-texto {
    color: #ccc;
    font-size: 1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================
   HISTORIA
   ============================ */
.historia-section {
    margin: 80px 0;
}

.historia-section .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 2.2em;
    color: #ffc107;
    margin-bottom: 35px;
}

.historia-section .section-title i {
    color: #ffc107;
}

.historia-texto {
    max-width: 900px;
    margin: 0 auto;
}

.historia-texto p {
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #ddd;
}

.historia-texto p strong {
    color: #ffc107;
    font-weight: 600;
}

.historia-highlight {
    background: rgba(255, 193, 7, 0.08);
    border-left: 4px solid #ffc107;
    padding: 25px 30px;
    margin: 30px 0;
    position: relative;
    border-radius: 0 8px 8px 0;
}

.historia-highlight i {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 1.5em;
    color: #ffc107;
    opacity: 0.3;
}

.historia-highlight p {
    margin: 0;
    padding-left: 25px;
    font-style: italic;
    color: #f0f0f0;
    font-weight: 500;
}

/* ============================
   FUNDADOR
   ============================ */
.fundador-section {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, rgba(42, 42, 42, 0.3) 100%);
    padding: 50px 30px;
    margin: 50px -40px;
    border-top: 2px solid rgba(255, 193, 7, 0.3);
    border-bottom: 2px solid rgba(255, 193, 7, 0.3);
}

.fundador-section.destacada {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, rgba(42, 42, 42, 0.3) 100%);
}

.fundador-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.fundador-imagen {
    text-align: center;
}

.foto-redonda {
    width: 100%;
    max-width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ffc107;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
}

.foto-redonda:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.4);
}

.fundador-title {
    color: #ffc107;
    font-size: 2em;
    margin-bottom: 25px;
    font-weight: 700;
}

.fundador-cita {
    background: rgba(0, 0, 0, 0.4);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
    font-size: 1.1em;
    line-height: 1.8;
    color: #ddd;
    font-style: italic;
    margin: 0 0 20px 0;
}

.fundador-cita strong {
    color: #fff;
    font-weight: 700;
}

.fundador-firma {
    display: block;
    text-align: right;
    color: #ccc;
    font-size: 1em;
    font-style: normal;
}

.fundador-firma strong {
    color: #ffc107;
    font-size: 1.2em;
}

/* ============================
   TRANSICIÓN
   ============================ */
.transicion-section {
    text-align: center;
    padding: 40px 0;
}

.transicion-title {
    font-size: 2em;
    color: #ffc107;
    margin-bottom: 15px;
}

.transicion-text {
    font-size: 1.1em;
    color: #ddd;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-filosofia {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ffc107, #ffb300);
    color: #1a1a1a;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-filosofia:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
}

.btn-filosofia i {
    transition: transform 0.3s ease;
}

.btn-filosofia:hover i {
    transform: translateX(5px);
}

/* ============================
   LÍNEA DE TIEMPO
   ============================ */
.timeline-section {
    margin: 80px 0;
    padding: 0 20px;
}

.timeline-intro {
    font-size: 1.15em;
    color: #ddd;
    text-align: center;
    margin-bottom: 50px;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.timeline-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #ffc107, rgba(255, 193, 7, 0.3));
    display: none;
}

.timeline-item {
    background: rgba(42, 42, 42, 0.7);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-item:hover {
    border-color: #ffc107;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.15);
}

.timeline-year {
    background: #ffc107;
    color: #1a1a1a;
    font-size: 2em;
    font-weight: 900;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.timeline-content h3 {
    color: #ffc107;
    font-size: 1.4em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.timeline-content h3 i {
    color: #ffc107;
}

.timeline-content p {
    color: #ddd;
    font-size: 1em;
    line-height: 1.7;
    margin: 0;
}

/* ============================
   EQUIPO
   ============================ */
.equipo-section {
    margin: 80px 0;
    padding: 0 20px;
}

.equipo-intro {
    font-size: 1.15em;
    color: #ddd;
    text-align: center;
    margin-bottom: 50px;
}

.equipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.equipo-card {
    background: rgba(42, 42, 42, 0.7);
    border-radius: 12px;
    padding: 35px 30px;
    border: 1px solid rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.equipo-card:hover {
    border-color: #ffc107;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.15);
}

.equipo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.equipo-icon i {
    font-size: 2.5em;
    color: #ffc107;
}

.equipo-card h3 {
    color: #ffc107;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.equipo-role {
    color: #aaa;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    font-weight: 600;
}

.equipo-desc {
    color: #ddd;
    font-size: 1em;
    line-height: 1.7;
    margin: 0;
}

.equipo-nota {
    background: rgba(255, 193, 7, 0.08);
    border-left: 4px solid #ffc107;
    padding: 20px 25px;
    border-radius: 0 8px 8px 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    font-size: 1.05em;
    color: #ddd;
}

.equipo-nota i {
    color: #ffc107;
    margin-right: 10px;
}

/* ============================
   TALLER
   ============================ */
.taller-section {
    margin: 80px 0;
    padding: 0 20px;
}

.taller-intro {
    font-size: 1.15em;
    color: #ddd;
    text-align: center;
    margin-bottom: 50px;
}

.taller-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.taller-info {
    background: rgba(42, 42, 42, 0.7);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
}

.taller-info:hover {
    border-color: #ffc107;
}

.taller-info h3 {
    color: #ffc107;
    font-size: 1.4em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.taller-info p {
    color: #ddd;
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 15px;
}

.taller-highlight {
    background: rgba(255, 193, 7, 0.08);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #ffc107;
    font-size: 0.95em;
}

.taller-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.taller-list li {
    color: #ddd;
    font-size: 1em;
    line-height: 2;
    padding-left: 30px;
    position: relative;
}

.taller-list li i {
    color: #25D366;
    position: absolute;
    left: 0;
    top: 2px;
}

.taller-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.taller-steps li {
    color: #ddd;
    font-size: 1em;
    line-height: 2;
    padding-left: 40px;
    position: relative;
    counter-increment: step-counter;
}

.taller-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #ffc107;
    color: #1a1a1a;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9em;
}

.taller-cta {
    background: rgba(255, 193, 7, 0.05);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 12px;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.taller-cta p {
    color: #ddd;
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 25px;
}

.taller-cta p strong {
    color: #ffc107;
}

.btn-visita-taller {
    background: transparent;
    color: #ffc107;
    border: 2px solid #ffc107;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-visita-taller:hover {
    background: #ffc107;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

/* ============================
   CTA FINAL
   ============================ */
.cta-section {
    text-align: center;
    margin: 80px 0 40px;
    padding: 50px 30px;
    background: rgba(255, 193, 7, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.cta-title {
    font-size: 2.2em;
    color: #ffc107;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-subtitle {
    font-size: 1.2em;
    color: #ddd;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    cursor: pointer;
    margin: 5px;
}

.btn-llamada {
    background: #ffc107;
    color: #1a1a1a;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 2px solid #ffc107;
    min-width: 280px;
    justify-content: center;
}

.btn-llamada:hover {
    background: #e0a800;
    border-color: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.2);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 2px solid #25D366;
    min-width: 280px;
    justify-content: center;
}

.btn-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
}

/* ============================
   FOOTER
   ============================ */
.main-footer {
    background-color: rgba(0, 0, 0, 0.85);
    border-top: 1px solid rgba(255, 193, 7, 0.2);
    padding: 30px 20px;
    margin-top: 60px;
    text-align: center;
}

.footer-content a {
    color: #ffc107;
    text-decoration: none;
    font-weight: bold;
    margin: 0 15px;
}

.footer-content a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-content p {
    margin: 10px 0;
    color: #aaa;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .hamburger {
        display: block;
    }

    .container {
        padding: 25px 20px;
    }

    .nosotros-hero-modern {
        padding: 40px 15px;
        margin: -20px -20px 30px -20px;
    }

    .nosotros-title-hero {
        font-size: 2em;
    }

    .nosotros-subtitle-hero {
        font-size: 1.1em;
    }

    .cifras-section {
        padding: 40px 15px;
        margin: 30px -20px;
    }

    .cifras-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .fundador-section {
        padding: 40px 15px;
        margin: 40px -20px;
    }

    .fundador-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .foto-redonda {
        max-width: 200px;
        height: 200px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-llamada, .btn-whatsapp {
        width: 100%;
        max-width: 300px;
    }

    /* Timeline responsive */
    .timeline-section {
        padding: 0 15px;
    }

    .timeline-grid {
        grid-template-columns: 1fr;
    }

    .timeline-year {
        width: 80px;
        height: 80px;
        font-size: 1.5em;
    }

    /* Equipo responsive */
    .equipo-section {
        padding: 0 15px;
    }

    .equipo-grid {
        grid-template-columns: 1fr;
    }

    /* Taller responsive */
    .taller-section {
        padding: 0 15px;
    }

    .taller-content {
        grid-template-columns: 1fr;
    }

    .taller-cta {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .nosotros-title-hero {
        font-size: 1.6em;
    }

    .nosotros-subtitle-hero {
        font-size: 1em;
    }

    .cifras-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cifra-numero {
        font-size: 2.5em;
    }

    .fundador-cita {
        padding: 20px;
        font-size: 1em;
    }

    .cta-title {
        font-size: 1.8em;
    }

    /* Timeline mobile */
    .timeline-year {
        width: 70px;
        height: 70px;
        font-size: 1.3em;
    }

    .timeline-content h3 {
        font-size: 1.2em;
    }

    /* Equipo mobile */
    .equipo-card {
        padding: 25px 20px;
    }

    .equipo-icon {
        width: 60px;
        height: 60px;
    }

    .equipo-icon i {
        font-size: 2em;
    }

    /* Taller mobile */
    .taller-info {
        padding: 20px;
    }

    .taller-steps li {
        padding-left: 35px;
    }

    .taller-steps li::before {
        width: 24px;
        height: 24px;
        font-size: 0.8em;
    }
}
