/* ==========================================================================
   header — barra superior (topbar), marca, navegacion, cajon movil
   ========================================================================== */

.topbar {
    background: var(--paper);
    border-bottom: 0.0625rem solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar__inner {
    align-items: center;
    display: flex;
    gap: 1.125rem;
    justify-content: space-between;
    padding-block: 0.875rem;
}

.logo {
    align-items: center;
    color: var(--verde-deep);
    display: inline-flex;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    gap: 0.6rem;
    text-decoration: none;
}

.logo__mark {
    flex: none;
    height: 1.9rem;
    width: 1.9rem;
}

.topbar__nav {
    display: none;
}

.topbar__list {
    align-items: center;
    display: flex;
    gap: 1.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.topbar__list a {
    color: var(--ink);
    font-size: 0.96rem;
    font-weight: 500;
    text-decoration: none;
}

.topbar__list a:hover {
    color: var(--verde);
}

.topbar__cta {
    display: none;
}

.menu-toggle {
    align-items: center;
    background: transparent;
    border: 0.0625rem solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    gap: 0.3rem;
    height: 3rem;
    justify-content: center;
    padding: 0.75rem;
    width: 3rem;
}

.menu-toggle__bar {
    background: var(--verde-deep);
    border-radius: 0.125rem;
    display: block;
    height: 0.125rem;
    width: 100%;
}

/* --- Cajon movil -------------------------------------------------------- */
.drawer {
    background: var(--paper);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    inset: 0;
    opacity: 0;
    overflow-y: auto;
    padding: 5rem 1.5rem 2rem;
    pointer-events: none;
    position: fixed;
    transition: opacity 0.25s ease;
    visibility: hidden;
    z-index: 120;
}

.drawer--open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.drawer a {
    border-bottom: 0.0625rem solid var(--line);
    color: var(--ink);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    padding: 0.85rem 0;
    text-decoration: none;
}

.drawer__cta {
    margin-top: 1.25rem;
}

.drawer__close {
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 2.2rem;
    line-height: 1;
    position: absolute;
    right: 1.25rem;
    top: 1rem;
}

@media (min-width: 55rem) {
    .topbar__nav,
    .topbar__cta {
        display: inline-flex;
    }

    .menu-toggle {
        display: none;
    }
}
