/* Perfil público empresa (empresa.php) — bump ?v= en empresa.php al cambiar estilos */

        .containers_imgs .img_porta{
            width: 100%;
            height: 100%;
            max-width: none;
            object-fit: cover;
            object-position: center;
            border-radius: 10px;
        }
        .stick_arriba{
            position: sticky;
            top: 0px;
        }
        .modalOpinion{
            background-color: #587360;
            color: #ffffff;
            font-weight: 600;
            font-size: 15px;
            padding: 14px 22px;
            border-radius: 12px;
            border: none;
            box-shadow: 0 4px 16px rgba(88, 115, 96, 0.28);
            transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
        }
        .modalOpinion:hover{
            background-color: #4e6a57;
            color: #ffffff;
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(88, 115, 96, 0.35);
        }
.btn_wsp{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    background:#25D366;
    color:#fff;
    padding:10px 15px;

    border-radius:8px;
    text-decoration:none;
    font-weight:600;

    transition:all .3s ease;
}

.btn_wsp i{
    font-size:18px;
}

.btn_wsp:hover{
    background:#1ebe5d;
    color:#fff;
    transform:scale(1.03);
}

.btn-mensaje-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    border: 2px solid #587360;
    background: #fff;
    color: #587360;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-mensaje-premium:hover {
    background: #587360;
    color: #fff;
    box-shadow: 0 4px 14px rgba(88, 115, 96, 0.28);
}

.btn-mensaje-premium i {
    font-size: 1.1rem;
}
/* PREMIUM / Fundador: siempre visible, esquina superior izquierda (como antes) */
.section_detalle_empresa .containers_imgs .empresa-cover-primary-wrap{
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 8;
    pointer-events: none;
}
.section_detalle_empresa .containers_imgs .empresa-cover-primary-wrap > *{
    pointer-events: auto;
}
/* .section_detalle_empresa .containers_imgs .empresa-cover-plan-badge--primary .premium,
.section_detalle_empresa .containers_imgs .empresa-cover-plan-badge--primary .fundador{
    position: static;
    left: auto;
    top: auto;
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
} */
.section_detalle_empresa .containers_imgs .empresa-cover-plan-badge--primary .premium{
    background-color: #f71e23;
}
.section_detalle_empresa .containers_imgs .empresa-cover-plan-badge--primary .fundador{
    background-color: #587360;
}
/* Verificado, Recomendado, etc.: derecha, solo icono; hover o clic expande */
.section_detalle_empresa .containers_imgs .empresa-cover-badges{
    position: absolute;
    right: 14px;
    left: auto;
    top: 14px;
    z-index: 8;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    max-width: min(92%, 280px);
    pointer-events: none;
}
.section_detalle_empresa .containers_imgs .empresa-cover-badges > *{
    pointer-events: auto;
}
.section_detalle_empresa .containers_imgs .empresa-cover-chip{
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0;
    text-align: right;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}
.section_detalle_empresa .containers_imgs .empresa-cover-chip:focus-visible .empresa-cover-chip__inner{
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.55), 0 12px 36px rgba(0, 0, 0, 0.28);
}
.section_detalle_empresa .containers_imgs .empresa-cover-chip__inner{
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    max-width: 46px;
    overflow: hidden;
    border-radius: 999px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
    transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1), gap 0.3s ease, padding 0.3s ease, box-shadow 0.25s ease;
}
.section_detalle_empresa .containers_imgs .empresa-cover-chip__ico{
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    line-height: 1;
}
.section_detalle_empresa .containers_imgs .empresa-cover-chip__txt{
    flex: 0 0 auto;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    transition: opacity 0.28s ease 0.04s, max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.section_detalle_empresa .containers_imgs .empresa-cover-chip:hover .empresa-cover-chip__inner,
.section_detalle_empresa .containers_imgs .empresa-cover-chip.is-open .empresa-cover-chip__inner{
    max-width: 280px;
    gap: 10px;
    padding: 10px 14px 10px 12px;
}
.section_detalle_empresa .containers_imgs .empresa-cover-chip:hover .empresa-cover-chip__txt,
.section_detalle_empresa .containers_imgs .empresa-cover-chip.is-open .empresa-cover-chip__txt{
    opacity: 1;
    max-width: 220px;
}
.section_detalle_empresa .containers_imgs .empresa-cover-chip--verificado .empresa-cover-chip__inner{
    background: linear-gradient(135deg, rgba(5, 122, 85, 0.98) 0%, rgba(4, 100, 75, 0.95) 100%);
}
.section_detalle_empresa .containers_imgs .empresa-cover-chip--recomendado .empresa-cover-chip__inner{
    background: linear-gradient(135deg, rgba(180, 83, 9, 0.98) 0%, rgba(217, 119, 6, 0.95) 50%, rgba(245, 158, 11, 0.92) 100%);
}
.section_detalle_empresa .containers_imgs .empresa-cover-chip--profesional .empresa-cover-chip__inner{
    background: linear-gradient(135deg, rgba(55, 48, 163, 0.96) 0%, rgba(79, 70, 229, 0.92) 100%);
}
.section_detalle_empresa .containers_imgs .empresa-cover-chip--basico .empresa-cover-chip__inner{
    background: linear-gradient(135deg, rgba(55, 65, 81, 0.95) 0%, rgba(75, 85, 99, 0.9) 100%);
}
.section_detalle_empresa .containers_imgs .empresa-cover-chip--extra .empresa-cover-chip__inner{
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.9) 100%);
}
.section_detalle_empresa .containers_imgs .empresa-cover-pills{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    width: 100%;
}
@media (max-width: 575.98px){
    .section_detalle_empresa .containers_imgs .empresa-cover-primary-wrap{
        left: 10px;
        top: 10px;
    }
    .section_detalle_empresa .containers_imgs .empresa-cover-badges{
        right: 10px;
        top: 10px;
    }
    .section_detalle_empresa .containers_imgs .empresa-cover-chip__inner{
        padding: 9px;
    }
}
.section_detalle_empresa .alto_porta {
    position: relative;
    height: clamp(280px, 42vw, 500px);
    overflow: hidden;
    border-radius: 10px;
    background: #e9ecef;
}

