/* Explain: Custom component styles for the site UI including header, buttons, and cards. */
/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(14, 12, 11, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(200, 164, 92, 0.45);
    background: radial-gradient(circle at 30% 20%, rgba(200, 164, 92, 0.3), transparent 70%);
    color: var(--primary-color);
    font-size: 1rem;
}

.logo-video {
    background: #000;
    border-radius: 0.6rem;
    padding: 0.15rem;
}

.nav-link {
    position: relative;
    padding-block: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--text-color);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--border-color);
    background: var(--surface-color);
}

.mobile-menu.is-open {
    display: block;
}

@media (min-width: 1024px) {
    .mobile-menu.is-open {
        display: none;
    }
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 0.25rem;
    min-height: 48px;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(46, 39, 35, 0.7);
}

.mobile-link:hover {
    color: var(--primary-color);
}

.menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.85rem 1.6rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #dcbb79, var(--primary-color));
    color: #16120d;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 14px 34px -16px rgba(200, 164, 92, 0.9);
    transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.btn-gold:hover {
    transform: translateY(-2px);
    filter: brightness(1.07);
    box-shadow: 0 18px 40px -16px rgba(200, 164, 92, 0.95);
}

.btn-gold:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.85rem 1.6rem;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(200, 164, 92, 0.07);
}

/* ---------- Typography helpers ---------- */
.eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.title-lg {
    font-size: clamp(1.65rem, 3.6vw, 2.5rem);
}

/* ---------- Hero ---------- */
.hero-ringo {
    position: relative;
    overflow: hidden;
    background: #0b0a09;
}

.hero-ringo::before {
    content: "";
    position: absolute;
    inset: -8%;
    z-index: 0;
    background-image: url('https://static.s123-cdn-static-d.com/ready_uploads/media/9627899/normal_6382b1d7a367b.jpg?ratio=4:3&format=avif');
    background-size: cover;
    background-position: center;
    will-change: transform;
    animation: heroDrift 30s ease-in-out infinite alternate;
}

.hero-ringo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(100deg, rgba(9, 8, 7, 0.96) 0%, rgba(9, 8, 7, 0.86) 46%, rgba(9, 8, 7, 0.5) 100%);
}

@keyframes heroDrift {
    0% {
        transform: scale(1.06) translate3d(0, 0, 0);
    }
    100% {
        transform: scale(1.2) translate3d(-2.5%, -1.5%, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-ringo::before {
        animation: none;
    }
}

/* ---------- Cards ---------- */
.card-dark {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    background: linear-gradient(160deg, var(--surface-2), var(--surface-color));
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.card-dark:hover {
    border-color: rgba(200, 164, 92, 0.45);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.9rem;
    color: var(--primary-color);
    background: rgba(200, 164, 92, 0.12);
    border: 1px solid rgba(200, 164, 92, 0.26);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.7rem;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    background: rgba(200, 164, 92, 0.08);
    color: var(--text-muted);
    font-size: 0.72rem;
    letter-spacing: 0.03em;
}

.price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.9rem;
    border-bottom: 1px dashed rgba(169, 156, 143, 0.22);
}

.price-row:last-child {
    border-bottom: 0;
}

/* ---------- Form fields ---------- */
.field-label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.field-input,
.field-select,
.field-textarea {
    width: 100%;
    min-height: 48px;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.8rem;
    background: #100e0c;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-input::placeholder,
.field-textarea::placeholder {
    color: #6f6459;
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(200, 164, 92, 0.18);
}

.field-textarea {
    min-height: 120px;
    resize: vertical;
}

select.field-select {
    appearance: none;
    padding-right: 2.5rem;
    background-image: linear-gradient(45deg, transparent 50%, var(--primary-color) 50%), linear-gradient(135deg, var(--primary-color) 50%, transparent 50%);
    background-position: calc(100% - 1.3rem) 50%, calc(100% - 1.02rem) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

/* ---------- Language switcher ---------- */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.03);
}

.lang-btn {
    min-width: 2.6rem;
    min-height: 34px;
    padding: 0.32rem 0.55rem;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.lang-btn:hover {
    color: var(--text-color);
}

.lang-btn.is-active {
    background: var(--primary-color);
    color: #16120d;
}

.lang-switch--mobile {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.lang-switch--mobile .lang-btn {
    flex: 1;
    min-height: 44px;
    font-size: 0.85rem;
}