:root {
    --bg: #0a0a0a;
    --bg-alt: #111111;
    --bg-card: #1a1a1a;
    --text: #f5f0eb;
    --text-muted: #a09890;
    --text-light: #706860;
    --accent: #8a6e55;
    --accent-light: #b8a08a;
    --accent-dark: #6b5340;
    --accent-glow: rgba(138, 110, 85, 0.12);
    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(138, 110, 85, 0.3);
    --white: #ffffff;
    /* EB Garamond is loaded in the <head>; it has to be first here or the page
       pays for the download and still renders headings in Georgia. */
    --font-display: 'EB Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Manrope', -apple-system, sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
    --gold: #d4a534;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--white);
}

::selection {
    background: var(--accent);
    color: var(--bg);
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translate(-50%, -180%);
    z-index: 10001;
    padding: 10px 20px;
    background: var(--accent);
    color: var(--bg);
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translate(-50%, 0);
    color: var(--bg);
}

@media (prefers-reduced-motion: reduce) {

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ---- PRELOADER ---- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s, visibility 0.6s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.scissors-loader {
    font-size: 2.5rem;
    color: var(--accent-light);
    animation: snip 1s ease-in-out infinite;
}

@keyframes snip {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(20deg);
    }
}

/* ---- CONTAINER ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 16px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--accent);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.4;
    padding: 0 0.08em 0.06em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 6px 14px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    margin: 2px auto 0;
    transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 20px;
}

/* Language Toggle — inside navbar */
.lang-toggle {
    display: flex;
    margin-left: 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--border);
}

.lang-btn {
    padding: 5px 12px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    border-radius: 6px;
    text-decoration: none;
    transition: all var(--transition);
}

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

.lang-btn.active,
.lang-btn.active:hover {
    background: var(--accent);
    color: var(--bg);
}

/* ---- HAMBURGER ---- */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4.5px, 4.5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4.5px, -4.5px);
}

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

/* Salon interior, dialled right down so it reads as atmosphere behind the type
   rather than as a photo competing with it. */
.hero-media {
    position: absolute;
    inset: 0;
    display: block;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
    animation: heroDrift 28s ease-in-out infinite alternate;
}

