/* Header */
.delogis-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #f2edea;
    padding: 24px 26px 20px;
    transition: box-shadow 0.5s ease;
}
.delogis-header.is-scrolled {
    box-shadow: 0 5px 20px #1a141414;
}
.home-nav {
    display: flex;
    align-items: stretch;
    min-height: 85px;
    position: relative;
}
.home-brand {
    width: 260px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2edea;
    border-radius: 6px 0 0 6px;
    padding: 8px 20px;
}
.brand-wordmark { display: block; font: 400 28px/1.2 "Castoro", serif; color: #1a1414; white-space: nowrap; letter-spacing: -.6px; }
.home-menu-panel { flex: 1; min-width: 0; display: flex; justify-content: flex-start; align-items: center; background: #fff; border-radius: 6px 0 0 0; padding-left: 40px; }
.home-menu,
.services-dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.home-menu {
    display: flex;
    align-items: stretch;
    gap: clamp(18px, 2.8vw, 45px);
}
.home-menu > li {
    position: relative;
    display: flex;
    align-items: center;
}
.home-menu .nav-link {
    font:
        400 17px/30px "Lexend",
        sans-serif;
    padding: 27.5px 0;
    color: #736b6b;
    white-space: nowrap;
}
.home-menu .nav-link:hover,
.home-menu .nav-link[aria-current] {
    color: #1a1414;
}
.home-header-cta {
    background: #5b4034;
    color: #fff;
    border-radius: 0 6px 6px 0;
    min-width: 200px;
    padding: 20px 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.5s ease;
}
.home-header-cta:hover {
    background: #1a1414;
    color: #fff;
}
.services-dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    width: 290px;
    padding: 25px 20px;
    background: #fff;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 10px 30px #1a141412;
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0);
    transform-origin: top;
    transition:
        opacity 0.5s ease,
        visibility 0.5s ease,
        transform 0.7s ease;
}
.services-dropdown-menu a {
    display: block;
    font-size: 14px;
    line-height: 24px;
    padding: 9px 12px;
    border-radius: 4px;
}
.services-dropdown-menu a:hover {
    background: #f2edea;
}
.submenu:hover > .services-dropdown-menu,
.submenu:focus-within > .services-dropdown-menu,
.submenu.is-open > .services-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
}
.home-menu-toggle {
    display: none;
}
.home-menu > .mobile-appointment {
    display: none;
}
.submenu-toggle {
    display: none;
}
.delogis-header { font-family: 'Lexend', sans-serif; line-height: 1.5; }
.delogis-header a { text-decoration: none; }
.delogis-header button { font-family: inherit; }
.delogis-header a:focus-visible,.delogis-header button:focus-visible { outline: 2px solid #976147; outline-offset: 4px; }
.delogis-header .home-header-cta { font-family: 'Lexend',sans-serif; }
.main-footer .footer-logo-circle { width: auto; height: auto; max-width: none; padding: 22px 30px; border-radius: 6px; background: #f2edea; flex-shrink: 0; }
.main-footer .footer-logo-circle:hover { background: #f2edea; }
@media(min-width:1600px) { .home-header-cta { min-width:280px; } .home-menu { gap:60px; } }
@media(max-width:1199px) {
 .delogis-header { padding:20px; }
 .home-nav { background:#fff; border-radius:6px; min-height:75px; align-items:center; }
 .home-brand { width:240px; align-self:stretch; }
 .home-menu-toggle { display:flex; flex-direction:column; gap:6px; justify-content:center; width:48px; height:48px; padding:10px; border:0; background:transparent; margin-left:auto; flex-shrink:0; }
 .home-menu-toggle span { width:28px; height:2px; background:#976147; }
 .home-header-cta { min-height:75px; margin-left:20px; }
 .home-menu-panel { position:absolute; top:calc(100% + 20px); left:0; right:0; display:none; background:#1a1414; padding:20px 30px; max-height:calc(100dvh - 115px); overflow-y:auto; border-radius:0 0 6px 6px; }
 .home-menu-panel.is-open { display:block; }
 .home-menu { display:block; }
 .home-menu > li { display:flex; flex-wrap:wrap; border-bottom:1px solid #ffffff1a; }
 .home-menu > .mobile-appointment { display:flex; }
 .home-menu .nav-link { padding:12px 0; color:#fff; flex:1; }
 .home-menu .nav-link:hover,.home-menu .nav-link[aria-current] { color:#c4967e; }
 .submenu-toggle { display:block; width:42px; height:42px; align-self:center; background:#5b4034; border:0; color:#fff; border-radius:4px; }
 .services-dropdown-menu { position:static; width:100%; display:none; opacity:1; visibility:visible; transform:none; background:#ffffff08; padding:10px 12px; box-shadow:none; }
 .services-dropdown-menu a { color:#fff; }
 .services-dropdown-menu a:hover { color:#1a1414; }
 .submenu.is-open > .services-dropdown-menu { display:block; }
}
@media(max-width:767px) {
 .delogis-header { padding:12px; }
 .home-nav { min-height:70px; }
 .home-brand { width:auto; padding:10px 16px; }
 .brand-wordmark { font-size:25px; }
 .home-menu-toggle { margin-right:10px; }
 .home-header-cta { display:none; }
 .home-menu-panel { top:calc(100% + 12px); max-height:calc(100dvh - 94px); }
 .main-footer .footer-logo-circle { padding:18px; }
}
@media(prefers-reduced-motion:reduce) { .delogis-header,.delogis-header * { transition:none; } }