@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

nav {
    background-color: #d63e18;
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
}

.nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    font-family: "Manrope", sans-serif;
}

.nav-list li {
    margin: 0 15px;
}

.nav-list li a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: bold;
    padding: 5px 10px;
    transition: background-color 0.3s;
}

.nav-list li a:hover {
    background-color: #800020;
    border-radius: 5px;
}

nav img {
    height: 60px;
    width: auto;
    border-radius: 10px;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    color: #FFFFFF;
    font-size: 35px;
    cursor: pointer;
}

main {
    padding: 40px 20px;
    background-color: #f4f4f4;
}

.sucursales-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.sucursales-container h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    font-family: 'Raleway', sans-serif;
}

.sucursales-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
}

.sucursal-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.sucursal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.sucursal-img {
    width: 40%;
    height: 300px;
    object-fit: cover;
}

.sucursal-info {
    width: 60%;
    padding: 40px;
    text-align: left;
}

.sucursal-info h3 {
    font-size: 1.5rem;
    color: #d63e18;
    margin-bottom: 10px;
    font-family: 'Raleway', sans-serif;
}

.sucursal-info h4 {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
    font-weight: 500;
    font-family: 'Manrope', sans-serif;
}

.sucursal-info p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 20px;
}

.btn-llegar {
    display: inline-block;
    padding: 10px 20px;
    background-color: #d63e18;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Manrope', sans-serif;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-llegar:hover {
    background-color: #800020;
}

.site-footer {
    background-color: #ffffff;
    padding: 60px 20px 40px;
    border-top: 1px solid #eaeaea;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.brand-column p {
    color: #666;
    line-height: 1.6;
    margin-top: 15px;
    font-size: 0.95rem;
}

.footer-logo img {
    height: 60px;
    border-radius: 10px;
}

.footer-column h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-family: 'Raleway', sans-serif;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #F0911B;
    border-radius: 2px;
}

.links-grid {
    display: flex;
    gap: 40px;
}

.links-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-grid li {
    margin-bottom: 12px;
}

.links-grid a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.links-grid a:hover {
    color: #d63e18;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: #666;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    nav {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 15px;
        align-items: center;
    }

    .menu-icon {
        display: block;
    }

    .nav-list {
        width: 100%;
        background: #d63e18;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .menu-toggle:checked~.nav-list {
        max-height: 300px;
    }

    .nav-list li {
        margin: 15px 0;
    }

    .sucursal-card {
        flex-direction: column;
    }

    .sucursal-img {
        width: 100%;
        height: 250px;
    }

    .sucursal-info {
        width: 100%;
        padding: 25px;
        text-align: center;
    }
}