
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


*,
*::before,
*::after{
    margin: 0;
    padding: 0;
    box-sizing: inherit;
    list-style: none;
}

body{
    
    min-height: 100vh;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-transform: capitalize;
}

header{
    position:fixed;
    top:0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}
.logo{
    font-size: 25px;
    text-transform: uppercase ;
    color: #1a1a1a;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
.logo:hover {
    color: #2ab603;
}
.navigation ul{
    list-style: none;
}
.header .navigation ul li{
    float: left;
    position: relative;
}
.header .navigation ul li > a{
    font-size: 16px;
    color: #1a1a1a;
    text-decoration: none;
    padding: 22px 18px;
    display: block;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}
.header .navigation ul li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #2ab603, #228b22);
    transition: width 0.3s ease;
}
.header .navigation ul li > a:hover {
    color: #2ab603;
    background-color: rgba(42, 182, 3, 0.05);
}
.header .navigation ul li > a:hover::after {
    width: 80%;
}
.header .navigation ul li ul{
    position: absolute;
    right: 0;
    width: 280px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    margin-top: 5px;
    padding: 8px 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    animation: slideDown 0.2s ease;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.header .navigation ul li ul li a{
    font-size: 14px;
    text-transform: capitalize;
    padding: 12px 20px;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}
.header .navigation ul li ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    transition: width 0.3s ease;
    z-index: 0;
    border-radius: 0 4px 4px 0;
}
.header .navigation ul li ul li ul{
    position: absolute;
    top: 0;
    right: 280px;
    width: 280px;
}
.header .navigation ul li ul li{
    width: 100%;
}
.header .navigation ul li:hover > ul{
    display: initial;
}

#toggle,
header label{
    color: black;
    display: none;
    cursor: pointer;
    
}

.menu{
    width: 45px;
    height: 35px;
}
.menu-hor > li > a {
    display: block;
    padding: 15px 20px;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}
.menu-hor > li > a:hover {
    background-color: rgba(42, 182, 3, 0.08);
    color: #2ab603;
    transform: translateY(-2px);
}

/* Colores por rama - mejorados con efectos visuales */
.menu-vertical a[href="#0"]:hover,
.menu-vertical1 a[href*="Castores"]:hover,
.menu-vertical1 a[href*="castores"]:hover,
.menu-vertical1 a[href*="ca"]:hover {
    color: #FF8C00 !important;
    background: linear-gradient(90deg, rgba(255, 140, 0, 0.1), transparent) !important;
}
.menu-vertical a[href="#0"]:hover::before,
.menu-vertical1 a[href*="Castores"]:hover::before,
.menu-vertical1 a[href*="castores"]:hover::before,
.menu-vertical1 a[href*="ca"]:hover::before {
    background: #FF8C00;
    width: 4px;
}
            
.menu-vertical a[href="#1"]:hover,
.menu-vertical1 a[href*="Manada"]:hover,
.menu-vertical1 a[href*="manada"]:hover,
.menu-vertical1 a[href*="m.html"]:hover {
    color: #FFD700 !important;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), transparent) !important;
}
.menu-vertical a[href="#1"]:hover::before,
.menu-vertical1 a[href*="Manada"]:hover::before,
.menu-vertical1 a[href*="manada"]:hover::before,
.menu-vertical1 a[href*="m.html"]:hover::before {
    background: #FFD700;
    width: 4px;
}
            
.menu-vertical a[href="#2"]:hover,
.menu-vertical1 a[href*="Unidad"]:hover,
.menu-vertical1 a[href*="unidad"]:hover,
.menu-vertical1 a[href*="-u.html"]:hover,
.menu-vertical1 a[href*="Campamentos"]:hover {
    color: #228B22 !important;
    background: linear-gradient(90deg, rgba(34, 139, 34, 0.1), transparent) !important;
}
.menu-vertical a[href="#2"]:hover::before,
.menu-vertical1 a[href*="Unidad"]:hover::before,
.menu-vertical1 a[href*="unidad"]:hover::before,
.menu-vertical1 a[href*="-u.html"]:hover::before,
.menu-vertical1 a[href*="Campamentos"]:hover::before {
    background: #228B22;
    width: 4px;
}
            
