/* =========================================================
   ILUMINA Dental Studio
   HEADER
   ========================================================= */


/* =========================================================
   BASE HEADER
   ========================================================= */

.ilumina-header {
width: 100%;
max-width: none;

background: #fffefa;
border-bottom: 1px solid #e8e1d6;

position: relative;
z-index: 100;
}


.ilumina-header__inner {
width: min(1320px, calc(100% - 64px));

margin-left: auto;
margin-right: auto;

min-height: 92px;

display: grid !important;

grid-template-columns:
auto
1fr
auto
auto;

align-items: center;

gap: 28px;
}


/* =========================================================
   BRAND
   ========================================================= */

.ilumina-brand {
margin: 0;

line-height: 1;
}


.ilumina-brand__name {
margin: 0 !important;

font-family: "Cormorant Garamond", Georgia, serif;

font-size: 30px;
font-weight: 500;

line-height: .9;

letter-spacing: .12em;
}


.ilumina-brand__name a {
color: #a88b51 !important;

text-decoration: none !important;
}


.ilumina-brand__sub {
margin: 7px 0 0 !important;

font-family: "DM Sans", Arial, sans-serif;

font-size: 8px;
font-weight: 600;

line-height: 1;

letter-spacing: .34em;

color: #7f6533;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.ilumina-nav {
justify-self: center;
}


.ilumina-nav .wp-block-navigation__container {
display: flex;

align-items: center;
justify-content: center;

gap: 22px;
}


.ilumina-nav .wp-block-navigation-item {
white-space: nowrap;
}


.ilumina-nav .wp-block-navigation-item__content {
font-family: "DM Sans", Arial, sans-serif;

font-size: 14px;
font-weight: 500;

color: #42382e !important;

text-decoration: none;

transition: color .2s ease;
}


.ilumina-nav .wp-block-navigation-item__content:hover {
color: #a88b51 !important;
}


/* =========================================================
   CTA
   ========================================================= */

.ilumina-header__cta {
margin: 0;

white-space: nowrap;
}


.ilumina-header__button .wp-block-button__link {
background: #a88b51 !important;

color: #ffffff !important;

border: 1px solid #a88b51;

border-radius: 999px !important;

padding: 13px 23px !important;

font-family: "DM Sans", Arial, sans-serif;

font-size: 14px;
font-weight: 600;

line-height: 1.2;

white-space: nowrap;

transition:
background .2s ease,
border-color .2s ease,
transform .2s ease;
}


.ilumina-header__button .wp-block-button__link:hover {
background: #7f6533 !important;

border-color: #7f6533;

transform: translateY(-1px);
}


/* =========================================================
   LANGUAGE
   ========================================================= */

.ilumina-lang {
display: flex;

align-items: center;

gap: 7px;

margin: 0 !important;

font-family: "DM Sans", Arial, sans-serif;

font-size: 12px;
font-weight: 500;

color: #6a655e;

white-space: nowrap;
}


.ilumina-lang__separator {
color: #cbbda8;
}


/* =========================================================
   DESKTOP FULL WIDTH
   ========================================================= */

@media (min-width: 1181px) {

.ilumina-header__inner {
width: calc(100% - 96px) !important;

max-width: none !important;

grid-template-columns:
220px
minmax(0, 1fr)
auto
auto;

gap: 24px;
}


.ilumina-nav {
width: 100%;

justify-self: stretch;
}


.ilumina-nav .wp-block-navigation__container {
width: 100%;

flex-wrap: nowrap !important;
}

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1180px) {

.ilumina-header__inner {
width: calc(100% - 40px);

grid-template-columns:
auto
1fr;

gap: 20px;
}


.ilumina-header__cta,
.ilumina-lang {
display: none;
}


.ilumina-nav {
justify-self: end;
}

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 782px) {

.ilumina-header__inner {
width: calc(100% - 32px);

min-height: 78px;
}


.ilumina-brand__name {
font-size: 26px;
}


.ilumina-brand__sub {
font-size: 7px;

letter-spacing: .28em;
}


.ilumina-nav {
justify-self: end;
}


.ilumina-nav .wp-block-navigation__responsive-container-open {
color: #42382e;
}


.ilumina-nav .wp-block-navigation__responsive-container.is-menu-open {
background: #fffefa;

color: #42382e;

padding: 28px;
}


.ilumina-nav
.wp-block-navigation__responsive-container.is-menu-open
.wp-block-navigation__container {
align-items: flex-start;

gap: 18px;
}

}


