/* =============================================
   FUNDACIÓN VÉLEZ - ESTILOS RESPONSIVE
   Versión: 1.0
   Autor: Webzi
   Fecha: 2025
   
   TABLA DE CONTENIDOS:
   1. Variables Responsive
   2. Desktop Extra Grande (1920px+)
   3. Desktop Grande (1536px - 1919px)
   4. Desktop Estándar (1280px - 1535px)
   5. Laptop (1024px - 1279px)
   6. Tablet Landscape (768px - 1023px)
   7. Tablet Portrait (576px - 767px)
   8. Mobile Grande (480px - 575px)
   9. Mobile Mediano (375px - 479px)
   10. Mobile Pequeño (320px - 374px)
   11. Orientación y Aspect Ratio
   12. Dispositivos Específicos
   13. Accesibilidad Responsive
   14. Print Styles Detallados
   15. Navegadores y Características Especiales
   ============================================= */

/* =============================================
   1. VARIABLES RESPONSIVE
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Variables dinámicas según viewport */
@media (max-width: 1920px) {
    :root {
        --container-max-width: 1400px;
        --header-height: 85px;
        --section-padding: 80px;
    }
}

@media (max-width: 1536px) {
    :root {
        --container-max-width: 1280px;
        --header-height: 80px;
        --section-padding: 70px;
    }
}

@media (max-width: 1280px) {
    :root {
        --container-max-width: 1140px;
        --header-height: 75px;
        --section-padding: 60px;
    }
}

@media (max-width: 1024px) {
    :root {
        --container-max-width: 960px;
        --header-height: 70px;
        --section-padding: 50px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-max-width: 720px;
        --header-height: 65px;
        --section-padding: 40px;
    }
}

@media (max-width: 576px) {
    :root {
        --container-max-width: 540px;
        --header-height: 60px;
        --section-padding: 30px;
    }
}

/* =============================================
   2. DESKTOP EXTRA GRANDE (1920px+)
   ============================================= */