.menu-vertical a[href="#3"]:hover,
.menu-vertical1 a[href*="Caminantes"]:hover,
.menu-vertical1 a[href*="caminantes"]:hover,
.menu-vertical1 a[href*="-c.html"]:hover,
.menu-vertical1 a[href*="Empresas"]:hover {
    color: #00BFFF !important;
    background: linear-gradient(90deg, rgba(0, 191, 255, 0.1), transparent) !important;
}
.menu-vertical a[href="#3"]:hover::before,
.menu-vertical1 a[href*="Caminantes"]:hover::before,
.menu-vertical1 a[href*="caminantes"]:hover::before,
.menu-vertical1 a[href*="-c.html"]:hover::before,
.menu-vertical1 a[href*="Empresas"]:hover::before {
    background: #00BFFF;
    width: 4px;
}
            
.menu-vertical a[href="#4"]:hover,
.menu-vertical1 a[href*="Rovers"]:hover,
.menu-vertical1 a[href*="rovers"]:hover,
.menu-vertical1 a[href*="Historia.html"]:hover,
.menu-vertical1 a[href*="Servicios"]:hover,
.menu-vertical1 a[href*="Partidas"]:hover,
.menu-vertical1 a[href*="Progresiones.html"]:hover {
    color: #DC143C !important;
    background: linear-gradient(90deg, rgba(220, 20, 60, 0.1), transparent) !important;
}
.menu-vertical a[href="#4"]:hover::before,
.menu-vertical1 a[href*="Rovers"]:hover::before,
.menu-vertical1 a[href*="rovers"]:hover::before,
.menu-vertical1 a[href*="Historia.html"]:hover::before,
.menu-vertical1 a[href*="Servicios"]:hover::before,
.menu-vertical1 a[href*="Partidas"]:hover::before,
.menu-vertical1 a[href*="Progresiones.html"]:hover::before {
    background: #DC143C;
    width: 4px;
}

/* Efecto general en hover para submenús */
.menu-vertical a:hover,
.menu-vertical1 a:hover {
    padding-left: 24px;
    transform: translateX(4px);
}



.hero{
    min-height: 100vh;
    background-image: url("fotos/IMG_9019.webp");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: darken;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 10;
    padding: 40px 20px;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2ab603;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1.2s ease;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: fadeInUp 1.4s ease;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.6s ease;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: none;
}

