/* #4d8a93 */

@font-face {
    font-family: "Poppins-Regular";
    src: url("/assets/font/Poppins/Poppins-Regular.ttf");
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Poppins-Regular", Arial, sans-serif;
    color: #303030;
}

.fixed-size {
    padding: 3em 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav__logo {
    display: block;
    margin: 0 auto;
    width: min(250px, 80%);
    height: auto;
    padding: 2rem 0;
}

.hero {
    position: relative;
    min-height: max(700px, 100vh);
    width: 100%;
    background: url(/assets/images/onepager_blanco_desktop.jpg) center / cover no-repeat;
}

.hero-panel {
    position: absolute;
    inset-block: 0;
    right: 10%;
    width: min(52%, 560px);
    height: max-content;
    max-height: calc(100% - 48px);
    margin-block: auto;
    padding: clamp(24px, 3vw, 42px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    background: transparent;
    border-radius: 18px;
    box-shadow: none;
    text-shadow: 0 0px 15px rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero__logo {
    display: block;
    width: min(380px, 86%);
    height: auto;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
}

.hero-panel h1 {
    font-size: clamp(22px, calc(18px + 0.8vw), 30px);
    line-height: 1.35;
    margin: clamp(34px, 5vh, 64px) 0 16px;
}

.hero-panel p {
    max-width: 48ch;
    margin: 7px 0;
    font-size: clamp(16px, calc(14px + 0.28vw), 19px);
    line-height: 1.6;
}

.opening-hours {
    width: min(100%, 430px);
    margin: 10px 0 12px;
    font-size: clamp(16px, calc(14px + 0.28vw), 19px);
    line-height: 1.55;
    text-align: left;
}

.opening-hours__row {
    display: grid;
    grid-template-columns: minmax(120px, 0.8fr) 1.2fr;
    gap: 18px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.38);
}

.opening-hours__row:last-child {
    border-bottom: 0;
}

.opening-hours__days {
    font-weight: 700;
}

h1 {
    font-size: clamp(28px, calc(23px + 0.8vw), 40px);
    line-height: 1.2;
}

h2 {
    margin-top: 2rem;
    font-size: 20px;
}

p,
address {
    font-size: clamp(14px, calc(13px + 0.18vw), 16px);
    line-height: 1.6;
}

address {
    font-style: normal;
}

.legal-page h1 {
    margin-top: 0;
}

.legal-page a {
    text-decoration: underline;
}

a {
    text-decoration: none;
    color: inherit;
}

footer {
    min-height: 9rem;
    display: grid;
    place-items: center;
    padding: 4rem 1rem;
    color: #fff;
    background: #303030;
    text-align: center;
}

.footer__logo {
    display: block;
    margin: 0 auto 30px;
    width: min(250px, 80%);
    height: auto;
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.footer__legal a {
    color: #fff;
    text-decoration: underline;
}

.footer__legal a:last-child::before {
    content: "|";
    margin-right: 15px;
}

@media only screen and (max-width: 700px) {
    .hero {
        min-height: 780px;
        background: url(/assets/images/onepager_blanco_mobil.jpg) center / cover no-repeat;
    }

    .hero-panel {
        inset-block: auto;
        top: 50%;
        transform: translateY(-50%);
        right: 7%;
        width: 86%;
        max-height: calc(100% - 32px);
        padding: 24px 20px;
    }

    .hero__logo {
        width: min(330px, 80%);
    }

    .hero-panel h1 {
        margin-top: 34px;
    }

    .opening-hours__row {
        grid-template-columns: 1fr 1.15fr;
        gap: 12px;
    }
}