/* =========================================================
   HOME
   HEADER OVER HERO
   ========================================================= */


/*
 * The complete template part floats over the Hero.
 */

body.home header.site-header {
position: fixed !important;

top: 0;
left: 0;
right: 0;

width: 100% !important;

margin: 0 !important;
padding: 0 !important;

background: transparent !important;

z-index: 999;
}


/*
 * Header visual state while at the top.
 */

body.home header.site-header .ilumina-header {
background: transparent !important;

border-bottom-color: transparent !important;

box-shadow: none !important;

-webkit-backdrop-filter: none;
backdrop-filter: none;

transition:
background-color .30s ease,
border-color .30s ease,
box-shadow .30s ease,
backdrop-filter .30s ease;
}


/*
 * Solid state after the JavaScript adds .is-scrolled.
 */

body.home header.site-header.is-scrolled .ilumina-header {
background: rgba(255, 254, 250, .96) !important;

border-bottom-color: rgba(168, 139, 81, .18) !important;

box-shadow:
0 8px 28px rgba(66, 56, 46, .08) !important;

-webkit-backdrop-filter: blur(12px);
backdrop-filter: blur(12px);
}


/*
 * Slightly reduce height after scrolling.
 */

body.home header.site-header .ilumina-header__inner {
transition: min-height .30s ease;
}


body.home
header.site-header.is-scrolled
.ilumina-header__inner {
min-height: 76px;
}


/* =========================================================
   REMOVE THE GAP BETWEEN HEADER AND HERO
   ========================================================= */


/*
 * Ona/WordPress can insert block spacing between the
 * template parts. On the Home we explicitly remove it.
 */

body.home .wp-site-blocks {
padding-top: 0 !important;
}


body.home .wp-site-blocks > header.site-header + main.ilumina-main {
margin-block-start: 0 !important;
margin-top: 0 !important;
}


body.home main.ilumina-main {
margin-block-start: 0 !important;
margin-top: 0 !important;

padding-top: 0 !important;
}


body.home
main.ilumina-main
> .wp-block-post-content {
margin-block-start: 0 !important;
margin-top: 0 !important;

padding-top: 0 !important;
}


body.home
main.ilumina-main
.wp-block-post-content
> :first-child {
margin-block-start: 0 !important;
margin-top: 0 !important;
}


/*
 * The Hero itself must begin immediately at the top
 * of the Home canvas.
 */

body.home .ilumina-hero {
margin-block-start: 0 !important;
margin-top: 0 !important;
}


/* =========================================================
   WORDPRESS ADMIN BAR
   Only while logged in
   ========================================================= */

body.admin-bar.home header.site-header {
top: 32px;
}


@media (max-width: 782px) {

body.admin-bar.home header.site-header {
top: 46px;
}

}
/* =========================================================
   ILUMINA HOME HEADER
   Enhanced readability while transparent
   ========================================================= */

body.home
header.site-header:not(.is-scrolled)
.ilumina-header {
background: rgba(255, 254, 250, .48) !important;

-webkit-backdrop-filter: blur(7px) saturate(115%);
backdrop-filter: blur(7px) saturate(115%);

border-bottom-color: rgba(168, 139, 81, .12) !important;
}


/* Stronger navigation contrast */

body.home
header.site-header:not(.is-scrolled)
.ilumina-nav
.wp-block-navigation-item__content {
color: #332b24 !important;

font-weight: 600;

text-shadow:
0 1px 10px rgba(255, 255, 255, .90);
}


