/* Reset CSS básico */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    display: block;
    max-width: 100%;
}

header {
    position: sticky;
    top: 0;
    z-index: 150;
    background-color: rgb(255 255 255 / 0.8);
    backdrop-filter: blur(8px);
    padding: 1rem;
    display: flex;
    align-items: center;

    @media (min-width: 1024px) {
        & {
            padding-left: 5rem;
            padding-right: 5rem;
        }
    }

    @media (min-width: 768px) {
        & {
            padding-left: 2.5rem;
            padding-right: 2.5rem;
        }
    }

    img{
        width: 6rem;
    }
    
    h2 {
        font-size: 1.125rem;
        line-height: 1.75rem;
        font-weight: 700;
        letter-spacing: -0.025em;
    }

    .logo{
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-decoration: none;
        color: inherit;
        transition: opacity 0.2s ease;
        cursor: pointer;

        &:hover {
            opacity: 0.8;
        }
    }

    nav{
        margin: 0 auto;
        font-weight: bold;
        font-size:1rem;
        line-height: 1.25rem;
        letter-spacing: -0.025em;
        gap: 2rem;
        align-items: center;
        box-sizing: border-box;
        border-width: 0;
        border-style: solid;
        display: none;
        @media (min-width: 768px) {
            & {
                display: flex;
            }
        }
    
        a{
            margin-left: 1.5rem;
            text-decoration: none;
            color: rgb(51 51 51 / var(--tw-text-opacity, 1));
        }
        a:hover{
            color: rgb(250, 214, 181);
            transition: color 0.2s ease;
        }
        
    }

    > div:last-child {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    #hamburger-menu{
        padding: 0.5rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.2s ease;

        &:hover {
            opacity: 0.7;
        }

        @media (min-width: 768px) {
            & {
                display: none;
            }
        }
    }

    .header-social-links {
        display: none;
        gap: 0.5rem;
        align-items: center;

        @media (min-width: 768px) {
            & {
                display: flex;
            }
        }

        a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 2.25rem;
            height: 2.25rem;
            border-radius: 50%;
            background-color: rgb(250, 214, 181);
            transition: all 0.3s ease;
            color: rgb(51, 51, 51);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

            svg {
                width: 1.25rem;
                height: 1.25rem;
            }

            &:hover {
                background-color: rgb(51, 51, 51);
                color: white;
                transform: translateY(-2px);
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
            }
        }
    }
}

body{
    background-color: #FDF9F5;
    color: rgb(51 51 51 / var(--tw-text-opacity, 1));
    font-family: Epilogue, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

#menu-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background-color: rgb(255 255 255 / 0.98);
    padding: 5rem 2rem 2rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out, visibility 0s linear 0.3s;
    visibility: hidden;
    z-index: 200;
    overflow-y: auto;
}

#menu-toggle:checked ~ .mobile-menu {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s ease-in-out, visibility 0s linear 0s;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-menu .menu-item {
    display: block;
    padding: 1rem;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.25rem;
    text-align: center;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.mobile-menu .menu-item a {
    display: inline-block;
    text-decoration: none;
    color: rgb(51 51 51);
    width: 100%;
}

.mobile-menu .menu-item:hover {
    background-color: rgb(250, 214, 181, 0.2);
}

.mobile-menu .menu-item:hover a {
    color: rgb(250, 214, 181);
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(51, 51, 51, 0.1);

    a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 3rem;
        height: 3rem;
        border-radius: 50%;
        background-color: rgb(250, 214, 181);
        transition: all 0.3s ease;
        color: rgb(51, 51, 51);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

        svg {
            width: 1.5rem;
            height: 1.5rem;
        }

        &:hover {
            background-color: rgb(51, 51, 51);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }
    }
}

.close-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    font-weight: bold;
    line-height: 1;
    transition: all 0.2s ease;
    border-radius: 0.5rem;
}

.close-menu:hover {
    background-color: rgb(250, 214, 181, 0.3);
    transform: rotate(90deg);
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none;
    }
}

