/* ══════════════════════════════════════════════════════════
   SÖDERMAN OÜ — VIKING / OLD NORSE THEME
   ══════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark wood & leather */
    --wood-darkest: #1a0f07;
    --wood-dark: #2c1810;
    --wood-mid: #3d2914;
    --wood-light: #5a3a1e;
    --wood-lighter: #7a5230;
    --leather: #4a3520;

    /* Gold / amber */
    --gold: #c9a84c;
    --gold-bright: #d4af37;
    --gold-dim: #a08030;
    --gold-glow: #e8c84a;
    --amber: #b8860b;

    /* Text */
    --text-light: #f0e6d4;
    --text-muted: #bfa67a;
    --text-dark: #1a0f07;

    /* Misc */
    --blood-red: #8b1a1a;
    --iron: #4a4a4a;
    --parchment: #e8dcc8;
    --shadow: rgba(0, 0, 0, 0.6);

    /* Spacing */
    --section-pad: clamp(3rem, 8vw, 6rem);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Almendra', Georgia, serif;
    background-color: var(--wood-darkest);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    /* Carved wood texture via CSS gradient */
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0,0,0,0.03) 2px,
            rgba(0,0,0,0.03) 4px
        ),
        linear-gradient(
            180deg,
            var(--wood-darkest) 0%,
            #241508 50%,
            var(--wood-darkest) 100%
        );
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
    font-family: 'MedievalSharp', cursive;
    color: var(--gold);
    line-height: 1.2;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold-glow);
}

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

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background:
        linear-gradient(
            180deg,
            rgba(26, 15, 7, 0.97) 0%,
            rgba(44, 24, 16, 0.95) 100%
        );
    border-bottom: 2px solid var(--gold-dim);
    backdrop-filter: blur(10px);
    box-shadow:
        0 2px 20px rgba(0,0,0,0.5),
        inset 0 -1px 0 rgba(201, 168, 76, 0.2);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-img {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 0 6px rgba(201, 168, 76, 0.4));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: 'MedievalSharp', cursive;
    font-size: 1.4rem;
    color: var(--gold);
    line-height: 1.1;
}

.logo-url {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    padding-top: 3px;
    border-top: 2px solid var(--gold-dim);
}

/* ─── BURGER (CSS-only checkbox hack) ─── */
.nav-toggle {
    display: none;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.burger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ─── NAV ─── */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 0.2rem;
}

.main-nav a {
    display: block;
    padding: 0.5rem 1rem;
    font-family: 'MedievalSharp', cursive;
    font-size: 1rem;
    color: var(--text-muted);
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav a:hover {
    color: var(--gold);
    background: rgba(201, 168, 76, 0.08);
}

.main-nav a:hover::after {
    width: 60%;
}

/* Mobile nav */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background:
            linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-darkest) 100%);
        border-left: 2px solid var(--gold-dim);
        padding: 5rem 1.5rem 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0,0,0,0.5);
        z-index: 999;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        padding: 1rem;
        font-size: 1.2rem;
        border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    }

    .main-nav a::after {
        display: none;
    }

    /* Toggle open */
    .nav-toggle:checked ~ .main-nav {
        right: 0;
    }

    /* Burger X animation */
    .nav-toggle:checked ~ .burger .burger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .nav-toggle:checked ~ .burger .burger-line:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked ~ .burger .burger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(26,15,7,0.6) 70%, rgba(26,15,7,0.95) 100%),
        linear-gradient(180deg, rgba(26,15,7,0.4) 0%, rgba(44,24,16,0.7) 50%, rgba(26,15,7,0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    color: var(--gold);
    text-shadow:
        0 0 40px rgba(201, 168, 76, 0.4),
        0 4px 20px rgba(0,0,0,0.8);
    margin-bottom: 1.2rem;
    letter-spacing: 2px;
}

.hero h1 span {
    display: block;
    font-size: 0.7em;
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.rune-decoration {
    font-size: 1.8rem;
    color: var(--gold-dim);
    letter-spacing: 1rem;
    opacity: 0.6;
    margin: 1rem 0;
    user-select: none;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--gold-dim);
    font-size: 1.5rem;
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

/* ─── CTA BUTTON ─── */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    font-family: 'MedievalSharp', cursive;
    font-size: 1.2rem;
    color: var(--wood-darkest);
    background:
        linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold) 100%);
    border: 2px solid var(--gold-bright);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 15px rgba(201, 168, 76, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background:
        linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    color: var(--wood-darkest);
    box-shadow:
        0 6px 25px rgba(201, 168, 76, 0.5),
        0 0 40px rgba(201, 168, 76, 0.2);
}

