@tailwind base;
@tailwind components;
@tailwind utilities;

/* ─── Scroll offset: anchor links clear the fixed nav ───────── */
html {
    scroll-padding-top: 60px;
}

/* ─── Global reset ────────────────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    max-width: 100%;
}

/* ─── Accessibility: screen-reader-only utility ─────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ─── Text selection colors ─────────────────────────────────── */
::selection {
    background-color: #f04f22; /* Deep purple background */
    color: white; /* White text for contrast */
}

/* For Firefox */
::-moz-selection {
    background-color: #2D1A45;
    color: white;
}

/* ─── Base typography ───────────────────────────────────────── */
body {
    font-family: 'Montserrat', sans-serif;
   }

/* ─── Hero section ──────────────────────────────────────────── */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(ellipse 40% 55% at 8% 50%, rgba(240, 79, 34, 0.07) 0%, transparent 65%),
        linear-gradient(-45deg, #070920, #3a0e68, #060f28, #280a58, #070920);
    background-size: 100% 100%, 500% 500%;
    animation: heroGradient 18s ease infinite;
}

/* Intro-flash: kirkas purppura-burst latautuessa, himmenee 2.5s kuluessa */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 90% 90% at 50% 50%, rgba(90, 30, 180, 0.7) 0%, transparent 70%);
    animation: heroIntro 2.5s ease-out forwards;
    pointer-events: none;
}