@keyframes heroDrift {
    from {
        transform: scale(1.04);
    }

    to {
        transform: scale(1.12);
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(138, 110, 85, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(184, 160, 138, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(138, 110, 85, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 45%, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.88) 70%),
        linear-gradient(to bottom, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.55) 45%, var(--bg) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

.hero-logo-wrap {
    margin-bottom: 32px;
}

.hero-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    border: 2px solid var(--accent);
    box-shadow: 0 8px 40px rgba(138, 110, 85, 0.2);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title {
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-title-line1 {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-title-line2 {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 600;
    font-style: italic;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* background-clip: text only paints inside the padding box, and EB Garamond's
       italic "ff" (Coiffures, on /en/) hangs well below the baseline — too tight a
       line-height silently guillotines the descenders. */
    line-height: 1.3;
    padding: 0.02em 0.12em 0.18em;
}

.hero-subtitle {
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-divider {
    width: 40px;
    height: 1px;
    background: var(--accent);
    margin: 0 auto 20px;
    animation: fadeInUp 0.8s ease 0.7s both;
}

.hero-location {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 1s both;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeInUp 0.8s ease 1.2s both;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 1.5px solid var(--accent);
    border-radius: 12px;
    position: relative;
    opacity: 0.6;
}

.scroll-dot {
    width: 4px;
    height: 4px;
    background: var(--accent-light);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {

    0%,
    100% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 26px;
        opacity: 0.3;
    }
}

/* Floating scissors decorations */
.hero::before {
    content: '✂';
    position: absolute;
    top: 15%;
    left: 10%;
    font-size: 2rem;
    opacity: 0.04;
    color: var(--accent-light);
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '✂';
    position: absolute;
    bottom: 25%;
    right: 12%;
    font-size: 3rem;
    opacity: 0.03;
    color: var(--accent-light);
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--bg);
    box-shadow: 0 4px 20px rgba(138, 110, 85, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    color: var(--bg);
    box-shadow: 0 8px 30px rgba(138, 110, 85, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: rgba(255, 255, 255, 0.03);
}

/* ---- SECTIONS ---- */
.section {
    padding: 100px 0;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: var(--accent-glow);
    border: 1px solid rgba(138, 110, 85, 0.15);
    border-radius: 6px;
    color: var(--accent-light);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
    background: linear-gradient(135deg, var(--text), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Same clipping caveat as .hero-title-line2 — leave room for descenders. */
    line-height: 1.25;
    padding-bottom: 0.1em;
}

/* ---- ABOUT ---- */
.about {
    background: var(--bg-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 480px;
    object-fit: cover;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.about-image::after {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100%;
    height: 100%;
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-lg);
    opacity: 0.15;
    z-index: -1;
}

.about-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-details {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.detail-icon {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--accent-light);
}

.detail-icon svg {
    width: 18px;
    height: 18px;
}

/* ---- TEAM ---- */
.team {
    background: var(--bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    /* The two bios are very different lengths — let each card end where its text
       does rather than padding the short one out with empty space. */
    align-items: start;
}

.team-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    transition: all var(--transition);
}

.team-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 40px var(--accent-glow);
    transform: translateY(-4px);
}

/* No staff photos yet, so the initial stands in for one. */
.team-monogram {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid var(--border-hover);
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 22px;
}

.team-name {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
}

.team-role {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
}

.team-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 14px;
}

.team-text:last-child {
    margin-bottom: 0;
}

/* ---- SERVICES ---- */
.services {
    background: var(--bg-alt);
}

/* Women's has 8 services, men's and children's have 2 each. Three equal columns
   left two of them two-thirds empty, so the long list gets a feature column of
   its own and the short ones stack beside it. */
.services-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    grid-auto-rows: min-content;
    gap: 24px;
    align-items: start;
}

.service-card--feature {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
}

.service-card--feature .service-list {
    columns: 2;
    column-gap: 32px;
}

.service-card--feature .service-list li {
    break-inside: avoid;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transition: transform var(--transition);
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 0 40px var(--accent-glow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-glow);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

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

.service-list li {
    padding: 6px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-left: 16px;
    position: relative;
}

.service-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.5rem;
    top: 10px;
}

/* ---- GALLERY ---- */
/* Sections alternate bg / bg-alt down the page; gallery and brands were both
   bg-alt, which ran them together into one long slab. */
.gallery {
    background: var(--bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 12px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    /* Real <button> so the gallery is keyboard-reachable. */
    display: block;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    width: 100%;
    height: 100%;
}

.gallery-item picture {
    display: block;
    width: 100%;
    height: 100%;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-overlay span {
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 1.3rem;
    font-weight: 300;
    transform: scale(0.85);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.gallery-item:hover .gallery-overlay span {
    transform: scale(1);
}



/* Shimmer on hover */
.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    z-index: 1;
    transition: left 0.6s ease;
}

.gallery-item:hover::before {
    left: 100%;
}

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

.gallery-item:hover video {
    transform: scale(1.06);
}

.g-hidden {
    display: none;
}

.gallery-more {
    display: block;
    margin: 32px auto 0;
    padding: 12px 32px;
    background: none;
    border: 1.5px solid var(--accent);
    border-radius: var(--radius);
    color: var(--accent);
    font: inherit;
    cursor: pointer;
    transition: all var(--transition);
}

.gallery-more:hover {
    background: var(--accent);
    color: var(--bg);
}

/* ---- LIGHTBOX ---- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    /* Transitioning `visibility` as part of `all` left it computed-hidden for the
       length of the fade, so the close button could not take focus on open.
       Flip it instantly when opening; delay it to the end when closing. */
    transition: opacity var(--transition), visibility 0s linear 0.3s;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    transition: opacity var(--transition), visibility 0s;
}

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

.lightbox-content picture {
    display: block;
}

/* Sized against the viewport rather than the shrink-to-fit flex parent — with
   max-width:100% a tall portrait shot resolved wider than the screen. */
.lightbox-content img,
.lightbox-content video {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 2rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.lightbox-prev {
    left: 16px;
}

.lightbox-next {
    right: 16px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ---- REVIEWS ---- */
.reviews {
    background: var(--bg);
}

.reviews-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.stars {
    color: var(--gold);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.rating-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
}

.rating-source {
    font-size: 0.8rem;
    color: var(--text-light);
}

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

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all var(--transition);
}

.review-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-2px);
}

.review-stars {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.review-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.review-author {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-light);
    letter-spacing: 0.03em;
}

.reviews-more {
    text-align: center;
    margin-top: 40px;
}

/* ---- CONTACT ---- */
.contact {
    background: var(--bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    /* stretch, so the map matches the height of the info column beside it */
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.contact-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 24px var(--accent-glow);
}

.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--accent-glow);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text);
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--accent-glow);
    border-radius: 6px;
    font-size: 0.85rem;
    margin-top: 4px;
    transition: all var(--transition);
    color: var(--accent-light);
}

.social-link:hover {
    background: var(--accent);
    color: var(--bg);
}

.social-link:hover svg {
    fill: var(--bg);
}

.contact-map {
    height: 100%;
    min-height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

/* Google's embed has no dark theme without a paid key, so invert it back into
   the palette. Hue-rotate puts the water and greens back on the right side. */
.contact-map iframe {
    display: block;
    filter: invert(0.92) hue-rotate(180deg) saturate(0.7) brightness(0.95) contrast(0.95);
}

/* ---- BRANDS / COOPERATION ---- */
.brands {
    background: var(--bg-alt);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    list-style: none;
}

.brand-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    aspect-ratio: 5 / 3;
}

.brand-item:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-2px);
}

/* Every logo is a dark mark on transparency, so flatten them all to one white
   silhouette — otherwise eight white boxes become the loudest thing on a dark page. */
/* Logos are trimmed to their ink by tools/optimize-images.py, so capping both
   axes lands wide wordmarks and upright crests at a similar optical size. */
.brand-item img {
    max-width: 148px;
    max-height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.5;
    transition: opacity var(--transition);
}

.brand-item:hover img {
    opacity: 0.95;
}

/* ---- FOOTER ---- */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-main {
    flex: 1 1 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-light);
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

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

.footer-divider {
    width: 30px;
    height: 1px;
    background: var(--accent);
    margin: 16px 0;
    opacity: 0.4;
}

.footer-copy {
    color: var(--text-light);
    font-size: 0.75rem;
}

.footer-credit {
    color: var(--text-light);
    font-size: 0.7rem;
    margin-top: 8px;
    opacity: 0.6;
}

.footer-credit a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-credit a:hover {
    color: var(--white);
}

/* Funding banner sits on its own white plate — the EU emblem has to keep full
   colour and contrast, so it is deliberately exempt from the dark treatment
   applied to the partner logos. */
.footer-funding {
    flex: 0 0 auto;
}

.footer-funding a {
    display: block;
    background: #ffffff;
    border-radius: 10px;
    padding: 14px 20px;
    width: 340px;
    max-width: 100%;
}

.footer-funding img {
    width: 100%;
    height: auto;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .service-card--feature {
        grid-column: auto;
        grid-row: auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 320px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
    }

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

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

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

@media (max-width: 768px) {

    /* MOBILE MENU — full screen overlay, fixed position */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        /* dynamic viewport height for mobile browsers */
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        font-size: 1.3rem;
        padding: 12px 32px;
    }

    .nav-hamburger {
        display: flex;
    }

    .lang-toggle {
        margin-left: 0;
        margin-top: 20px;
    }

    .section {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

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

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .brand-item {
        padding: 18px 16px;
    }

    .brand-item img {
        max-height: 40px;
    }

    .service-card--feature .service-list {
        columns: 1;
    }

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

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

    /* Footer stacks and re-centres — the banner has nowhere to sit beside. */
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 28px;
    }

    /* flex-basis applies to height once the axis flips, which padded the text
       block out to 320px and left a gap above the banner. */
    .footer-main {
        flex: 0 1 auto;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-divider {
        margin: 16px auto;
    }

    .team-card {
        padding: 32px 26px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

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

@media (max-width: 480px) {
    .about-image::after {
        display: none;
    }
}