html, body {
    margin: 0;
    padding: 0;
    font-family: "Google Sans", sans-serif;
    min-height: 100%;
    /* Quita overflow: hidden; */
}

p {
    margin: 3px 0;
}

h2 {
    margin: 5px 0 3px 0;
    font-size: 12px;
    text-align: left;
}

h3 {
    margin: 4px 0 2px 0;
    font-size: 12px;
    text-align: left;
    break-inside: avoid;
}

.separation {
    margin: 0;
    padding: 25px;
    background-color: rgb(243, 244, 244) !important;

}

.cuerpo {
    margin: 0;
    padding: 0;
    background-color: rgb(230, 239, 243) !important;
}
.cabecera {
    background-color: #f8f9fa;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: #0861ba;
    font-family: "Google Sans", sans-serif;
    position: relative;
    padding: 6px 0;
    margin: 0;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    background-color: #f8f9fa;
}

.apoio {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    background-color: #f8f9fa;
}

.menu {
    background-color: #1884f1;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    position: relative;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    gap: 10px;
    flex-wrap: wrap;
}


.logo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0;
    object-fit: cover;
}

.menu a {
    white-space: nowrap;
    font-size: 12px;
    padding: 2px 5px;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.menu a:hover {
    background-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    z-index: 1000;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Menu Items Container */
.menu-items {
    display: flex;
    gap: 10px;
    flex-direction: row;
}

.menu-items a {
    white-space: nowrap;
    font-size: 12px;
    padding: 2px 5px;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.menu-items a:hover {
    background-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* WhatsApp Button Styles */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: all 0.3s ease;
     background-color: #ffffffc3;
}

.whatsapp-btn:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn svg {
    width: 35px;
    height: 35px;
   
}

.whatsapp-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 2px;
    
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    
}

.whatsapp-text {
    font-size: 8px;
    font-weight: 600;
    color: rgb(10, 10, 10);
    text-align: center;
    line-height: 1;
    max-width: 55px;
    word-wrap: break-word;
    
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0;
    font-family: "Google Sans", sans-serif;
    padding: 10px 15px;
}

.contact-info img {
    width: 100%;
    max-width: 400px;
    height: 190px;
    object-fit: cover;
    margin-bottom: 8px;
    align-self: center;
}

.contact-info h2 {
    margin: 5px 0 3px 0;
    font-size: 15px;
    text-align: left;
    width: 100%;
}

.contact-info h3 {
    margin: 4px 0 1px 0;
    font-size: 12px;
    text-align: left;
    width: 100%;
}

.donations-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0;
    width: 100%;
    margin-top: 3px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.donations-grid::-webkit-scrollbar {
    height: 8px;
}

.donations-grid::-webkit-scrollbar-thumb {
    background: rgba(24, 132, 241, 0.5);
    border-radius: 99px;
}

.donations-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.25);
}

.donation-item {
    flex: 0 0 280px;
    min-width: 260px;
    background-color: #ffffff;
    border-radius: 14px;
    padding: 14px 12px;
    border-left: none;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.08);
    scroll-snap-align: start;
}

.donation-item h3 {
    margin: 3px 0 8px 0;
    font-size: 13px;
    text-align: left;
    width: 100%;
}

.donation-item ul {
    margin: 2px 0;
    padding-left: 18px;
}

.donation-item li {
    margin: 2px 0;
    font-size: 11px;
    line-height: 1.2;
}

.contact-info p,
.donation-info p {
    margin: 3px 0;
    line-height: 1.3;
    font-size: 12px;
    text-align: left;
    width: 100%;
}

.contact-info ul {
    margin: 2px 0 5px 0;
    padding-left: 18px;
}

.contact-info li {
    margin: 2px 0;
    font-size: 11px;
    line-height: 1.2;
}

.donation-info {
    padding: 10px 15px;
    margin-top: 0;
    text-align: left;
    width: calc(100% - 30px);
    background-color: #ffffff;
}

.donadores {
    padding: 15px 18px 10px;
    background-color: #f8fbff;
}

.donadores-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.donadores h2 {
    margin: 0;
    font-size: 15px;
    color: #0b3a80;
}

.ver-mas-btn {
    border: none;
    background: #1884f1;
    color: white;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.ver-mas-btn:hover {
    background: #0b3a80;
}

.donadores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.donadores-grid-extra {
    margin-top: 12px;
    display: none;
}

.donadores-grid-extra.expanded {
    display: grid;
}

.donador-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding-bottom: 8px;
}

.donador-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.donador-card p {
    margin: 8px 0 0;
    font-size: 12px;
    font-weight: 600;
    color: #234;
}

.acopio {
    padding: 15px 18px;
}

.maps {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 10px;
    align-items: flex-start;
}

.map-frame {
    flex: 1 1 420px;
    min-width: 280px;
    max-width: 640px;
}

.map-frame iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 16px;
}

.map-text {
    flex: 0 0 300px;
    min-width: 260px;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.map-text h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #0b3a80;
}

.map-text p {
    margin: 0 0 10px 0;
    font-size: 13px;
    line-height: 1.55;
    color: #333;
}

