/*!
 * Start Bootstrap - Freelancer Bootstrap Theme
 * Pizza Factory Manizales
 */

/* ======================== */
/* RESET Y ESTILOS BASE     */
/* ======================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    margin: 0;
    padding: 0;
}

/* Eliminar el recuadro/contorno azul predeterminado de Chromium/Chrome */
a:focus,
a:active,
button:focus,
button:active,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus,
.btn:focus,
.btn:active,
.btn.active,
.btn:focus:active {
    outline: 0 !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

:focus:not(:focus-visible) {
    outline: 0 !important;
    outline: none !important;
    box-shadow: none;
}

/* Erradicación total de colores verde/aquamarina heredados del tema base */
a {
    color: #fd521e;
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover,
a:focus,
a:active {
    color: #e04010;
    text-decoration: none;
    outline: none !important;
}

.btn-social,
.btn-social:hover,
.btn-social:focus,
.btn-social:active,
.footer-social a,
.navbar-mobile-social-links a,
.nav-social-icon {
    color: #ffffff;
}

.btn-social:hover,
.footer-social a:hover,
.navbar-mobile-social-links a:hover,
.nav-social-icon:hover {
    color: #fd521e !important;
}

body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    padding-top: 96px;
    font-family: "Lato","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 15px;
    line-height: 1.42857143;
    color: #2b221c;
    background-color: #000000;
}

p { margin: 0 0 10px 0; }
p.small { font-size: 16px; }

h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.img-fluid { max-width: 100%; height: auto; }
.text-center { text-align: center; }
.text-warning { color: #fd521e; }

/* ======================== */
/* NAVBAR FIXED TOP         */
/* ======================== */
.navbar-fixed-top {
    background-color: #000000;
    padding: 0;
    transition: min-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background-color 0.35s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    min-height: 96px;
    border: none;
    margin: 0;
    top: 0; left: 0; right: 0;
    z-index: 1050;
    position: fixed;
    width: 100%;
    overflow: visible;
}

.navbar-fixed-top.top-nav-collapse {
    min-height: 84px;
    padding: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.5);
}

.navbar-default {
    background-color: #000000;
    border: none;
    margin: 0; padding: 0;
}

.navbar-default .navbar-nav > li > a { color: #ffffff !important; }
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #fd521e !important;
    background-color: transparent !important;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    width: 100%; height: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.navbar-brand-wrapper {
    display: flex;
    align-items: center;
    height: 96px;
    margin: 0; padding: 0;
    flex-shrink: 0;
    transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    height: 96px;
    margin: 0;
    float: none;
    line-height: 96px;
    transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-brand img {
    max-height: 72px;
    width: auto;
    height: 72px;
    max-width: 160px;
    display: block;
    margin: 0; padding: 0;
    transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1), max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-fixed-top.top-nav-collapse .navbar-brand-wrapper { height: 84px; }
.navbar-fixed-top.top-nav-collapse .navbar-brand { height: 84px; line-height: 84px; }
.navbar-fixed-top.top-nav-collapse .navbar-brand img { height: 54px !important; max-height: 54px !important; width: auto !important; }

/* Toggle móvil Minimalista 2026 con animación a X */
.navbar-default .navbar-toggle,
.navbar-toggle {
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 0 0 auto !important;
    float: none;
    display: flex !important;
    width: 44px;
    height: 44px;
    position: relative;
    border-radius: 10px;
    cursor: pointer;
    outline: none !important;
    transition: background-color 0.2s ease;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:active,
.navbar-toggle:hover,
.navbar-toggle:focus,
.navbar-toggle:active {
    background: transparent !important;
    background-color: transparent !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.navbar-toggle .icon-bar {
    position: absolute;
    left: 10px;
    width: 24px;
    height: 2px;
    background-color: #ffffff !important;
    border-radius: 2px;
    display: block;
    margin: 0 !important;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease, background-color 0.5s ease, top 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: center;
}

/* 3 líneas horizontales perfectas en estado cerrado */
.navbar-toggle .icon-bar.bar-1,
.navbar-toggle .icon-bar:nth-child(1) {
    top: 13px;
    opacity: 1;
    transform: none;
}

.navbar-toggle .icon-bar.bar-2,
.navbar-toggle .icon-bar:nth-child(2) {
    top: 21px;
    opacity: 1;
    transform: none;
}

.navbar-toggle .icon-bar.bar-3,
.navbar-toggle .icon-bar:nth-child(3) {
    top: 29px;
    opacity: 1;
    transform: none;
}

/* Transformación simétrica y centrada a icono de cerrar (X) */
.navbar-toggle[aria-expanded="true"] .icon-bar.bar-1,
.navbar-toggle.is-active .icon-bar.bar-1,
.navbar-toggle:not(.collapsed) .icon-bar.bar-1 {
    top: 21px;
    transform: rotate(45deg);
    background-color: #fd521e !important;
}

.navbar-toggle[aria-expanded="true"] .icon-bar.bar-2,
.navbar-toggle.is-active .icon-bar.bar-2,
.navbar-toggle:not(.collapsed) .icon-bar.bar-2 {
    top: 21px;
    opacity: 0;
    transform: scaleX(0);
}

.navbar-toggle[aria-expanded="true"] .icon-bar.bar-3,
.navbar-toggle.is-active .icon-bar.bar-3,
.navbar-toggle:not(.collapsed) .icon-bar.bar-3 {
    top: 21px;
    transform: rotate(-45deg);
    background-color: #fd521e !important;
}

/* Menú collapse */
.navbar-collapse {
    display: none !important;
}

/* Desktop: inline dentro del navbar como flex */
@media (min-width: 900px) {
    .navbar-default .navbar-toggle,
    .navbar-toggle {
        display: none !important;
    }
    .navbar-collapse {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        position: static !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: auto !important;
        height: 100% !important;
        flex: 1;
        order: 3;
        animation: none !important;
    }
    .nav.navbar-nav {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: auto !important;
    }
    #navbarCollapse {
        position: absolute !important;
        top: 0 !important;
        right: 40px !important;
        bottom: 0 !important;
        height: auto !important;
        width: auto !important;
        display: flex !important;
        align-items: center !important;
    }
    .nav-home-label {
        display: none !important;
    }
}

/* Mobile collapse abierto — Dark Liquid Glassmorphic 2026 */
@media (max-width: 899px) {
    #navbarCollapse {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: #120e0c !important;
        background: rgba(18, 14, 12, 0.98) !important;
        -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
        backdrop-filter: blur(24px) saturate(180%) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65) !important;
        z-index: 1049 !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        overflow: hidden !important;
        display: block !important;
        height: auto !important;
        max-height: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-10px) scaleY(0.95) !important;
        transform-origin: top center !important;
        pointer-events: none !important;
        -webkit-transition: max-height 0.75s cubic-bezier(0.25, 1, 0.5, 1), 
                            opacity 0.65s cubic-bezier(0.25, 1, 0.5, 1), 
                            transform 0.75s cubic-bezier(0.25, 1, 0.5, 1), 
                            visibility 0.75s ease !important;
        transition: max-height 0.75s cubic-bezier(0.25, 1, 0.5, 1), 
                    opacity 0.65s cubic-bezier(0.25, 1, 0.5, 1), 
                    transform 0.75s cubic-bezier(0.25, 1, 0.5, 1), 
                    visibility 0.75s ease !important;
    }

    #navbarCollapse.in {
        max-height: 480px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) scaleY(1) !important;
        pointer-events: auto !important;
        -webkit-transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                            opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                            transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                            visibility 0.6s ease !important;
        transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                    visibility 0.6s ease !important;
    }
}

