/*!
* 
* MAY 2026
* evomeet.es
* jblanco
* 
*/


/* MEDIA BREAKPOINTS ------------------------------------------------

@media (min-width: 576px) {}    sm
@media (min-width: 768px) {}    md
@media (min-width: 992px) {}    lg
@media (min-width: 1200px) {}   xl
@media (min-width: 1400px) {}   xxl

-------------------------------------------------------------------- */





:root {
    --bs-primary:#e62058; 
    --bs-primary-darken:#e62058; 
    --bs-secondary:#9093f1; 
    --bs-secondary-darken:#777acf;
    --bs-tertiary:#78f5c7;
    --bs-tertiary-darken:#5ae0ad;
    --bs-quaternary:#4b9bbb;
    --bs-quaternary-darken:#4488a3;
    --bs-quinary:#f2aa80;
    --bs-quinary-darken:#f09968;
    --bs-sextary:#cccccc;
    --bs-sextary-darrken:#a99f94;
    --bs-septenary:#b585b6;
    --bs-septenary-darken:#a377a4;
    --zoom:#008cff;
    --zoom-darken:#006ec9;

    --color-perio:#9093f1;
    --color-higiene:#5ae0ad; /*#78f5c7*/ 
    --color-gestion:#cccccc;
    --color-gestion-dark:#939393;
    --color-implantoplastia:#ea629d;
    --color-pharma:#eb9492;

    --color-hover:#78f5c7; 
    --color-dentaid:rgb(0 20 137);

  --menu-bg: rgba(0,0,0,.86);
  --menu-border: rgba(255,255,255,.12);
  --menu-shadow: rgba(0,0,0,.35);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);

  --watermark-url: url("../img/logo-sepa26-w.svg");
  --watermark-width: 64px;     /* tamaÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â±o ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“moscaÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â */
  --watermark-ratio: 46 / 15; 
  --watermark-height: auto; 
  --watermark-pad: 20px;      /* margen a borde */
  --watermark-opacity: .85;   /* opacidad */
}
  
  
@media (prefers-reduced-motion: no-preference) {
    :root {
      scroll-behavior: smooth;
    }
}
  




/* COMUNES =========================================================== */

html{
    font-size:14px; /* TamaÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â±o para 1rem */
}
body {
    margin: 0;
    padding:0;
    font-family: 'neue-haas-grotesk-display', sans-serif;
    font-weight:500!important;
    font-size:1rem;
    background-color:#0b0f14;
    color:#fff;
}

/* Para que al navegar con hash no quede tapado por el menÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Âº */
body{
  scroll-padding-top: 90px; /* ajusta si tu menÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Âº mide mÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡s/menos */
}

html[lang="es"] [lang="en"],
html[lang="en"] [lang="es"]{ 
    display:none;
}
html[lang="en"] #langSwitcher [data-lang="en"],
html[lang="es"] #langSwitcher [data-lang="es"]{
    background-color: var(--bs-secondary)!important;
    color:white!important;    
}
#langSwitcher .btn{
    border-radius:0!important;
    font-weight:1rem!important;
    font-weight: 600;
}



.clearfix{
    clear: both;
    float:none;
}
.disabled{
    opacity:0.45!important;
    pointer-events:none!important;
}
.no-pointer{
    pointer-events:none;
}
.hide{
    display:none!important;
}

.flex-break {
    flex-basis: 100%;
    height: 0;
  }

/* pinta (img, svg) de blanco, negro */
.toWhite{
    filter:brightness(0) invert(1);
}
.toBlack{
    filter:brightness(0);
}





/* TEXTO -------------------------------------------------------------- */
.f-light{
    font-family:'neue-haas-grotesk-display', sans-serif!important;
    font-weight:400;
}
.f-regular{
    font-family:'neue-haas-grotesk-display', sans-serif!important;
    font-weight:500;
}
.f-bold{
    font-family:'neue-haas-grotesk-display', sans-serif!important;
    font-weight:600;
}
.f-black{
    font-family:'neue-haas-grotesk-display', sans-serif!important;
    font-weight:700;
}