#hero{
    flex: 1 1 0%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%), url(/images/colonia-miradas-felinas-3gatos.png);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    min-height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1rem;


    > div:first-child {
        display: flex;
        flex-direction: column;
        margin-top: 12rem;
        align-items: center;
        gap: 1.5rem;
    }
    
    @media (min-width: 400px) {
        & {
            min-height: 60vh;
        }
    }

    @media (min-width: 768px) {
        & {
            min-height: 70vh;
        }
    }
    > div:first-child h1 {
        color: white;
        font-size: 2.25rem;
        line-height: 2.5rem;
        font-weight: 800;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
        letter-spacing: -0.025em;
        text-align: center;

        @media (min-width: 768px) {
            & {
                font-size: 3rem;
                line-height: 1;
            }
        }
    }
    > div:first-child h2 {
        color: white;
        font-size: 1.125rem;
        line-height: 1.75rem;
        font-weight: 500;
        letter-spacing: -0.025em;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
        text-align: center;
        max-width: 800px;

        @media (min-width: 768px) {
            & {
                font-size: 1.5rem;
                line-height: 2rem;
            }
        }
    }

}

/* Sección Quiénes Somos */
#quienes-somos {
    padding: 4rem 1rem;

    @media (min-width: 768px) {
        & {
            padding: 6rem 2.5rem;
        }
    }

    @media (min-width: 1024px) {
        & {
            padding: 6rem 5rem;
        }
    }

    > div {
        max-width: 56rem;
        margin: 0 auto;
        display: grid;
        gap: 3rem;
        align-items: start;

        @media (min-width: 768px) {
            & {
                grid-template-columns: 1fr 1fr;
            }
        }
    }

    h2 {
        font-size: 1.875rem;
        font-weight: 700;
        line-height: 1.25;
        letter-spacing: -0.015em;
        margin-bottom: 1rem;

        @media (min-width: 768px) {
            & {
                font-size: 2.25rem;
            }
        }
    }

    p {
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.625;
        margin-bottom: 1.5rem;
    }

    img {
        width: 100%;
        border-radius: 0.75rem;
        object-fit: cover;
    }

    > div > div:first-child img {
        aspect-ratio: 16 / 9;
    }

    > div > div:last-child {
        @media (min-width: 768px) {
            & {
                margin-top: 3.5rem;
            }
        }
    }

    > div > div:last-child img {
        aspect-ratio: 1 / 1;
        height: 100%;
    }
}

/* Secciones de Gatos (colonia, acogida, fallecidos) */
#nuestros-gatos,
#gatos-acogida,
#gatos-fallecidos {
    padding: 3rem 1rem 1.5rem;
    background-color: #FAF8F3;

    @media (min-width: 768px) {
        & {
            padding: 4rem 2.5rem 2rem;
        }
    }

    @media (min-width: 1024px) {
        & {
            padding: 4rem 5rem 2rem;
        }
    }

    > div {
        max-width: 72rem;
        margin: 0 auto;
    }

    > div > div:first-child {
        text-align: center;
        margin-bottom: 1.5rem;

        h2 {
            font-size: 1.875rem;
            font-weight: 700;
            line-height: 1.25;
            letter-spacing: -0.015em;

            @media (min-width: 768px) {
                & {
                    font-size: 2.25rem;
                }
            }
        }

        p {
            font-size: 1rem;
            font-weight: 400;
            line-height: 1.5;
            margin-top: 0.5rem;
            max-width: 42rem;
            margin-left: auto;
            margin-right: auto;
        }
    }

    /* Botón ver todos */
    > div > div:last-child {
        text-align: center;
        margin-top: 1rem;
        padding: 0;
    }
}

/* Alternar fondos */
#gatos-acogida {
    background-color: #FDF9F5;
}