.btn-primary {
    background: linear-gradient(135deg, #2ab603 0%, #228b22 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(42, 182, 3, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 182, 3, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, #FFD700 0%, #FFEB3B 100%);
    color: #333;
    border: 2px solid #FFD700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #FFEB3B 0%, #FFC107 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
    color: #000;
}

.btn-outline {
    background: transparent;
    color: #2ab603;
    border: 2px solid #2ab603;
    padding: 12px 25px;
}

.btn-outline:hover {
    background: #2ab603;
    color: white;
    transform: translateY(-2px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Secciones */
section {
    padding: 80px 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-section {
    background: #f8f9fa;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: center;
}

.about-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2ab603;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    text-transform: none;
}

/* Ramas Section */
.ramas-section {
    background: white;
}

.ramas-logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.rama-logo-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.rama-logo-circle:hover {
    transform: translateY(-8px);
}

.logo-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 4px solid white;
}

.rama-logo-circle:hover .logo-circle {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
}

.logo-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rama-logo-circle:hover .logo-circle::before {
    opacity: 1;
}

.logo-circle img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.rama-logo-circle:hover .logo-circle img {
    transform: scale(1.1);
}

.rama-name {
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    transition: color 0.3s ease;
    text-transform: none;
}

.rama-logo-circle:hover .rama-name {
    color: #2ab603;
}

.ramas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.rama-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.rama-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.rama-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.rama-logo {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.rama-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.rama-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    text-transform: none;
}

.rama-link {
    color: #2ab603;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: none;
}

.rama-link:hover {
    color: #228b22;
    padding-left: 5px;
}

/* Contribute Section */
.contribute-section {
    background: linear-gradient(135deg, #2ab603 0%, #228b22 100%);
    color: white;
}

.contribute-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contribute-section .section-title {
    color: white;
}

.contribute-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-transform: none;
}

.contribute-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contribute-options .btn-outline {
    color: white;
    border-color: white;
}

.contribute-options .btn-outline:hover {
    background: white;
    color: #2ab603;
}

/* Gallery Section */
.gallery-section {
    background: #f8f9fa;
}

.gallery-preview {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.gallery-link {
    text-decoration: none;
    color: inherit;
}

.gallery-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    max-width: 400px;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.gallery-card h3 {
    font-size: 1.5rem;
    margin: 20px 0 15px;
    color: #333;
}

.gallery-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    text-transform: none;
}

.gallery-cta {
    color: #2ab603;
    font-weight: 600;
    text-transform: none;
}

/* Responsive - Tablets y dispositivos medianos */
@media(max-width: 1024px) {
    header {
        padding: 0px 5%;
    }
    
    .logo {
        font-size: 22px;
    }
    
    .header .navigation ul li > a {
        font-size: 15px;
        padding: 18px 15px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .ramas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .about-content {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* Responsive - Tablets pequeñas y móviles grandes */
@media(max-width: 768px) {
    header {
        padding: 0px 4%;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .hero {
        padding-top: 70px;
        min-height: 80vh;
    }
    
    .hero-content {
        padding: 30px 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .ramas-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .ramas-logos-container {
        gap: 30px;
    }
    
    .logo-circle {
        width: 120px;
        height: 120px;
    }
    
    .rama-name {
        font-size: 1rem;
        margin-top: 12px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    section {
        padding: 60px 15px;
    }
    
    .about-content {
        padding: 0 10px;
    }
    
    .about-text {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .rama-card {
        padding: 30px 20px;
    }
    
    .gallery-card {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .contribute-text {
        font-size: 1rem;
        padding: 0 15px;
    }
}

/* Responsive - Móviles pequeños */
@media(max-width: 480px) {
    header {
        padding: 0px 3%;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .hero {
        min-height: 70vh;
        padding-top: 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    section {
        padding: 50px 10px;
    }
    
    .rama-card {
        padding: 25px 15px;
    }
    
    .ramas-logos-container {
        gap: 25px;
    }
    
    .logo-circle {
        width: 100px;
        height: 100px;
    }
    
    .rama-name {
        font-size: 0.95rem;
        margin-top: 10px;
    }
    
    .rama-icon img {
        max-width: 80px;
        max-height: 80px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .gallery-card {
        padding: 25px 15px;
        margin: 0 10px;
    }
    
    .contribute-section {
        padding: 50px 10px;
    }
}

.container{
    max-width: 1200px;
    margin: 0 auto;
    

}
.footer{
    background-color: #24262B;
    padding: 80px 0;
    height: 360px;
}
.footer-row{
    display: flex;
    flex-wrap: wrap;
}
.footer-links{
    width: 25%;
    padding: 0 15px;
}
.footer-links h4{
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 500;
    border-bottom: 2px solid #00ff04;
    padding-bottom: 10px;
    display: inline-block;
}
.footer-links ul li a{
    font-size: 18px;
    text-decoration: none;
    color: #BBBBBB;
    display: block;
    margin-bottom: 15px;
    transition: all .3s ease;

}
.footer-links ul li a:hover{
    color: #FFFFFF;
    padding-left: 6px;
}
.social-link a {
    display: inline-block;
    min-height: 40px;
    width: 40px;
    background-color:rgba(255, 255, 255, 0.2) ;
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius:50%;
    color: #FFFFFF;
    transition: all .5s ease;
 

}
.social-link a:hover{
    background-color: rgba(255, 255, 0, 0.572);
}
.image img {
    max-width: 100%; /* Ajusta la anchura máxima según necesites */
    height: auto;
}


@media(max-width:991px){
    .footer{
        height: auto;
        padding: 60px 20px 40px;
    }
    
    .header label{
        display: initial;
        font-size: 24px;
        color: #1a1a1a;
    }
    
    .header{
        padding: 15px 5%;
        background: rgba(255, 255, 255, 0.98);
    }
    
    .header .navigation{
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        display: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .header .navigation ul li{
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .header .navigation ul li a{
        padding: 15px 30px 15px 10%;
        color: #1a1a1a;
        font-size: 16px;
    }
    
    .header .navigation ul li ul{
        position: relative;
        width: 100%;
        left: 0;
        box-shadow: none;
        margin-top: 0;
        border-radius: 0;
        border: none;
        background: rgba(0, 0, 0, 0.02);
    }
    
    .header .navigation ul li ul li{
        background-color: rgba(0, 0, 0, 0.02);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .header .navigation ul li ul li a {
        padding-left: 15%;
        font-size: 15px;
    }
    
    .header .navigation ul li ul li ul{
        position: relative;
        width: 100%;
        left: 0;
        background: rgba(0, 0, 0, 0.04);
    }
    
    .header .navigation ul li ul li ul li a {
        padding-left: 20%;
        font-size: 14px;
    }
    
    .menu-vertical1{
        text-align: left;
    }

    #toggle:checked ~ .navigation {
        display: block;
        animation: slideDown 0.3s ease;
    }
   
    .footer-row{
        text-align: center;
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links{
        width: 100%;
        margin-bottom: 20px;
    }
    
    .footer-links h4 {
        font-size: 18px;
    }
    
    .footer-links ul li a {
        font-size: 16px;
    }
    
    .social-link {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }
    
    .image {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    
}

/* Estilos responsive globales para secciones de ramas */
@media(max-width: 768px) {
    .rama-hero {
        min-height: 40vh !important;
        padding-top: 70px !important;
    }
    
    .rama-hero-content {
        padding: 30px 15px !important;
    }
    
    .rama-logo-hero img {
        max-width: 150px !important;
        max-height: 150px !important;
    }
    
    .rama-hero-title {
        font-size: 2.5rem !important;
    }
    
    .rama-hero-subtitle {
        font-size: 1.2rem !important;
    }
    
    .historia-section,
    .historia-grupo-section,
    .progresiones-intro,
    .progresiones-section {
        padding: 50px 15px !important;
    }
    
    .historia-title,
    .section-title {
        font-size: 2rem !important;
        margin-bottom: 30px !important;
    }
    
    .historia-text,
    .intro-text {
        font-size: 1rem !important;
    }
    
    .historia-content,
    .intro-content {
        padding: 0 10px;
    }
    
    .progresiones-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .progresion-card {
        padding: 30px 20px !important;
    }
    
    .cards-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .drive-card {
        padding: 30px 20px !important;
    }
    
    .page-title h1 {
        font-size: clamp(28px, 6vw, 40px) !important;
    }
    
    .page-title p {
        font-size: clamp(14px, 4vw, 18px) !important;
    }
    
    .page-container {
        padding: 30px 15px !important;
    }
    
    .table-container {
        padding: 20px 15px !important;
        overflow-x: auto;
    }
    
    table {
        font-size: 0.9rem !important;
    }
    
    th, td {
        padding: 12px 10px !important;
        font-size: 0.9rem !important;
    }
}

@media(max-width: 480px) {
    .header {
        padding: 12px 3%;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .header label {
        font-size: 22px;
    }
    
    .header .navigation ul li a {
        padding: 12px 20px 12px 8%;
        font-size: 15px;
    }
    
    .header .navigation ul li ul li a {
        padding-left: 12%;
        font-size: 14px;
    }
    
    .header .navigation ul li ul li ul li a {
        padding-left: 16%;
        font-size: 13px;
    }
    
    .footer {
        padding: 40px 15px 30px;
    }
    
    .footer-links h4 {
        font-size: 16px;
    }
    
    .footer-links ul li a {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .social-link a {
        min-height: 35px;
        width: 35px;
        line-height: 35px;
        font-size: 14px;
    }
    
    
    .rama-hero {
        min-height: 35vh !important;
        padding-top: 60px !important;
    }
    
    .rama-logo-hero img {
        max-width: 120px !important;
        max-height: 120px !important;
    }
    
    .rama-hero-title {
        font-size: 2rem !important;
    }
    
    .rama-hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    .historia-section,
    .historia-grupo-section,
    .progresiones-intro,
    .progresiones-section {
        padding: 40px 10px !important;
    }
    
    .historia-title,
    .section-title {
        font-size: 1.75rem !important;
        margin-bottom: 25px !important;
    }
    
    .historia-text,
    .intro-text {
        font-size: 0.95rem !important;
    }
    
    .progresion-card {
        padding: 25px 15px !important;
    }
    
    .drive-card {
        padding: 25px 15px !important;
    }
    
    .page-title h1 {
        font-size: 28px !important;
    }
    
    .page-title p {
        font-size: 16px !important;
    }
    
    .page-container {
        padding: 20px 10px !important;
    }
    
    table {
        font-size: 0.85rem !important;
    }
    
    th, td {
        padding: 10px 8px !important;
        font-size: 0.85rem !important;
    }
}

