/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }
.reveal-delay-6 { transition-delay: 480ms; }

/* ===== FIELD INPUTS ===== */
.field {
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid #cbd5e1;
    background: #fff;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field:focus {
    border-color: var(--color-brand);
    box-shadow: 0 0 0 4px rgba(81, 4, 0, 0.12);
}

/* ===== PRODUCT DETAIL MEDIA ===== */
.product-detail-img {
    display: block;
    width: 100%;
    max-height: 24rem;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
}

.product-category-band {
    display: grid;
    grid-template-columns: 10rem 1fr;
    gap: 1.5rem;
    align-items: center;
    overflow: hidden;
    border-radius: 1.2rem;
    background:
        linear-gradient(135deg, rgba(81, 4, 0, 0.9), rgba(15, 23, 42, 0.96)),
        #101828;
    padding: 1rem;
    color: #ffffff;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
}

.product-category-media {
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.08);
}

.product-category-copy {
    max-width: 46rem;
    padding-right: 1rem;
}

.product-category-copy h2 {
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    line-height: 1.08;
}

.product-category-copy p {
    margin-top: 0.85rem;
    color: #dbe3ef;
    font-size: 1rem;
    line-height: 1.75;
}

@media (max-width: 767px) {
    .product-category-band {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-category-media {
        width: min(100%, 14rem);
    }

    .product-category-copy {
        padding-right: 0;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-link-list {
    display: grid;
    gap: 0.78rem;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    line-height: 1.45;
}

.footer-link-icon {
    display: inline-flex;
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 1.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 217, 212, 0.16);
    border-radius: 999px;
    background: rgba(81, 4, 0, 0.26);
    color: #ffd9d4;
    font-size: 0.78rem;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.footer-link:hover .footer-link-icon,
.footer-link:focus .footer-link-icon {
    border-color: rgba(255, 217, 212, 0.45);
    background: #510400;
    color: #ffffff;
    transform: translateX(2px);
}

.footer-contact-row {
    align-items: flex-start;
}

.footer-contact-icon {
    width: 2.55rem;
    height: 2.55rem;
    box-shadow: 0 12px 26px rgba(81, 4, 0, 0.24);
    font-size: 1rem;
}

/* ===== NAVIGATION ===== */
.nav-product {
    position: relative;
}

.nav-top-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    transition: background-color 160ms ease, color 160ms ease;
}

.nav-product:hover .nav-top-link,
.nav-product:focus-within .nav-top-link,
.nav-product.is-open .nav-top-link {
    background: var(--color-brand-soft);
    color: var(--color-brand);
}

.nav-menu {
    position: absolute;
    display: none;
    min-width: 320px;
    max-width: min(90vw, 420px);
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #d8e2ee;
    border-radius: 0.85rem;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.13);
}

.nav-menu {
    top: calc(100% + 0.25rem);
    left: 0;
    z-index: 60;
    padding: 0.35rem;
}

.nav-submenu {
    display: none;
    margin: 0.15rem 0 0.25rem 0.7rem;
    border-left: 2px solid rgba(81, 4, 0, 0.12);
    padding: 0.15rem 0 0.15rem 0.55rem;
}

.nav-third-menu {
    margin-left: 0.65rem;
    border-left-color: rgba(81, 4, 0, 0.18);
}

.nav-menu::before {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 1rem;
    content: "";
}

.nav-product:hover > .nav-menu,
.nav-product:focus-within > .nav-menu,
.nav-product.is-open > .nav-menu,
.nav-item:hover > .nav-submenu,
.nav-item:focus-within > .nav-submenu,
.nav-item.is-active > .nav-submenu {
    display: block;
}

.nav-item {
    position: relative;
}

.nav-menu-link {
    display: flex;
    min-height: 36px;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    border-radius: 0.55rem;
    padding: 0.48rem 0.65rem;
    color: #263548;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0;
    text-align: left;
    transition: background-color 160ms ease;
    white-space: normal;
}

.nav-menu-link::before {
    width: 0.15rem;
    height: 0.9rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--color-brand);
    opacity: 0;
    content: "";
    transition: opacity 160ms ease;
}

.nav-menu-link:hover,
.nav-menu-link:focus {
    background: var(--color-brand-soft);
    color: var(--color-brand);
    outline: none;
}

.nav-menu-link:hover::before,
.nav-menu-link:focus::before {
    opacity: 1;
}

.nav-menu-link svg {
    flex-shrink: 0;
    margin-left: auto;
    color: var(--color-brand);
}

.nav-submenu .nav-menu-link {
    min-height: 34px;
    padding: 0.42rem 0.58rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.nav-submenu .nav-menu-link::before {
    height: 0.9rem;
}
