:root {
    --accent: #b87333;
    --accent-light: #cd8b4a;
    --bg: #09090b;
    --bg-subtle: #18181b;
    --text: #fafafa;
    --text-muted: #a1a1aa;
    --border: #27272a;
    --nav-height: 64px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    background: var(--bg);
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.nav-logo-text,
.footer-logo span,
.error-code,
.cta-btn,
.nav-cta,
.register-form-box button,
.contact-form-box button,
.error-home-btn,
.badge,
.tagline,
.section-label,
.about-highlight,
.faq-question,
.value-card h3,
.feature-card h3 {
    font-family: 'Cinzel', 'Times New Roman', serif;
}

/* ── Skip Navigation (Accessibility) ── */
.skip-nav {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--accent);
    color: white;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}

.skip-nav:focus {
    top: 0;
}

/* ── Page Loader ── */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

body.loaded .page-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Fade-in sections on load */
body.loaded main section {
    animation: fadeUp 0.5s ease both;
}

body.loaded main section:nth-child(2) {
    animation-delay: 0.05s;
}

body.loaded main section:nth-child(3) {
    animation-delay: 0.1s;
}

body.loaded main section:nth-child(4) {
    animation-delay: 0.15s;
}

body.loaded main section:nth-child(5) {
    animation-delay: 0.2s;
}

body.loaded main section:nth-child(6) {
    animation-delay: 0.25s;
}

body.loaded main section:nth-child(7) {
    animation-delay: 0.3s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Navigation ── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.site-nav.scrolled {
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--nav-height);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
}

.nav-logo-icon {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-family: 'Cinzel', 'Times New Roman', serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #d4d4d8;
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.nav-link:hover,
.nav-link:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.nav-cta {
    color: var(--accent) !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none;
    margin-left: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.nav-cta:hover {
    color: #ffffff !important;
    background: none !important;
    border: none !important;
}

/* Language Toggle */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.lang-btn {
    background: none;
    border: none;
    font-family: 'Cinzel', 'Times New Roman', serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: #71717a;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.lang-btn:hover {
    color: #d4d4d8;
    background: rgba(255, 255, 255, 0.06);
}

.lang-btn.active {
    color: var(--accent-light);
    text-shadow: 0 0 12px rgba(184, 115, 51, 0.3);
}

.lang-sep {
    color: #3f3f46;
    font-size: 0.8rem;
    user-select: none;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.hero .container {
    max-width: 1400px;
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5vh;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 85vh;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0.55;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 20%, rgba(9, 9, 11, 0.65) 85%),
        linear-gradient(to bottom,
            rgba(9, 9, 11, 0.2) 0%,
            rgba(9, 9, 11, 0.5) 50%,
            rgba(9, 9, 11, 0.9) 80%,
            rgba(9, 9, 11, 1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent);
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
    margin-bottom: 20px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero h1 {
    font-size: clamp(3.5rem, 9vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 2px;
    margin-bottom: 28px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-light), #d4a055);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.3rem;
    color: var(--accent-light);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 36px auto;
    line-height: 1.8;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 48px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fef3c7;
    background: linear-gradient(180deg,
            rgba(160, 100, 40, 0.15) 0%,
            rgba(140, 85, 30, 0.3) 50%,
            rgba(120, 70, 20, 0.15) 100%);
    border: 1px solid rgba(184, 130, 60, 0.5);
    border-radius: 2px;
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    box-shadow:
        inset 0 1px 0 rgba(255, 215, 140, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 0 20px rgba(184, 115, 51, 0.08);
    position: relative;
    backdrop-filter: blur(4px);
}

.cta-btn:hover {
    color: #ffffff;
    background: linear-gradient(180deg,
            rgba(184, 120, 50, 0.35) 0%,
            rgba(160, 100, 40, 0.5) 50%,
            rgba(140, 85, 30, 0.35) 100%);
    border-color: rgba(212, 160, 85, 0.8);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 215, 140, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 0 30px rgba(184, 115, 51, 0.2),
        0 4px 16px rgba(0, 0, 0, 0.3);
}

.cta-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

/* ── Features ── */
.features {
    padding: 100px 0;
    background: var(--bg-subtle);
}

.features-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent-light);
    margin-bottom: 16px;
}

.features-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 40px 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.feature-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--border);
    margin-bottom: 20px;
    line-height: 1;
}

.feature-card:hover .feature-number {
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ── Register ── */
.register {
    padding: 100px 0;
}

.register-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.register-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.register-info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.perks {
    list-style: none;
}

.perks li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.perks li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

.register-form-box {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 48px;
}

.register-form-box form {
    display: flex;
    flex-direction: column;
}

.register-form-box label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.register-form-box input {
    padding: 16px 20px;
    font-size: 1.1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 2px;
    color: var(--text);
    outline: none;
    margin-bottom: 20px;
    transition: border-color 0.2s;
}

.register-form-box input:focus,
.register-form-box input:focus-visible {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.15);
}

.register-form-box input::placeholder {
    color: #71717a;
}

.register-form-box button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 28px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fef3c7;
    background: linear-gradient(180deg,
            rgba(160, 100, 40, 0.15) 0%,
            rgba(140, 85, 30, 0.3) 50%,
            rgba(120, 70, 20, 0.15) 100%);
    border: 1px solid rgba(184, 130, 60, 0.5);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    box-shadow:
        inset 0 1px 0 rgba(255, 215, 140, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.register-form-box button:hover {
    color: #ffffff;
    background: linear-gradient(180deg,
            rgba(184, 120, 50, 0.35) 0%,
            rgba(160, 100, 40, 0.5) 50%,
            rgba(140, 85, 30, 0.35) 100%);
    border-color: rgba(212, 160, 85, 0.8);
    box-shadow:
        inset 0 1px 0 rgba(255, 215, 140, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 0 20px rgba(184, 115, 51, 0.15);
}

.register-form-box button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.register-form-box button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.btn-arrow {
    transition: transform 0.2s;
}

.register-form-box button:hover .btn-arrow {
    transform: translateX(4px);
}

.form-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--accent);
    margin-top: 16px;
}

.success {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    font-size: 1.75rem;
    font-weight: 600;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 2px solid rgba(34, 197, 94, 0.2);
}

.success h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.success p {
    color: var(--text-muted);
}

/* ── About ── */
.about {
    padding: 100px 0;
    background: var(--bg);
}

.about-wide {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
}

.about-wide h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 32px;
}