@keyframes heroIntro {
    0%   { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes heroGradient {
    0%   { background-position: 50% 50%, 0% 0%; }
    50%  { background-position: 50% 50%, 100% 100%; }
    100% { background-position: 50% 50%, 0% 0%; }
}

@media (prefers-reduced-motion: reduce) {
    .hero, .hero::before { animation: none; }
}

.scroll-button, .lang-btn { cursor: pointer; }

/* ─── Hero: full-bleed glass overlay ───────────────────────── */
.hero-glass {
    position: absolute;
    inset: 0;
    z-index: 2;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background: rgba(14, 16, 42, 0.3);
    pointer-events: none;
}

/* ─── Hero: left-side content card ──────────────────────────── */
.hero-content {
    position: absolute;
    top: 50%;
    left: 7vw;
    transform: translateY(-50%);
    max-width: 560px;
    z-index: 4;
    padding: 3rem 3.5rem;
}

.hero-body {
    color: rgba(237, 227, 208, 0.82);
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 1.5rem 0 2rem;
    letter-spacing: 0.01rem;
}

/* ─── Hero: right-side manifesto + tool badges ──────────────── */
.hero-right {
    position: absolute;
    right: 7vw;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: right;
}

.hero-manifesto {
    font-family: 'Momo Trust Display', sans-serif;
    font-size: 2.6rem;
    color: #ede3d0;
    line-height: 1.3;
    letter-spacing: 0.02rem;
    opacity: 0.92;
    border-right: 2px solid rgba(240, 79, 34, 0.7);
    padding-right: 1.6rem;
}

.hero-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
}

.hero-tool {
    display: inline-block;
    padding: 0.5rem 1.1rem;
    border: 1px solid rgba(237, 227, 208, 0.22);
    color: rgba(237, 227, 208, 0.62);
    font-size: 0.88rem;
    letter-spacing: 0.06rem;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.hero-tool:hover {
    border-color: rgba(240, 79, 34, 0.5);
    color: rgba(237, 227, 208, 0.9);
}

/* ─── Hero: headline typography ─────────────────────────────── */
h1 {
    color: #ede3d0;
    font-family: 'Momo Trust Display', sans-serif;
    font-size: 6rem;
    letter-spacing: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: inline-block;
    cursor: pointer;
    position: relative;
}



h1 .h1-sub {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Accent line between H1 and H2 — animated via GSAP on page load */
.hero-line {
    width: 80px;
    height: 2px;
    background-color: #f04f22;
    margin: 1.2rem 0 1rem;
    transform-origin: left center;
}

h2 {
    color: #ede3d0;
    font-size: 2rem;
    letter-spacing: 0.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    max-width: 600px;
    margin: 0;
    line-height: 1.6;
}

/* ─── Hero: CTA scroll button ───────────────────────────────── */
.scroll-button {
    display: inline-block;
    padding: 0.85rem 2rem;
    background-color: transparent;
    border: 1px solid rgba(237, 227, 208, 0.55);
    color: #ede3d0;
    font-size: 1rem;
    letter-spacing: 0.08rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.scroll-button:hover {
    background-color: #ede3d0;
    color: #1c1f3d;
    border-color: #ede3d0;
}

/* ─── About / Info section ───────────────────────────────────── */
.info-section {
    background-color: #faf7f2;
    padding: 6rem 2rem;
    color: #1c1f3d;
    position: relative;
    overflow: hidden;
}

.info-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/bgone2.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: translateX(18%);
    z-index: 0;
    will-change: transform, opacity;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.info-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    align-items: start;
    column-gap: 4rem;
    row-gap: 1rem;
    position: relative;
    z-index: 1;
}

.info-section .section-title {
    grid-column: 1 / 3;
    grid-row: 1;
}

.info-section .info-content {
    grid-column: 1;
    grid-row: 2;
}

.info-section .info-image {
    grid-column: 2;
    grid-row: 2;
}

.section-title {
    flex: 0 0 100%;
}

.section-title h3 {
    font-size: 2.5rem;
    margin-bottom: 0;
    font-family: 'Momo Trust Display', sans-serif;
    color: #1c1f3d;
}

.info-content {
    flex: 1;
}

.info-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.info-content p:empty {
    display: none;
}

/* Restore list styling removed by the global * reset above */
.info-content ul {
    list-style: disc inside;
    margin: 0.75rem 0 1.5rem 0; /* keep spacing above and below the list */
    padding-left: 1.25rem; /* ensure bullets are visible and indented */
}

.info-content li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Give the text column breathing room so it doesn't crowd the portrait image */
.info-content {
    padding-right: 1rem;
}

.info-image {
    flex: 1;
}

.info-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.learn-more {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #1c1f3d;
    border: 2px solid #1c1f3d;
    color: #faf7f2;
    text-decoration: none;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.learn-more:hover {
    background-color: transparent;
    color: #1c1f3d;
}

/* ─── Services section ───────────────────────────────────────── */
.services-section {
    background: #faf7f2;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

/* ─── Relic background images ────────────────────────────────── */
/* Each PNG is full-canvas sized with the icon at its natural position.
   Stacking all five at 100% width means each icon appears exactly
   where it belongs, no repositioning needed. */
.services-relics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 0;
}

.services-relic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    user-select: none;
    will-change: opacity;
}


.services-section .container {
    position: relative;
    z-index: 3;
    flex-direction: column;
    gap: 3.5rem;
}

.services-section .section-title {
    width: 100%;
    text-align: center;
}

.services-section .section-title h3 {
    color: #1c1f3d;
}

/* ─── Cards grid ──────────────────────────────────────────────── */
.services-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* ─── Service card: base ──────────────────────────────────────── */
.service-card {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Background visual layer */
.card-visual {
    position: absolute;
    inset: 0;
}

/* No overlay needed — cream background with dark text */

/* Card content — sits above the visual */
.card-body {
    position: relative;
    z-index: 2;
    padding: 2rem 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.service-card h4 {
    font-family: 'Momo Trust Display', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.03rem;
    color: #1c1f3d;
    line-height: 1.3;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(28, 31, 61, 0.7);
    max-width: 54ch;
}

/* ─── Card tags ───────────────────────────────────────────────── */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.1rem;
}

.card-tag {
    font-size: 0.78rem;
    letter-spacing: 0.06rem;
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(28, 31, 61, 0.45);
    color: rgba(28, 31, 61, 0.75);
    border-radius: 6px;
}

.service-cta {
    display: inline-block;
    margin-top: 0.1rem;
    font-size: 0.92rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: #f04f22;
    text-decoration: none;
    align-self: flex-start;
    transition: opacity 0.2s ease;
}

.service-cta:hover {
    opacity: 0.7;
}

/* ─── Service card: colour variants ──────────────────────────── */

/* Cards 1–3: cream background */
.service-card--1 .card-visual,
.service-card--2 .card-visual,
.service-card--3 .card-visual {
    background: #ede3d0;
}

/* Card 4: slightly darker cream (muted, coming soon) */
.service-card--4 .card-visual {
    background: #d6cebe;
}
.service-card--4 h4,
.service-card--4 p {
    opacity: 0.55;
}

/* ─── Coming-soon badge ───────────────────────────────────────── */
.service-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 3;
    background: #f04f22;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
}

@media (max-width: 640px) {
    .services-stack {
        grid-template-columns: 1fr;
    }
}

/* ─── References: decorative relic images ───────────────────── */
.reference-relics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.reference-relic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    user-select: none;
    will-change: opacity;
}

/* ─── References section (dark) ──────────────────────────────── */
.reference-section {
    background: #1c1f3d;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.reference-section .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
}

.reference-section .section-title {
    width: 100%;
}

/* Override default dark h3 color for this dark-background section */
.reference-section .section-title h3 {
    color: #ede3d0;
}

.reference-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ─── References: editorial pull-quote layout ────────────────── */
.reference-logos {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0;
    align-items: start;
}

/* Vertical divider as a pseudo-element in the second grid column */
.reference-logos::after {
    content: '';
    grid-column: 2;
    grid-row: 1;
    background: rgba(237, 227, 208, 0.12);
    width: 1px;
    align-self: stretch;
    min-height: 100%;
}

.reference-logo {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0 3.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    position: relative;
}

.reference-logo:first-child {
    padding-left: 0;
    padding-right: 3.5rem;
}

.reference-logo:last-child {
    padding-left: 3.5rem;
    padding-right: 0;
    border: none;
    margin-top: 0;
}

/* Large opening quotation mark rendered via ::before pseudo-element */
.reference-logo::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 5.5rem;
    line-height: 0.8;
    color: #f04f22;
    opacity: 0.4;
    margin-bottom: 1.2rem;
    display: block;
}

.reference-text {
    font-size: 1.45rem;
    line-height: 1.65;
    color: rgba(237, 227, 208, 0.88);
    font-style: italic;
    margin: 0 0 1.8rem 0;
    letter-spacing: 0.01rem;
}

.ref-attribution {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: auto;
}

.ref-name {
    display: block;
    color: #f04f22;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.02rem;
}

.ref-title {
    display: block;
    color: #f04f22;
    font-style: italic;
    font-size: 0.83rem;
    letter-spacing: 0.01rem;
    opacity: 0.85;
}

.ref-company {
    display: block;
    color: rgba(237, 227, 208, 0.3);
    font-size: 0.78rem;
    letter-spacing: 0.06rem;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.reference-link {
    display: inline-flex;
    align-items: center;
    margin-top: 2rem;
    align-self: flex-start;
}

.reference-logo img {
    height: 68px;
    width: auto;
    max-width: 280px;
    filter: brightness(0) invert(1);
    opacity: 0.35;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

/* Faros & Com logo — slightly larger to match visual weight */
.reference-logo:last-child img {
    height: 88px;
    max-width: 340px;
}

/* Hover state: orange fill (#f04f22) via CSS filter chain on the white-inverted logos */
.reference-logo:hover img {
    filter: brightness(0) saturate(100%) invert(36%) sepia(93%) saturate(1200%) hue-rotate(347deg) brightness(103%);
    opacity: 1;
}

/* ─── Contact section ────────────────────────────────────────── */
.contact-section {
    background-color: #faf7f2;
    padding: 6rem 2rem;
}

.contact-section .container {
    max-width: 800px; /* Narrower container for better form readability */
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Momo Trust Display', sans-serif;
    color: #1c1f3d;
}

.contact-content > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

/* ─── Contact: form layout ───────────────────────────────────── */
.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    position: relative;
}

/* ─── Contact: floating-label input fields ───────────────────── */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    background: transparent;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    left: 0.8rem;
    top: 0.8rem;
    font-size: 1rem;
    color: #666;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2D1A45;
    outline: none;
    box-shadow: 0 0 0 2px rgba(45, 26, 69, 0.1);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    padding: 0 0.4rem;
    background: #faf7f2;
    color: #1c1f3d;
}

/* ─── Contact: submit button ─────────────────────────────────── */
.submit-btn {
    background-color: #1c1f3d;
    color: #faf7f2;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.04rem;
}

.submit-btn:hover {
    background-color: #f04f22;
    transform: translateY(-1px);
}



/* ─── Responsive breakpoints (≤768px) ───────────────────────── */
@media (max-width: 768px) {
    .hero-right {
        display: none;
    }

    h1 {
        font-size: 3.2rem;
    }

    h2 {
        font-size: 1.3rem;
        letter-spacing: 0.08rem;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .hero-content {
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 2.5rem);
        max-width: 100%;
        padding: 2rem 1.75rem;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .container {
        flex-direction: column;
        gap: 2rem;
    }

    .reference-section .container {
        align-items: stretch;
    }

    .reference-logos {
        grid-template-columns: 1fr;
    }

    .reference-logos::after {
        display: none;
    }

    .reference-logo:first-child {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 3rem;
        border-bottom: 1px solid rgba(237, 227, 208, 0.12);
    }

    .reference-logo:last-child {
        padding-left: 0;
        padding-right: 0;
        padding-top: 3rem;
        margin-top: 0;
    }

    .reference-text {
        font-size: 1.2rem;
    }

    .info-section .container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .info-section .section-title,
    .info-section .info-content,
    .info-section .info-image {
        grid-column: 1;
        grid-row: auto;
    }

    .info-content, .info-image {
        width: 100%;
        max-width: 100%;
        padding-right: 0;
    }

    .info-image img {
        max-width: 100%;
        width: 100%;
    }

    .section-title h3 {
        font-size: 1.8rem;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .info-content p,
    .info-content li {
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .contact-content h3 {
        font-size: 1.8rem;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    /* Hide decorative relic images on mobile — they rely on desktop canvas sizing */
    .services-relics {
        display: none;
    }

    .contact-section .container {
        grid-template-columns: 1fr;
    }

    .contact-info {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .info-block {
        margin-bottom: 0;
    }
}

/* ─── Hero: landscape mobile fix ────────────────────────────── */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-content {
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 1.25rem 1.5rem;
    }

    h1 {
        font-size: 2.2rem;
        letter-spacing: 0.25rem;
    }

    h2 {
        font-size: 1rem;
        letter-spacing: 0.05rem;
    }

    .hero-body {
        font-size: 0.85rem;
        margin: 0.75rem 0 1rem;
    }

    .hero-line {
        margin: 0.6rem 0 0.5rem;
    }
}

/* ─── Navigation ─────────────────────────────────────────────── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7vw;
    transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.site-nav--scrolled {
    background: rgba(237, 227, 208, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(8, 9, 24, 0.08);
}

.site-nav--scrolled .nav-logo {
    color: #080918;
}

.site-nav--scrolled .nav-logo:hover {
    color: #f04f22;
}

.site-nav--scrolled .nav-links a {
    color: #080918;
}

.site-nav--scrolled .nav-links a:hover {
    color: #f04f22;
}

.site-nav--scrolled .lang-btn {
    color: rgba(8, 9, 24, 0.5);
}

.site-nav--scrolled .lang-btn:hover {
    color: rgba(8, 9, 24, 0.85);
}

.site-nav--scrolled .lang-sep {
    color: rgba(8, 9, 24, 0.2);
}

.nav-logo {
    font-family: 'Momo Trust Display', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.35rem;
    color: #ede3d0;
    text-decoration: none;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.nav-logo:hover {
    color: #f04f22;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    color: #ede3d0;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    position: relative;
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: #f04f22;
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: #f04f22;
}

.nav-links a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .site-nav {
        padding: 0 1.5rem;
    }
}

/* ─── Language switcher (FI / EN) ───────────────────────────── */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: none;
    padding: 0.3rem 0.2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.12rem;
    color: rgba(237, 227, 208, 0.4);
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.lang-btn:hover {
    color: rgba(237, 227, 208, 0.85);
}

.lang-btn--active {
    color: #f04f22;
    font-weight: 600;
}

.lang-sep {
    font-size: 0.85rem;
    color: rgba(237, 227, 208, 0.18);
    user-select: none;
    line-height: 1;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
    background: #080918;
    border-top: 1px solid rgba(237, 227, 208, 0.08);
    padding: 3rem 7vw 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-family: 'Momo Trust Display', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.35rem;
    color: #ede3d0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-logo:hover {
    color: #f04f22;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    font-family: 'Momo Trust Display', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.08rem;
    color: rgba(237, 227, 208, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #f04f22;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(237, 227, 208, 0.06);
    padding-top: 1.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.04rem;
    color: rgba(237, 227, 208, 0.3);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(237, 227, 208, 0.3);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #f04f22;
}

@media (max-width: 640px) {
    .footer-top,
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        text-align: center;
    }

    .footer-nav {
        gap: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }
}