/* Items del menú */
.nav.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    margin: 0; padding: 0;
    list-style: none;
    float: none;
    width: auto;
}

.nav.navbar-nav > li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 4px; padding: 0;
    float: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav.navbar-nav > li > a {
    padding: 8px 18px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1 !important;
    color: #ffffff !important;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
}

.nav.navbar-nav > li > a:hover {
    color: #ffffff !important;
    background-color: rgba(253,82,30,0.85) !important;
    border-radius: 50px;
}

.nav.navbar-nav > li > a:focus {
    color: #ffffff !important;
    background-color: transparent !important;
    outline: none !important;
}

.nav.navbar-nav > li > a.active {
    color: #ffffff !important;
    background-color: #fd521e !important;
    border-radius: 50px;
}

.nav.navbar-nav > li > a.active:hover,
.nav.navbar-nav > li > a.active:focus {
    background-color: #e04010 !important;
    color: #ffffff !important;
}

.nav.navbar-nav > li.social-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255,255,255,0.2);
    margin: 0 10px;
    padding: 0;
}

/* HOME icon */
.nav.navbar-nav > li.nav-home > a {
    font-size: 17px;
    padding: 8px 12px !important;
}

.nav.navbar-nav > li.nav-home > a,
.nav.navbar-nav > li.nav-home > a.active {
    background-color: transparent !important;
    border-radius: 0 !important;
}

.nav.navbar-nav > li.nav-home > a:hover,
.nav.navbar-nav > li.nav-home > a:focus,
.nav.navbar-nav > li.nav-home > a.active:hover {
    color: #fd521e !important;
    background-color: transparent !important;
    border-radius: 0 !important;
}

.nav.navbar-nav > li.social-icon > a {
    padding: 6px 8px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav.navbar-nav > li.social-icon > a:hover,
.nav.navbar-nav > li.social-icon > a:focus {
    background-color: transparent !important;
}

.nav-social-icon {
    font-size: 28px;
    color: #ffffff;
    transition: color 0.3s ease, transform 0.3s ease;
    display: block;
    line-height: 1;
    width: 1em;
    text-align: center;
}

.nav.navbar-nav > li.social-icon > a:hover .nav-social-icon,
.nav.navbar-nav > li.social-icon > a:focus .nav-social-icon {
    color: #fd521e;
    transform: scale(1.15);
}

.navbar-fixed-top.top-nav-collapse .nav.navbar-nav > li > a {
    padding: 8px 12px !important;
    font-size: 12px;
}

/* ======================== */
/* HEADER                   */
/* ======================== */
header {
    text-align: center;
    color: #000000;
    background: #000;
    margin: 0;
    padding: 0;
    margin-top: -96px;
    padding-top: 96px;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: block;
    line-height: 0;
    font-size: 0;
}

/* ======================== */
/* CAROUSEL                 */
/* ======================== */
.carousel {
    position: relative;
    width: 100%;
    height: calc(100vh - 96px);
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #000;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: calc(100vh - 96px);
    overflow: hidden;
}

/* Transición fluida tipo Crossfade */
.carousel-fade .carousel-inner > .item {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100vh - 96px) !important;
    margin: 0;
    padding: 0;
    line-height: 0;
    opacity: 0;
    z-index: 1;
    transform: scale(1.02);
    -webkit-transform: scale(1.02);
    transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), transform 0.85s cubic-bezier(0.25, 1, 0.5, 1) !important;
    -webkit-transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), -webkit-transform 0.85s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.carousel-fade .carousel-inner > .item.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1) !important;
    -webkit-transform: scale(1) !important;
}

.carousel-fade .carousel-inner > .item.next.left,
.carousel-fade .carousel-inner > .item.prev.right {
    opacity: 1;
    z-index: 2;
    transform: scale(1) !important;
    -webkit-transform: scale(1) !important;
}

.carousel-fade .carousel-inner > .item.active.left,
.carousel-fade .carousel-inner > .item.active.right {
    opacity: 0;
    z-index: 1;
    transform: scale(0.98) !important;
    -webkit-transform: scale(0.98) !important;
}

/* Imágenes desktop — proporción real, sin recorte */
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
    display: block !important;
    width: 100% !important;
    height: calc(100vh - 96px) !important;
    min-height: calc(100vh - 96px) !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: top;
}