/* Grid de gatos dinámico */
.gatos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-content: start;

    @media (min-width: 640px) {
        & {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (min-width: 1024px) {
        & {
            grid-template-columns: repeat(4, 1fr);
        }
    }
}

/* Tarjetas de gatos (reutilizable) */
.cat-card,
.gatos-grid > div,
#apadrinamiento > div > div:nth-child(2) > div,
#mercadillo > div > div:nth-child(2) > div {
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;

    &:hover {
        box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    }

    img {
        width: 100%;
        height: 16rem;
        object-fit: cover;
    }

    > div {
        padding: 1.5rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    h3 {
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    p {
        font-size: 0.875rem;
        line-height: 1.625;
        margin-bottom: 1rem;
        flex-grow: 1;
    }
}

/* Truncar texto en tarjetas de gatos dinámicas */
.gatos-grid > div p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Modal de gato */
.modal-gato-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;

    &.active {
        opacity: 1;
        visibility: visible;
    }
}

.modal-gato-content {
    background-color: white;
    border-radius: 1rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;

    .modal-gato-overlay.active & {
        transform: scale(1);
    }

    img {
        width: 100%;
        height: 20rem;
        object-fit: cover;
        border-radius: 1rem 1rem 0 0;

        @media (min-width: 768px) {
            & {
                height: 24rem;
            }
        }
    }

    .modal-gato-body {
        padding: 2rem;

        h3 {
            font-size: 1.875rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: rgb(51, 51, 51);
        }

        p {
            font-size: 1rem;
            line-height: 1.75;
            color: rgb(51, 51, 51);
            margin-bottom: 1.5rem;
        }
    }

    .modal-close-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background-color: rgba(255, 255, 255, 0.9);
        border: none;
        border-radius: 50%;
        width: 2.5rem;
        height: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1.5rem;
        font-weight: bold;
        color: rgb(51, 51, 51);
        transition: all 0.2s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);

        &:hover {
            background-color: rgb(250, 214, 181);
            transform: rotate(90deg);
        }
    }
}

/* Gatos ocultos - debe ir DESPUÉS de las tarjetas */
.gatos-grid > div.hidden-cat {
    display: none;
}

.gatos-grid > div.hidden-cat.show-cat {
    display: flex;
}

/* Botones generales */
button, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease;
    border: none;
    background-color: rgb(178, 223, 219);
    color: #333;

    &:hover {
        opacity: 0.9;
    }
}

.btn-primary,
#nuestros-gatos > div > div:last-child button,
#apadrinamiento > div > div:nth-child(2) > div a,
#donaciones a,
#voluntariado form button {
    background-color: rgb(250, 214, 181);
    color: #333;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    transition: opacity 0.2s ease;

    &:hover {
        opacity: 0.9;
    }
}

/* Sección Colabora Header */
section:has(h1):not(#hero) {
    padding: 4rem 1rem;
    text-align: center;
    background-color: #FAF8F3;

    @media (min-width: 768px) {
        & {
            padding: 6rem 2.5rem;
        }
    }

    > div {
        max-width: 56rem;
        margin: 0 auto;
    }

    h1 {
        font-size: 2.25rem;
        font-weight: 900;
        line-height: 1.25;
        letter-spacing: -0.033em;

        @media (min-width: 768px) {
            & {
                font-size: 3rem;
            }
        }
    }

    p {
        margin-top: 1rem;
        font-size: 1.125rem;
        font-weight: 400;
        line-height: 1.625;
        max-width: 48rem;
        margin-left: auto;
        margin-right: auto;

        @media (min-width: 768px) {
            & {
                font-size: 1.25rem;
            }
        }
    }
}