/* Stronger brand */

body.home
header.site-header:not(.is-scrolled)
.ilumina-brand__name a {
color: #8f6f38 !important;

text-shadow:
0 1px 10px rgba(255, 255, 255, .90);
}


body.home
header.site-header:not(.is-scrolled)
.ilumina-brand__sub {
color: #72572c;
}


body.home
header.site-header:not(.is-scrolled)
.ilumina-lang {
color: #40362d;
}


/* Solid state remains almost opaque */

body.home
header.site-header.is-scrolled
.ilumina-header {
background: rgba(255, 254, 250, .96) !important;

-webkit-backdrop-filter: blur(12px);
backdrop-filter: blur(12px);
}



/* === ILUMINA HEADER HERO CONTRAST V2 START === */

/* =========================================================
   HEADER SOBRE HERO
   Transparente al inicio / sÃƒÆ’Ã‚Â³lido al hacer scroll
   ========================================================= */


/* ---------------------------------------------------------
   ESTADO INICIAL: TOTALMENTE TRANSPARENTE
   --------------------------------------------------------- */

body.home
header.site-header:not(.is-scrolled)
.ilumina-header {
    background: transparent !important;

    border-bottom-color: transparent !important;

    box-shadow: none !important;

    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}


/* ---------------------------------------------------------
   MENÃƒÆ’Ã…Â¡ PRINCIPAL SOBRE LAS FOTOS
   --------------------------------------------------------- */

body.home
header.site-header:not(.is-scrolled)
.ilumina-nav
.wp-block-navigation-item__content {
    color: #ffffff !important;

    font-size: 18px !important;
    font-weight: 600 !important;

    letter-spacing: 0.01em;

    text-shadow:
        0 1px 3px rgba(0, 0, 0, .55),
        0 2px 12px rgba(0, 0, 0, .25);

    transition:
        color .2s ease,
        opacity .2s ease;
}


/* MÃƒÆ’Ã‚Â¡s separaciÃƒÆ’Ã‚Â³n entre opciones */

body.home
header.site-header:not(.is-scrolled)
.ilumina-nav
.wp-block-navigation__container {
    gap: 26px !important;
}


/* ---------------------------------------------------------
   HOVER SOBRE HERO
   --------------------------------------------------------- */

body.home
header.site-header:not(.is-scrolled)
.ilumina-nav
.wp-block-navigation-item__content:hover {
    color: #e7a3ad !important;
}


/* ---------------------------------------------------------
   PÃƒÆ’Ã‚ÂGINA ACTIVA
   --------------------------------------------------------- */

body.home
header.site-header:not(.is-scrolled)
.ilumina-nav
.current-menu-item
> .wp-block-navigation-item__content,

body.home
header.site-header:not(.is-scrolled)
.ilumina-nav
.current_page_item
> .wp-block-navigation-item__content,

body.home
header.site-header:not(.is-scrolled)
.ilumina-nav
.wp-block-navigation-item__content[aria-current="page"] {
    color: #e7a3ad !important;

    text-shadow:
        0 1px 3px rgba(0, 0, 0, .55),
        0 2px 12px rgba(0, 0, 0, .25);
}


/* PequeÃƒÆ’Ã‚Â±a lÃƒÆ’Ã‚Â­nea inferior para la pÃƒÆ’Ã‚Â¡gina activa */

body.home
header.site-header:not(.is-scrolled)
.ilumina-nav
.wp-block-navigation-item__content[aria-current="page"] {
    position: relative;
}

body.home
header.site-header:not(.is-scrolled)
.ilumina-nav
.wp-block-navigation-item__content[aria-current="page"]::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -8px;

    width: 24px;
    height: 2px;

    background: #e7a3ad;

    transform: translateX(-50%);
}


/* ---------------------------------------------------------
   IDIOMAS SOBRE HERO
   --------------------------------------------------------- */