@media (min-width: 1920px) {
    /* Container */
    .container {
        max-width: 1600px;
    }
    
    /* Typography */
    body {
        font-size: 18px;
    }
    
    h1 {
        font-size: 4rem;
        line-height: 1.1;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    h3 {
        font-size: 2.25rem;
    }
    
    /* Header */
    .header {
        padding: 1.5rem 0;
    }
    
    .cMenu {
        padding: 0 3rem;
    }
    
    .logo img,
    .logo svg {
        height: 65px;
    }
    
    .optMen li a {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    
    /* Hero Section */
    .hPage {
        min-height: 600px;
    }
    
    .txtHead h2 {
        font-size: 4.5rem;
        margin-bottom: 2rem;
    }
    
    /* Cards */
    .cInfoDa {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .filDa {
        padding: 3rem;
    }
    
    .icon {
        width: 70px;
        height: 70px;
    }
    
    .icon i {
        font-size: 2rem;
    }
    
    /* Forms */
    .cForm {
        max-width: 1200px;
        padding: 5rem 4rem;
    }
    
    input[type="text"],
    input[type="email"],
    textarea,
    select {
        font-size: 1.125rem;
        padding: 1.25rem 1.5rem;
    }
    
    /* Footer */
    .footer {
        padding: 6rem 0 2rem;
    }
    
    .filFoo {
        grid-template-columns: 1fr 3fr 1fr;
        gap: 4rem;
    }
    
    .l-foo img,
    .l-foo svg {
        height: 80px;
    }
    
    /* Floating Buttons */
    .btnFlo {
        right: 3rem;
        bottom: 3rem;
    }
    
    .btnFlo a {
        width: 70px;
        height: 70px;
    }
    
    .btnTop {
        width: 55px;
        height: 55px;
        right: 3rem;
    }
}

/* 4K Screens */
@media (min-width: 2560px) {
    .container {
        max-width: 2000px;
    }
    
    body {
        font-size: 20px;
    }
    
    h1 {
        font-size: 5rem;
    }
    
    .hPage {
        min-height: 800px;
    }
}

/* =============================================
   3. DESKTOP GRANDE (1536px - 1919px)
   ============================================= */
@media (min-width: 1536px) and (max-width: 1919px) {
    /* Container */
    .container {
        max-width: 1400px;
        padding: 0 2.5rem;
    }
    
    /* Typography adjustments */
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.75rem;
    }
    
    /* Header */
    .cMenu {
        padding: 1.25rem 2.5rem;
    }
    
    .logo img,
    .logo svg {
        height: 60px;
    }
    
    /* Hero */
    .hPage {
        min-height: 500px;
    }
    
    /* Grid adjustments */
    .cInfoDa {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    /* Form */
    .cForm {
        max-width: 1100px;
        padding: 4rem 3rem;
    }
}

/* =============================================
   4. DESKTOP ESTÁNDAR (1280px - 1535px)
   ============================================= */
@media (min-width: 1280px) and (max-width: 1535px) {
    /* Container */
    .container {
        max-width: 1200px;
        padding: 0 2rem;
    }
    
    /* Typography */
    h1 {
        font-size: 3.25rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    h3 {
        font-size: 2rem;
    }
    
    /* Header */
    .cMenu {
        padding: 1.25rem 2rem;
    }
    
    /* Hero */
    .hPage {
        min-height: 450px;
    }
    
    .txtHead h2 {
        font-size: 3.5rem;
    }
    
    /* Cards Grid */
    .cInfoDa {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    /* Form */
    .cForm {
        max-width: 1000px;
    }
}

/* =============================================
   5. LAPTOP (1024px - 1279px)
   ============================================= */
@media (min-width: 1024px) and (max-width: 1279px) {
    /* Container */
    .container {
        max-width: 980px;
        padding: 0 1.5rem;
    }
    
    /* Typography */
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    h3 {
        font-size: 1.75rem;
    }
    
    /* Header adjustments */
    .cMenu {
        padding: 1rem 1.5rem;
    }
    
    .optMen {
        gap: 1.25rem;
    }
    
    .optMen li a {
        font-size: 0.875rem;
    }
    
    .optRedes {
        gap: 0.75rem;
    }
    
    .cTels {
        display: none;
    }
    
    /* Hero */
    .hPage {
        min-height: 400px;
    }
    
    /* Grid adjustments */
    .cInfoDa {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Form */
    .cForm {
        max-width: 800px;
        padding: 3rem 2rem;
    }
    
    /* Footer */
    .filFoo {
        grid-template-columns: 1fr 2fr 1fr;
    }
}

/* =============================================
   6. TABLET LANDSCAPE (768px - 1023px)
   ============================================= */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Global adjustments */
    body {
        font-size: 15px;
    }
    
    /* Container */
    .container {
        max-width: 750px;
        padding: 0 1.25rem;
    }
    
    /* Typography */
    h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    h2 {
        font-size: 2rem;
        margin-bottom: 0.875rem;
    }
    
    h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    /* Header Mobile Menu */
    .header {
        box-shadow: 0 2px 10px rgba(0, 59, 92, 0.1);
    }
    
    .cMenu {
        padding: 0.875rem 1.25rem;
    }
    
    .btnMob {
        display: flex;
    }
    
    .optionsMenu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-blanco);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        flex-direction: column;
        padding: 2rem;
        overflow-y: auto;
        z-index: 999;
    }
    
    .optionsMenu.active {
        transform: translateX(0);
    }
    
    .optMen {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .optMen li {
        width: 100%;
        border-bottom: 1px solid var(--color-gris-border);
    }
    
    .optMen li a {
        display: block;
        padding: 1rem;
        font-size: 1rem;
    }
    
    .optRedes {
        margin-top: 2rem;
        justify-content: center;
    }
    
    .cTels {
        margin-top: 1.5rem;
        text-align: center;
    }
    
    .ctaAyuda {
        position: absolute;
        right: 70px;
        top: 50%;
        transform: translateY(-50%);
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    /* Hero Section */
    .hPage {
        min-height: 350px;
    }
    
    .txtHead {
        padding: 3rem 1.5rem;
    }
    
    .txtHead h2 {
        font-size: 2.5rem;
        letter-spacing: 0.05em;
    }
    
    /* Content Sections */
    .cInfoPage {
        padding: 3rem 0;
    }
    
    .hSect {
        margin-bottom: 2.5rem;
    }
    
    .hSect h2 {
        font-size: 2rem;
    }
    
    /* Cards Grid */
    .cInfoDa {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .filDa {
        padding: 1.75rem;
    }
    
    .icon {
        width: 45px;
        height: 45px;
    }
    
    .icon i {
        font-size: 1.25rem;
    }
    
    /* Form */
    .cForm {
        max-width: 100%;
        padding: 2.5rem 1.5rem;
        border-radius: 1rem;
    }
    
    .filForm > div {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Modal */
    .txtConfir {
        padding: 2.5rem;
        max-width: 450px;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 1rem;
    }
    
    .filFoo {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .colFoo.cRedes {
        text-align: center;
    }
    
    .colFoo.cRedes .optRedes {
        justify-content: center;
    }
    
    .f02 .optMen {
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
    }
    
    /* Floating Buttons */
    .btnFlo {
        right: 1.25rem;
        bottom: 1.25rem;
        gap: 0.75rem;
    }
    
    .btnFlo a {
        width: 55px;
        height: 55px;
    }
    
    .btnTop {
        right: 1.25rem;
        bottom: 300px;
        width: 42px;
        height: 42px;
    }
}

/* =============================================
   7. TABLET PORTRAIT (576px - 767px)
   ============================================= */
@media (min-width: 576px) and (max-width: 767px) {
    /* Global */
    body {
        font-size: 15px;
    }
    
    /* Container */
    .container {
        max-width: 540px;
        padding: 0 1rem;
    }
    
    /* Typography */
    h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.875rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.25rem;
    }
    
    /* Header */
    .header {
        position: sticky;
        top: 0;
    }
    
    .cMenu {
        padding: 0.75rem 1rem;
    }
    
    .logo img,
    .logo svg {
        height: 45px;
    }
    
    .btnMob {
        display: flex;
        width: 28px;
        height: 28px;
    }
    
    .optionsMenu {
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-blanco);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        flex-direction: column;
        padding: 1.5rem;
        overflow-y: auto;
        z-index: 999;
    }
    
    .optionsMenu.active {
        transform: translateX(0);
    }
    
    .optMen {
        flex-direction: column;
        width: 100%;
    }
    
    .optMen li a {
        display: block;
        padding: 0.875rem;
        font-size: 0.9375rem;
        border-bottom: 1px solid var(--color-gris-border);
    }
    
    .ctaAyuda {
        display: none;
    }
    
    /* Hero */
    .contGen {
        margin-top: 65px;
    }
    
    .hPage {
        min-height: 300px;
        background-attachment: scroll;
    }
    
    .txtHead {
        padding: 2.5rem 1rem;
    }
    
    .txtHead h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .bread {
        font-size: 0.875rem;
    }
    
    /* Content */
    .cInfoPage {
        padding: 2.5rem 0;
    }
    
    .hSect {
        margin-bottom: 2rem;
    }
    
    .hSect h2 {
        font-size: 1.75rem;
    }
    
    .hSect h2::after {
        width: 50px;
        height: 3px;
    }
    
    /* Cards */
    .cInfoDa {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .filDa {
        padding: 1.5rem;
    }
    
    .filDa > div:first-child {
        font-size: 1rem;
        gap: 0.75rem;
    }
    
    .icon {
        width: 42px;
        height: 42px;
    }
    
    .icon i {
        font-size: 1.125rem;
    }
    
    /* Form */
    .cForm {
        padding: 2rem 1.25rem;
        border-radius: 0.75rem;
    }
    
    .filForm > div {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
    
    input[type="text"],
    input[type="email"],
    textarea,
    select {
        font-size: 0.9375rem;
        padding: 0.875rem 1rem;
    }
    
    textarea {
        min-height: 100px;
    }
    
    .cButton {
        margin-top: 1.5rem;
    }
    
    .cta {
        padding: 0.875rem 2rem;
        font-size: 0.875rem;
    }
    
    /* Modal */
    .lbConfir {
        padding: 1rem;
    }
    
    .txtConfir {
        padding: 2rem 1.5rem;
        border-radius: 0.75rem;
    }
    
    .txtConfir h3 {
        font-size: 1.5rem;
    }
    
    .txtConfir figure img,
    .txtConfir figure svg {
        width: 60px;
        height: 60px;
    }
    
    /* Footer */
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .filFoo {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .l-foo img,
    .l-foo svg {
        height: 50px;
    }
    
    .colFoo.cBtn .cta02 {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .f02 {
        padding: 1rem 0;
    }
    
    .f02 .optMen {
        flex-wrap: wrap;
        gap: 0.75rem 1.25rem;
        padding: 0 1rem;
    }
    
    .f02 .optMen a {
        font-size: 0.75rem;
    }
    
    /* Floating Buttons */
    .btnFlo {
        right: 1rem;
        bottom: 1rem;
        gap: 0.625rem;
    }
    
    .btnFlo a {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .btnTop {
        right: 1rem;
        bottom: 280px;
        width: 40px;
        height: 40px;
    }
    
    /* Map */
    .mapFull {
        height: 350px;
    }
}

/* =============================================
   8. MOBILE GRANDE (480px - 575px)
   ============================================= */
@media (min-width: 480px) and (max-width: 575px) {
    /* Container */
    .container {
        padding: 0 0.875rem;
    }
    
    /* Typography */
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.625rem;
    }
    
    h3 {
        font-size: 1.375rem;
    }
    
    /* Header */
    .cMenu {
        padding: 0.625rem 0.875rem;
    }
    
    .logo img,
    .logo svg {
        height: 42px;
    }
    
    /* Hero */
    .hPage {
        min-height: 280px;
    }
    
    .txtHead {
        padding: 2rem 0.875rem;
    }
    
    .txtHead h2 {
        font-size: 1.75rem;
    }
    
    /* Content */
    .cInfoPage {
        padding: 2rem 0;
    }
    
    .hSect h2 {
        font-size: 1.625rem;
    }
    
    /* Cards */
    .filDa {
        padding: 1.25rem;
    }
    
    /* Form */
    .cForm {
        padding: 1.75rem 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 0.875rem;
    }
}

/* =============================================
   9. MOBILE MEDIANO (375px - 479px)
   ============================================= */
@media (min-width: 375px) and (max-width: 479px) {
    /* Container */
    .container {
        padding: 0 0.75rem;
    }
    
    /* Typography */
    body {
        font-size: 14px;
        line-height: 1.5;
    }
    
    h1 {
        font-size: 1.875rem;
        margin-bottom: 0.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
        margin-bottom: 0.625rem;
    }
    
    h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    p {
        margin-bottom: 0.875rem;
    }
    
    /* Header */
    .header {
        box-shadow: 0 2px 8px rgba(0, 59, 92, 0.08);
    }
    
    .cMenu {
        padding: 0.625rem 0.75rem;
    }
    
    .logo img,
    .logo svg {
        height: 40px;
    }
    
    .btnMob {
        width: 26px;
        height: 26px;
    }
    
    .btnMob span {
        height: 2.5px;
    }
    
    .optionsMenu {
        top: 60px;
        padding: 1.25rem 0.75rem;
    }
    
    .optMen li a {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    /* Hero */
    .contGen {
        margin-top: 60px;
    }
    
    .hPage {
        min-height: 250px;
    }
    
    .hPage::after {
        height: 60px;
    }
    
    .txtHead {
        padding: 1.75rem 0.75rem;
    }
    
    .txtHead h2 {
        font-size: 1.625rem;
        letter-spacing: 0.025em;
        margin-bottom: 0.75rem;
    }
    
    .bread {
        font-size: 0.8125rem;
    }
    
    /* Content */
    .cInfoPage {
        padding: 1.75rem 0;
    }
    
    .hSect {
        margin-bottom: 1.5rem;
    }
    
    .hSect h2 {
        font-size: 1.5rem;
        padding-bottom: 0.75rem;
    }
    
    .hSect h2::after {
        width: 45px;
        height: 3px;
    }
    
    .hSect p {
        font-size: 0.875rem;
        margin-top: 0.75rem;
    }
    
    /* Cards */
    .cInfoDa {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .filDa {
        padding: 1.25rem;
        border-radius: 0.625rem;
    }
    
    .filDa::before {
        height: 3px;
    }
    
    .filDa > div:first-child {
        font-size: 0.9375rem;
        gap: 0.625rem;
        margin-bottom: 0.75rem;
    }
    
    .icon {
        width: 38px;
        height: 38px;
    }
    
    .icon i {
        font-size: 1rem;
    }
    
    .filDa > div:last-child {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    
    /* Form */
    .cForm {
        padding: 1.5rem 0.875rem;
        border-radius: 0.625rem;
    }
    
    .cForm::before {
        height: 3px;
    }
    
    .formu {
        margin-top: 1.25rem;
    }
    
    .filForm {
        margin-bottom: 1rem;
    }
    
    .filForm > div {
        gap: 0.75rem;
    }
    
    input[type="text"],
    input[type="email"],
    textarea,
    select {
        font-size: 0.875rem;
        padding: 0.75rem 0.875rem;
        border-radius: 0.5rem;
    }
    
    textarea {
        min-height: 90px;
    }
    
    .arrow {
        right: 0.875rem;
    }
    
    label[id^="MsjError"] {
        font-size: 0.75rem;
        margin-top: 0.25rem;
    }
    
    .cButton {
        margin-top: 1.25rem;
    }
    
    .cta {
        padding: 0.75rem 1.75rem;
        font-size: 0.8125rem;
        border-radius: 1.5rem;
    }
    
    /* Modal */
    .lbConfir {
        padding: 0.75rem;
    }
    
    .txtConfir {
        padding: 1.75rem 1.25rem;
        border-radius: 0.625rem;
        max-width: 320px;
    }
    
    .txtConfir figure {
        margin-bottom: 1.25rem;
    }
    
    .txtConfir figure img,
    .txtConfir figure svg {
        width: 55px;
        height: 55px;
    }
    
    .txtConfir h3 {
        font-size: 1.25rem;
        margin-bottom: 0.625rem;
    }
    
    .txtConfir p {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .cCta {
        margin-top: 1.25rem;
    }
    
    /* Footer */
    .footer {
        padding: 1.75rem 0 0.75rem;
        margin-top: 2rem;
    }
    
    .footer::before {
        height: 3px;
    }
    
    .f01 {
        padding-bottom: 1.5rem;
    }
    
    .filFoo {
        gap: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .l-foo img,
    .l-foo svg {
        height: 45px;
    }
    
    .colFoo.cBtn .cta02 {
        padding: 0.5rem 1.25rem;
        font-size: 0.8125rem;
    }
    
    .colFoo.cRedes .optRedes a {
        width: 38px;
        height: 38px;
        font-size: 1.125rem;
    }
    
    .legal {
        padding-top: 1.25rem;
        font-size: 0.75rem;
    }
    
    .f02 {
        padding: 0.875rem 0;
    }
    
    .f02 .optMen {
        gap: 0.625rem 1rem;
        padding: 0 0.75rem;
    }
    
    .f02 .optMen a {
        font-size: 0.6875rem;
    }
    
    .webzi-attribution {
        padding: 0.875rem 0;
    }
    
    .webzi-attribution a {
        font-size: 0.75rem;
        gap: 0.5rem;
    }
    
    .webzi-attribution img {
        height: 16px;
    }
    
    /* Floating Buttons */
    .btnFlo {
        right: 0.75rem;
        bottom: 0.75rem;
        gap: 0.5rem;
    }
    
    .btnFlo a {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    .btnFlo a span {
        right: 58px;
        padding: 0.25rem 0.625rem;
        font-size: 0.75rem;
    }
    
    .btnTop {
        right: 0.75rem;
        bottom: 260px;
        width: 38px;
        height: 38px;
    }
    
    .btnTop i {
        font-size: 0.875rem;
    }
    
    /* Map */
    .mapFull {
        height: 300px;
    }
}

/* =============================================
   10. MOBILE PEQUEÑO (320px - 374px)
   ============================================= */
@media (max-width: 374px) {
    /* Container */
    .container {
        padding: 0 0.625rem;
    }
    
    /* Typography */
    body {
        font-size: 13px;
        line-height: 1.5;
    }
    
    h1 {
        font-size: 1.625rem;
    }
    
    h2 {
        font-size: 1.375rem;
    }
    
    h3 {
        font-size: 1.125rem;
    }
    
    h4 {
        font-size: 1rem;
    }
    
    /* Header */
    .cMenu {
        padding: 0.5rem 0.625rem;
    }
    
    .logo img,
    .logo svg {
        height: 35px;
    }
    
    .btnMob {
        width: 24px;
        height: 24px;
        gap: 3px;
    }
    
    .btnMob span {
        height: 2px;
    }
    
    /* Hero */
    .hPage {
        min-height: 220px;
    }
    
    .txtHead {
        padding: 1.5rem 0.625rem;
    }
    
    .txtHead h2 {
        font-size: 1.375rem;
        letter-spacing: 0;
    }
    
    .bread {
        font-size: 0.75rem;
    }
    
    /* Content */
    .cInfoPage {
        padding: 1.5rem 0;
    }
    
    .hSect h2 {
        font-size: 1.25rem;
    }
    
    /* Cards */
    .filDa {
        padding: 1rem;
    }
    
    .icon {
        width: 35px;
        height: 35px;
    }
    
    .icon i {
        font-size: 0.875rem;
    }
    
    /* Form */
    .cForm {
        padding: 1.25rem 0.75rem;
    }
    
    input[type="text"],
    input[type="email"],
    textarea,
    select {
        font-size: 0.8125rem;
        padding: 0.625rem 0.75rem;
    }
    
    .cta {
        padding: 0.625rem 1.5rem;
        font-size: 0.75rem;
    }
    
    /* Footer */
    .l-foo img,
    .l-foo svg {
        height: 40px;
    }
    
    /* Floating Buttons */
    .btnFlo a {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .btnTop {
        width: 35px;
        height: 35px;
    }
}

/* Extra Small Devices (below 320px) */
@media (max-width: 319px) {
    body {
        font-size: 12px;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    .logo img,
    .logo svg {
        height: 30px;
    }
    
    .hPage {
        min-height: 200px;
    }
}

/* =============================================
   11. ORIENTACIÓN Y ASPECT RATIO
   ============================================= */

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .header {
        padding: 0.5rem 0;
    }
    
    .cMenu {
        padding: 0 1rem;
    }
    
    .logo img,
    .logo svg {
        height: 35px;
    }
    
    .hPage {
        min-height: 200px;
    }
    
    .txtHead {
        padding: 1.5rem;
    }
    
    .txtHead h2 {
        font-size: 1.75rem;
    }
    
    .cInfoPage {
        padding: 2rem 0;
    }
    
    .btnFlo {
        bottom: 0.5rem;
        right: 0.5rem;
    }
    
    .btnFlo a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .btnTop {
        display: none;
    }
}

/* Portrait tablets */
@media (min-height: 1024px) and (orientation: portrait) {
    .hPage {
        min-height: 500px;
    }
    
    .txtHead h2 {
        font-size: 3.5rem;
    }
    
    .cInfoPage {
        padding: 5rem 0;
    }
}

/* Wide screens */
@media (min-aspect-ratio: 21/9) {
    .container {
        max-width: 1800px;
    }
    
    .hPage {
        min-height: 400px;
    }
    
    .cInfoDa {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Ultra-wide screens */
@media (min-aspect-ratio: 32/9) {
    .container {
        max-width: 2200px;
    }
    
    .cInfoDa {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* =============================================
   12. DISPOSITIVOS ESPECÍFICOS
   ============================================= */

/* iPhone SE, 6/7/8 */
@media (width: 375px) and (height: 667px) {
    .hPage {
        min-height: 280px;
    }
}

/* iPhone 6/7/8 Plus */
@media (width: 414px) and (height: 736px) {
    .hPage {
        min-height: 320px;
    }
}

/* iPhone X, XS, 11 Pro */
@media (width: 375px) and (height: 812px) {
    /* Safe area for notch */
    .header {
        padding-top: env(safe-area-inset-top);
    }
    
    .btnFlo {
        bottom: calc(1rem + env(safe-area-inset-bottom));
    }
}

/* iPhone XR, 11 */
@media (width: 414px) and (height: 896px) {
    .header {
        padding-top: env(safe-area-inset-top);
    }
    
    .btnFlo {
        bottom: calc(1rem + env(safe-area-inset-bottom));
    }
}

/* iPhone 12, 12 Pro, 13, 13 Pro, 14 */
@media (width: 390px) and (height: 844px) {
    .header {
        padding-top: env(safe-area-inset-top);
    }
    
    .btnFlo {
        bottom: calc(1rem + env(safe-area-inset-bottom));
    }
}

/* iPhone 12 Pro Max, 13 Pro Max, 14 Plus */
@media (width: 428px) and (height: 926px) {
    .header {
        padding-top: env(safe-area-inset-top);
    }
}

/* iPad Mini */
@media (width: 768px) and (height: 1024px) {
    .cInfoDa {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* iPad Air, iPad Pro 9.7" */
@media (width: 834px) and (height: 1112px) {
    .cInfoDa {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* iPad Pro 11" */
@media (width: 834px) and (height: 1194px) {
    .container {
        max-width: 780px;
    }
}

/* iPad Pro 12.9" */
@media (width: 1024px) and (height: 1366px) {
    .container {
        max-width: 960px;
    }
    
    .cInfoDa {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Samsung Galaxy S20, S21 */
@media (width: 360px) and (height: 800px) {
    .hPage {
        min-height: 260px;
    }
}

/* Samsung Galaxy S20+, S21+ */
@media (width: 384px) and (height: 854px) {
    .hPage {
        min-height: 280px;
    }
}

/* Surface Duo */
@media (width: 540px) and (height: 720px) {
    .cInfoDa {
        grid-template-columns: 1fr;
    }
}

/* Fold devices */
@media (width: 280px) and (max-height: 653px) {
    body {
        font-size: 12px;
    }
    
    .logo img,
    .logo svg {
        height: 30px;
    }
    
    .hPage {
        min-height: 180px;
    }
}

/* =============================================
   13. ACCESIBILIDAD RESPONSIVE
   ============================================= */

/* High contrast mode */
@media (prefers-contrast: high) {
    .header {
        border-bottom: 2px solid var(--color-azul-primario);
    }
    
    .filDa {
        border: 2px solid var(--color-azul-primario);
    }
    
    .cta {
        border: 2px solid transparent;
    }
    
    .cta:focus {
        border-color: var(--color-amarillo);
    }
    
    input:focus,
    select:focus,
    textarea:focus {
        outline: 3px solid var(--color-verde-primario);
        outline-offset: 2px;
    }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    :root {
        --color-blanco: #1a1a1a;
        --color-negro: #ffffff;
        --color-gris-fondo: #2a2a2a;
        --color-gris-border: #444444;
    }
    
    body {
        background: #1a1a1a;
        color: #e0e0e0;
    }
    
    .header {
        background: #2a2a2a;
    }
    
    .filDa {
        background: #2a2a2a;
        color: #e0e0e0;
    }
    
    .cForm {
        background: #2a2a2a;
    }
    
    input,
    select,
    textarea {
        background: #1a1a1a;
        color: #e0e0e0;
        border-color: #444;
    }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
    .btnFlo a {
        width: 55px;
        height: 55px;
    }
    
    .cta {
        padding: 1rem 2rem;
    }
    
    input,
    select,
    textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Keyboard navigation */
@media (pointer: fine) {
    a:focus,
    button:focus,
    input:focus,
    select:focus,
    textarea:focus {
        outline: 3px solid var(--color-verde-primario);
        outline-offset: 2px;
    }
}

/* =============================================
   14. PRINT STYLES DETALLADOS
   ============================================= */
@media print {
    /* Reset colors for print */
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    /* Page setup */
    @page {
        margin: 2cm;
        size: A4;
    }
    
    @page :first {
        margin-top: 3cm;
    }
    
    /* Typography for print */
    body {
        font-family: Georgia, serif;
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, h2, h3, h4, h5, h6 {
        font-family: Georgia, serif;
        page-break-after: avoid;
        page-break-inside: avoid;
    }
    
    h1 {
        font-size: 24pt;
    }
    
    h2 {
        font-size: 18pt;
        margin-top: 25pt;
    }
    
    h3 {
        font-size: 14pt;
        margin-top: 20pt;
    }
    
    p {
        orphans: 3;
        widows: 3;
    }
    
    /* Links */
    a {
        text-decoration: underline;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 90%;
    }
    
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }
    
    /* Images */
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    
    /* Hide unnecessary elements */
    .header,
    .footer,
    .btnFlo,
    .btnTop,
    .optRedes,
    .mapFull,
    .webzi-attribution,
    nav,
    aside,
    form,
    iframe,
    video,
    audio,
    .no-print {
        display: none !important;
    }
    
    /* Content adjustments */
    .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }
    
    .contGen {
        margin: 0;
    }
    
    .hPage {
        page-break-after: always;
        min-height: auto;
        padding: 20pt 0;
        text-align: center;
    }
    
    .cInfoPage {
        padding: 0;
    }
    
    .filDa {
        page-break-inside: avoid;
        border: 1pt solid #999;
        margin-bottom: 15pt;
        padding: 10pt;
    }
    
    /* Tables for print */
    table {
        border-collapse: collapse;
        width: 100%;
    }
    
    th, td {
        border: 1pt solid #999;
        padding: 5pt;
    }
    
    thead {
        display: table-header-group;
    }
    
    tr {
        page-break-inside: avoid;
    }
    
    /* QR code for URL */
    .container:after {
        content: "Visita: fundacionvelez.org";
        display: block;
        text-align: center;
        margin-top: 30pt;
        font-size: 14pt;
        font-weight: bold;
    }
}

/* =============================================
   15. NAVEGADORES Y CARACTERÍSTICAS ESPECIALES
   ============================================= */

/* Firefox specific */
@-moz-document url-prefix() {
    select {
        padding-right: 2rem;
    }
    
    input[type="number"] {
        -moz-appearance: textfield;
    }
}

/* Safari specific */
@supports (-webkit-appearance: none) {
    input[type="search"] {
        -webkit-appearance: textfield;
        outline-offset: -2px;
    }
    
    input[type="search"]::-webkit-search-decoration {
        -webkit-appearance: none;
    }
}

/* Edge specific */
@supports (-ms-ime-align: auto) {
    select::-ms-expand {
        display: none;
    }
    
    input::-ms-clear {
        display: none;
    }
}

/* Chrome autofill styles */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: var(--color-gris-oscuro);
    -webkit-box-shadow: 0 0 0 1000px var(--color-blanco) inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* Scrollbar styles */
@media (min-width: 1024px) {
    ::-webkit-scrollbar {
        width: 12px;
        height: 12px;
    }
    
    ::-webkit-scrollbar-track {
        background: var(--color-gris-fondo);
    }
    
    ::-webkit-scrollbar-thumb {
        background: var(--color-azul-primario);
        border-radius: 6px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: var(--color-verde-primario);
    }
}

/* Selection colors */
::selection {
    background: var(--color-verde-primario);
    color: var(--color-blanco);
}

::-moz-selection {
    background: var(--color-verde-primario);
    color: var(--color-blanco);
}

/* Backdrop filter support */
@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
    .header.scrolled {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .lbConfir {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* Grid support fallback */
@supports not (display: grid) {
    .cInfoDa {
        display: flex;
        flex-wrap: wrap;
    }
    
    .filDa {
        flex: 1 1 300px;
        margin: 0.5rem;
    }
}

/* Sticky position fallback */
@supports not (position: sticky) {
    .header {
        position: fixed;
    }
}

/* CSS Variables fallback for IE11 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    /* Fallback colors for IE11 */
    .header {
        background: #FFFFFF;
    }
    
    .cta {
        background: #82C341;
    }
    
    h1, h2, h3 {
        color: #003B5C;
    }
}

/* =============================================
   FIN DEL ARCHIVO RESPONSIVE.CSS
   ============================================= */