/* Sección Donaciones */
#donaciones {
    padding: 4rem 1rem;

    @media (min-width: 768px) {
        & {
            padding: 6rem 2.5rem;
        }
    }

    @media (min-width: 1024px) {
        & {
            padding: 6rem 5rem;
        }
    }

    > div {
        max-width: 72rem;
        margin: 0 auto;
        display: grid;
        gap: 3rem;
        align-items: center;

        @media (min-width: 768px) {
            & {
                grid-template-columns: 1fr 1fr;
            }
        }
    }

    h2 {
        font-size: 1.875rem;
        font-weight: 700;
        line-height: 1.25;
        letter-spacing: -0.015em;
        margin-bottom: 1rem;

        @media (min-width: 768px) {
            & {
                font-size: 2.25rem;
            }
        }
    }

    > div > div:first-child p {
        font-size: 1rem;
        line-height: 1.625;
        margin-bottom: 1.5rem;
    }

    > div > div:first-child > div {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .donation-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .btn-donation {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        padding: 1.25rem 2rem;
        border-radius: 0.75rem;
        text-decoration: none;
        transition: all 0.3s ease;
        width: 100%;

        @media (min-width: 640px) {
            & {
                max-width: 500px;
                margin: 0 auto;
            }
        }

        .donation-logo {
            height: 4rem;
            width: auto;
            max-width: 12rem;
            flex-shrink: 0;
            object-fit: contain;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 2px rgba(255, 255, 255, 0.8));
        }

        > div {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.25rem;
            text-align: center;
        }

        .btn-title {
            font-size: 1.125rem;
            font-weight: 700;
            display: block;
        }

        .btn-subtitle {
            font-size: 0.875rem;
            font-weight: 500;
            opacity: 0.85;
            display: block;
        }

        &:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
        }
    }

    .btn-bizum {
        background: linear-gradient(135deg, #E0F7FA 0%, #B2EBF2 100%);
        color: #333;
        cursor: default;

        &:hover {
            transform: none;
            box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
        }
    }

    .btn-teaming {
        background: linear-gradient(135deg, #FFE0B2 0%, #FFCC80 100%);
        color: #333;

        &:hover {
            background: linear-gradient(135deg, #FFCC80 0%, #FFB74D 100%);
        }
    }

    > div > div:first-child span:first-child {
        display: none;
    }

    img {
        width: 100%;
        border-radius: 0.75rem;
        object-fit: cover;
        aspect-ratio: 16 / 9;
    }
}

/* Sección Voluntariado */
#voluntariado {
    padding: 4rem 1rem;
    background-color: #FAF8F3;

    @media (min-width: 768px) {
        & {
            padding: 6rem 2.5rem;
        }
    }

    @media (min-width: 1024px) {
        & {
            padding: 6rem 5rem;
        }
    }

    > div {
        max-width: 72rem;
        margin: 0 auto;
        display: grid;
        gap: 3rem;
        align-items: center;

        @media (min-width: 768px) {
            & {
                grid-template-columns: 1fr 1fr;
            }
        }
    }

    > div > div:first-child {
        @media (min-width: 768px) {
            & {
                order: -1;
            }
        }
    }

    > div > div:last-child span:first-child {
        display: none;
    }

    h2 {
        font-size: 1.875rem;
        font-weight: 700;
        line-height: 1.25;
        letter-spacing: -0.015em;
        margin-bottom: 1rem;

        @media (min-width: 768px) {
            & {
                font-size: 2.25rem;
            }
        }
    }

    > div > div:last-child > p {
        font-size: 1rem;
        line-height: 1.625;
        margin-bottom: 1.5rem;
    }

    img {
        width: 100%;
        border-radius: 0.75rem;
        object-fit: cover;
        aspect-ratio: 16 / 9;
    }

    .btn-contacto-voluntario {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        padding: 1rem 2rem;
        background-color: rgb(250, 214, 181);
        color: #333;
        text-decoration: none;
        border-radius: 0.5rem;
        font-size: 1.125rem;
        font-weight: 700;
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;

        svg {
            width: 1.5rem;
            height: 1.5rem;
            flex-shrink: 0;
        }

        span {
            line-height: 1;
        }

        &:hover {
            background-color: rgb(255, 200, 150);
            transform: translateY(-2px);
            box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
        }
    }
}

/* Sección Apadrinamiento */
#apadrinamiento {
    padding: 4rem 1rem;

    @media (min-width: 768px) {
        & {
            padding: 6rem 2.5rem;
        }
    }

    @media (min-width: 1024px) {
        & {
            padding: 6rem 5rem;
        }
    }

    > div {
        max-width: 72rem;
        margin: 0 auto;
    }

    > div > div:first-child {
        text-align: center;
        margin-bottom: 3rem;

        span:first-child {
            display: none;
        }

        h2 {
            font-size: 1.875rem;
            font-weight: 700;
            line-height: 1.25;
            letter-spacing: -0.015em;

            @media (min-width: 768px) {
                & {
                    font-size: 2.25rem;
                }
            }
        }

        p {
            font-size: 1rem;
            font-weight: 400;
            line-height: 1.5;
            margin-top: 0.5rem;
            max-width: 48rem;
            margin-left: auto;
            margin-right: auto;
        }
    }

    > div > div:nth-child(2) {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;

        @media (min-width: 640px) {
            & {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            & {
                grid-template-columns: repeat(4, 1fr);
            }
        }
    }
}

/* Sección Mercadillo */
#mercadillo {
    padding: 4rem 1rem;
    background-color: #FAF8F3;

    @media (min-width: 768px) {
        & {
            padding: 6rem 2.5rem;
        }
    }

    @media (min-width: 1024px) {
        & {
            padding: 6rem 5rem;
        }
    }

    > div {
        max-width: 72rem;
        margin: 0 auto;
    }

    .proximamente-container {
        text-align: center;
        max-width: 48rem;
        margin: 0 auto;

        span:first-child {
            display: none;
        }

        h2 {
            font-size: 1.875rem;
            font-weight: 700;
            line-height: 1.25;
            letter-spacing: -0.015em;
            margin-bottom: 1.5rem;

            @media (min-width: 768px) {
                & {
                    font-size: 2.25rem;
                }
            }
        }

        .proximamente-badge {
            display: inline-block;
            background: linear-gradient(135deg, rgb(250, 214, 181) 0%, rgb(255, 200, 150) 100%);
            color: rgb(51, 51, 51);
            padding: 0.75rem 2rem;
            border-radius: 2rem;
            margin: 1rem 0 1.5rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

            p {
                font-size: 1.25rem;
                font-weight: 700;
                margin: 0;
                text-transform: uppercase;
                letter-spacing: 0.05em;
            }
        }

        .mercadillo-image {
            width: 100%;
            max-width: 350px;
            height: auto;
            border-radius: 1.25rem;
            margin: 2rem auto;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
            object-fit: cover;
            display: block;
            transition: all 0.3s ease;
            border: 3px solid rgb(250, 214, 181);

            @media (min-width: 768px) {
                & {
                    max-width: 420px;
                }
            }

            &:hover {
                transform: scale(1.02);
                box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
            }
        }

        > p {
            font-size: 1rem;
            font-weight: 400;
            line-height: 1.75;
            color: rgb(51, 51, 51);
            opacity: 0.8;

            @media (min-width: 768px) {
                & {
                    font-size: 1.125rem;
                }
            }
        }
    }
}