body.home
header.site-header:not(.is-scrolled)
.ilumina-lang {
    color: #ffffff !important;

    font-weight: 600;

    text-shadow:
        0 1px 3px rgba(0, 0, 0, .55);
}


/* ---------------------------------------------------------
   LOGO SOBRE HERO
   --------------------------------------------------------- */

body.home
header.site-header:not(.is-scrolled)
.ilumina-brand__name,
body.home
header.site-header:not(.is-scrolled)
.ilumina-brand__name a {
    color: #b8944c !important;

    text-shadow:
        0 1px 4px rgba(255, 255, 255, .55);
}


/* =========================================================
   ESTADO DESPUÃƒÆ’Ã¢â‚¬Â°S DE HACER SCROLL
   ========================================================= */

body.home
header.site-header.is-scrolled
.ilumina-header {
    background: rgba(255, 254, 250, .97) !important;

    border-bottom:
        1px solid
        rgba(168, 139, 81, .16) !important;

    box-shadow:
        0 8px 28px
        rgba(66, 56, 46, .08) !important;

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}


/* MenÃƒÆ’Ã‚Âº oscuro sobre fondo sÃƒÆ’Ã‚Â³lido */

body.home
header.site-header.is-scrolled
.ilumina-nav
.wp-block-navigation-item__content {
    color: #42382e !important;

    font-size: 17px !important;
    font-weight: 600 !important;

    text-shadow: none !important;
}


/* Hover despuÃƒÆ’Ã‚Â©s del scroll */

body.home
header.site-header.is-scrolled
.ilumina-nav
.wp-block-navigation-item__content:hover {
    color: #cf8795 !important;
}


/* PÃƒÆ’Ã‚Â¡gina activa despuÃƒÆ’Ã‚Â©s del scroll */

body.home
header.site-header.is-scrolled
.ilumina-nav
.current-menu-item
> .wp-block-navigation-item__content,

body.home
header.site-header.is-scrolled
.ilumina-nav
.current_page_item
> .wp-block-navigation-item__content,

body.home
header.site-header.is-scrolled
.ilumina-nav
.wp-block-navigation-item__content[aria-current="page"] {
    color: #cf8795 !important;
}


/* Idiomas despuÃƒÆ’Ã‚Â©s del scroll */

body.home
header.site-header.is-scrolled
.ilumina-lang {
    color: #6a655e !important;

    text-shadow: none !important;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 1100px) {

    body.home
    header.site-header:not(.is-scrolled)
    .ilumina-nav
    .wp-block-navigation-item__content {
        font-size: 16px !important;
    }

    body.home
    header.site-header:not(.is-scrolled)
    .ilumina-nav
    .wp-block-navigation__container {
        gap: 18px !important;
    }
}

/* === ILUMINA HEADER HERO CONTRAST V2 END === */


/* === ILUMINA HEADER POLISH V1 START === */

/* =========================================================
   LOGO - MÃƒÂS PRESENCIA SOBRE LAS FOTOS
   ========================================================= */

/* Por si el logo estÃƒÂ¡ construido con texto */
body.home
header.site-header:not(.is-scrolled)
.ilumina-brand__name,
body.home
header.site-header:not(.is-scrolled)
.ilumina-brand__name a {
    color: #c09a4d !important;

    text-shadow:
        0 1px 1px rgba(255,255,255,.35),
        0 2px 5px rgba(0,0,0,.45),
        0 4px 14px rgba(0,0,0,.18);

    font-weight: 500 !important;
}

/* Por si el logo estÃƒÂ¡ como imagen */
body.home
header.site-header:not(.is-scrolled)
.ilumina-brand img,
body.home
header.site-header:not(.is-scrolled)
.wp-block-site-logo img {
    filter:
        drop-shadow(0 2px 3px rgba(0,0,0,.35))
        drop-shadow(0 5px 12px rgba(0,0,0,.15));
}


/* Logo un poco mÃƒÂ¡s visible */