.carousel .img-responsive {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: calc(100vh - 96px) !important;
    min-height: calc(100vh - 96px) !important;
    object-fit: cover !important;
    object-position: center top !important;
}

/* ======================== */
/* MOBILE: proporcional 16:9 */
/* ======================== */
/* ======================== */
/* CAROUSEL CONTROLES       */
/* ======================== */

/* Indicadores */
.carousel-indicators {
    position: absolute !important;
    bottom: 12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 15 !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    list-style: none !important;
}

.carousel-indicators li {
    display: block !important;
    width: 28px !important;
    height: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    border-radius: 99px !important;
    background: rgba(255,255,255,0.25) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2) !important;
    text-indent: 0 !important;
    transition: all 0.3s ease !important;
}

.carousel-indicators li:hover {
    background: rgba(253,82,30,0.5) !important;
    border-color: rgba(253,82,30,0.4) !important;
}

.carousel-indicators .active {
    display: block !important;
    width: 44px !important;
    height: 2px !important;
    margin: 0 !important;
    background: rgba(253,82,30,0.85) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    border: 1px solid rgba(253,82,30,0.4) !important;
    box-shadow: 0 0 10px rgba(253,82,30,0.5), inset 0 1px 0 rgba(255,255,255,0.3) !important;
}



/* Controles prev/next */
.carousel-control {
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 15%;
    font-size: 20px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
    background-color: transparent;
    background-image: none;
    opacity: 0.5;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s ease;
    cursor: pointer;
    border: none;
    padding: 0;
}

.carousel-control:hover,
.carousel-control:focus {
    opacity: 0.9;
    outline: none !important;
}

.carousel-control.left { left: 0; }
.carousel-control.right { right: 0; left: auto; }

.carousel-control i {
    font-size: 32px;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.7));
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.carousel-control.left:hover i {
    transform: translateX(-3px);
}

.carousel-control.right:hover i {
    transform: translateX(3px);
}

/* Botón CARTA liquid glass — posicionado dentro del header */
.carousel-carta-btn {
    position: absolute;
    bottom: 28px !important;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    padding: 13px 40px;
    font-size: 15px;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid rgba(255,255,255,0.9);
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.carousel-carta-btn:hover,
.carousel-carta-btn:focus {
    background: rgba(253, 82, 30, 0.85);
    border-color: rgba(255,255,255,0.9);
    box-shadow: 0 8px 28px rgba(253,82,30,0.5);
    transform: translateX(-50%) scale(1.04);
    color: #fff !important;
    text-decoration: none !important;
    outline: none !important;
}

/* ======================== */
/* NAV ANCHORS              */
/* ======================== */
.nav-anchor {
    display: block;
    height: 0;
    visibility: hidden;
    pointer-events: none;
    scroll-margin-top: 84px;
}

/* ======================== */
/* SECTIONS                 */
/* ======================== */
section {
    padding: 80px 0;
    margin: 0;
    scroll-margin-top: 84px;
}

/* Título unificado para todas las secciones */
.section-title {
    font-size: 2.6em;
    color: #fd521e;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 16px 0;
    letter-spacing: 1px;
}

.footer-title {
    font-size: 2.6em;
    color: #fd521e;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 36px 0;
    letter-spacing: 1px;
}

/* ======================== */
/* PORTFOLIO                */
/* ======================== */
.section-carta {
    background-color: #fff;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 0 !important;
    position: relative;
}


.section-carta .col-lg-12 {
    margin-bottom: 0;
    padding-bottom: 0;
}



/* ======================== */
/* CARTA - TEXTO 3 PARTES   */
/* ======================== */
.carta-texto {
    margin: 24px auto 32px auto;
    max-width: 750px;
}

.carta-p1 {
    color: #4a3e36;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.carta-p2 {
    color: #2b221c;
    font-size: 1.5em;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* ── Pizzas Nuevas ───────────────────────── */
.nuevas-header {
    margin: 28px 0 16px;
    text-align: center;
}

.nuevas-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(253,82,30,0.1);
    border: 1px solid rgba(253,82,30,0.35);
    color: #fd521e;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 7px 22px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.nuevas-badge--premium {
    background: rgba(253,82,30,0.12);
    border-color: rgba(253,82,30,0.4);
    color: #fd521e;
}

.nuevas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 0 auto;
    max-width: 960px;
}

.nuevas-grid--premium {
    grid-template-columns: 1fr;
    max-width: 420px;
}

/* Liquid glass card */
.nueva-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    padding: 22px 20px;
    text-align: center;
    box-shadow:
        0 2px 0 rgba(255,255,255,1) inset,
        0 8px 32px rgba(180,180,220,0.18),
        0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    display: flex;
    flex-direction: column;
}

.nueva-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 2px 0 rgba(255,255,255,1) inset,
        0 16px 40px rgba(253,82,30,0.12),
        0 4px 12px rgba(0,0,0,0.07);
}

.nueva-card--premium {
    background: rgba(255, 248, 230, 0.6);
    border-color: rgba(255, 220, 100, 0.5);
    padding: 0;
}