.about-wide p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-highlight {
    color: var(--accent-light) !important;
    font-style: italic;
    margin-top: 32px !important;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.values-grid-wide {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-card {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 24px;
    transition: all 0.3s;
}

.value-card:hover {
    border-color: var(--accent);
}

.value-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}


/* ── Hero Particles — bottom-rising gold light particles ── */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #e6c35a;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 6px 2px rgba(200, 165, 74, 0.5);
    animation: hero-float-particle 6s infinite ease-in-out;
}

@keyframes hero-float-particle {
    0% {
        opacity: 0;
        transform: translateY(0px);
    }

    20% {
        opacity: 0.85;
    }

    80% {
        opacity: 0.35;
    }

    100% {
        opacity: 0;
        transform: translateY(-120px);
    }
}

/* ── Gallery ── */
.gallery {
    padding: 100px 0;
    background: var(--bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--bg);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-item:hover {
    border-color: var(--accent);
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(184, 115, 51, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ── Lightbox ── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: lightbox-fadein 0.25s ease;
}

.lightbox.active {
    display: flex;
}

@keyframes lightbox-fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    cursor: default;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5);
    animation: lightbox-zoomin 0.3s ease;
}

@keyframes lightbox-zoomin {
    from {
        transform: scale(0.92);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    z-index: 10;
}

.lightbox-close:hover {
    color: #fff;
    transform: scale(1.15);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.8rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(184, 115, 51, 0.3);
    border-color: rgba(184, 115, 51, 0.6);
    color: #fff;
}

.lightbox-counter {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    letter-spacing: 2px;
    font-weight: 500;
}

/* ── FAQ ── */
.faq {
    padding: 100px 0;
    background: var(--bg-subtle);
}

.faq-header {
    text-align: center;
    margin-bottom: 64px;
}

.faq-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 2px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover,
.faq-item.open {
    border-color: var(--accent);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--bg);
    border: none;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(184, 115, 51, 0.05);
}