strong{
    font-family:'neue-haas-grotesk-display', sans-serif;
    font-weight:600;
}

h1,h2,h3,h4,h5,h6{
    font-weight: 400;
}

p,h1,h2,h3,h4,h5,h6{
    cursor: default;
}

.mt-5px{
    margin-top:5px;
}




/* ALTURAS ------------------------------------------------------------ */

.h-30{
    height: 30%!important;
}
.h-80{
    height: 80%!important;
}
.h-85{
    height: 85%!important;
}
.h-90{
    height: 90%!important;
}


.vh80{
    height:80vh!important;
}
.vh60{
    height:60vh!important;
}
.vh20{
    height:20vh!important;
}
.vh10{
    height:10vh!important;
}

.min-vh-100{
    min-height:100vh;
}


/* COLOR -------------------------------------------------------------- */
.bg-primary{
    background-color:var(--bs-primary)!important;
}
.bg-secondary{
    background-color:var(--bs-secondary)!important;
}

.text-primary{
    color:var(--bs-primary)!important;
}
.text-secondary{
    color:var(--bs-secondary)!important;
}
.text-quinary{
    color:var(--bs-quinary)!important;
}


.text-perio{
    color:var(--color-perio)!important;
}
.text-higiene{
    color:var(--color-higiene)!important;
}
.text-gestion{
    color:var(--color-gestion)!important;
}
.text-implantoplastia{
    color:var(--color-implantoplastia)!important;
}
.text-pharma{
    color:var(--color-pharma)!important;
}

.text-dentaid{
    color:var(--color-dentaid)!important;
}

/* HEADER =============================================================== */
/* ====================================================================== */
#header{
    width:100%;
    position: relative;
}
@media (min-width: 768px) {
    #header{
        padding-bottom:4rem;
    }
}

#header-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

#header-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
    pointer-events: none;
}

#header > *:not(#header-video):not(#header-overlay) {
    position: relative;
    z-index: 2;
}

@media (max-width: 767px) {
    #header-video {
        top: 70px;
        height: calc(100% - 70px);
        transform: translate(-50%, 0%);
    }
    #header-overlay {
        width:100%;
        height: calc(100% - 70px);
        top: 70px;
        right:0;
        bottom:0;
        left:0;
    }
    #banner-header{
        padding-top:2rem!important;
        padding-bottom:2rem!important;
    }
}

#preheader{
    background-color:transparent
}
#preheader .btn{
    font-size: 0.8em;
    color:white
}

@media (max-width: 575px) {
    #preheader{
        background-color:black;
    }
    #preheader .btn.btn-email,
    #preheader .btn.btn-whatsapp{
        padding-right: .25rem!important;
        padding-left: .25rem!important;
        letter-spacing: normal;
        white-space: nowrap;
        font-size:1rem;
        margin-left:5px;
        margin-right:5px;
    }
    #preheader .contact-info{
       background-color:#161616;
       padding-top:5px;
       padding-bottom:5px;
    }
    #preheader .language-logout{
       background-color:#000000;
       padding-top:5px;
       padding-bottom:5px;

    }
}
#preheader .btn-email img{
    filter:brightness(0) invert(1);
}

#preheader .btn-whatsapp img{
    filter:brightness(0) invert(1);
}
#preheader .btn:hover{
    color:var(--bs-tertiary)!important;
}

#preheader .btn-email:hover{
    color:var(--bs-tertiary)!important;
}
#preheader .btn-email:hover img{
    filter: invert(90%) sepia(8%) saturate(2297%) hue-rotate(93deg) brightness(102%) contrast(92%);
}
#preheader .btn-whatsapp:hover{
    color:var(--bs-tertiary)!important;
}
#preheader .btn-whatsapp:hover img{
    filter: invert(90%) sepia(8%) saturate(2297%) hue-rotate(93deg) brightness(102%) contrast(92%);
}