.nueva-card-img {
    width: 100%;
    height: auto;
    border-radius: 20px 20px 0 0;
    margin: 0;
    display: block;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

@media (min-width: 600px) and (max-width: 1024px) {
    .nueva-card-img {
        height: 220px;
        object-fit: cover;
        object-position: center;
    }
}

.nueva-card-body {
    padding: 16px 18px 18px;
}

.nueva-card--premium:hover {
    box-shadow:
        0 2px 0 rgba(255,255,255,1) inset,
        0 16px 40px rgba(201,146,10,0.15),
        0 4px 12px rgba(0,0,0,0.07);
}

.nueva-card-nombre {
    font-size: 13px;
    font-weight: 800;
    color: #fd521e;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    line-height: 1.3;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(253,82,30,0.15);
    /* Altura fija igual en todas las cards */
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nueva-card--premium .nueva-card-nombre {
    color: #fd521e;
    font-size: 15px;
    border-bottom-color: rgba(253,82,30,0.25);
    min-height: auto;
}

.nueva-card--premium .nueva-card-ing {
    font-size: 13px;
    color: #5a4b42;
}

.nueva-card-ing {
    font-size: 12px;
    color: #5a4b42;
    line-height: 1.75;
}

@media (max-width: 899px) {
    .nuevas-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .nuevas-grid--premium { grid-template-columns: 1fr; max-width: 100%; }
    .nueva-card-nombre { font-size: 13px; }
    .nueva-card-ing { font-size: 12px; }
}

@media (max-width: 480px) {
    .nuevas-grid { grid-template-columns: 1fr; }
}

.carta-veggie {
    color: #2e7d32 !important;
    font-weight: 700;
}

.carta-veggie .fa-leaf {
    color: #43a047 !important;
    font-size: 0.95em;
}

.carta-p1-titulo {
    display: block;
    font-size: 1.25em;
    font-weight: 800;
    color: #fd521e !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.carta-p2 .text-warning {
    color: #fd521e !important;
}

.carta-premium {
    display: block;
    margin-top: 10px;
    font-size: 1.05em;
    font-weight: 800;
    color: #fd521e;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.carta-premium .fa-crown {
    color: #ff7043;
    font-size: 1em;
}

.carta-p3 {
    color: #4a3e36;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 0;
}

/* Botones */
.carta-btns {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding-bottom: 0;
}

.carta-glass-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 36px;
    font-size: 14px;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    background: rgba(253, 82, 30, 0.88);
    border: 1.5px solid rgba(253,82,30,0.4);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    box-shadow: 0 6px 20px rgba(253,82,30,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    animation: btnPulse 2.8s ease-in-out infinite;
}

.carta-glass-btn:hover,
.carta-glass-btn:focus {
    background: rgba(253, 82, 30, 1);
    box-shadow: 0 10px 30px rgba(253,82,30,0.5);
    transform: scale(1.04);
    color: #fff !important;
    text-decoration: none !important;
    animation: none;
    outline: none !important;
}

@keyframes btnPulse {
    0%   { box-shadow: 0 6px 20px rgba(253,82,30,0.3), 0 0 0 0 rgba(253,82,30,0.35); }
    50%  { box-shadow: 0 6px 20px rgba(253,82,30,0.3), 0 0 0 10px rgba(253,82,30,0); }
    100% { box-shadow: 0 6px 20px rgba(253,82,30,0.3), 0 0 0 0 rgba(253,82,30,0); }
}

/* Variante outline para "Sedes" */
.carta-glass-btn--outline {
    background: transparent;
    border: 2px solid #fd521e;
    color: #fd521e !important;
    box-shadow: none;
    animation: none;
}

.carta-glass-btn--outline:hover,
.carta-glass-btn--outline:focus {
    background: #fd521e;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(253,82,30,0.35);
    outline: none !important;
}

.carta-glass-btn i { font-size: 15px; }

/* ======================== */
/* FOTOS FULL ANCHO         */
/* ======================== */
.carta-fotos-fullwidth {
    width: 100%;
    display: block;
    padding: 0;
    margin: 0;
    overflow: hidden;
    line-height: 0;
    font-size: 0;
}

.carta-foto-strip {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    margin: 0;
    padding: 0;
    align-items: flex-start;
}

/* Item: solo divide el ancho en 6 */
.carta-foto-item {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    background: #111;
}

/* Ratio div: padding-bottom 100% = alto igual al ancho del item. Siempre cuadrado. */
.carta-foto-ratio {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
}

/* Imagen y overlay se posicionan dentro del ratio div */
.carta-foto-ratio img,
.carta-foto-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.carta-foto-ratio img {
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1);
    transform-origin: center center;
    transition: transform 0.45s ease, filter 0.45s ease;
    filter: brightness(0.95);
    /* Cancelar reglas de Bootstrap */
    max-height: none !important;
    height: 100% !important;
    margin: 0 !important;
    margin-top: 0 !important;
}

.carta-foto-item:hover .carta-foto-ratio img {
    transform: scale(1.06);
    filter: brightness(1.05);
}/* Overlay — visible por defecto, se oculta en hover */
.carta-foto-overlay {
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: opacity 0.35s ease;
    opacity: 1;
    pointer-events: none;
}

.carta-foto-item:hover .carta-foto-overlay {
    opacity: 0;
}

.carta-foto-overlay span {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    padding: 0 8px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
    line-height: 1;
}

.carta-foto-overlay small {
    color: #fd521e;
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
    text-align: center;
    text-shadow: 0 1px 6px rgba(0,0,0,0.8);
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.carta-foto-overlay small::before,
.carta-foto-overlay small::after {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: #fd521e;
    opacity: 0.8;
}

/* Móvil: 2 columnas × 3 filas */
/* ======================== */
/* ABOUT                    */
/* ======================== */
.about-section {
    position: relative;
    background-image: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.7) 100%), url('../img/nosotros-bg.jpg');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #fff;
    padding: 100px 0 !important;
    margin: 0;
}