.modal-visor {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-visor.active {
    display: flex;
}

.modal-visor img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.footer {
    background-color: #f8f9fa;
    text-align: center;
    padding: 5px 0;
    margin-top: 0;
    font-size: 11px;
    border-top: 1px solid #ddd;
    position: relative;
    bottom: 0;
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* MEDIA QUERIES PARA RESPONSIVE */

/* Tablets y pantallas medianas (768px y menores) */
@media (max-width: 768px) {
    .menu {
        padding: 6px 8px;
        gap: 8px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-items {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1884f1;
        padding: 10px 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        z-index: 999;
    }

    .menu-items.active {
        display: flex;
    }

    .menu-items a {
        padding: 10px 8px;
        white-space: normal;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
        margin-bottom: 8px;
        font-size: 12px;
    }

    .menu-items a:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .logo img {
        width: 60px;
        height: 60px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
        padding-bottom: 12px;
        margin-bottom: 8px;
    }

    .contact-info img {
        max-width: 100%;
        height: 200px;
    }

    .contact-info {
        padding: 8px 12px;
    }

    .contact-info h2 {
        font-size: 14px;
    }

    .maps {
        flex-direction: column;
        gap: 12px;
    }

    .map-frame {
        flex: 1 1 auto;
        min-width: unset;
        width: 100%;
        max-width: 100%;
    }

    .map-frame iframe {
        height: 300px;
    }

    .map-text {
        flex: 1 1 auto;
        min-width: unset;
        width: 100%;
    }

    .donadores-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    p, .contact-info p, .donation-info p {
        font-size: 13px;
    }

    h2 {
        font-size: 13px;
    }

    h3 {
        font-size: 12px;
    }

    .menu a {
        font-size: 11px;
    }

    .whatsapp-btn {
        width: 62px;
        height: 62px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-btn svg {
        width: 30px;
        height: 30px;
    }

    .whatsapp-icon {
        width: 32px;
        height: 32px;
    }

    .whatsapp-text {
        font-size: 7px;
        max-width: 52px;
    }
}



/* Móviles pequeños (480px y menores) */
@media (max-width: 480px) {
    html, body {
        font-size: 14px;
    }

    .cabecera {
        padding: 5px 8px;
        font-size: 11px;
        min-height: 25px;
    }

    .menu {
        padding: 5px 6px;
        gap: 6px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle span {
        width: 22px;
        height: 2.5px;
    }

    .menu-items {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1884f1;
        padding: 8px 6px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .menu-items.active {
        display: flex;
    }

    .menu-items a {
        padding: 8px 4px;
        font-size: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
        padding-bottom: 8px;
        margin-bottom: 6px;
    }

    .menu-items a:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .logo img {
        width: 55px;
        height: 55px;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .logo img {
        width: 55px;
        height: 55px;
    }

    .contact-info {
        padding: 6px 10px;
    }

    .contact-info img {
        height: 150px;
        margin-bottom: 6px;
    }

    .contact-info h2 {
        font-size: 13px;
        margin: 4px 0 2px 0;
    }

    .contact-info h3 {
        font-size: 11px;
    }

    .contact-info p {
        font-size: 12px;
        line-height: 1.4;
    }

    .donations-grid {
        padding: 8px 0;
        gap: 8px;
    }

    .donation-item {
        padding: 10px 10px;
        min-width: unset;
    }

    .donation-item h3 {
        font-size: 12px;
        margin: 2px 0 6px 0;
    }

    .donation-item li {
        font-size: 10px;
        margin: 1px 0;
    }

    .donation-item ul {
        padding-left: 16px;
        margin: 1px 0;
    }

    p {
        margin: 2px 0;
        font-size: 12px;
    }

    h2 {
        font-size: 12px;
        margin: 4px 0 2px 0;
    }

    h3 {
        font-size: 11px;
        margin: 2px 0 1px 0;
    }

    .acopio {
        padding: 10px 10px;
    }

    .maps {
        gap: 10px;
    }

    .map-frame iframe {
        height: 250px;
    }

    .map-text {
        padding: 12px;
    }

    .map-text h3 {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .map-text p {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .donadores {
        padding: 10px 10px 8px;
    }

    .donadores h2 {
        font-size: 13px;
    }

    .donadores-header {
        margin-bottom: 8px;
        gap: 8px;
    }

    .ver-mas-btn {
        padding: 6px 10px;
        font-size: 10px;
    }

    .donadores-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 8px;
    }

    .donador-card img {
        height: 130px;
    }

    .donador-card p {
        font-size: 11px;
        margin: 6px 0 0;
    }

    .whatsapp-btn {
        width: 58px;
        height: 58px;
        bottom: 12px;
        right: 12px;
    }

    .whatsapp-btn svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-icon {
        width: 31px;
        height: 31px;
    }

    .whatsapp-text {
        font-size: 6px;
        max-width: 48px;
    }

    .footer {
        font-size: 10px;
        height: 28px;
        padding: 3px 0;
    }

    .modal-visor {
        padding: 10px;
    }

    .modal-visor img {
        max-height: 80vh;
    }

    .instructions {
        display: block;
        padding: 8px 0;
        font-size: 12px;
    }
}

/* Móviles muy pequeños (360px y menores) */
@media (max-width: 360px) {
    .menu {
        padding: 4px 5px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle span {
        width: 20px;
        height: 2px;
    }

    .menu-items {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1884f1;
        padding: 6px 5px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .menu-items.active {
        display: flex;
    }

    .menu-items a {
        padding: 6px 3px;
        font-size: 9px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
        padding-bottom: 6px;
        margin-bottom: 5px;
    }

    .menu-items a:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .logo img {
        width: 50px;
        height: 50px;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .contact-info h2 {
        font-size: 12px;
    }

    .donations-grid {
        gap: 6px;
    }

    .donation-item {
        padding: 8px 8px;
    }

    .donadores-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .map-frame iframe {
        height: 200px;
    }

    .whatsapp-btn {
        width: 55px;
        height: 55px;
        bottom: 10px;
        right: 10px;
    }

    .whatsapp-icon {
        width: 29px;
        height: 29px;
    }

    .whatsapp-text {
        font-size: 5px;
        max-width: 42px;
    }
}