.section_detalle_empresa .alto_porta .mat-img-skeleton--empresa-hero {
    position: absolute;
    inset: 0;
    min-height: 0;
    height: 100%;
    border-radius: 10px;
}

.section_detalle_empresa .alto_porta .img_porta,
.section_detalle_empresa .alto_porta img.img_porta,
.section_detalle_empresa .alto_porta .mat-img-skeleton--empresa-hero img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0 !important;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

/* Bootstrap img-fluid rompe el recorte en contenedor de altura fija */
.section_detalle_empresa .alto_porta .img_porta.img-fluid {
    height: 100% !important;
    max-width: none !important;
}

.alto_porta{
    height: clamp(280px, 42vw, 500px);
}
@media (max-width: 767.98px) {
    .section_detalle_empresa .alto_porta,
    .alto_porta {
        height: auto;
        min-height: 220px;
        max-height: min(72vw, 420px);
        aspect-ratio: 4 / 3;
        overflow: hidden;
    }
    .section_detalle_empresa .alto_porta .img_porta,
    .section_detalle_empresa .alto_porta img.img_porta,
    .section_detalle_empresa .alto_porta .mat-img-skeleton--empresa-hero img,
    .alto_porta .img_porta,
    .alto_porta img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 0;
        max-height: none;
        object-fit: cover;
        object-position: center;
    }
}
.alto_porta img{
    object-position: center;
    object-fit: cover;
}
.sitio_web{
    text-decoration: none;
    color: #587360;
    font-weight: 600;
}
.cuadros{
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.cuadros:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}
.empresa-galeria-mini-row {
    --empresa-galeria-thumb-h: 160px;
}
.empresa-galeria-thumb--empty {
    height: var(--empresa-galeria-thumb-h);
    border-radius: 10px;
    border: 1px dashed rgba(0,0,0,0.12);
    background: linear-gradient(145deg, #f3f4f6 0%, #e8eaee 100%);
}
.empresa-galeria-ver-mas {
    width: 100%;
    height: var(--empresa-galeria-thumb-h);
    border: 0;
    border-radius: 10px;
    background: linear-gradient(160deg, rgba(55, 55, 60, 0.92) 0%, rgba(35, 35, 40, 0.95) 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px;
    line-height: 1.25;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.empresa-galeria-ver-mas:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.22);
    filter: brightness(1.05);
    color: #fff;
}
.redes_empresa {
    display: flex;
}

.redes_empresa a {
    width: 36px;
    height: 36px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid #587360;
    border-radius: 8px;
    margin-right: 10px;
}

.redes_empresa a:hover {
    background: #5f7d6d; /* tu verde */
    color: #fff;
    transform: translateY(-2px);
}
        /* Anclas de pestañas: espacio bajo header + barra sticky */
        html {
            scroll-padding-top: 148px;
        }
        .reservar_cliente{
            background-color: #ffffff;
            right: 12px;
            top: 12px;
            text-align: center;
            text-transform: uppercase;
            letter-spacing: .0625rem;
            font-size: 12px;
            font-weight: 600;
            color: #050404;
            position: absolute;
            z-index: 9;
            padding: 2px 8px;
            display: flex;
            align-items: center;
            border-radius: .19rem;
            cursor: pointer;
        }
        .reserva-cal-modal .modal-content {
            border-radius: 18px;
            overflow: hidden;
            border: 0;
        }
        .reserva-cal-header {
            background: linear-gradient(150deg, #56715f 0%, #6d8d75 100%);
            color: #fff;
            padding: 16px 20px;
        }
        .reserva-cal-calendar {
            border: 1px solid #e7ece8;
            border-radius: 12px;
            padding: 8px;
            background: #fff;
        }
        #reservaCalendar .fc {
            --fc-border-color: #e3e8e4;
            --fc-button-bg-color: #274a34;
            --fc-button-border-color: #274a34;
            --fc-button-hover-bg-color: #1d3828;
            --fc-button-hover-border-color: #1d3828;
            --fc-button-active-bg-color: #162d20;
            --fc-button-active-border-color: #162d20;
            --fc-page-bg-color: #ffffff;
            --fc-today-bg-color: #f3f8f4;
        }
        #reservaCalendar .fc-toolbar.fc-header-toolbar {
            margin-bottom: .75rem;
            padding: 2px 6px;
        }
        #reservaCalendar .fc-toolbar-title {
            font-size: 1.15rem;
            font-weight: 700;
            text-transform: capitalize;
        }
        #reservaCalendar .fc-daygrid-day {
            transition: background .15s ease;
        }
        #reservaCalendar .fc-daygrid-day:hover {
            background: #f8fbf8;
        }
        #reservaCalendar .fc-daygrid-day.reserva-dia-bloqueado {
            background: #fdeeee;
        }
        /* FullCalendar usa <a> en días y cabeceras: quitar azul/subrayado del tema del sitio */
        #reservaCalendar .fc-daygrid-day-top a,
        #reservaCalendar .fc-daygrid-day-top a:hover,
        #reservaCalendar .fc-daygrid-day-top a:focus,
        #reservaCalendar .fc-col-header-cell a,
        #reservaCalendar .fc-col-header-cell a:hover,
        #reservaCalendar .fc-col-header-cell a:focus {
            color: inherit;
            text-decoration: none !important;
        }
        #reservaCalendar .fc-daygrid-day-number {
            font-weight: 600;
            color: #243128;
        }
        #reservaCalendar .fc-col-header-cell-cushion {
            font-weight: 600;
            color: #3d5245;
        }
        #reservaCalendar .fc-daygrid-day.reserva-dia-bloqueado .fc-daygrid-day-number {
            color: #8b3a36;
            font-weight: 700;
        }
        #reservaCalendar .fc-highlight {
            background: rgba(88, 115, 96, 0.22);
        }
        #reservaCalendar .reserva-bloqueado.fc-bg-event {
            opacity: .45;
        }
        .reserva-cal-side {
            border: 1px solid #e7ece8;
            border-radius: 12px;
            background: #f8fbf9;
            padding: 14px;
            height: 100%;
        }
        .reserva-cal-side .lbl {
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: .04em;
            color: #5d7265;
            font-weight: 700;
        }
        .reserva-cal-side .val {
            font-size: 15px;
            font-weight: 600;
            color: #243128;
            margin-bottom: 10px;
        }
        .reserva-cal-ocupado {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            color: #7a3e3a;
            font-weight: 600;
        }
        .reserva-cal-ocupado::before {
            content: "";
            width: 10px;
            height: 10px;
            border-radius: 3px;
            background: #f4c7c3;
            border: 1px solid #e9a4a0;
            display: inline-block;
        }
        .galeria-modal-content {
            border: 0;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 18px 55px rgba(15, 24, 19, 0.45);
        }
        .galeria-modal-head {
            background: linear-gradient(160deg, #587360 0%, #6b8a70 100%);
            color: #fff;
            padding: 14px 18px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .galeria-modal-title {
            margin: 0;
            font-size: 1.06rem;
            font-weight: 700;
            letter-spacing: .01em;
        }
        .galeria-modal-sub {
            font-size: .85rem;
            opacity: .9;
            margin-top: 2px;
        }
        .galeria-modal-grid {
            padding: 14px;
            max-height: 74vh;
            overflow-y: auto;
        }
        .galeria-item {
            border: 1px solid #e6ece6;
            border-radius: 12px;
            overflow: hidden;
            background: #fff;
            height: 100%;
        }
        .galeria-item > img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            display: block;
            cursor: zoom-in;
        }
        .galeria-item-caption {
            padding: 10px 12px;
            font-size: .88rem;
            color: #4b5f50;
            background: #f9fbf9;
            border-top: 1px solid #ecf1ec;
            min-height: 50px;
        }
        .galeria-modal-grid::-webkit-scrollbar {
            width: 10px;
        }
        .galeria-modal-grid::-webkit-scrollbar-track {
            background: #edf2ee;
            border-radius: 10px;
        }
        .galeria-modal-grid::-webkit-scrollbar-thumb {
            background: #9fb0a1;
            border-radius: 10px;
            border: 2px solid #edf2ee;
        }
        .galeria-zoom-dialog .modal-content {
            background: #0f1211;
            border: 0;
            border-radius: 14px;
            overflow: hidden;
        }
        .galeria-zoom-body {
            padding: 0;
            text-align: center;
        }
        .galeria-zoom-body img {
            width: 100%;
            max-height: 78vh;
            object-fit: contain;
            background: #0f1211;
        }
        .galeria-zoom-caption {
            color: #e8efe9;
            font-size: .92rem;
            padding: 10px 16px 14px;
            background: #1a201d;
            text-align: left;
        }
        .galeria-zoom-close {
            position: absolute;
            top: 10px;
            right: 10px;
            z-index: 2;
            background: rgba(255,255,255,.16);
            border: 0;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            color: #fff;
        }

        .empresa-confianza-section {
            border-top: 1px solid #e8ece9;
            padding-top: 1.75rem;
            margin-bottom: 2rem;
        }
        .empresa-confianza-title {
            font-size: 1.35rem;
            font-weight: 700;
            color: #2d3a32;
            margin-bottom: 0.5rem;
        }
        .empresa-confianza-carousel {
            position: relative;
            padding: 0 2.5rem;
        }
        .empresa-confianza-track {
            display: flex;
            gap: 1rem;
            overflow-x: auto;
            overflow-y: hidden;
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
            scrollbar-color: #c5d0c7 transparent;
            padding: 4px 2px 14px;
        }
        .empresa-confianza-track::-webkit-scrollbar {
            height: 6px;
        }
        .empresa-confianza-track::-webkit-scrollbar-thumb {
            background: #c5d0c7;
            border-radius: 999px;
        }
        .empresa-confianza-nav {
            position: absolute;
            top: 42%;
            transform: translateY(-50%);
            z-index: 2;
            width: 36px;
            height: 36px;
            border: 1px solid #d4ddd6;
            border-radius: 50%;
            background: #fff;
            color: #2d3a32;
            font-size: 1.35rem;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1);
            transition: background .15s, border-color .15s, opacity .15s;
        }
        .empresa-confianza-nav:hover:not(:disabled) {
            background: #587360;
            border-color: #587360;
            color: #fff;
        }
        .empresa-confianza-nav:disabled {
            opacity: 0.35;
            cursor: default;
        }
        .empresa-confianza-nav--prev {
            left: 0;
        }
        .empresa-confianza-nav--next {
            right: 0;
        }
        .empresa-confianza-card {
            flex: 0 0 min(260px, calc(100% - 0.5rem));
            max-width: 280px;
            scroll-snap-align: start;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            border: 1px solid #d4ddd6;
            border-radius: 14px;
            background: #fff;
            text-decoration: none;
            color: inherit;
            box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
            transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
        }
        .empresa-confianza-card:hover {
            border-color: #587360;
            box-shadow: 0 10px 28px rgba(88, 115, 96, 0.18);
            transform: translateY(-3px);
            color: inherit;
        }
        .empresa-confianza-card__cover {
            position: relative;
            aspect-ratio: 16 / 10;
            background: linear-gradient(135deg, #e8efe9 0%, #d4ddd6 100%);
            overflow: hidden;
        }
        .empresa-confianza-card__cover::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.35) 100%);
            pointer-events: none;
        }
        .empresa-confianza-card__img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform .35s ease;
        }
        .empresa-confianza-card:hover .empresa-confianza-card__img {
            transform: scale(1.04);
        }
        .empresa-confianza-card__body {
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding: 14px 16px 16px;
        }
        .empresa-confianza-name {
            font-weight: 700;
            font-size: 1rem;
            line-height: 1.3;
            color: #1e293b;
        }
        .empresa-confianza-meta {
            font-size: 0.82rem;
            color: #64748b;
            line-height: 1.35;
        }
        .empresa-confianza-cta {
            margin-top: 6px;
            font-size: 0.8rem;
            font-weight: 600;
            color: #587360;
        }
        .empresa-confianza-card:hover .empresa-confianza-cta {
            text-decoration: underline;
        }
        @media (max-width: 575.98px) {
            .empresa-confianza-carousel {
                padding: 0 2rem;
            }
            .empresa-confianza-card {
                flex: 0 0 min(240px, 82vw);
                max-width: none;
            }
            .empresa-confianza-nav {
                width: 32px;
                height: 32px;
                font-size: 1.2rem;
            }
        }