.about-card {
    background: rgba(18, 14, 13, 0.72);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    backdrop-filter: blur(24px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 48px 44px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -90px;
    left: -90px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(253, 82, 30, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap;
}

.about-text {
    position: relative;
    z-index: 1;
}

.about-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fd521e;
    background: rgba(253, 82, 30, 0.12);
    border: 1px solid rgba(253, 82, 30, 0.28);
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.about-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8em;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    letter-spacing: 1.2px;
    line-height: 1.1;
}

.about-p-lead {
    font-size: 1.16em;
    font-weight: 600;
    line-height: 1.65;
    color: #ffffff;
    margin-bottom: 16px;
}

.about-p {
    font-size: 1.02em;
    font-weight: 400;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
}

.about-p:last-child {
    margin-bottom: 0;
}

.about-p strong {
    color: #ffffff;
    font-weight: 600;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.about-feature-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-feature-item:hover {
    background: rgba(253, 82, 30, 0.08);
    border-color: rgba(253, 82, 30, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.about-feature-item i {
    font-size: 20px;
    color: #fd521e;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 82, 30, 0.12);
    border-radius: 12px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.about-feature-item:hover i {
    transform: scale(1.12);
}

.about-feature-item strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
    margin-bottom: 2px;
}

.about-feature-item span {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.3;
}

.about-img {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.about-badge-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.45));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-badge-wrap:hover {
    transform: scale(1.05) rotate(2deg);
}

.about-badge-wrap img {
    max-width: 270px;
    width: 100%;
    height: auto;
    display: block;
}

/* ======================== */
/* FOOTER                   */
/* ======================== */
footer { color: #fff; margin: 0; padding: 0; }

footer h3 {
    margin-bottom: 8px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 1.45em;
    letter-spacing: 0.8px;
}

footer .footer-above {
    padding: 70px 0 50px;
    background: #14110f;
    border-top: 1px solid rgba(253, 82, 30, 0.15);
    margin: 0;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
}

.footer-col-item {
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 30px;
    text-align: center;
    border-right: none;
    position: relative;
}

.footer-col-item > p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    margin-bottom: 12px;
}

.footer-col-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 75%;
    width: 1px;
    background: rgba(255, 255, 255, 0.07);
}

.sede-horario-wrap {
    display: flex;
    justify-content: center;
    margin: 4px 0 10px;
}

.sede-horario {
    display: grid;
    grid-template-columns: auto auto;
    gap: 4px 14px;
}

.sede-horario-row {
    display: contents;
}

.sede-dia {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-align: right;
    font-size: 12.5px;
    white-space: nowrap;
}

.sede-hora {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
    font-size: 12.5px;
    text-align: left;
    white-space: nowrap;
}

.footer-col-item a[href^="tel"] {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col-item a[href^="tel"]:hover {
    color: #fd521e;
}

.footer-col-item:last-child {
    border-right: none;
}

footer .footer-below {
    padding: 0;
    background-color: #1a1614;
    margin: 0;
    position: relative;
    overflow: hidden;
    min-height: 720px;
    border-top: 1px solid rgba(253, 82, 30, 0.2);
}

.map-container {
    width: 100%;
    height: 720px;
    background: #1e1e1e;
    position: relative;
    z-index: 1;
}

.map-container .leaflet-tile {
    filter: saturate(0.88) contrast(1.02);
}

/* Contenedor Flotante e Integrado sobre el Mapa */
.map-floating-overlay {
    position: absolute;
    top: 14px;
    left: 0;
    right: 0;
    z-index: 400;
    pointer-events: none;
    padding: 0 16px;
}

.map-floating-panel {
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(22, 17, 14, 0.90);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    pointer-events: auto;
}

.map-toolbar {
    background: transparent;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.map-toolbar-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    flex-shrink: 0;
}

.map-toolbar-title i {
    color: #fd521e;
}

.map-toolbar-sub {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    flex: 1 1 auto;
    padding: 0 10px;
    white-space: normal;
}

.map-toolbar-sub strong {
    color: #ffffff;
}

.map-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.map-tab {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    outline: none !important;
}

.map-tab i {
    color: #fd521e;
    font-size: 11px;
    transition: color 0.2s ease;
}

.map-tab:hover {
    background: rgba(253, 82, 30, 0.15);
    border-color: rgba(253, 82, 30, 0.4);
    color: #ffffff;
}

.map-tab.active {
    background: #fd521e;
    border-color: #fd521e;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(253, 82, 30, 0.35);
}

.map-tab.active i {
    color: #ffffff;
}

/* Fichas de Ubicación unificadas sobre el Mapa */
.map-sedes-bar {
    background: transparent;
    padding: 8px 14px 8px;
}

.map-sedes-bar .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.map-sedes-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
}

.map-sede-col {
    padding: 0;
    flex: 1 1 260px;
    max-width: 360px;
    box-sizing: border-box;
    transition: opacity 0.3s ease;
}

.map-sede-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    box-sizing: border-box;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    position: relative;
}

.map-sede-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(253, 82, 30, 0.4);
}

.map-sede-card.active {
    background: rgba(253, 82, 30, 0.12);
    border-color: #fd521e;
    box-shadow: 0 4px 18px rgba(253, 82, 30, 0.3);
}

.map-sede-check {
    position: absolute;
    top: 7px;
    right: 9px;
    font-size: 13.5px;
    color: #fd521e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.sede-nearest-badge-wrap {
    display: none;
}

.sede-nearest-badge {
    display: none;
}

.map-sede-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2px;
    letter-spacing: 0.5px;
}

.map-sede-address {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 6px;
    line-height: 1.35;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.map-sede-address i {
    color: #fd521e;
    font-size: 11px;
}

.map-sede-card .sede-distancia {
    margin-bottom: 0;
}

/* Reubicación de controles de Leaflet para no tapar las tarjetas */
footer .footer-below .leaflet-top.leaflet-left {
    top: auto;
    bottom: 24px;
    left: 24px;
}

.footer-below .leaflet-control-zoom {
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.4) !important;
}

.footer-below .leaflet-control-zoom a {
    background: #1f1a18 !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.footer-below .leaflet-control-zoom a:hover {
    background: #fd521e !important;
    color: #ffffff !important;
}

@media (max-width: 991px) {
    .map-toolbar {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
        padding: 8px 14px;
    }
    .map-toolbar-sub {
        width: 100%;
        order: 3;
        font-size: 11px;
        text-align: center;
        white-space: normal;
        padding: 0;
    }
    .map-tabs {
        order: 2;
    }
}