img.phone-icon{
	width: 1.5em;
    margin-right: 0.2em;
    vertical-align: top;
}

/* Banner header */
#banner-header .container-fluid img{
    margin-top:auto;
    margin-bottom:auto;
    max-width:450px;
}  
#banner-header h1{
    font-size:2.8rem;
    line-height:1em;
}
@media (max-width: 575px) {
    #banner-header h1{
        font-size:2rem;
    }
    #banner-header .container-fluid img{
        max-width:350px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    #banner-header h1{
        font-size:1.3rem;
    }
    #banner-header .container-fluid img{
        max-width:350px;
    }
}

/* MENU (sticky bar con hamburguesa) ---------------------------------*/
#menu {
    background-color: var(--menu-bg);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid var(--menu-border);
    backdrop-filter: blur(10px);
}
@media (min-width: 768px) {
    #menu {
        margin-top: calc(-4rem + 5px);
    }
}

/* Botón hamburguesa */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 4px;
    flex-shrink: 0;
}
.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: background .2s;
}
.hamburger-btn:hover span {
    background: var(--bs-tertiary);
}

/* Etiqueta álbum activo en la barra */
.menu-current-label {
    color: var(--text);
    font-size: .85rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
}

/* OFFCANVAS -----------------------------------------------------------*/
#galleryMenu {
    background-color: #0d1117;
    border-right: 1px solid var(--menu-border);
    width: 280px;
    z-index: 1100; /* por encima del modal-backdrop (1040) y de lightGallery */
}
.offcanvas-backdrop {
    z-index: 1099;
}
#galleryMenu .offcanvas-header {
    border-bottom: 1px solid var(--menu-border);
    padding: .6rem 1.25rem;
    min-height: unset;
}
#galleryMenu .offcanvas-body {
    padding-top: .5rem;
    padding-bottom: 2rem;
}

/* Sección de día */
.oc-section {
    margin-bottom: .25rem;
}
.oc-day {
    padding: .75rem 1.25rem .3rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-perio);
}
.oc-item {
    display: block;
    padding: .55rem 1.25rem .55rem 1.75rem;
    color: var(--muted);
    text-decoration: none;
    font-size: 1rem;
    transition: color .15s, background .15s;
    border-left: 2px solid transparent;
}
.oc-item:hover {
    color: #fff;
    background: rgba(255,255,255,.05);
    border-left-color: var(--color-perio);
}
.oc-item.active {
    color: #fff;
    border-left-color: var(--color-perio);
    background: rgba(144,147,241,.12);
}
/* Separador entre secciones */
.oc-section + .oc-section {
    border-top: 1px solid var(--menu-border);
    padding-top: .25rem;
}

.mobile{
    display:none;
}
@media (max-width: 767px){
    .desktop{
        display:none;
    }
    .mobile{
        display:block;
    }
}
/* =========================================================
   LOADING INDICATOR (Infinite Scroll)
========================================================= */
#infinite-loader {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 1200;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 10px 16px;
  border-radius: 999px;

  background: rgba(0,0,0,.75);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 13px;
  letter-spacing: .02em;

  box-shadow: 0 10px 30px rgba(0,0,0,.35);

  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

#infinite-loader.visible {
  opacity: 1;
}

/* Spinner */
#infinite-loader .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.masonry{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:4px}
.masonry-item{}
.masonry .thumb{display:block;border-radius:2px;overflow:hidden;background:#0e1318;position:relative}
.masonry .thumb img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.masonry .masonry-index{position:absolute;left:8px;top:8px;padding:4px 8px;border-radius:999px;font-size:12px;line-height:1;background:rgba(0,0,0,.65);color:#fff;border:1px solid var(--menu-border);box-shadow:0 4px 16px rgba(0,0,0,.35)}
/* watermark overlay rules removed; server-side stamping is used */
img.blur-up{transition:filter .35s ease,transform .35s ease,opacity .35s ease}
img.blur-up.is-loading{filter:blur(8px);opacity:.9;transform:scale(1.01)}


/* Ajustes galeria 2026 */