.btn-cta:hover::before {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════
   RUNE DIVIDERS
   ═══════════════════════════════════════════════════════════ */
.rune-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 2rem;
    overflow: hidden;
}

.knotwork-line {
    flex: 1;
    max-width: 300px;
    height: 3px;
    position: relative;
    background:
        repeating-linear-gradient(
            90deg,
            var(--gold-dim) 0px,
            var(--gold-dim) 8px,
            transparent 8px,
            transparent 12px,
            var(--gold) 12px,
            var(--gold) 20px,
            transparent 20px,
            transparent 24px
        );
    opacity: 0.5;
}

.knotwork-line::before,
.knotwork-line::after {
    content: '';
    position: absolute;
    top: -2px;
    width: 8px;
    height: 8px;
    border: 2px solid var(--gold-dim);
    transform: rotate(45deg);
    background: var(--wood-darkest);
}

.knotwork-line::before {
    left: 0;
}

.knotwork-line::after {
    right: 0;
}

.rune-symbol {
    font-size: 2rem;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(201, 168, 76, 0.5);
    user-select: none;
    min-width: 2rem;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   SECTIONS (SHARED)
   ═══════════════════════════════════════════════════════════ */
.section {
    padding: var(--section-pad) 0;
    position: relative;
}

/* Wood grain background for alternating sections */
.section:nth-child(even of .section) {
    background:
        repeating-linear-gradient(
            87deg,
            transparent,
            transparent 1px,
            rgba(90, 58, 30, 0.05) 1px,
            rgba(90, 58, 30, 0.05) 2px
        ),
        linear-gradient(180deg, rgba(44, 24, 16, 0.3) 0%, transparent 50%, rgba(44, 24, 16, 0.3) 100%);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.8rem;
    position: relative;
    padding-bottom: 1.2rem;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-intro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ═══════════════════════════════════════════════════════════
   SHIELD CARDS (TEENUSED)
   ═══════════════════════════════════════════════════════════ */
.shield-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.shield-card {
    background:
        linear-gradient(145deg, var(--wood-mid) 0%, var(--wood-dark) 100%);
    border: 2px solid var(--gold-dim);
    border-radius: 8px 8px 50% 50% / 8px 8px 12% 12%;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow:
        0 4px 20px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(201, 168, 76, 0.15);
}

.shield-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-dim));
}

.shield-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow:
        0 12px 40px rgba(0,0,0,0.5),
        0 0 30px rgba(201, 168, 76, 0.15),
        inset 0 1px 0 rgba(201, 168, 76, 0.3);
}

.shield-card-top {
    text-align: center;
    padding: 2rem 1rem 1rem;
}

.shield-icon {
    font-size: 2.5rem;
    color: var(--gold);
    filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.4));
}

.shield-card-body {
    padding: 0 1.5rem 1.5rem;
    text-align: center;
    flex: 1;
}

.shield-card-body h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.shield-card-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.shield-card-footer {
    text-align: center;
    padding: 0 1.5rem 2rem;
}

.btn-shield {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    font-family: 'MedievalSharp', cursive;
    color: var(--gold);
    border: 1px solid var(--gold-dim);
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-shield:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: var(--gold);
    color: var(--gold-glow);
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.15);
}

/* ═══════════════════════════════════════════════════════════
   STONE TABLET
   ═══════════════════════════════════════════════════════════ */
.stone-tablet {
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            rgba(0,0,0,0.02) 3px,
            rgba(0,0,0,0.02) 4px
        ),
        linear-gradient(145deg, var(--wood-mid) 0%, var(--wood-dark) 60%, #241508 100%);
    border: 2px solid var(--gold-dim);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    box-shadow:
        0 8px 30px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(201, 168, 76, 0.1),
        inset 0 -1px 0 rgba(0,0,0,0.3);
}

.stone-tablet::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 4px;
    pointer-events: none;
}

.stone-tablet h3,
.stone-tablet h4 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.stone-tablet h4 {
    font-size: 1.2rem;
}

.stone-tablet ul {
    list-style: none;
    padding: 0;
}

.stone-tablet li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    color: var(--text-light);
}

.stone-tablet li:last-child {
    border-bottom: none;
}

.stone-tablet li::before {
    content: '•';
    color: var(--gold);
    position: absolute;
    left: 0;
}

/* ═══════════════════════════════════════════════════════════
   VARUSTUS
   ═══════════════════════════════════════════════════════════ */
.varustus-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.varustus-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.varustus-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Corner decorations */
.image-frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: var(--gold-dim);
    border-style: solid;
    z-index: 2;
}