@media (max-width: 767px) {
    footer .footer-below {
        min-height: 520px;
    }
    .map-container {
        height: 520px;
    }
    .map-floating-overlay {
        top: 8px;
        padding: 0 8px;
    }
    .map-floating-panel {
        border-radius: 12px;
    }
    .map-toolbar {
        padding: 6px 10px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
    }
    .map-toolbar-title {
        font-size: 12.5px;
        gap: 5px;
        justify-content: center;
    }
    .map-toolbar-sub {
        font-size: 10.5px;
        text-align: center;
        white-space: normal;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    .map-tabs {
        width: 100%;
        display: flex;
        justify-content: center;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 4px;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
    }
    .map-tab {
        white-space: nowrap;
        padding: 3px 8px;
        font-size: 10.5px;
        border-radius: 18px;
        flex-shrink: 0;
    }
    .map-sedes-bar {
        padding: 4px 6px 6px;
    }
    .map-sedes-row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 6px;
        padding: 2px 2px 4px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        margin: 0;
    }
    .map-sede-col {
        flex: 0 0 82%;
        max-width: 82%;
        scroll-snap-align: center;
        padding: 0;
        box-sizing: border-box;
    }
    .map-sede-card {
        padding: 6px 8px;
        border-radius: 10px;
    }
    .map-sede-check {
        top: 5px;
        right: 7px;
        font-size: 12px;
    }
    .map-sede-name {
        font-size: 12.5px;
        margin: 0 0 1px;
    }
    .map-sede-address {
        font-size: 10px;
        margin: 0 0 3px;
        gap: 3px;
    }
    .sede-dist-badge, .sede-eta-badge {
        font-size: 9px;
        padding: 1px 5px;
    }
    footer .footer-below .leaflet-top.leaflet-left {
        bottom: 10px;
        left: 10px;
    }
    .pf-gps-btn {
        bottom: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* Etiquetas elegantes de los barrios principales */
.pf-barrio-wrapper {
    position: relative;
    pointer-events: none;
}

.pf-barrio-label {
    position: absolute;
    transform: translate(-50%, -50%);
    background: rgba(18, 18, 20, 0.42);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 2px 7px;
    color: rgba(255, 255, 255, 0.72);
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
}

/* Custom Marker Styling */
.pf-marker-pin {
    width: 38px;
    height: 38px;
    border-radius: 50% 50% 50% 0;
    background: #fd521e;
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -19px 0 0 -19px;
    border: 2.5px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pf-marker-pin i {
    transform: rotate(45deg);
    color: #ffffff;
    font-size: 15px;
}

.pf-marker-pin::after {
    content: '';
    width: 8px;
    height: 8px;
    margin: 8px 0 0 8px;
    background: transparent;
    position: absolute;
    border-radius: 50%;
}

.pf-marker-wrapper {
    position: relative;
    width: 38px;
    height: 38px;
}

.pf-marker-wrapper.is-active .pf-marker-pin,
.pf-marker-pin:hover {
    background: #b51a00;
    transform: rotate(-45deg) scale(1.18);
    box-shadow: 0 6px 20px rgba(253, 82, 30, 0.6);
}

/* User Location Marker - Persona */
.pf-user-marker {
    position: relative;
    width: 32px;
    height: 32px;
}

.pf-user-marker-pin {
    width: 30px;
    height: 30px;
    background: #007aff;
    border: 2.5px solid #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 1px;
    left: 1px;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
}

.pf-user-marker-pin i {
    color: #ffffff;
    font-size: 13px;
}

.pf-user-marker-pulse {
    position: absolute;
    width: 54px;
    height: 54px;
    background: rgba(0, 122, 255, 0.28);
    border-radius: 50%;
    top: -11px;
    left: -11px;
    animation: userPulse 2.2s infinite ease-out;
    z-index: 1;
    pointer-events: none;
}

@keyframes userPulse {
    0% {
        transform: scale(0.35);
        opacity: 0.95;
    }
    70% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Botón flotante GPS dentro del mapa */
.pf-gps-btn {
    position: absolute;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background: #1f1a18;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 16px;
    outline: none !important;
}

.pf-gps-btn i {
    color: #007aff;
    transition: transform 0.25s ease;
}

.pf-gps-btn:hover {
    background: #007aff;
    border-color: #007aff;
    transform: scale(1.08);
}

.pf-gps-btn:hover i {
    color: #ffffff;
    transform: scale(1.1);
}

/* Aviso interactivo para móviles (2 dedos para mover mapa) */
.pf-map-gesture-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    z-index: 500;
    background: rgba(22, 17, 14, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(253, 82, 30, 0.5);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    white-space: nowrap;
}

.pf-map-gesture-hint.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.pf-map-gesture-hint i {
    color: #fd521e;
    font-size: 14px;
}

/* Leaflet Popup Custom Styling */
.leaflet-popup-content-wrapper {
    background: #1f1a18 !important;
    color: #ffffff !important;
    border: 1px solid rgba(253, 82, 30, 0.35) !important;
    border-radius: 16px !important;
    padding: 6px !important;
    box-shadow: 0 16px 36px rgba(0,0,0,0.6) !important;
}

.leaflet-popup-tip {
    background: #1f1a18 !important;
    border: 1px solid rgba(253, 82, 30, 0.35) !important;
}

.leaflet-popup-content {
    margin: 12px 14px !important;
    line-height: 1.4 !important;
}

.pf-map-popup {
    text-align: center;
    padding: 2px 4px 0;
}

.pf-map-popup h4 {
    margin: 0 0 10px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.pf-popup-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.pf-popup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.pf-popup-btn-maps {
    background: #fd521e;
    color: #ffffff !important;
    box-shadow: 0 3px 12px rgba(253, 82, 30, 0.4);
    margin: 0 auto;
}

.pf-popup-btn-maps:hover {
    background: #e04414;
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(253, 82, 30, 0.55);
}

.horario {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fd521e;
    margin-top: 14px;
    margin-bottom: 6px;
}

/* ======================== */
/* SCROLL TO TOP (UX & UI)  */
/* ======================== */
.scroll-top-btn {
    position: fixed;
    right: 24px;
    bottom: 78px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    outline: none !important;
    cursor: pointer;

    /* Liquid Glassmorphic Dark styling */
    background: rgba(26, 21, 18, 0.88);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 15px;

    /* Oculto por defecto hasta hacer scroll */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px) scale(0.85);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.22s ease,
                border-color 0.22s ease,
                box-shadow 0.22s ease,
                color 0.22s ease;
}

.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.scroll-top-btn:hover,
.scroll-top-btn:focus {
    background: #fd521e;
    border-color: #fd521e;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(253, 82, 30, 0.45);
    transform: translateY(-3px) scale(1.04);
}

.scroll-top-btn:active {
    transform: translateY(-1px) scale(0.96);
}

.scroll-top-btn i {
    transition: transform 0.25s ease;
}

.scroll-top-btn:hover i {
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .scroll-top-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
        right: 10px;
        bottom: 56px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    }
}

/* ======================== */
/* BUTTONS                  */
/* ======================== */
.btn:focus,
.btn:active,
.btn.active,
.btn:focus:active,
button:focus,
button:active,
a.btn:focus,
a.btn:active {
    outline: 0 !important;
    outline: none !important;
    box-shadow: none;
}

/* ================================================ */
/* RESPONSIVE                                       */
/* ================================================ */

/*
 * Breakpoints:
 *   ≥ 900px  → Desktop (diseño completo)
 *   < 900px  → Móvil / tablet pequeña (diseño apilado)
 *
 * Se usa 899px como límite porque cubre todos los
 * teléfonos modernos y tablets en portrait que
 * visualmente se comportan igual que móvil.
 */

@media (max-width: 899px) {

    /* --- Navbar Móvil Minimalista 2026 --- */
    .navbar-container { padding: 0 16px; }
    .nav.navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        padding: 16px 18px 8px 18px !important;
        margin: 0 !important;
        gap: 4px !important;
    }
    
    .nav.navbar-nav > li {
        display: flex !important;
        width: 100% !important;
        border-bottom: none !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 1 !important;
    }

    .nav.navbar-nav > li > a {
        padding: 12px 16px !important;
        display: flex;
        align-items: center;
        justify-content: center !important;
        text-align: center !important;
        font-family: 'Montserrat', sans-serif;
        font-size: 14px !important;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.9) !important;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        border-radius: 8px !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        transition: color 0.2s ease, background-color 0.2s ease;
        gap: 10px;
        -webkit-tap-highlight-color: transparent !important;
        outline: none !important;
    }

    .nav.navbar-nav > li.nav-home > a {
        justify-content: center !important;
        font-size: 14px !important;
    }

    .nav.navbar-nav > li.nav-home > a i {
        color: #fd521e;
        font-size: 14px;
    }

    .nav.navbar-nav > li.nav-home > a .nav-home-label {
        display: inline-block !important;
    }

    .nav.navbar-nav > li > a:hover,
    .nav.navbar-nav > li > a:focus {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.06) !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .nav.navbar-nav > li > a.active {
        color: #fd521e !important;
        background: transparent !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .nav.navbar-nav > li > a.active::after {
        display: none !important;
    }

    .nav.navbar-nav > li.social-divider,
    .nav.navbar-nav > li.social-icon {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
    }

    /* Footer del menú móvil */
    .navbar-mobile-footer {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin: 0 !important;
        padding: 12px 18px 16px 18px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .navbar-mobile-brand-tag {
        font-size: 11.5px;
        color: rgba(255, 255, 255, 0.55);
        font-weight: 500;
        letter-spacing: 0.5px;
        display: flex;
        align-items: center;
    }

    .navbar-mobile-social-links {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 16px !important;
    }

    .navbar-mobile-social-links a {
        color: rgba(255, 255, 255, 0.7);
        font-size: 18px;
        transition: color 0.2s ease, transform 0.2s ease;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-mobile-social-links a:hover {
        color: #fd521e;
        transform: scale(1.15);
    }
}

@media (max-width: 899px) {

    /* --- Header y Carousel --- */
    header {
        height: 100vw;
        margin-top: 0;
        padding-top: 0;
    }
    .carousel,
    .carousel-inner {
        height: 100vw !important;
    }
    .carousel-inner > .item {
        height: 100vw !important;
        min-height: 100vw !important;
    }
    .carousel-inner > .item > img,
    .carousel-inner > .item > a > img,
    .carousel .img-responsive {
        width: 100% !important;
        height: 100vw !important;
        min-height: 100vw !important;
        max-height: 100vw !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
    .carousel-control { width: 25%; }

    /* --- Botón Ver Carta --- */
    .carousel-carta-btn {
        padding: 10px 26px;
        font-size: 13px;
    }

    /* --- Secciones generales --- */
    section { padding: 50px 0; }
    .section-carta { padding-top: 50px; }
    .section-title { font-size: 2em; }
    .footer-title { font-size: 2em; }

    /* --- Carta --- */
    .carta-p2 { font-size: 1.2em; }
    .carta-btns { flex-direction: column; align-items: center; }
    .carta-glass-btn { width: 100%; max-width: 280px; justify-content: center; }
    .carta-foto-strip { flex-wrap: wrap; }
    .carta-foto-item {
        flex: 0 0 50%;
        width: 50%;
    }
    .carta-fotos-fullwidth { height: auto; }
    .carta-foto-overlay span { font-size: 16px; letter-spacing: 1.5px; }
    .carta-foto-overlay small { font-size: 12px; }
    .carta-foto-overlay small::before,
    .carta-foto-overlay small::after { width: 14px; }

    /* --- Nosotros --- */
    .about-section {
        padding: 50px 0 !important;
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }
    .about-card {
        padding: 32px 20px;
        border-radius: 20px;
    }
    .about-title {
        font-size: 2.1em;
        margin-bottom: 16px;
    }
    .about-p-lead {
        font-size: 1.05em;
        line-height: 1.65;
        margin-bottom: 14px;
    }
    .about-p {
        font-size: 0.95em;
        line-height: 1.65;
        margin-bottom: 14px;
    }
    .about-features {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 16px;
    }
    .about-feature-item {
        padding: 12px 14px;
    }
    .about-img {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 24px;
        padding: 10px 0 0 0;
    }
    .about-badge-wrap img {
        max-width: 190px;
        margin: 0 auto;
    }

    /* --- Sedes / Footer --- */
    .footer-col-item {
        width: 100% !important;
        float: none !important;
        margin: 0 auto;
        max-width: 380px;
        border-right: none;
        border-bottom: 1px solid rgba(101,7,7,0.15);
        padding-bottom: 28px;
        margin-bottom: 28px;
    }
    .footer-col-item:not(:last-child)::after {
        display: none;
    }
    .footer-col-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
}
/* ======================== */
/* ESTADO Y DETALLES SEDE   */
/* ======================== */
.sede-distancia {
    margin-bottom: 12px;
    min-height: 0;
}

.sede-dist-row {
    display: flex;
    justify-content: center;
}

.sede-dist-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    border-radius: 20px;
    padding: 3px 11px;
    font-style: normal;
    letter-spacing: 0.2px;
}

.sede-dist-badge i {
    font-size: 11px;
    color: #fd521e;
}

.sede-eta-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.sede-eta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    border-radius: 20px;
    padding: 3px 10px;
    letter-spacing: 0.2px;
}

.sede-eta-badge i {
    font-size: 11px;
    color: #fd521e;
}

.sede-geo-action {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.sede-geo-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(253, 82, 30, 0.3);
    color: #fd521e;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    padding: 3px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sede-geo-btn:hover,
.sede-geo-btn:focus {
    background: #fd521e;
    border-color: #fd521e;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(253, 82, 30, 0.25);
    outline: none !important;
}

/* Caja de Domicilios: Minimalista, plana y limpia */
.sede-domicilios-box {
    margin: 12px auto 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
    max-width: 360px;
    width: 100%;
    min-height: 124px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sede-domicilios-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: #fd521e;
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin: 0 0 8px;
}

.sede-domicilios-title i {
    font-size: 12px;
    color: #fd521e;
}

.sede-telefonos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    margin: 0;
    width: 100%;
}

.sede-tel-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

/* Botones de teléfonos: Planos, modernos, sin sombras ni recuadros toscos */
.sede-tel-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: none;
}

.sede-tel-chip i {
    font-size: 11px;
    color: #fd521e;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.sede-tel-chip .tel-area {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.sede-tel-chip--cel {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.09);
}

.sede-tel-chip:hover,
.sede-tel-chip:focus {
    background: #fd521e;
    border-color: #fd521e;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(253, 82, 30, 0.3);
    outline: none !important;
}

.sede-tel-chip:hover i,
.sede-tel-chip:focus i,
.sede-tel-chip:hover .tel-area,
.sede-tel-chip:focus .tel-area {
    color: #ffffff !important;
}

.horario {
    color: #fd521e;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin: 14px 0 6px;
}

.sede-status {
    margin-top: 14px;
}

.sede-badge-well {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50px;
    background: transparent;
}

.sede-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sede-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.sede-abierto {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.sede-abierto .sede-dot {
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.7);
    animation: pulse-green 2s infinite;
}

.sede-cerrado {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.sede-cerrado .sede-dot {
    background: #ef4444;
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 4px rgba(34,197,94,0.6); }
    50%       { box-shadow: 0 0 10px rgba(34,197,94,1); }
}

/* ======================== */
/* BOTONES SEDE             */
/* ======================== */
.sede-acciones {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.sede-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.25s ease;
    cursor: pointer;
}

.sede-btn:focus,
.sede-btn:active {
    outline: none !important;
}

.sede-btn-call {
    background: #fd521e;
    color: #fff !important;
    border: 1.5px solid #fd521e;
    box-shadow: 0 4px 12px rgba(253, 82, 30, 0.28);
}

.sede-btn-call:hover,
.sede-btn-call:focus {
    background: #e04010;
    border-color: #e04010;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(253, 82, 30, 0.45);
    color: #fff !important;
    outline: none !important;
}

.sede-btn-maps {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.14);
}

.sede-btn-maps:hover,
.sede-btn-maps:focus {
    background: #fd521e;
    border-color: #fd521e;
    color: #fff !important;
    transform: translateY(-2px);
    outline: none !important;
}

.sede-next {
    display: block;
    margin-top: 6px;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.5);
    font-style: normal;
}