.ilumina-brand {
    position: relative;
    z-index: 2;
}


/* =========================================================
   BOTÃƒâ€œN AGENDA TU CITA
   CENTRADO VERTICALMENTE
   ========================================================= */

header.site-header .wp-block-buttons {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

header.site-header .wp-block-button {
    display: flex !important;
    align-items: center !important;

    margin: 0 !important;
}

header.site-header .wp-block-button__link {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    min-height: 52px;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 30px !important;
    padding-right: 30px !important;

    line-height: 1.1 !important;

    white-space: nowrap;
}


/* =========================================================
   IDIOMAS - PRESENTACIÃƒâ€œN
   La funcionalidad real se aÃƒÂ±adirÃƒÂ¡ con el sistema bilingÃƒÂ¼e.
   ========================================================= */

.ilumina-lang {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 7px;

    line-height: 1;

    white-space: nowrap;
}


/* === ILUMINA HEADER POLISH V1 END === */


/* === ILUMINA LOGO GLASS CARD V1 START === */

/* =========================================================
   LOGO SOBRE HERO
   Tarjeta marfil/dorada muy sutil
   ========================================================= */

body.home
header.site-header:not(.is-scrolled)
.ilumina-brand {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    padding: 10px 16px !important;

    background:
        rgba(255, 254, 250, .56) !important;

    border:
        1px solid
        rgba(184, 148, 76, .24) !important;

    border-radius: 12px !important;

    box-shadow:
        0 4px 18px rgba(66, 56, 46, .08) !important;

    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);

    transition:
        background-color .3s ease,
        border-color .3s ease,
        box-shadow .3s ease,
        backdrop-filter .3s ease;
}


/* Logo dentro de la tarjeta */

body.home
header.site-header:not(.is-scrolled)
.ilumina-brand img,
body.home
header.site-header:not(.is-scrolled)
.ilumina-brand .wp-block-site-logo img {
    display: block;

    max-height: 62px;

    filter:
        drop-shadow(
            0 1px 2px
            rgba(66, 56, 46, .10)
        ) !important;
}


/* =========================================================
   AL HACER SCROLL
   Quitamos la tarjeta porque ya existe fondo sÃ³lido
   ========================================================= */

body.home
header.site-header.is-scrolled
.ilumina-brand {
    padding: 0 !important;

    background: transparent !important;

    border-color: transparent !important;

    box-shadow: none !important;

    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}


/* === ILUMINA LOGO GLASS CARD V1 END === */


/* === ILUMINA LOGO ALIGNMENT V1 START === */

/* Tarjeta del logo en disposición vertical */
body.home
header.site-header:not(.is-scrolled)
.ilumina-brand {
    display: inline-flex !important;

    flex-direction: column !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 2px !important;

    min-width: 255px;

    padding: 11px 18px !important;
}


/* ILUMINA completamente nítido */
body.home
header.site-header:not(.is-scrolled)
.ilumina-brand__name,
body.home
header.site-header:not(.is-scrolled)
.ilumina-brand__name a {
    text-shadow: none !important;
    filter: none !important;

    width: 100%;

    margin: 0 !important;

    text-align: center !important;

    line-height: 1 !important;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* Si el nombre está dentro de un párrafo/bloque */
body.home
header.site-header:not(.is-scrolled)
.ilumina-brand > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* Segunda línea: DENTAL STUDIO */
body.home
header.site-header:not(.is-scrolled)
.ilumina-brand > :last-child {
    display: block !important;

    width: 100% !important;

    margin-top: 4px !important;

    text-align: center !important;

    letter-spacing: .28em !important;

    line-height: 1 !important;
}


/* Si el logo fuese una imagen, no aplicar desenfoques */
body.home
header.site-header:not(.is-scrolled)
.ilumina-brand img,
body.home
header.site-header:not(.is-scrolled)
.wp-block-site-logo img {
    filter: none !important;
}


/* === ILUMINA LOGO ALIGNMENT V1 END === */