/* Componentes compartidos por las páginas públicas. No altera el contenido de cada módulo. */
.site-header, .site-footer { font-family: 'Poppins', 'Inter', system-ui, sans-serif; }
.site-header *, .site-footer * { box-sizing: border-box; }
.site-header { position: sticky; top: 0; z-index: 1030; padding: 14px 20px; }
.eempb-welcome-page .site-header { position: fixed; inset: 0 0 auto; padding-top: 18px; }
.site-header-inner {
    width: min(100%, 1400px); min-height: 88px; margin: auto; padding: 12px 24px;
    display: flex; align-items: center; gap: 26px;
    border: 1px solid rgba(219, 230, 241, .85); border-radius: 24px;
    background: rgba(255, 255, 255, .96); box-shadow: 0 14px 38px rgba(8, 47, 95, .12);
    backdrop-filter: blur(16px);
}
.site-brand { display: inline-flex; flex: 0 0 auto; align-items: center; line-height: 1; }
.site-brand img { display: block; width: 170px; max-height: 70px; object-fit: contain; }
.site-navigation { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 4px; min-width: 0; }
.site-header a { text-decoration: none; }
.site-nav-link {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 10px;
    border: 0; border-radius: 12px; color: #10223f; background: none;
    font-size: 14px; font-weight: 600; white-space: nowrap; line-height: 1.35;
    cursor: pointer;
}
.site-nav-link i { font-size: 15px; }
.site-nav-link:hover, .site-nav-link:focus-visible, .site-nav-link.is-current, .site-nav-group[open] > .site-nav-link {
    color: #f2540b; background: #fff2ea;
}
.site-nav-group { position: relative; }
.site-nav-group > summary { list-style: none; }
.site-nav-group > summary::-webkit-details-marker { display: none; }
.site-nav-group > summary::after { content: ''; width: 7px; height: 7px; flex: 0 0 7px; margin: -4px 2px 0 3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .18s ease; }
.site-nav-group[open] > summary::after { transform: translateY(4px) rotate(225deg); }
.site-nav-dropdown {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 225px; padding: 8px;
    border: 1px solid #dce6f1; border-radius: 14px; background: #fff;
    box-shadow: 0 16px 38px rgba(8, 47, 95, .16);
}
.site-nav-dropdown a { display: block; padding: 10px 12px; border-radius: 9px; color: #10223f; font-size: 13px; font-weight: 600; }
.site-nav-dropdown a:hover, .site-nav-dropdown a:focus-visible, .site-nav-dropdown a[aria-current="page"] { color: #f2540b; background: #fff2ea; }
.site-account { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; margin-left: auto; }
.site-account form { margin: 0; }
.site-login {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    height: 46px; min-height: 46px; padding: 0 17px; border-radius: 13px;
    color: #fff !important; background: linear-gradient(120deg, #f2540b, #ff7a1a);
    box-shadow: 0 12px 25px rgba(242, 84, 11, .22); font-size: 13px; font-weight: 700;
    white-space: nowrap;
}
.site-login:hover { filter: brightness(.96); }
.site-signout { border: 0; background: none; color: #10223f; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.site-signout:hover { color: #f2540b; }
.site-pineapple { position: relative; display: grid; place-items: center; flex: 0 0 50px; width: 50px; height: 50px; border-radius: 50%; overflow: visible; background: rgba(255,255,255,.96); box-shadow: 0 8px 20px rgba(8,47,95,.14); }
.site-pineapple img { position: absolute; top: 50%; left: calc(50% - 1px); display: block; width: 56px; height: 56px; max-width: none; max-height: none; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(8,47,95,.22)); animation: pinappleFloat 3.6s ease-in-out infinite; transition: transform .25s ease, filter .25s ease; }
.site-pineapple img:hover, .site-pineapple img.is-hovered { filter: drop-shadow(0 12px 18px rgba(242,84,11,.28)); }
@keyframes pinappleFloat {
    0%, 100% { transform: translate(-50%, calc(-50% - 2px)) rotate(0deg); }
    50% { transform: translate(-50%, calc(-50% - 5px)) rotate(2deg); }
}
.site-menu-toggle { display: none; }

.site-footer {
    position: relative; isolation: isolate; overflow: hidden; min-height: 0; padding: 0; margin: 0;
    color: #fff;
    background:
        radial-gradient(circle at 8% 12%, rgba(242, 84, 11, .22), transparent 28%),
        linear-gradient(135deg, rgba(6, 31, 64, .93), rgba(8, 47, 95, .90) 58%, rgba(11, 71, 127, .86));
    backdrop-filter: blur(10px);
}
.site-footer::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        linear-gradient(155deg, transparent 0 60%, rgba(255,255,255,.06) 60.3%, transparent 61.1%),
        linear-gradient(145deg, transparent 0 69%, rgba(242,84,11,.14) 69.3%, transparent 70.2%);
}
.site-footer-inner { position: relative; width: min(100% - 40px, 1240px); margin: auto; padding: 48px 0 0; }
.site-footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1.2fr; gap: clamp(22px, 2.8vw, 34px); }
.site-footer-grid > * { min-width: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffb36f; }
.site-footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; line-height: 1.2; }
.site-footer-brand img { display: block; width: auto; max-width: 172px; height: 76px; object-fit: contain; padding: 8px; border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 14px 34px rgba(0,0,0,.16); }
.site-footer-brand strong { display: block; max-width: 225px; color: #fff; font-size: 16px; font-weight: 800; }
.site-footer-brand small { display: block; margin-top: 10px; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 700; }
.site-footer-about p { max-width: 340px; margin: 0; color: rgba(255,255,255,.78); font-size: 13.5px; line-height: 1.7; }
.site-footer h2 { margin: 0 0 16px; color: #fff; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.site-footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer-links li + li { margin: 0; }
.site-footer-links a, .site-footer-contact { color: rgba(255,255,255,.8); font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.site-footer-links a:hover { color: #ffb36f; }
.site-footer-contact { display: grid; gap: 10px; margin: 0; font-style: normal; }
.site-footer-contact > * { display: flex; align-items: flex-start; gap: 9px; }
.site-footer-contact i { flex: 0 0 17px; width: 17px; margin-top: 3px; color: #ffb36f; text-align: center; }
.site-footer-contact a { color: rgba(255,255,255,.8); }
.site-footer-contact a:hover { color: #ffb36f; }
.site-footer-social { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.site-footer-social a, .site-footer-social span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; color: #fff; background: rgba(255,255,255,.11); transition: transform .2s ease, background .2s ease; }
.site-footer-social span { opacity: .75; cursor: default; }
.site-footer-social a:hover { color: #fff; background: #f2540b; transform: translateY(-3px); }
.site-footer-map { overflow: hidden; height: 190px; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: rgba(255,255,255,.1); box-shadow: 0 20px 44px rgba(0,0,0,.18); }
.site-footer-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.site-footer-map-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; font-weight: 800; }
.site-footer-bottom { margin-top: 34px; padding: 18px 0 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.74); font-size: 13px; text-align: center; }
.site-header :focus-visible, .site-footer :focus-visible { outline: 3px solid #f4a35e; outline-offset: 3px; }

@media (max-width: 1260px) {
    .site-header-inner { gap: 11px; padding-inline: 14px; }
    .site-brand img { width: 112px; }
    .site-nav-link { gap: 5px; padding-inline: 6px; font-size: 12px; }
    .site-account { gap: 5px; }
    .site-login { padding-inline: 10px; }
}
@media (max-width: 1050px) {
    .site-header, .eempb-welcome-page .site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; padding: 0; }
    .public-info-page { padding-top: 72px; }
    .site-header-inner { position: relative; width: 100%; min-height: 72px; border-radius: 0 0 18px 18px; }
    .site-menu-toggle {
        display: flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 42px; height: 42px; margin-left: auto; padding: 10px; border: 1px solid #dce6f1;
        border-radius: 11px; background: #f4f8fc; cursor: pointer;
    }
    .site-menu-toggle span { width: 100%; height: 2px; border-radius: 2px; background: #10223f; }
    .site-navigation {
        display: none; position: absolute; top: calc(100% + 4px); left: 12px; right: 12px;
        max-height: calc(100vh - 88px); overflow-y: auto; padding: 13px;
        align-items: stretch; flex-direction: column; border: 1px solid #dce6f1; border-radius: 17px;
        background: #fff; box-shadow: 0 22px 40px rgba(8,47,95,.2);
    }
    .site-navigation.is-open { display: flex; }
    .site-nav-link { width: 100%; padding: 12px; font-size: 14px; }
    .site-nav-dropdown { position: static; margin: 0 0 6px 8px; min-width: 0; box-shadow: none; }
    .site-account { margin: 10px 0 0; padding-top: 12px; border-top: 1px solid #e4eaf1; }
    .site-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .site-header-inner { padding-inline: 16px; }
    .site-brand img { width: 120px; }
    .site-footer-inner { width: min(100% - 32px, 1240px); padding-top: 38px; }
    .site-footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .site-footer-map { height: 180px; }
    .site-footer-bottom { margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    .site-pineapple img { animation: none; transition: none; transform: translate(-50%, calc(-50% - 2px)); }
}
.public-info-page { min-height: 100vh; background: #f5f8fc; }
.public-skip { position: absolute; left: -9999px; top: 10px; z-index: 2000; background: #fff; padding: 10px; }
.public-skip:focus { left: 10px; }
.public-info-page > main { min-height: 55vh; }
