@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Sansation:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: white;
}

.header {
    background-color: darkgreen;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: auto;
    padding: 15px 5%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 5;
}

img {
    max-width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    z-index: 100;
}

.logo-container img {
    height: 130px;
    width: auto;
    transition: transform 0.3s;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    display: block;
}

.logo-container img:hover {
    transform: scale(1.03);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.header .nav {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
    padding: 0;
    margin: 0 auto;
}

.header .nav li {
    display: inline-block;
    padding: 8px 16px;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.header .nav li:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.header .nav a {
    font-size: 1.05rem;
    color: white;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.header .nav a:hover {
    color: #f1f1f1;
}

.retiro-hero {
    width: 100%;
    text-align: center;
    padding: 30px 10%;
}

.retiro-hero-img {
    max-width: 100%;
    height: auto;
    max-height: 280px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: inline-block;
}

.retiro-info {
    padding: 60px 10%;
    max-width: 900px;
    margin: 0 auto;
}

.retiro-titulo {
    font-size: 2.2rem;
    color: #111;
    margin-bottom: 35px;
    text-align: center;
}

.retiro-bloque {
    margin-bottom: 40px;
}

.retiro-bloque:last-child {
    margin-bottom: 0;
}

.retiro-bloque h2 {
    font-size: 1.5rem;
    color: darkgreen;
    margin-bottom: 14px;
}

.retiro-bloque p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 12px;
}

.retiro-horarios {
    list-style: none;
    margin-top: 12px;
    padding: 16px 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
    border-left: 4px solid darkgreen;
}

.retiro-horarios li {
    padding: 5px 0;
    font-size: 0.95rem;
    color: #444;
}

.retiro-local-grid {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.retiro-local-texto {
    flex: 1;
}

.retiro-local-mapa {
    flex: 0 0 320px;
    min-height: 240px;
}

@media (max-width: 768px) {
    .logo-container img {
        height: 100px;
    }

    .header {
        padding: 12px 5%;
        flex-direction: row;
        justify-content: center;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 5%;
        z-index: 100;
    }

    .header .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: darkgreen;
        flex-direction: column;
        align-items: flex-start;
        padding: 140px 5% 20px 5%;
        gap: 20px;
        display: none;
        z-index: 99;
    }

    .header.nav-open .nav {
        display: flex;
    }

    .header .nav li {
        width: 100%;
        text-align: left;
        padding: 12px 16px;
    }

    .header .nav a {
        font-size: 1.2rem;
    }

    #carrito-flotante {
        top: auto !important;
        bottom: 22px !important;
    }

    .retiro-hero {
        padding: 20px 6%;
    }

    .retiro-hero-img {
        max-height: 200px;
    }

    .retiro-info {
        padding: 40px 6%;
    }

    .retiro-titulo {
        font-size: 1.7rem;
    }

    .retiro-local-grid {
        flex-direction: column;
    }

    .retiro-local-mapa {
        flex: 0 0 auto;
        height: 240px;
    }
}

.footer {
    background-color: darkgreen;
    color: white;
    padding: 50px 10% 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.footer-logo {
    height: 170px;
    width: auto;
    margin-bottom: 12px;
    image-rendering: crisp-edges;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.footer-heading {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    color: yellow;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li {
    font-size: 0.9rem;
    color: #e0e0e0;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: yellow;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.footer-social a:hover {
    background-color: yellow;
    color: black;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    padding: 18px 0;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #cfcfcf;
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 6% 0;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}


@media (max-width: 480px) {
    .logo-container img {
        height: 100px;
    }

    .header {
        padding: 10px 4%;
        justify-content: center;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 4%;
    }

    .header .nav {
        padding: 120px 4% 20px 4%;
        gap: 15px;
    }

    .header .nav li {
        padding: 10px 16px;
    }

    .header .nav a {
        font-size: 0.95rem;
    }

    .retiro-hero {
        padding: 15px 5%;
    }

    .retiro-hero-img {
        max-height: 160px;
    }

    .retiro-info {
        padding: 30px 5%;
    }

    .retiro-titulo {
        font-size: 1.4rem;
    }
}