.faq-question:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.faq-icon {
    font-size: 1.4rem;
    color: var(--accent);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* ── Contact ── */
.contact {
    padding: 100px 0;
    background: var(--bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-details {
    margin-top: 24px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.contact-detail-icon {
    font-size: 1.2rem;
    color: var(--accent);
}

.contact-form-box {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 48px;
}

.contact-form-box form {
    display: flex;
    flex-direction: column;
}

.contact-form-box label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.contact-form-box input,
.contact-form-box textarea {
    padding: 16px 20px;
    font-size: 1.1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 2px;
    color: var(--text);
    outline: none;
    margin-bottom: 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.contact-form-box input:focus,
.contact-form-box input:focus-visible,
.contact-form-box textarea:focus,
.contact-form-box textarea:focus-visible {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.15);
}

.contact-form-box input::placeholder,
.contact-form-box textarea::placeholder {
    color: #71717a;
}

.contact-form-box textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-box button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 28px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fef3c7;
    background: linear-gradient(180deg,
            rgba(160, 100, 40, 0.15) 0%,
            rgba(140, 85, 30, 0.3) 50%,
            rgba(120, 70, 20, 0.15) 100%);
    border: 1px solid rgba(184, 130, 60, 0.5);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    box-shadow:
        inset 0 1px 0 rgba(255, 215, 140, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.contact-form-box button:hover {
    color: #ffffff;
    background: linear-gradient(180deg,
            rgba(184, 120, 50, 0.35) 0%,
            rgba(160, 100, 40, 0.5) 50%,
            rgba(140, 85, 30, 0.35) 100%);
    border-color: rgba(212, 160, 85, 0.8);
    box-shadow:
        inset 0 1px 0 rgba(255, 215, 140, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 0 20px rgba(184, 115, 51, 0.15);
}

.contact-form-box button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-form-box button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* ── Footer ── */
footer {
    padding: 60px 32px 32px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-links h6 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-light);
}

.footer-links a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ── Back to Top ── */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 900;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 2px;
    color: var(--text-muted);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s, color 0.2s;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.back-to-top:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* ── 404 Page ── */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
}

.error-content {
    max-width: 500px;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent-light), #d4a055);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.error-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.error-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.error-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--accent);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}

.error-home-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.error-home-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

/* ── Global focus-visible ── */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ══════════════════════════════ */
/*           RESPONSIVE          */
/* ══════════════════════════════ */

@media (max-width: 900px) {
    .values-grid-wide {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .register-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {

    /* Nav: hamburger menu */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: calc(var(--nav-height) + 16px) 24px 24px;
        background: var(--bg-subtle);
        border-left: 1px solid var(--border);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-link {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 8px;
        text-align: center;
        justify-content: center;
    }

    .lang-switch {
        margin-left: 0;
        margin-top: 12px;
        padding-left: 0;
        border-left: none;
        padding-top: 12px;
        border-top: 1px solid var(--border);
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        min-height: 90vh;
        padding-bottom: 60px;
    }

    .hero-image {
        height: 50vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .desc {
        font-size: 1rem;
    }

    .features,
    .about,
    .gallery,
    .register,
    .faq,
    .contact {
        padding: 64px 0;
    }

    .section-label {
        font-size: 10px;
    }

    .features-header h2,
    .faq-header h2,
    .register-info h2,
    .contact-info h2,
    .about-wide h2 {
        font-size: 1.6rem;
    }

    .register-form-box,
    .contact-form-box {
        padding: 28px 20px;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 0.9rem;
    }

    .faq-answer p {
        padding: 0 18px 16px;
        font-size: 0.88rem;
    }

    .about-wide p {
        font-size: 0.95rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    .lightbox-prev {
        left: 12px;
    }

    .lightbox-next {
        right: 12px;
    }

    .lightbox-close {
        top: 16px;
        right: 16px;
        font-size: 1.6rem;
    }

    .lightbox img {
        max-width: 95vw;
        max-height: 80vh;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 500px) {
    .values-grid-wide {
        grid-template-columns: 1fr;
    }

    .value-card {
        padding: 16px;
    }

    .hero h1 {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .badge {
        font-size: 10px;
        padding: 6px 12px;
    }

    .nav-container {
        padding: 0 16px;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Legal / Policy Pages */
.legal-page {
    min-height: 100vh;
    padding: calc(var(--nav-height) + 48px) 24px 80px;
}

.legal-content {
    max-width: 720px;
    margin: 0 auto;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 32px;
    transition: color 0.2s;
}

.legal-back:hover {
    color: var(--accent-light);
}

.legal-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--accent-light), #d4a055);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

.legal-section {
    margin-bottom: 36px;
}

.legal-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.legal-section p {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 12px;
}

.legal-section ul li {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
    margin-bottom: 6px;
}

.legal-section ul li::before {
    content: "•";
    color: var(--accent-light);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.legal-section a {
    color: var(--accent-light);
    text-decoration: none;
    transition: opacity 0.2s;
}

.legal-section a:hover {
    opacity: 0.8;
}

.support-email {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(184, 115, 51, 0.15);
    border: 1px solid rgba(184, 115, 51, 0.3);
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 500;
    margin-top: 4px;
}