/* Complementos mínimos — mobile-first, estética institucional */

::selection {
    background-color: rgba(0, 153, 161, 0.15);
    color: #1a2832;
}

html {
    scroll-padding-top: 5.75rem;
}

@media (min-width: 768px) {
    html {
        scroll-padding-top: 6.75rem;
    }
}

body {
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

#header {
    padding-top: env(safe-area-inset-top, 0);
}

#header.scrolled {
    box-shadow: 0 4px 16px rgb(0 0 0 / 0.15);
}

.site-logo--header {
    height: 3.25rem;
    width: auto;
    max-width: 7.25rem;
    object-fit: contain;
}

@media (min-width: 400px) {
    .site-logo--header {
        height: 3.625rem;
        max-width: 8rem;
    }
}

@media (min-width: 768px) {
    .site-logo--header {
        height: 4.75rem;
        max-width: 10rem;
    }
}

.site-logo--footer {
    height: 2.5rem;
    width: auto;
    max-width: 5.5rem;
    object-fit: contain;
}

.site-logo--admin {
    height: 7rem;
    width: auto;
    object-fit: contain;
}

.site-logo--admin-header {
    height: 4.5rem;
    width: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .site-logo--admin-header {
        height: 5rem;
    }
}

.hero-photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
}

.hero-photo--placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #f8fafc;
    color: #5a6570;
}

.hero-photo__initials {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.25rem;
    font-weight: 600;
    opacity: 0.4;
}

.hero-photo__hint {
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    opacity: 0.55;
}

.ll-map-frame__map {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 0;
}

#mobile-menu {
    padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (max-width: 639px) {
    #nosotros .ll-map-frame__map {
        aspect-ratio: 4 / 3;
        min-height: 11.5rem;
    }
}

@media (min-width: 640px) {
    #nosotros .nosotros-map .ll-map-frame__map {
        aspect-ratio: 4 / 3;
        min-height: auto;
    }
}

.site-footer {
    padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0));
}

.footer-info-link {
    min-height: 2rem;
}

@media (max-width: 399px) {
    .footer-social-link {
        flex: 1 1 calc(50% - 0.25rem);
        justify-content: center;
    }
}