/* Footer */
footer {
    background-color: #333;
    color: #F5F5F5;
    padding: 2.5rem 1rem;

    @media (min-width: 768px) {
        & {
            padding: 2.5rem 2.5rem;
        }
    }

    @media (min-width: 1024px) {
        & {
            padding: 2.5rem 5rem;
        }
    }

    > div:first-child {
        max-width: 72rem;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;

        @media (min-width: 768px) {
            & {
                grid-template-columns: repeat(3, 1fr);
                text-align: left;
            }
        }
    }

    h4 {
        font-size: 1.125rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    p, li {
        font-size: 0.875rem;
        color: #9ca3af;
    }

    ul {
        list-style: none;
        padding: 0;
        margin: 0;

        li {
            margin-bottom: 0.25rem;
        }
    }

    /* Redes sociales */
    > div:first-child > div:last-child > div {
        display: flex;
        justify-content: center;
        gap: 1rem;

        @media (min-width: 768px) {
            & {
                justify-content: flex-start;
            }
        }
    }

    svg {
        width: 1.5rem;
        height: 1.5rem;
        color: #9ca3af;
        transition: color 0.2s ease;

        &:hover {
            color: rgb(250, 214, 181);
        }
    }

    a {
        color: #9ca3af;
        transition: color 0.2s ease;

        &:hover {
            color: rgb(250, 214, 181);
        }
    }

    /* Copyright */
    > div:last-child {
        border-top: 1px solid #4b5563;
        margin-top: 2rem;
        padding-top: 1.5rem;
        text-align: center;

        p {
            font-size: 0.875rem;
            color: #6b7280;
        }
    }
}