.sede-progress-wrap {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.sede-progress-icon {
    font-size: 13px;
    flex-shrink: 0;
    opacity: 0.6;
    color: #ffffff;
}

/* Barra de progreso — simple, plana y moderna */
.sede-progress-track {
    flex: 1;
    height: 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    overflow: hidden;
    position: relative;
}

.sede-progress-bar {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #e04010, #fd521e);
    box-shadow: 0 0 6px rgba(253, 82, 30, 0.35);
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

@media (max-width: 899px) {
    .sede-btn { padding: 10px 22px; font-size: 14px; }
    .sede-acciones { gap: 12px; }
    .sede-domicilios-box { padding: 12px 14px; max-width: 92%; min-height: 120px; }
    .sede-domicilios-title { font-size: 13px; font-weight: 800; letter-spacing: 1.4px; }
    .sede-domicilios-title i { font-size: 13px; }
    .sede-tel-chip { font-size: 12.5px; padding: 6px 12px; }
    .sede-tel-chip i { font-size: 11px; }
}
/* ======================== */
/* SCROLL ANIMATIONS        */
/* ======================== */
.anim-hidden {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.anim-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fotos en 3 columnas en tablet */
@media (min-width: 600px) and (max-width: 1024px) {
    .carta-foto-strip { flex-wrap: wrap; }
    .carta-foto-item {
        flex: 0 0 33.333%;
        width: 33.333%;
    }
}

/* Navbar desktop escalado en tablet horizontal */
@media (min-width: 900px) and (max-width: 1024px) {
    .navbar-container { padding: 0 20px; }
    .navbar-brand-wrapper { height: 100%; }
    .navbar-brand img { height: 56px !important; max-height: 56px !important; width: auto !important; }
    #navbarCollapse {
        position: absolute !important;
        top: 0 !important;
        right: 20px !important;
        bottom: 0 !important;
        height: auto !important;
        width: auto !important;
        display: flex !important;
        align-items: center !important;
    }
}