.image-frame-corner.tl { top: 8px; left: 8px; border-width: 3px 0 0 3px; }
.image-frame-corner.tr { top: 8px; right: 8px; border-width: 3px 3px 0 0; }
.image-frame-corner.bl { bottom: 8px; left: 8px; border-width: 0 0 3px 3px; }
.image-frame-corner.br { bottom: 8px; right: 8px; border-width: 0 3px 3px 0; }

.varustus-specs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.spec-list {
    list-style: none;
}

.spec-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.3rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.spec-list li:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

.spec-value {
    color: var(--gold);
    font-family: 'MedievalSharp', cursive;
    font-size: 1.15rem;
}

@media (max-width: 768px) {
    .varustus-layout {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════
   TINGIMUSED (REQUIREMENTS)
   ═══════════════════════════════════════════════════════════ */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.req-card {
    background:
        linear-gradient(145deg, var(--wood-mid) 0%, var(--wood-dark) 100%);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.req-card:hover {
    border-color: var(--gold-dim);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.req-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid var(--gold-dim);
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.3rem;
}

.req-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.req-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   HINNAKIRI (PRICING)
   ═══════════════════════════════════════════════════════════ */
.location-badge {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

.location-badge i {
    color: var(--gold);
    margin-right: 0.5rem;
}

.price-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.price-desc {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 0 1.5rem 1.5rem;
}

.price-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.price-card {
    background:
        linear-gradient(160deg, var(--wood-mid) 0%, var(--wood-dark) 100%);
    border: 2px solid rgba(201, 168, 76, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 6px 25px rgba(0,0,0,0.4);
    position: relative;
}

.price-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.price-card.featured {
    border-color: var(--gold);
    transform: scale(1.05);
    box-shadow:
        0 8px 35px rgba(0,0,0,0.5),
        0 0 30px rgba(201, 168, 76, 0.15);
}

.price-card.featured::after {
    background: linear-gradient(90deg, var(--gold-dim), var(--gold-bright), var(--gold-dim));
    height: 5px;
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.price-card-header {
    padding: 1.8rem 1.5rem 0.5rem;
    text-align: center;
}

.price-card-header i {
    font-size: 2rem;
    color: var(--gold);
    display: block;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.3));
}

.price-label {
    font-family: 'MedievalSharp', cursive;
    font-size: 1.1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.price-amount {
    text-align: center;
    font-family: 'MedievalSharp', cursive;
    font-size: 3.5rem;
    color: var(--gold);
    padding: 0.5rem 1.5rem;
    text-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
    line-height: 1;
}

.price-unit {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.price-vat {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-bottom: 1rem;
    font-style: italic;
}

.price-details {
    list-style: none;
    padding: 1rem 1.5rem 2rem;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.price-details li {
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.price-details li i {
    color: var(--gold);
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.hinnakiri-lisainfo {
    margin-top: 2.5rem;
}

/* ═══════════════════════════════════════════════════════════
   MÜÜK (SALES)
   ═══════════════════════════════════════════════════════════ */
.muuk-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.muuk-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.muuk-image img {
    width: 100%;
    height: auto;
    display: block;
}

.muuk-info {
    text-align: center;
}

.muuk-desc {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .muuk-layout {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════
   KKK (FAQ)
   ═══════════════════════════════════════════════════════════ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    cursor: pointer;
}

.faq-item summary {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold);
    padding: 1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary i {
    color: var(--gold);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-item[open] summary {
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    margin-bottom: 0.5rem;
}

.faq-item p {
    padding: 0 1rem 1rem;
    line-height: 1.7;
    color: var(--text-light);
    opacity: 0.9;
}

/* ═══════════════════════════════════════════════════════════
   GALERII (GALLERY)
   ═══════════════════════════════════════════════════════════ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    border: 2px solid rgba(201, 168, 76, 0.15);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 50%,
            rgba(26, 15, 7, 0.7) 100%
        );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1rem 1rem;
    background: linear-gradient(transparent, rgba(26, 15, 7, 0.9));
    color: var(--text-light);
    font-size: 0.9rem;
    z-index: 2;
    transform: translateY(0);
}

.gallery-item:hover {
    border-color: var(--gold);
    transform: scale(1.03);
    box-shadow:
        0 8px 30px rgba(0,0,0,0.5),
        0 0 20px rgba(201, 168, 76, 0.15);
    z-index: 2;
}

.gallery-item:hover::after {
    opacity: 1;
}

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

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

/* ─── LIGHTBOX ─── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 5, 2, 0.95);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border: 3px solid var(--gold-dim);
    border-radius: 4px;
    box-shadow: 0 0 60px rgba(0,0,0,0.8);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(44, 24, 16, 0.8);
    border: 1px solid var(--gold-dim);
    color: var(--gold);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 60px;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(201, 168, 76, 0.2);
    border-color: var(--gold);
}

/* ═══════════════════════════════════════════════════════════
   KONTAKT (CONTACT)
   ═══════════════════════════════════════════════════════════ */
.kontakt-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.kontakt-info .kontakt-card {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.kontakt-info .kontakt-card .kontakt-item {
    flex: 1;
    min-width: 200px;
}

.kontakt-form-map {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .kontakt-form-map {
        grid-template-columns: 1fr;
    }
}

.kontakt-card {
    margin-bottom: 2rem;
}

.kontakt-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.kontakt-item:last-child {
    border-bottom: none;
}

.kontakt-item > i {
    font-size: 1.5rem;
    color: var(--gold);
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.kontakt-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.1rem;
}

.kontakt-item a,
.kontakt-item span {
    font-size: 1.05rem;
    color: var(--text-light);
}

.kontakt-item a:hover {
    color: var(--gold);
}

.kontakt-motto {
    text-align: center;
    font-family: 'MedievalSharp', cursive;
    font-size: 1.6rem;
    color: var(--gold);
    font-style: italic;
    text-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
    padding: 1rem 0;
}

.kontakt-map {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--gold-dim);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.kontakt-map iframe {
    display: block;
    height: 100%;
    min-height: 400px;
}

@media (max-width: 768px) {
    .kontakt-layout {
        grid-template-columns: 1fr;
    }
}

/* ─── CONTACT FORM ─── */
.kontakt-form {
}

.kontakt-form h3 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    color: var(--gold);
    font-family: 'MedievalSharp', cursive;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 6px;
    color: var(--text-light);
    font-family: 'Almendra', Georgia, serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.2);
}

.form-group textarea {
    resize: vertical;
}

.kontakt-form .btn-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
}

#form-status {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    display: none;
    text-align: center;
    font-size: 1rem;
}

#form-status.sent {
    display: block;
    background: rgba(45, 80, 22, 0.3);
    border: 1px solid rgba(45, 120, 22, 0.5);
    color: #8fbc6a;
}

#form-status.error {
    display: block;
    background: rgba(139, 26, 26, 0.3);
    border: 1px solid rgba(139, 26, 26, 0.5);
    color: #e88;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer {
    background:
        linear-gradient(180deg, var(--wood-dark) 0%, var(--wood-darkest) 100%);
    border-top: 2px solid var(--gold-dim);
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

.footer-knotwork {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 4px;
    background:
        repeating-linear-gradient(
            90deg,
            var(--gold-dim) 0px,
            var(--gold-dim) 10px,
            transparent 10px,
            transparent 14px,
            var(--gold) 14px,
            var(--gold) 24px,
            transparent 24px,
            transparent 28px
        );
    opacity: 0.4;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-company {
    font-family: 'MedievalSharp', cursive;
    font-size: 1rem;
    color: var(--gold-dim);
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS & SCROLL REVEAL
   ═══════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.5s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.6s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.7s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.8s; }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: 0.9s; }
.reveal-stagger.visible > *:nth-child(10) { transition-delay: 1.0s; }

.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ─── HEADER SCROLL STATE ─── */
.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

/* ═══════════════════════════════════════════════════════════
   KNOTWORK BORDER PATTERN (decorative pseudo-elements)
   ═══════════════════════════════════════════════════════════ */
.teenused::before,
.hinnakiri::before,
.galerii::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background:
        repeating-linear-gradient(
            90deg,
            var(--gold-dim) 0px,
            var(--gold-dim) 6px,
            transparent 6px,
            transparent 10px
        );
    opacity: 0.3;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
    .shield-cards-row {
        grid-template-columns: 1fr;
    }

    .price-cards-row {
        grid-template-columns: 1fr;
    }

    .price-card.featured {
        transform: none;
    }

    .price-card.featured:hover {
        transform: translateY(-5px);
    }

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

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

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

    .rune-decoration {
        font-size: 1.2rem;
        letter-spacing: 0.5rem;
    }
}

@media (max-width: 400px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Selection styling ─── */
::selection {
    background: var(--gold);
    color: var(--wood-darkest);
}

/* ─── Scrollbar styling ─── */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--wood-darkest);
}

::-webkit-scrollbar-thumb {
    background: var(--wood-mid);
    border: 2px solid var(--wood-darkest);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dim);
}
