/* ------------------------------------------------------------------
   MAVOREK STUDIO - MONOLOG WARM OBSIDIAN & LINEN SYSTEM (AWWWARDS EDITION)
   ------------------------------------------------------------------ */

/* Local Premium Fonts */
@font-face {
    font-family: 'Khteka';
    src: url('assets/fonts/KHTeka-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Khteka';
    src: url('assets/fonts/KHTeka-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Animo';
    src: url('https://cdn.prod.website-files.com/68b652bbd6c64a44c8fe3e5e/68b65b9ff7f95f04c5db6845_Animo-Normal_Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Mono';
    src: url('assets/fonts/RobotoMono-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Fonts pairing */
    --font-title: 'Khteka', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-primary: 'Khteka', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-alt: 'Animo', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    --font-body: 'Khteka', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Colour System — Mavorek Pure Black */
    --bg-base: rgb(10, 10, 10);  /* Deep off-black */
    --bg-raised: #080808;        /* Raised surface */
    --bg-elevated: #101010;      /* Card/elevated surface */
    --bg-card: transparent;
    --bg-color: #111;            /* Explicit dark bg color */
    --text-primary: #e8e8e3;     /* Warm linen */
    --text-secondary: #8a8a8a;   /* Neutral grey */
    --text-muted: #444444;       /* Dark grey */
    --border-color: rgba(255, 255, 255, 0.08);
    --dotted-border-color: rgba(255, 255, 255, 0.2); /* High contrast dotted border for dark theme */

    /* ── Accent — Mavorek White ── */
    --accent: #FFFFFF;
    --accent-dim: rgba(255, 255, 255, 0.15);   /* subtle glow / bg tint */
    --accent-border: rgba(255, 255, 255, 0.3); /* border tint */

    /* Legacy */
    --accent-beige-hover: #fafaf9;
    --accent-warm: #bfbfb1;

    
    /* Grid Spacing */
    --site-margin: clamp(1rem, 2vw, 1.5rem);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Transitions — bymonolog exact curves */
    --ease-primary:   cubic-bezier(0.83, 0, 0.17, 1);    /* резкий вход */
    --ease-expo:      cubic-bezier(0.2, 1, 0.36, 1);      /* плавный выход */
    --ease-spring:    cubic-bezier(0.16, 1, 0.35, 1);     /* spring feel */
    --ease-standard:  cubic-bezier(0.31, 0.75, 0.22, 1);
    --duration-fast:  0.45s;
    --duration-std:   0.65s;
    --transition-premium: all 0.65s cubic-bezier(0.16, 1, 0.35, 1);
    --transition-fast: all 0.45s cubic-bezier(0.16, 1, 0.35, 1);

    /* Extended palette */
    --beige-200: #ddddd5;
    --beige-300: #d1d1c7;
    --beige-400: #bfbfb1;
    --black-50:  #8a8a8a;
    --black-100: #5a5a5a;
    --black-200: #444444;
    --black-300: #282828;
    --card-bg-dark: #0e0e0e;

    /* Component tokens */
    --color-gray-100: var(--text-primary);
    --color-gray-300: rgba(232, 232, 227, 0.85);
    --color-gray-400: var(--text-secondary);
    --color-gray-500: var(--text-muted);
    --color-primary-400: #e8e8e3;
    --spacing-xxl: clamp(4rem, 8vw, 8rem);
    --font-heading: 'Khteka', -apple-system, sans-serif;
    
    /* Mobile Adaptation Variables */
    --section-padding: clamp(3rem, 10vw, 8.75rem); /* 48px to 140px */
    --container-padding: clamp(1rem, 5vw, 2rem);
}

/* ------------------------------------------------------------------
   BASE LAYOUT & CINEMATIC FILM GRAIN
   ------------------------------------------------------------------ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    /* scroll-behavior: smooth — disabled, Lenis handles this */
    scroll-behavior: auto;
    font-size: 16px;
    background-color: var(--bg-base);
}

/* Hide scrollbar completely globally */
::-webkit-scrollbar {
    display: none;
    width: 0px;
    background: transparent;
}
html, body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-primary);
    overflow-x: clip; /* clip horizontal overflow without breaking position: sticky in Safari/Chrome */
    line-height: 1.5;
    position: relative;
}

/* Custom Text Selection */
::selection {
    background-color: rgb(203, 203, 194);
    color: var(--bg-base);
}

::-moz-selection {
    background-color: rgb(203, 203, 194);
    color: var(--bg-base);
}

/* Procedural Film Grain Overlay (Cinematic Feel) */
.grain-overlay {
    position: fixed;
    top: -25%;
    left: -25%;
    width: 150vw;
    height: 150vh;
    background-image: url("assets/img/grain.png");
    background-position: 0 0;
    background-attachment: scroll;
    opacity: 0.05;
    mix-blend-mode: overlay;
    z-index: 2147483647;
    pointer-events: none;
    will-change: transform;
    animation: grain-animation 0.5s steps(6) infinite;
}

@keyframes grain-animation {
  0%, 100% { transform: translate(0, 0); }
  17% { transform: translate(-5%, -10%); }
  33% { transform: translate(3%, -15%); }
  50% { transform: translate(12%, 9%); }
  67% { transform: translate(9%, 4%); }
  83% { transform: translate(-1%, 7%); }
}

/* 1px Vertical & Horizontal Editorial Grid Lines */
.grid-lines-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    z-index: -1;
    pointer-events: none;
}

.grid-line-col {
    border-right: 1px solid rgba(232, 232, 227, 0.015);
    height: 100%;
}

/* Background Interactive Canvas Orbs */
#canvas-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -2; /* Safely behind everything */
}

/* Custom Interactive Cursor */
.custom-cursor {
    width: 10px;
    height: 10px;
    background: var(--text-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.custom-cursor-bubble {
    width: 0;
    height: 0;
    background: rgba(232, 232, 227, 0.15);
    border: 1px solid rgba(232, 232, 227, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 40px;
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1), height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Disable backdrop blur on mobile to avoid visible glass effect on light sections */
@media screen and (max-width: 768px) {
    .main-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

.custom-cursor-bubble span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Active states for cursor */
.custom-cursor.active {
    width: 6px;
    height: 6px;
}

.custom-cursor-bubble.active {
    width: 100px;
    height: 100px;
}

.custom-cursor-bubble.active span {
    opacity: 1;
}


/* ── Global Utility ── */
.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Preloader custom */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-base);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.preloader-logo {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.04em;
}

.preloader-bar-container {
    width: 300px;
    height: 2px;
    background: var(--text-muted);
}

.preloader-bar {
    height: 100%;
    width: 100%;
    background: var(--text-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.1s linear;
}

/* Typography Editorial */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.font-animo {
    font-family: var(--font-alt);
    font-weight: 400;
}

.font-mono {
    font-family: var(--font-mono);
}

/* gradient-text → заменён на em + Animo. Класс сохранён для совместимости */
.gradient-text {
    color: var(--text-primary);
}

/* ── Animo italic accent (используется через <em> в заголовках) ── */
.section-title em,
.hero-title em,
.faq-main-heading em,
.cta-title em,
h1 em, h2 em, h3 em {
    font-family: var(--font-alt);
    font-style: normal;
    color: var(--text-primary);
    display: inline;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ------------------------------------------------------------------
   SUPER GLASS PANEL - RETRO EDITORIAL STYLE
   ------------------------------------------------------------------ */
.glass-panel {
    background: rgba(232, 232, 227, 0.01);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: inset 0 1px 0 rgba(232, 232, 227, 0.05);
    transition: var(--transition-premium);
}

.glass-panel:hover {
    background: rgba(232, 232, 227, 0.02);
    border-color: rgba(232, 232, 227, 0.15);
    box-shadow: inset 0 1px 0 rgba(232, 232, 227, 0.08);
    transform: none;
}

.highlight-border {
    border: 1px solid var(--text-primary);
}

/* ------------------------------------------------------------------
   BUTTONS — Unified "cream + dark square icon" style
   ------------------------------------------------------------------ */
/* ─────────────────────────────────────────────────────
   BUTTONS — bymonolog slide effect
   Text slides up (clone enters from below).
   Icon: primary copy exits top-right, secondary enters
   from bottom-left — overflow: clip on both wrappers.
   ───────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 14px 24px;
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 1.15rem;
    text-transform: none;
    letter-spacing: normal;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background var(--duration-fast) var(--ease-spring),
                color var(--duration-fast) var(--ease-spring),
                border-color var(--duration-fast) var(--ease-spring);
    outline: none;
    border: none;
    white-space: nowrap;
    position: relative;
    overflow: clip;
}

.btn-normal {
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 0.95rem;
}

/* ── Text slide wrapper ── */
.btn .btn-text {
    display: block;
    overflow: clip;          /* hides the duplicate span below */
    height: 1.2em;           /* increased slightly to avoid clipping top accents like 'Й' */
    line-height: 1.2;
}

/* The two text layers stack vertically; each is 1em tall */
.btn .btn-text-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.35, 1);
}

.btn .btn-text-inner span {
    display: block;
    height: 1.2em;
    line-height: 1.2;
}

.btn:hover .btn-text-inner {
    transform: translateY(-50%);
}

/* ── Scale-in — внутренность кнопки чуть сжимается при наведении (bymonolog) ── */
.btn-aside .btn-text,
.btn-aside .btn-aside-icon {
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.35, 1),
                background var(--duration-fast) var(--ease-spring);
}

.btn-aside:hover .btn-text {
    transform: scale(0.94);
}

.btn-aside:hover .btn-aside-icon {
    transform: scale(0.88);
}

/* ── PRIMARY — cream bg + dark text ── */
.btn-primary {
    background: var(--text-primary);
    color: var(--bg-base);
    border: none;
}

/* hover: фон НЕ меняется — только scale внутри */
.btn-primary:hover {
    background: var(--text-primary);
    color: var(--bg-base);
}

/* ── SECONDARY — dark bg + cream text (inverted) ── */
.btn-secondary {
    background: rgba(232, 232, 227, 0.06);
    color: var(--text-primary);
    border: 1px solid rgba(232, 232, 227, 0.2);
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--bg-base);
    border-color: var(--text-primary);
}

/* ── TERTIARY — text only ── */
.btn-tertiary {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    font-family: var(--font-mono);
    text-transform: none;
    padding: 14px 8px;
    overflow: visible;
}

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

.btn-sm {
    padding: 10px 20px;
    font-size: 0.68rem;
}

/* ─────────────────────────────────────────────────────
   BTN-ASIDE — square icon box on the right
   Contains 2 SVG icons:
     .svg-primary  — visible at rest, exits top-right on hover
     .svg-secondary — starts bottom-left, enters on hover
   ───────────────────────────────────────────────────── */
.btn-aside {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 6px 6px 6px 22px;
}

/* Text block — clipped so slide is masked */
.btn-aside .btn-text {
    overflow: clip;
    flex-shrink: 0;
}

.btn-aside .btn-aside-icon {
    width: 1.84em;
    height: 1.84em;
    border-radius: 0.35em;
    background: var(--bg-base);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 0.66em;
    position: relative;
    overflow: hidden;   /* clip both SVGs */
    transition: background var(--duration-fast) var(--ease-spring);
}

/* Both SVG arrows */
.btn-aside .btn-aside-icon svg {
    width: 1.05em;
    height: 1.05em;
    position: absolute;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.35, 1);
    will-change: transform;
}

/* Primary arrow — centered, visible at rest */
.btn-aside .btn-aside-icon .svg-primary {
    transform: translate(0, 0);
}

/* Secondary arrow — starts bottom-left, hidden */
.btn-aside .btn-aside-icon .svg-secondary {
    transform: translate(-1.84em, 1.84em);
}

/* HOVER: primary exits top-right, secondary enters center */
.btn-aside:hover .btn-aside-icon .svg-primary {
    transform: translate(1.84em, -1.84em);
}

.btn-aside:hover .btn-aside-icon .svg-secondary {
    transform: translate(0, 0);
}

/* Small variant for btn-aside */
.btn-sm.btn-aside {
    padding: 4px 4px 4px 16px;
    font-size: 0.95rem;
}



/* Extra Large variant for btn-aside */
.btn-xl.btn-aside {
    padding: 14px 14px 14px 32px;
    font-size: 1.7rem;
    border-radius: 8px;
}



/* On primary button: dark icon box */
.btn-primary.btn-aside .btn-aside-icon {
    background: var(--bg-base);
    color: var(--text-primary);
}

.btn-primary.btn-aside:hover .btn-aside-icon {
    background: #111;
}

/* On secondary button: semi-transparent icon box */
.btn-secondary.btn-aside .btn-aside-icon {
    background: rgba(232, 232, 227, 0.12);
    color: var(--text-primary);
}

.btn-secondary.btn-aside:hover .btn-aside-icon {
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
}

.w-full { width: 100%; }
.mt-4 { margin-top: 16px; }
.inline-block { display: inline-block; }


/* ------------------------------------------------------------------
   HEADER & SOUND CONTROLLER
   ------------------------------------------------------------------ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-radius: 0;
    background: transparent;
    border: none;
}

/* Лого-ссылка — убираем синий цвет браузера */
.logo-container {
    text-decoration: none;
    color: var(--text-primary);
}

.logo-container:hover {
    color: var(--text-primary);
    opacity: 0.8;
}


.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px var(--site-margin);
    max-width: 100%;
    margin: 0;
}

.nav-menu {
    display: flex;
}

.nav-menu-inner {
    display: flex;
    align-items: center;
}

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

.nav-divider {
    display: none;
}

.nav-news-card {
    display: none;
}

.nav-link {
    font-family: var(--font-secondary);
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: normal;
    transition: var(--transition-fast);
    position: relative;
    z-index: 1;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: -8px -16px;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: left center;
}

/* Sound Button Nav */
.sound-toggle-btn {
    background: rgb(24, 23, 21);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.sound-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    transform: scale(0.93);
}

.sound-toggle-btn svg {
    width: 16px;
    height: 16px;
}

/* Language Switcher */
.lang-switcher-btn {
    background: rgb(24, 23, 21);
    border: none;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.lang-switcher-btn:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(0.93);
}

.lang-code {
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
}

/* ------------------------------------------------------------------
   HERO SECTIONS
   ------------------------------------------------------------------ */
.hero-section {
    padding: 180px 0 20px 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.badge {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 40px;
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-primary);
    border-radius: 50%;
}

.badge-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.hero-title {
    font-size: 5rem;
    line-height: 0.95;
    margin-bottom: 32px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 80px;
}

.hero-stats {
    display: flex;
    gap: 64px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.stat-num {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 3D Wireframe Scene */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.scene-container {
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1;
}

.abstract-torus {
    color: var(--text-primary);
}

.floating-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    border-radius: 40px;
}

/* ------------------------------------------------------------------
   GLOBAL SECTION STYLES
   ------------------------------------------------------------------ */
section {
    padding: var(--section-padding) 0;
    border-bottom: 1px solid var(--border-color);
}

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

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    font-weight: 500;
    line-height: 1.0;
    letter-spacing: -0.03em;
    text-transform: none;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-subtitle {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ------------------------------------------------------------------
   STACKING SCROLL EFFECTS & GAP SECTION
   ------------------------------------------------------------------ */

.stacking-container {
    position: relative;
    z-index: 10;
}

.stacking-panel {
    position: sticky;
    top: auto;
    bottom: 0;
    min-height: 100vh;
    width: 100%;
    background-color: var(--bg-base);
    overflow: hidden;
    will-change: transform, filter;
    transform-origin: center center;
}

/* Make clients section flex to center it when sticky */
.clients-section.stacking-panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 15vh;
}

.gap-section {
    display: block;
    background-color: var(--bg-base);
    position: relative;
    z-index: 2;
    height: 200vh;
}

.gap-content-wrapper {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gap-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20vw;
    align-items: center;
    padding: 0;
    font-size: 7vw;
    font-family: 'Animo', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    white-space: nowrap;
    z-index: 1;
    margin: 0;
    pointer-events: none;
    overflow: visible;
}

.gap-left {
    flex: 1;
    text-align: right;
    will-change: transform;
    padding-right: 6vw; /* Shift left slightly */
}

.gap-right {
    flex: 1;
    text-align: left;
    will-change: transform;
    padding-left: 6vw; /* Shift right slightly */
}

/* Fix for longer words in Polish and Czech hitting the edge of the screen */
html:lang(pl) .gap-title,
html:lang(cs) .gap-title {
    font-size: 5.2vw;
}

.gap-image-container {
    position: relative;
    width: 15vw;
    height: 18vw;
    max-width: 220px;
    max-height: 260px;
    z-index: 2;
    border-radius: var(--radius-md);
    overflow: hidden;
    will-change: transform;
    transform-origin: center center;
    flex-shrink: 0;
}

.carousel-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: carouselFade3 9s infinite;
}

/* Pre-warm the animation so it crossfades correctly from page load */
.carousel-slide:nth-child(1) { animation-delay: 0s; }
.carousel-slide:nth-child(2) { animation-delay: -6s; }
.carousel-slide:nth-child(3) { animation-delay: -3s; }

@keyframes carouselFade3 {
    0%, 28% { opacity: 1; z-index: 2; }
    33%, 95% { opacity: 0; z-index: 1; }
    100% { opacity: 1; z-index: 2; }
}

.gap-quote {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    text-align: center;
    z-index: 3;
    opacity: 0;
    will-change: opacity, transform;
}

.gap-quote p {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}



.gap-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.gap-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    overflow: hidden;
}

.gap-author-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.gap-author-info strong {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.gap-author-info span {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ------------------------------------------------------------------
   CLIENTS SECTION
   ------------------------------------------------------------------ */
.clients-section {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.clients-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 992px) {
    .clients-container {
        flex-direction: row;
        align-items: stretch;
        justify-content: space-between;
    }
}

.clients-left {
    flex: 0 0 25%;
    display: flex;
    align-items: flex-start;
    padding-top: 1rem;
}

.clients-description {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    line-height: 1.4;
    color: var(--text-primary);
    margin: 0;
}

.clients-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 290px;
    height: 260px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

@media (max-width: 991px) {
    .clients-slider-wrapper {
        display: none !important;
    }
}

.clients-slide-card {
    position: absolute;
    width: 270px;
    height: 195px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: #19191a;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%) rotate(8deg);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.clients-slide-card.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 5;
}

.clients-slide-card.prev {
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

html[data-theme="light"] .clients-slide-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fbfbfb;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* Browser Mockup Styling */
.browser-mockup {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #19191a;
    transition: background 0.3s ease;
}

html[data-theme="light"] .browser-mockup {
    background: #fbfbfb;
}

.browser-header {
    height: 22px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 8px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

html[data-theme="light"] .browser-header {
    background: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.browser-dots {
    display: flex;
    gap: 4px;
}

.browser-dots .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: inline-block;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.browser-address {
    flex: 1;
    text-align: center;
    font-size: 7.5px;
    font-family: var(--font-mono);
    color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    padding: 2px 0;
    max-width: 130px;
    margin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: color 0.3s ease, background 0.3s ease;
}

html[data-theme="light"] .browser-address {
    color: rgba(0, 0, 0, 0.45);
    background: rgba(0, 0, 0, 0.04);
}

.browser-content {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
}

.mock-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.mock-logo {
    width: 20px;
    height: 5px;
    border-radius: 1.5px;
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.3s ease;
}

html[data-theme="light"] .mock-logo {
    background: rgba(0, 0, 0, 0.12);
}

.mock-links {
    display: flex;
    gap: 4px;
}

.mock-links span {
    width: 10px;
    height: 3px;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease;
}

html[data-theme="light"] .mock-links span {
    background: rgba(0, 0, 0, 0.08);
}

.mock-hero {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 2px;
}

.mock-hero.split {
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.mock-hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mock-hero-right {
    width: 65px;
    height: 45px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease, border-color 0.3s ease;
}

html[data-theme="light"] .mock-hero-right {
    background: rgba(0, 0, 0, 0.03);
    border: 1px dashed rgba(0, 0, 0, 0.08);
}

.mock-title {
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.15);
    width: 85%;
    transition: background 0.3s ease;
}

html[data-theme="light"] .mock-title {
    background: rgba(0, 0, 0, 0.12);
}

.mock-title.short {
    width: 55%;
}

.mock-title.centered {
    margin: 0 auto;
}

.mock-button {
    height: 10px;
    width: 38px;
    border-radius: 2px;
    background: #ffffff;
    transition: background 0.3s ease;
}

.type-medical .mock-button {
    background: rgba(255, 255, 255, 0.3);
}

.type-auto .mock-button {
    background: #ffffff;
}

html[data-theme="light"] .type-auto .mock-button {
    background: #121211;
}

.type-restaurant .mock-button {
    background: #ff5a1f;
}

.mock-services {
    display: flex;
    gap: 6px;
}

.mock-card {
    flex: 1;
    height: 28px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease, border-color 0.3s ease;
}

html[data-theme="light"] .mock-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mock-gallery {
    display: flex;
    gap: 5px;
}

.mock-gallery-item {
    flex: 1;
    height: 32px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    transition: background 0.3s ease;
}

html[data-theme="light"] .mock-gallery-item {
    background: rgba(0, 0, 0, 0.03);
}

.mission-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--text-secondary);
}
.mission-number {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    opacity: 0.7;
}
.mission-title {
    font-size: 1.75rem;
    font-family: var(--font-secondary);
    color: var(--text-primary);
    margin: 0;
}
.mission-label {
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0;
}
.mission-statement {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 3.5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--text-primary);
    margin: 0;
    max-width: 100%;
}
.mission-highlight {
    opacity: 0.45;
    transition: opacity 0.1s linear;
}

.clients-right {
    flex: 1 1 auto;
    width: 100%;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 78%;
    margin-left: auto;
}

@media (max-width: 767px) {
    .clients-grid {
        width: 100%;
    }
    .client-logo-card {
        width: 50%;
    }
}

@media (min-width: 768px) {
    .clients-grid {
        /* No change needed for flex */
    }
}

.client-logo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
    min-height: 180px;
    width: 25%;
    opacity: 0.85;
    transition: opacity 0.4s ease, background-color 0.4s ease;
}

/* Only one dotted line in the middle */
@media (min-width: 768px) {
    .client-logo-card:nth-child(-n+4) {
        border-bottom: 1px dotted rgba(255, 255, 255, 0.15);
    }
}
@media (max-width: 767px) {
    .client-logo-card:nth-child(-n+6) {
        border-bottom: 1px dotted rgba(255, 255, 255, 0.15);
    }
}

.client-logo-card:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.02);
}

.client-logo-placeholder {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo-svg {
    max-width: 90%;
    max-height: 110px;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.4s ease;
}

.client-logo-card:hover .client-logo-svg {
    filter: brightness(1.1);
}

.client-caption {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    text-align: center;
    opacity: 0.4;
}

/* ------------------------------------------------------------------
   AI URL SCANNER
   ------------------------------------------------------------------ */

/* Section layout */
.scanner-section {
    padding: clamp(5rem, 10vw, 10rem) 0;
}

.scanner-wrapper {
    max-width: 960px;
    margin: 3rem auto 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

/* Top chrome bar (mac-style dots) */
.scanner-header {
    background: transparent;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 16px;
}

.dot-group {
    display: flex;
    align-items: center;
    gap: 7px;
}

.window-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: block;
}

/* Нейтральные точки — нет ярких цветов по DESIGN.md */
.window-dot.red    { background: rgba(232, 232, 227, 0.25); }
.window-dot.yellow { background: rgba(232, 232, 227, 0.15); }
.window-dot.green  { background: rgba(232, 232, 227, 0.08); }

.scanner-title-bar {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    letter-spacing: 0;
    color: var(--text-primary);
    text-transform: none;
}

/* Scanner view base */
.scanner-view {
    padding: 32px;
    position: relative;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.scanner-view.hidden {
    display: none;
}

/* Input row */
.input-container {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 6px 6px 6px 24px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.input-container:focus-within {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.input-container label {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    letter-spacing: 0;
    color: var(--text-primary);
    text-transform: none;
    padding: 0 16px 0 0;
    white-space: nowrap;
    border-right: none;
}

.input-container input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 12px;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-family: var(--font-primary);
}

.input-container input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Scan button inside input row */
.btn-scan {
    margin: 6px;
    border-radius: 4px;
    padding: 14px 28px;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.scanner-helper-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-top: 16px;
}

.scanner-link {
    color: var(--text-secondary);
    text-decoration: underline;
    text-decoration-color: rgba(147, 143, 138, 0.4);
    transition: color 0.3s ease;
}

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

/* ── Loading state ── */
.loading-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: start;
}

.terminal-logs {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(232, 232, 227, 0.07);
    border-radius: 4px;
    padding: 20px 24px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
    height: 220px;
    overflow: hidden;
    line-height: 1.8;
}

.terminal-line { display: block; }
.terminal-line.success { color: #e8e8e3; }
.terminal-line.error   { color: rgba(147, 143, 138, 0.4); }
.terminal-line.warn    { color: var(--text-secondary); }

.radar-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.radar {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(232, 232, 227, 0.12);
    background: radial-gradient(circle, rgba(232,232,227,0.04) 0%, transparent 70%);
    overflow: hidden;
}

.radar::before,
.radar::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(232, 232, 227, 0.06);
}

.radar::before { inset: 20%; }
.radar::after  { inset: 40%; }

.radar-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, rgba(232,232,227,0.5), transparent);
    transform-origin: left center;
    animation: radar-sweep 2s linear infinite;
}

@keyframes radar-sweep {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.radar-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--text-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: radar-blink 2s ease-in-out infinite;
}

@keyframes radar-blink {
    0%, 100% { opacity: 0.3; }
    50%       { opacity: 1; }
}

.loading-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
    text-align: center;
}

.progress-bar-container {
    height: 1px;
    background: rgba(232, 232, 227, 0.1);
    border-radius: 1px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--text-primary);
    border-radius: 1px;
    transition: width 0.5s ease;
}

/* ── Results state ── */
.results-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.results-heading {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.domain-highlight {
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.metrics-grid {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-bottom: 24px;
    border: 1px solid rgba(232, 232, 227, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.metric-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(232, 232, 227, 0.02);
    border: none;
    border-bottom: 1px solid rgba(232, 232, 227, 0.06);
    gap: 16px;
}

.metric-card:last-child {
    border-bottom: none;
}

.metric-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.metric-title {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.metric-desc {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.metric-score {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    border-radius: 3px;
    white-space: nowrap;
    border: none;
}

.score-bad {
    background: rgba(147, 143, 138, 0.12);
    color: var(--text-secondary);
}

.score-warning {
    background: rgba(232, 232, 227, 0.06);
    color: var(--text-primary);
}

.score-good {
    background: rgba(232, 232, 227, 0.1);
    color: var(--text-primary);
}

.total-score-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid rgba(232, 232, 227, 0.15);
    border-radius: 4px;
    background: rgba(232, 232, 227, 0.03);
}

.grade-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--text-primary);
    color: var(--bg-base);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.grade-text h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-weight: 400;
}

.grade-text p {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    line-height: 1.5;
    letter-spacing: 0.04em;
}

/* Results — right offer column */
.results-solution {
    border: 1px solid rgba(232, 232, 227, 0.15);
    border-radius: 4px;
    padding: 28px 24px;
    background: rgba(232, 232, 227, 0.03);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.solution-header h4 {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-top: 8px;
}

.solution-badge {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 4px 10px;
    border: 1px solid rgba(232, 232, 227, 0.12);
    border-radius: 2px;
}

.solution-price-box {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px dotted rgba(232, 232, 227, 0.1);
    border-bottom: 1px dotted rgba(232, 232, 227, 0.1);
}

.old-price {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.new-price {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.price-suffix {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.solution-subscription {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.solution-features li {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-left: 0;
}



/* ------------------------------------------------------------------
   BENTO GRID SECTION
   ------------------------------------------------------------------ */
.bento-grid {
    gap: 24px;
}

.bento-card {
    border: 1px solid var(--border-color);
    padding: 32px;
}

.bento-badge {
    border: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.bento-content h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.bento-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.speed-visualization {
    background: var(--text-muted);
}

.progress-bar-glow {
    background: var(--text-primary);
}

.price-tags .tag-new {
    font-family: var(--font-title);
}

.score-circle {
    border-color: var(--text-primary);
    color: var(--text-primary);
    font-family: var(--font-mono);
}

/* ------------------------------------------------------------------
   PORTFOLIO SUCCESS STORIES SECTION
   ------------------------------------------------------------------ */
.portfolio-tabs {
    gap: 12px;
}

.portfolio-tab-btn {
    border: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.portfolio-tab-btn.active, .portfolio-tab-btn:hover {
    background: var(--text-primary);
    color: var(--bg-base);
    border-color: var(--text-primary);
}

.portfolio-showcase {
    border: 1px solid var(--border-color);
    grid-template-columns: 0.9fr 1.1fr;
}

.showcase-info h3 {
    font-size: 2.2rem;
}

.showcase-badge.green-bg {
    background: var(--text-muted);
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.showcase-badge.blue-bg {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.slider-container {
    border: 1px solid var(--border-color);
}

.browser-header-mock {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-mono);
}

.new-site-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.new-site-logo {
    color: var(--text-primary);
}

.new-site-btn {
    background: var(--text-primary);
    color: var(--bg-base);
    font-family: var(--font-mono);
}

.new-site-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.slider-handle {
    background: var(--text-primary);
}

.handle-button {
    background: var(--text-primary);
    color: var(--bg-base);
}

/* ------------------------------------------------------------------
   SUBSCRIPTION ROADMAP
   ------------------------------------------------------------------ */
.roadmap-grid {
    gap: 24px;
}

.roadmap-item {
    border: 1px solid var(--border-color);
}

/* ------------------------------------------------------------------
   QUIZ & CALENDAR SCHEDULE
   ------------------------------------------------------------------ */
.quiz-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-base);
    border-top: 1px solid var(--border-color);
}

.quiz-wrapper {
    max-width: 900px;
    margin: 40px auto 0 auto;
    padding: 56px;
    background: rgba(232, 232, 227, 0.015);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 1px 0 rgba(232, 232, 227, 0.03);
}

.quiz-steps-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 40px;
    gap: 16px;
}

.step-indicator {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    transition: var(--transition-fast);
    position: relative;
    padding-bottom: 4px;
}

.step-indicator.active {
    color: var(--text-primary);
    font-weight: 500;
}

.step-indicator.active::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--text-primary);
}

.quiz-step {
    transition: opacity 0.4s ease;
}

.quiz-step.hidden {
    display: none;
}

.quiz-question {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 32px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

/* Options Radio Cards Grid */
.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .quiz-options {
        grid-template-columns: 1fr;
    }
    .quiz-wrapper {
        padding: 32px 24px;
    }
    .quiz-steps-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .step-indicator.active::after {
        display: none;
    }
}

.quiz-option-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: rgba(232, 232, 227, 0.01);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.quiz-option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.option-title {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.quiz-option-card:hover {
    border-color: rgba(232, 232, 227, 0.2);
    background: rgba(232, 232, 227, 0.03);
}

.quiz-option-card:hover .option-title {
    color: var(--text-primary);
}

.quiz-option-card:has(input[type="radio"]:checked) {
    border-color: var(--text-primary);
    background: rgba(232, 232, 227, 0.05);
    box-shadow: inset 0 0 0 1px var(--text-primary);
}

.quiz-option-card:has(input[type="radio"]:checked) .option-title {
    color: var(--text-primary);
}

/* Checkbox options card styling */
.quiz-options-checkbox {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.quiz-checkbox-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: rgba(232, 232, 227, 0.01);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.quiz-checkbox-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-box {
    width: 20px;
    height: 20px;
    border: 1px solid var(--text-muted);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    background: transparent;
}

.checkbox-box::after {
    content: '✓';
    font-size: 0.8rem;
    color: var(--bg-base);
    font-weight: bold;
    display: none;
}

.checkbox-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkbox-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.checkbox-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.quiz-checkbox-card:hover {
    border-color: rgba(232, 232, 227, 0.2);
    background: rgba(232, 232, 227, 0.03);
}

.quiz-checkbox-card:hover .checkbox-title {
    color: var(--text-primary);
}

.quiz-checkbox-card:has(input[type="checkbox"]:checked) {
    border-color: var(--text-primary);
    background: rgba(232, 232, 227, 0.05);
    box-shadow: inset 0 0 0 1px var(--text-primary);
}

.quiz-checkbox-card:has(input[type="checkbox"]:checked) .checkbox-title {
    color: var(--text-primary);
}

.quiz-checkbox-card:has(input[type="checkbox"]:checked) .checkbox-box {
    background-color: var(--text-primary);
    border-color: var(--text-primary);
}

.quiz-checkbox-card:has(input[type="checkbox"]:checked) .checkbox-box::after {
    display: block;
}

/* Quiz Inputs Form */
.quiz-form-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.form-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-input-wrapper label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.form-input-wrapper input {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: rgba(232, 232, 227, 0.015);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-input-wrapper input::placeholder {
    color: var(--text-muted);
}

.form-input-wrapper input:focus {
    border-color: var(--text-primary);
    background: rgba(232, 232, 227, 0.03);
}
.quiz-navigation {

    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.quiz-navigation .btn {
    min-width: 140px;
}

/* ------------------------------------------------------------------
   BOOKING SECTION — Cal.com Style 3-Column
   ------------------------------------------------------------------ */
.booking-section {
    padding: 84px 0 120px; /* Increased top padding to compensate for pull-up margin */
    position: relative;
    z-index: 2;
    border-radius: 24px 24px 0 0;
    margin-top: -24px;
}

/* Main widget container */
.bk-widget {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    height: 520px;
}

.bk-interactive-area {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    background: rgb(23, 23, 23);
}

/* COL 1: Info panel */
.bk-info-col {
    padding: 36px 0; /* Removed side padding since it's outside border */
    display: flex;
    flex-direction: column;
    gap: 0;
}

.bk-host-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.bk-avatar-circle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 500;
}

.bk-host-name {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.bk-call-title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 0 24px 0;
    line-height: 1.2;
    color: var(--text-primary);
}

.bk-call-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.bk-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.bk-quotes {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timezone-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: rgb(23, 23, 23);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 5px 0;
    width: 280px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.timezone-dropdown.hidden {
    display: none;
}

.tz-option {
    position: relative;
    padding: 6px 16px 6px 32px;
    color: #fff;
    font-size: 0.85rem;
    transition: 0.1s;
    cursor: pointer;
    line-height: 1.3;
}

.tz-option:hover {
    background: #1A5EBE;
}

.tz-option.active {
    background: #1A5EBE;
    color: #fff;
}

.tz-check {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
}

.tz-option.active .tz-check {
    opacity: 1;
}

@media (min-width: 769px) {
    .mobile-native-select {
        display: none !important;
    }
}

@media (max-width: 768px) {
    #timezone-dropdown {
        display: none !important;
    }
}

.bk-quote {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
}

.bk-quote span {
    font-style: normal;
    color: var(--text-secondary);
    font-size: 0.72rem;
}

/* COL 2: Calendar */
.bk-calendar-col {
    padding: 36px 32px;
    flex: 1;
}

.bk-cal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.bk-month-bold {
    font-size: 1.15rem;
    font-weight: 600;
    margin-right: 8px;
}

.bk-year-dim {
    color: var(--text-muted);
}

.bk-cal-arrows {
    display: flex;
    gap: 8px;
}

.bk-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    border-radius: 8px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.bk-arrow:hover {
    color: #fff;
    background: #404040;
    border-color: #404040;
}

.bk-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #f1f1f1;
    margin-bottom: 24px;
}

.bk-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.bk-day {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin: 0 auto;
    width: 52px;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    color: #fff;
    background: #404040;
    position: relative;
}

.bk-day.empty {
    cursor: default;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.bk-day.disabled {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    cursor: not-allowed;
}

.bk-day:not(.empty):not(.disabled):hover {
    background: #4a4a4a;
}

.bk-day.today::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
}

.bk-day.today.active::after {
    background: #000;
}

.bk-day.active {
    background: #EAE6DD !important;
    color: #000 !important;
    font-weight: 500;
}

/* COL 3: Time slots */
.bk-times-col {
    width: 0;
    opacity: 0;
    padding: 36px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 1px solid transparent;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.bk-times-col.active {
    width: 220px;
    opacity: 1;
    padding: 36px 24px;
    border-left-color: var(--border-color);
}

.bk-times-header {
    margin-bottom: 20px;
}

.bk-times-date {
    font-size: 1.05rem;
    font-weight: 600;
}

.bk-format-btn.active {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

html[data-theme="light"] .bk-format-toggle {
    background: rgba(0, 0, 0, 0.05) !important;
}

html[data-theme="light"] .bk-format-btn.active {
    background: #ffffff !important;
    color: #111 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1) !important;
}

.bk-slots-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    max-height: 380px;
    padding-right: 4px;
}

.bk-slots-list::-webkit-scrollbar {
    width: 3px;
}

.bk-slots-list::-webkit-scrollbar-track {
    background: transparent;
}

.bk-slots-list::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

.bk-slot {
    width: 100%;
    padding: 14px 0;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.bk-slot:hover {
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.05);
}

.bk-slot.selected {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
    font-weight: 500;
}

/* STEP 2: Booking form */
.bk-form-step {
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--bg-elevated);
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

.bk-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
    margin-bottom: 28px;
    transition: color 0.2s;
}

.bk-back-link:hover {
    color: var(--text-primary);
}

.bk-form-wrap {
    display: grid;
    grid-template-columns: 280px 1fr;
}

.bk-form-left {
    padding: 36px 28px;
    border-right: 1px solid var(--border-color);
}

.bk-confirm-slot {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 20px;
}

.bk-form-right {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bk-form-heading {
    font-size: 1.1rem;
    margin: 0 0 4px 0;
}

.bk-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bk-field label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.bk-field input,
.bk-field textarea {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.bk-field input:focus {
    border-color: var(--accent);
}

/* STEP 3: Success */
.bk-success-step {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    background: #0d0d0d;
    padding: 80px 40px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.bk-success-check {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.bk-success-step h3 {
    font-size: 1.5rem;
    margin: 0 0 12px;
}

.bk-success-step p {
    color: var(--text-secondary);
    margin: 0 0 32px;
}

/* Mobile */
@media (max-width: 900px) {
    .bk-widget {
        grid-template-columns: 1fr;
        height: auto !important; /* Remove fixed 520px height */
    }
    .bk-interactive-area {
        flex-direction: column;
        border-radius: 12px;
    }
    .bk-info-col {
        padding: 24px 0 32px 0;
    }
    .bk-info-col, .bk-calendar-col {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .bk-calendar-col {
        padding: 24px 16px;
    }
    .bk-day {
        width: 100%;
        max-width: 44px;
        height: 44px;
        font-size: 0.95rem;
    }
    .bk-times-col {
        width: 100% !important;
        border-left: none;
    }
    .bk-times-col.active {
        width: 100% !important;
        padding: 24px 16px !important;
    }
    .bk-slots-list {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    .bk-form-wrap {
        grid-template-columns: 1fr;
    }
    .bk-form-left {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        padding-bottom: 24px;
    }
}



.booking-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-top: 64px;
}

/* LEFT COLUMN */
.booking-heading {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin: 0 0 20px 0;
}

.booking-heading em {
    font-style: italic;
    color: var(--accent);
    font-family: var(--font-alt), serif;
}

.booking-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0 0 36px 0;
}

.booking-meta-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.booking-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.booking-meta-icon {
    font-size: 1.1rem;
    width: 28px;
    flex-shrink: 0;
}

.booking-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    border-left: 2px solid var(--accent);
    padding-left: 16px;
    margin: 0 0 40px 0;
}

.booking-team {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.booking-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: var(--text-primary);
    color: var(--bg-base);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.booking-team-name {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 3px;
}

.booking-team-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* RIGHT COLUMN — Calendar widget */
.booking-right {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px;
    min-height: 420px;
}

.bk-step {
    animation: fadeIn 0.3s ease forwards;
}

/* Calendar header */
.bk-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.bk-month-label {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.bk-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.bk-arrow:hover {
    background: var(--text-primary);
    color: var(--bg-base);
}

/* Weekday labels */
.bk-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 10px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* Days grid */
.bk-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.bk-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    border: 1px solid transparent;
    color: var(--text-primary);
    background: transparent; /* Override the #404040 from the old block */
}

.bk-day.empty {
    cursor: default;
    opacity: 0.25; /* Increased from 0.15 for better readability */
}

.bk-day.disabled {
    opacity: 0.35; /* Increased from 0.2 for better readability */
    cursor: not-allowed;
}

.bk-day:not(.empty):not(.disabled):hover {
    background: rgba(232, 232, 227, 0.5); /* Made hover a bit stronger */
    color: var(--text-primary);
}

.bk-day.today {
    border-color: var(--text-secondary);
}

.bk-day.active {
    background: var(--accent) !important;
    color: var(--bg-base) !important;
    font-weight: 600;
    border-color: transparent;
}

/* Slots step */
.bk-step-back {
    margin-bottom: 20px;
}

.bk-back-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.bk-back-btn:hover {
    color: var(--text-primary);
}

.bk-slots-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bk-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.bk-slot {
    padding: 12px 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.bk-slot:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.bk-slot.selected {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-base); /* Changed from #000 so it adapts to light theme accent */
    font-weight: 500;
}

/* Confirm step */
.bk-confirm-time {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent);
    font-family: var(--font-mono);
    margin-bottom: 24px;
    padding: 12px 16px;
    border: 1px solid var(--accent-border);
    border-radius: 8px;
    background: var(--accent-dim);
}

.bk-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bk-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bk-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bk-field label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.bk-field input {
    background: rgba(232, 232, 227, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.bk-field input:focus {
    border-color: var(--accent);
}

/* Success step */
.bk-success {
    text-align: center;
    padding: 24px 0;
}

.bk-success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.bk-success h4 {
    font-size: 1.3rem;
    margin: 0 0 12px;
}

.bk-success p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0 0 24px;
}

/* Responsive */
@media (max-width: 900px) {
    .booking-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.booking-success-message {
    padding: 40px 20px;
    animation: fadeIn 0.4s ease forwards;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* ------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------ */
.main-footer {
    background: var(--bg-base);
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.footer-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.4; /* Amplified wave */
}

.footer-wave-banner {
    position: sticky;
    bottom: 0;
    z-index: 0;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: var(--bg-base);
}

.main-footer {
    position: relative;
    z-index: 1;
    background-color: var(--bg-base);
}

.wave-banner-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wave-text-left {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-transform: uppercase;
}

html[data-theme="light"] .wave-text-left img {
    filter: invert(1);
}

.wave-text-right {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-primary);
}

#canvas-footer-disruption {
    width: 100%;
    height: 100%;
    display: block;
}

.footer-container {
    position: relative;
    z-index: 1;
}

.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-socials a:hover {
    background: var(--text-primary);
    color: var(--bg-base);
}

.footer-bottom {
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .booking-info-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}



/* ==========================================================================
   MARC FRIEDMAN STRUCTURAL STYLES ADAPTED FOR MAVOREK
   ========================================================================== */

/* Utility / Typography Additions */
.section-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-weight: 500;
}

.text-left {
    text-align: left !important;
}

.italic {
    font-style: italic;
    font-weight: 300;
}

.mt-12 { margin-top: 3rem; }
.mt-8 { margin-top: 2rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-4 { margin-top: 1rem; }
.w-full { width: 100%; }

/* ====================================================
   SERVICES CAROUSEL
   ==================================================== */
.services-section {
    padding: var(--spacing-xxl) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: none !important; /* Force override global section { border-bottom } */
    background: transparent;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.services-hint {
    color: var(--color-gray-400);
    max-width: 300px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.services-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.services-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 2rem;
    scrollbar-width: none; /* Firefox */
}

.services-carousel::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

/* ── Service Cards — bymonolog style ── */
.service-card {
    min-width: 340px;
    flex-shrink: 0;
    padding: 2.5rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
    border-left: none;
    border-right: none;
    border-bottom: none;
    background: transparent;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    transition: border-color var(--duration-fast) var(--ease-spring);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width var(--duration-std) var(--ease-expo);
}

.service-card:hover::before {
    width: 100%;
}

.service-card:hover {
    border-color: transparent;
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
}

.service-card h3 {
    font-size: 1.6rem;
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    transition: transform var(--duration-fast) var(--ease-spring);
}

.service-card:hover h3 {
    transform: translateX(6px);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 2.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.service-features li {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
}

.service-features li::before {
    content: '— ';
    opacity: 0.5;
}

.service-link {
    margin-top: auto;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color var(--duration-fast) var(--ease-spring),
                gap var(--duration-fast) var(--ease-spring);
}

.service-link::after {
    content: '↗';
    opacity: 0.5;
    transition: opacity var(--duration-fast) var(--ease-spring),
                transform var(--duration-fast) var(--ease-spring);
}

.service-link:hover {
    color: var(--text-primary);
    gap: 0.75rem;
}

.service-link:hover::after {
    opacity: 1;
    transform: translate(2px, -2px);
}

.carousel-controls {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #fff;
    color: #000;
}

/* ====================================================
   NEW PORTFOLIO / CASE STUDIES LAYOUT
   ==================================================== */
.new-portfolio-section {
    padding: var(--spacing-xxl) 0;
    background: transparent;
    border-top: 1px solid var(--border-color);
}

.portfolio-hint {
    color: var(--color-gray-400);
    max-width: 400px;
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 1.5rem;
}

.portfolio-interactive-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.portfolio-list {
    display: flex;
    flex-direction: column;
}

.list-header {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--color-gray-500);
    margin-bottom: 2rem;
}

.portfolio-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.portfolio-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--color-gray-400);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.portfolio-item:hover {
    color: #fff;
}

.portfolio-item.active {
    color: #fff;
    border-bottom-color: #fff;
}

.portfolio-item .item-num {
    font-family: monospace;
    font-size: 0.8rem;
    opacity: 0.5;
}

.portfolio-item .item-name {
    font-size: 1.2rem;
    font-weight: 500;
}

.case-visual-container {
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    background: linear-gradient(45deg, #111, #222);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-visual-cube {
    width: 80%;
    height: 80%;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    position: relative;
}

.case-visual-cube::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    border-radius: var(--radius-md);
    z-index: 1;
}

.cube-label, .case-visual-cube h3 {
    position: relative;
    z-index: 2;
}

.cube-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--color-primary-400);
    margin-bottom: 0.5rem;
}

.case-visual-cube h3 {
    font-size: 2rem;
    font-family: var(--font-heading);
}

.portfolio-details {
    padding-left: 2rem;
}

.case-title {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.case-desc {
    color: var(--color-gray-400);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.case-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-val {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 300;
}

.stat-lbl {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--color-gray-500);
}

.case-tech-stack {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.case-tech-stack span {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    border-radius: 4px;
    color: var(--color-gray-400);
}

/* ====================================================
   TESTIMONIALS GRID
   ==================================================== */
.testimonials-section {
    padding: var(--spacing-xxl) 0;
    background: transparent;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

/* Old 3-card grid — keep for fallback */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 10, 10, 0.5);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
}

.stars { color: #FFD700; font-size: 1.2rem; letter-spacing: 0.2em; margin-bottom: 2rem; }
.quote { font-size: 1.1rem; line-height: 1.7; color: var(--color-gray-300); margin-bottom: 3rem; flex-grow: 1; }
.client-info { display: flex; align-items: center; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; }
.client-avatar { width: 48px; height: 48px; border-radius: 50%; background: #222; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); color: var(--color-gray-400); }
.client-meta { display: flex; flex-direction: column; }
.client-name { font-weight: 500; font-size: 0.95rem; }
.client-role { font-size: 0.8rem; color: var(--color-gray-500); }

/* ── NEW two-row scrolling testimonials (Marc Friedman style) ── */
.testimonials-scroll-wrapper {
    margin-top: 3rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    /* Fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.testimonials-scroll-wrapper::-webkit-scrollbar { display: none; }

.testimonials-two-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: max-content;
    padding: 0 5%;
}

.testimonials-row {
    display: flex;
    gap: 16px;
    animation: marquee-row 35s linear infinite;
}

.testimonials-row:nth-child(2) {
    animation-direction: reverse;
    animation-duration: 45s;
}

/* Пауза при hover — accessibility + DESIGN.md */
.testimonials-scroll-wrapper:hover .testimonials-row {
    animation-play-state: paused;
}

@keyframes marquee-row {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Testimonial Cards — bymonolog style ── */
.testimonial-card-v2 {
    width: 320px;
    flex-shrink: 0;
    background: transparent;
    border: none;
    border-top: 1px solid var(--border-color);
    border-radius: 0;
    padding: 24px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: border-color var(--duration-fast) var(--ease-spring);
    position: relative;
}

.testimonial-card-v2::before {
    content: '';
    position: absolute;
    top: -1px; left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width var(--duration-std) var(--ease-expo);
}

.testimonial-card-v2:hover::before {
    width: 100%;
}

.testimonial-card-v2:hover {
    border-color: transparent;
}

.tc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Stars hidden — bymonolog style doesn't use stars */
.tc-stars {
    display: none;
}

.tc-quote-icon {
    color: rgba(255, 255, 255, 0.08);
    font-size: 2.5rem;
    font-family: var(--font-alt);
    font-style: italic;
    line-height: 1;
}

.tc-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tc-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.tc-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border-color);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    flex-shrink: 0;
    text-transform: uppercase;
}

.tc-author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.tc-name {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tc-role {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.tc-linkedin {
    color: var(--text-muted);
    transition: color var(--duration-fast) var(--ease-spring);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.tc-linkedin:hover { color: var(--text-secondary); }


/* ====================================================
   GLOBAL REACH
   ==================================================== */
.global-reach-section {
    padding: var(--spacing-xxl) 0;
    background: transparent;
    border-top: 1px solid var(--border-color);
}

.reach-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.reach-desc {
    color: var(--color-gray-400);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 1.5rem;
    max-width: 400px;
}

.cities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
}

.city-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.city-name {
    font-size: 1.2rem;
    font-weight: 500;
}

.city-country {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--color-gray-500);
}

.reach-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.globe-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.css-globe {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #111, #000);
    box-shadow: inset -20px -20px 40px rgba(0,0,0,0.8), 
                0 0 50px rgba(56, 189, 248, 0.1);
    position: relative;
    overflow: hidden;
    animation: rotateGlobe 20s linear infinite;
    transform-style: preserve-3d;
}

.globe-equator {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    border-top: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 50%;
    transform: translateY(-50%) rotateX(75deg);
}

.globe-meridian {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    border-left: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 50%;
    transform: translateX(-50%);
}

.globe-caption {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--color-gray-500);
}

@keyframes rotateGlobe {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

/* ==========================================================================
   V3 Interactive Pricing Section
   ========================================================================== */
.interactive-pricing {
    position: relative;
    padding: 120px 0;
    background-color: transparent;
    z-index: 10;
}

.pricing-section {
    padding-top: 0;
}

.pricing-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.pricing-topbar-left {
    flex: 0 0 auto;
    text-align: left;
}

.pricing-topbar-center {
    flex: 0 1 auto;
    text-align: left; /* Pull text to the left within the center block */
}

.pricing-topbar-right {
    flex: 0 0 auto;
}

/* Reusing monolog-label for title */
.pricing-topbar .monolog-label {
    margin-bottom: 0;
}

/* Exact replica of the toggle from the user's image */
.pricing-toggle-wrapper-new {
    display: flex;
}

.pricing-toggle-new {
    display: inline-flex;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 4px;
    position: relative;
}

.pricing-toggle-new .toggle-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4); /* Grey inactive text */
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s ease;
}

.pricing-toggle-new .toggle-btn.active {
    color: #000000; /* Dark text for active state */
}

.toggle-indicator-new {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: 50%;
    background: #e8e8e4; /* Light off-white pill */
    border-radius: 6px;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Layout - 3 Column Grid */
.pricing-grid-container {
    display: flex;
    gap: 30px;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.pricing-grid-container.active {
    opacity: 1;
    visibility: visible;
}

.pricing-card {
    flex: 1;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.recommended-card {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.recommended-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: var(--bg-base);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border-radius: 100px;
    text-transform: uppercase;
}

.pricing-card-header {
    margin-bottom: 16px;
}

.card-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.pricing-card-price {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-value {
    font-size: 3rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.03em;
}

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

.pricing-feature-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 500;
}

.pricing-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.pricing-card-features:last-child {
    margin-bottom: 0;
}

.pricing-card-features.features-excluded li {
    color: var(--text-muted);
    opacity: 0.7;
}

.pricing-card-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
}

.pricing-card-features li span {
    flex: 1;
}

.pricing-card-action {
    margin-top: auto;
}

.pricing-btn-sleek {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.pricing-btn-sleek:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pricing-btn-sleek.solid-link {
    background: var(--text-primary);
    color: var(--bg-base);
    border-color: transparent;
}

.pricing-btn-sleek.solid-link:hover {
    background: #e0e0e0;
}

/* Light Theme Overrides */
html[data-theme="light"] .pricing-toggle-new {
    background: #f0f0f0;
    border-color: rgba(0, 0, 0, 0.1);
}
html[data-theme="light"] .pricing-toggle-new .toggle-btn {
    color: rgba(0, 0, 0, 0.4);
}
html[data-theme="light"] .pricing-toggle-new .toggle-btn.active {
    color: #fff;
}
html[data-theme="light"] .toggle-indicator-new {
    background: #111;
}
html[data-theme="light"] .pricing-card {
    background: #f9f9f9;
    border-color: rgba(0, 0, 0, 0.1);
}
html[data-theme="light"] .pricing-card.recommended-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.2);
}
html[data-theme="light"] .pricing-card-price {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}
html[data-theme="light"] .pricing-btn-sleek {
    border-color: rgba(0, 0, 0, 0.2);
}
html[data-theme="light"] .pricing-btn-sleek:hover {
    background: rgba(0, 0, 0, 0.05);
}
html[data-theme="light"] .pricing-btn-sleek.solid-link {
    background: var(--text-primary);
    color: var(--bg-base);
}
html[data-theme="light"] .pricing-btn-sleek.solid-link:hover {
    background: rgba(0,0,0,0.8);
}
html[data-theme="light"] .recommended-badge {
    background: var(--text-primary);
    color: var(--bg-base);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .pricing-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .pricing-topbar-left, .pricing-topbar-center, .pricing-topbar-right {
        text-align: left;
        width: 100%;
        justify-content: flex-start;
    }
    .pricing-topbar-center p.section-subtitle {
        text-align: left !important;
        margin: 0 !important;
    }
    .pricing-grid-container {
        flex-direction: column;
    }
    .pricing-card {
        padding: 40px 30px;
    }
}
@media (max-width: 576px) {
    .price-value {
        font-size: 3rem;
    }
    .pricing-toggle-wrapper-new {
        width: 100%;
    }
    .pricing-toggle-new {
        width: 100%;
        display: flex;
    }
    .pricing-toggle-new .toggle-btn {
        flex: 1;
        padding: 10px 4px;
        font-size: 0.85rem;
        text-align: center;
    }
}


/* ====================================================
   JOURNEY SECTION
   ==================================================== */
.journey-section {
    padding-top: 60px;
    padding-bottom: 140px; /* added space for smooth transition */
    border-bottom: none !important; /* remove global section line */
    width: 100%;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .journey-section {
        padding-bottom: 40px; /* Much smaller gap on mobile */
    }
}

.journey-title-wrapper {
    width: 100%;
    padding: 0;
    margin-bottom: 70px;
    container-type: inline-size;
}

.journey-huge-title {
    font-family: 'Animo', sans-serif;
    font-size: 11.2vw; /* fallback for older browsers */
    font-size: 12.3cqi;
    text-align: justify;
    text-align-last: justify;
    line-height: 0.8;
    text-transform: uppercase;
    color: var(--text-primary);
    white-space: nowrap;
    letter-spacing: -0.01em;
    margin: 0 -0.7vw 0 0.1vw;
}

.journey-steps-container {
    width: 100%;
}

.journey-step-row {
    display: flex;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.journey-step-row:last-child {
    border-bottom: none; /* remove line after Step 3 */
}

.journey-left-half {
    width: 58%;
    display: flex;
    border-right: 1px solid var(--border-color);
}

.journey-step-num {
    width: 180px;
    padding: 80px 0 0 0;
    flex-shrink: 0;
}

.step-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.step-label {
    margin-right: 12px;
}

.step-connector {
    display: inline-block;
    width: 26px;
    height: 1.5px;
    background-color: rgba(255, 255, 255, 0.85);
    position: relative;
    margin-right: 0;
}

.step-connector::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.85);
}

.step-box {
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    padding: 3px 6px;
    border-radius: 4px;
    font-variant-numeric: slashed-zero;
    line-height: 1;
}

.journey-step-text {
    flex-grow: 1;
    padding: 80px 80px 100px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.journey-step-title {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.bk-form-heading {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.bk-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media screen and (max-width: 768px) {
    .bk-form-grid {
        grid-template-columns: 1fr;
    }
}

.journey-step-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 440px;
}

.journey-right-half {
    width: 42%;
}

.journey-img-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--bg-card);
    background-size: cover;
    background-position: center;
}

@media (max-width: 1024px) {
    .journey-huge-title {
        font-size: 10vw;
        margin-bottom: 20px;
        white-space: nowrap;
        line-height: 1;
        text-align: left;
        text-align-last: left;
    }
    .journey-step-row {
        flex-direction: column;
        min-height: auto;
    }
    .journey-left-half {
        width: 100%;
        border-right: none;
        flex-direction: column;
    }
    .journey-step-num {
        width: 100%;
        padding: 30px 20px 10px;
    }
    .journey-step-text {
        padding: 0 20px 40px;
    }
    .journey-right-half {
        width: 100%;
        min-height: 350px;
        border-top: 1px solid var(--border-color);
    }
}

/* ====================================================
   FAQ SECTION
   ==================================================== */
.faq-section {
    padding: var(--spacing-xxl) 0;
    background-color: #141414; /* Solid dark grey, like bymonolog */
    background-image: none; /* Remove unpleasant noise (shim) */
    border-top: 1px solid var(--border-color);
}

.monolog-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-weight: 400;
    margin-bottom: 24px;
}

.monolog-label::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #7a7a7a;
    flex-shrink: 0;
}

.faq-hint {
    color: var(--color-gray-400);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    max-width: 500px;
}

.faq-accordion {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.faq-question {
    padding: 2.5rem 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--color-primary-400);
}

.faq-num {
    font-size: 0.8rem;
    font-family: monospace;
    opacity: 0.5;
    margin-right: 2rem;
}

.faq-question h3 {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    flex-grow: 1;
}

.faq-toggle {
    font-size: 2rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item .faq-answer p {
    padding-bottom: 2.5rem;
    padding-left: 3.5rem;
    color: var(--color-gray-400);
    line-height: 1.6;
    max-width: 800px;
}

/* ====================================================
   NEW FOOTER
   ==================================================== */
.redesigned-footer {
    padding-top: 6rem;
    border-top: 1px solid var(--border-color);
    position: relative;
    background: transparent;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 10;
}

.footer-nav-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 2rem;
}

.footer-huge-nav {
    display: flex;
    flex-direction: column;
}

.footer-huge-nav a {
    font-size: 2.75rem;
    font-family: var(--font-heading);
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.25rem 1rem;
    margin: 0 -1rem;
    border-radius: 4px;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-huge-nav a span:first-child {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-huge-nav a:first-child {
    border-top: 1px dotted rgba(255, 255, 255, 0.2);
}

.footer-huge-nav a .arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 2.75rem;
    font-weight: 500;
}

.footer-huge-nav a:hover {
    background-color: #c8c8c8;
    color: #080807;
    transition: background-color 0.05s ease, color 0.05s ease;
}

.footer-huge-nav a:hover span:first-child {
    transform: translateX(10px);
    transition: transform 0.05s ease;
}

.footer-huge-nav a:hover .arrow {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.05s ease, transform 0.05s ease;
}

.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
}

.footer-social-link {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-block;
    padding: 4px 12px;
    margin-left: -12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border-radius: 2px;
}

.footer-social-link:hover {
    background-color: var(--text-primary);
    color: var(--bg-base) !important;
    opacity: 1 !important;
    transform: translateX(8px);
}

.footer-partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* ====================================================
   INTERACTIVE TYPOGRAPHY SERVICES LAYOUT
   ==================================================== */

.services-interactive-layout {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 360px 1fr 300px;
    gap: 40px;
    align-items: start;
    margin: 40px 0 0;
    min-height: 600px;
}

/* --- Left Column: Descriptions --- */
.services-desc-col {
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.desc-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.desc-content.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.desc-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.desc-text {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 32px;
}

.desc-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.desc-features li {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.desc-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.3s ease;
}

.desc-link:hover {
    border-color: var(--text-primary);
}

/* --- Center Column: Giant Typography List --- */
.services-list-col {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 2vw;
    z-index: 5; /* Ensure text is above the visual tracker */
    min-width: 0; /* Prevent grid blowout from long text */
}

.services-giant-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0; /* Extremely tight spacing */
}

.service-item {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5.5vw, 6.5rem);
    line-height: 0.9;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    letter-spacing: -0.03em;
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    padding: 8px 0;
}

/* Fix for long translated words in Czech/Polish */
html:lang(pl) .service-item,
html:lang(cs) .service-item {
    font-size: clamp(2.5rem, 4.5vw, 5.5rem);
    white-space: normal;
    word-break: break-word;
}

.service-item.active {
    color: #ffffff;
    mix-blend-mode: difference; /* Creates the transparency/inversion effect over images */
}

.service-item:hover:not(.active) {
    color: rgba(255, 255, 255, 0.4);
}

/* --- Right Column: Floating Visual Tracker --- */
.services-visual-col {
    position: relative;
    height: 100%;
}

.service-visual-tracker {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 320px;
    /* We'll translate this container on the Y-axis via JS */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.service-visual-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.service-visual-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.service-visual-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.1);
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1100px) {
    .services-interactive-layout {
        grid-template-columns: 320px 1fr 300px;
        gap: 20px;
    }
    .service-visual-tracker {
        width: 300px;
        height: 380px;
    }
}

@media (max-width: 900px) {
    .services-interactive-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 40px;
        min-height: auto;
        position: relative;
    }
    
    .services-desc-col {
        min-height: auto;
        order: 2;
        padding-right: 0;
    }
    
    .desc-content {
        position: relative;
        top: auto;
        transform: none;
        display: none;
    }
    
    .desc-content.active {
        display: block;
        transform: none;
    }
    
    .services-list-col {
        order: 1;
        padding: 0;
        position: relative;
        z-index: 1;
    }
    
    .service-item {
        font-size: clamp(2.5rem, 10vw, 4rem);
        white-space: normal;
        padding: 12px 0;
        line-height: 1.1;
    }
    
    .services-visual-col {
        position: absolute;
        right: 0;
        top: 0;
        width: 35%;
        height: 100%;
        pointer-events: none;
        z-index: 2;
    }
    
    .service-visual-tracker {
        position: absolute;
        right: 0;
        width: 100%;
        height: 110px;
        top: 0;
        transition: transform 0.3s ease;
    }
}

.footer-email {
    display: table;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 1.05rem;
    font-weight: 500;
    font-family: var(--font-primary);
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: var(--color-gray-300);
}

.footer-locations {
    color: var(--color-gray-400);
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-primary);
    line-height: 1.5;
    letter-spacing: 0;
}

.footer-bottom-row {
    margin-top: 6rem;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.footer-bottom-row a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-row a:hover {
    opacity: 0.8;
}

.footer-back-link {
    display: inline-block;
    padding: 2px 6px;
    margin-left: -6px; /* offset padding so it aligns left */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border-radius: 2px;
}

.footer-back-link:hover {
    background-color: var(--text-primary);
    color: var(--bg-base) !important;
    opacity: 1 !important;
    transform: translateX(6px);
}

.footer-time {
    text-align: left;
}

.footer-back-top {
    text-align: left;
}

.footer-copyright {
    text-align: left;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .portfolio-interactive-layout {
        grid-template-columns: 1fr;
    }
    .portfolio-details {
        padding-left: 0;
    }
    .reach-container {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-huge-nav a {
        font-size: 2rem;
    }
}


/* ====================================================

.cf-dot {
    flex: 1;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    border-radius: 1px;
    transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cf-dot.active {
    background-color: var(--text-primary);
    box-shadow: none;
}

.cf-dot:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-coverflow-wrapper {
        height: 600px;
    }
    .coverflow-card {
        width: 320px;
        height: 480px;
        padding: 30px 24px;
    }
    .coverflow-arrow {
        display: none; /* Hide arrows on mobile, rely on drag/click */
    }
    .cf-title {
        font-size: 2rem;
    }
}


/* ====================================================
   7. MONOLOG FAQ STYLES
   ==================================================== */

.faq-section {
    position: relative;
    padding: var(--spacing-xxl) 0;
    padding-top: max(var(--spacing-xxl), 12vh);
    background-color: #141414;
    overflow: hidden;
}

.faq-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    animation: noiseBoil 0.6s steps(1) infinite;
}

.faq-section > .container {
    position: relative;
    z-index: 1;
}

@keyframes noiseBoil {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-10%, 5%); }
    30% { transform: translate(5%, -10%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-10%, 5%); }
    60% { transform: translate(15%, 0); }
    70% { transform: translate(0, 10%); }
    80% { transform: translate(-15%, 0); }
    90% { transform: translate(10%, 5%); }
    100% { transform: translate(5%, 0); }
}

.monolog-faq-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
    align-items: start;
}

/* Left Column */
.faq-left-col {
    align-self: end;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.faq-sidebar-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-dot {
    width: 8px;
    height: 8px;
    background-color: #888;
    border-radius: 50%;
}

.faq-sidebar-title {
    font-family: var(--font-body);
    color: #e2e8f0;
    font-size: 1rem;
}

.faq-sidebar-bottom {
    margin-top: 0;
}

.faq-author-photo {
    width: 100px;
    height: 100px;
    background-color: #333;
    background-image: url('https://images.unsplash.com/photo-1633332755192-727a05c4013d?q=80&w=200&auto=format&fit=crop'); /* Placeholder face */
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    margin-bottom: 24px;
}

.faq-author-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #e2e8f0;
    line-height: 1.3;
    margin-bottom: 16px;
}



.faq-book-btn:hover {
    background-color: #f8fafc;
}

/* Right Column */
.faq-main-heading {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    font-weight: 500;
    line-height: 1.0;
    letter-spacing: -0.03em;
    text-transform: none;
    color: var(--text-primary);
    margin-bottom: 60px;
}

/* ── FAQ Tabs — Premium Layout ── */
.faq-tabs-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Wider questions column as requested */
    gap: 80px; /* Increased gap slightly */
    align-items: stretch; /* Ensure both columns are equal height */
    border-top: none;
    padding-top: 0px;
}


.faq-tabs-sidebar {
    display: flex;
    flex-direction: column;
    border-top: 1px dotted var(--dotted-border-color); /* High contrast theme-aware top line */
}

.faq-tab-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px; /* Reduced vertical padding from 24px to 14px */
    margin: 0;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 4px; /* Reset border radius so dotted line is perfectly straight at corners */
    border: none;
    border-bottom: 1px dotted var(--dotted-border-color); /* High contrast theme-aware bottom line */
    background: transparent;
    text-align: left;
    outline: none;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.faq-tab-btn h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0;
    color: inherit;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    padding-right: 32px; /* Prevent text (like question marks) from colliding with the dot */
    letter-spacing: 0.015em; /* Breathing room for tight letters */
    line-height: 1.35; /* Breathing room for lines */
}

.faq-toggle-circle {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid #888;
    transition: background-color 0.65s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    flex-shrink: 0;
    margin-left: 16px;
}

@media (min-width: 992px) {
    .faq-tab-btn:hover,
    .faq-tab-btn.active {
        color: #080807;
        background-color: #c8c8c8;
        border-bottom-color: transparent; /* Hide dotted border on active block */
        transition: background-color 0.05s ease, color 0.05s ease;
    }

    .faq-tab-btn:hover h3,
    .faq-tab-btn.active h3 {
        transform: translateX(10px);
        transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .faq-tab-btn:hover .faq-toggle-circle,
    .faq-tab-btn.active .faq-toggle-circle {
        background-color: #080807;
        border-color: #080807;
        transform: translateX(-10px);
        transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    }
}

/* ── MOBILE FAQ ACCORDION (must come AFTER base FAQ rules) ── */
@media (max-width: 991px) {
    .faq-tabs-wrapper {
        display: flex;
        flex-direction: column;
        gap: 0;
        border-top: none;
        padding-top: 0;
    }
    .faq-tabs-content-area {
        display: none !important;
    }
    .faq-tabs-sidebar {
        width: calc(100% + 32px);
        margin-left: -16px;
        margin-right: -16px;
        border-top: 1px dotted var(--dotted-border-color); /* Stretch top border to match bottom borders */
    }

    /* ── Question buttons — bymonolog-style ── */
    .faq-tab-btn {
        border-radius: 4px; /* Reset radius so dotted line is straight */
        padding: 20px 16px;
        border-bottom: 1px dotted var(--dotted-border-color); /* High contrast border */
        border-top: none;
        background: transparent;
        color: var(--text-primary);
        position: relative;
        z-index: 1;
        transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .faq-tab-btn h3 {
        font-size: clamp(1.05rem, 4vw, 1.2rem);
        font-weight: 500;
        padding-right: 24px; /* Space between text and dot */
    }

    /* ── Active question — highlight like navigation ── */
    .faq-tab-btn:hover,
    .faq-tab-btn.active {
        color: #080807;
        background-color: #c8c8c8;
        border-bottom-color: transparent;
        transition: background-color 0.05s ease, color 0.05s ease;
    }
    .faq-tab-btn.active h3 {
        transform: none;
        color: #0a0a09;
    }
    .faq-tab-btn:hover h3 {
        transform: none;
    }
    .faq-tab-btn.active .faq-toggle-circle {
        transform: none;
        background-color: #0a0a09;
        border-color: #0a0a09;
        width: 8px;
        height: 8px;
    }
    .faq-tab-btn:hover .faq-toggle-circle {
        transform: none;
    }

    /* ── Mobile accordion answer — grid-template-rows ── */
    .faq-mobile-answer {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.5s cubic-bezier(0.625, 0.05, 0, 1);
    }
    .faq-mobile-answer > .faq-mobile-answer-inner {
        overflow: hidden;
        min-height: 0;
    }
    .faq-mobile-answer.open {
        grid-template-rows: 1fr;
    }
    .faq-mobile-answer .faq-answer-content {
        padding: 8px 16px 28px 16px; /* Align text with question text padding */
    }
    .faq-mobile-answer p {
        font-family: var(--font-body);
        font-size: 0.95rem;
        line-height: 1.65;
        color: var(--text-secondary);
        margin: 0 0 16px 0;
    }
    .faq-mobile-answer p:last-child {
        margin-bottom: 0;
    }
}

.faq-tabs-content-area {
    position: relative;
    display: flex;
    align-items: center;
}

.faq-tab-pane {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(15px);
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.4s;
}

.faq-tab-pane.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.faq-tab-pane p {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-primary); /* Corrected variable to fix visibility on dark theme */
    margin: 0 0 24px 0;
}
.faq-tab-pane p:last-child {
    margin-bottom: 0;
}


/* ── Global Polish — bymonolog unified ── */
section {
    padding: 120px 0;
}

/* Section label — eyebrow style, NO blue accent */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-family: var(--font-mono);
    font-weight: 400;
    text-transform: uppercase;
}

/* Eyebrow circle decoration */
.section-label::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .monolog-faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .faq-left-col {
        position: static;
        min-height: auto;
    }
    .faq-sidebar-bottom {
        display: block; /* Removed display: none so avatars are visible */
        margin-top: 2rem;
    }
    .faq-main-heading {
        font-size: 2.5rem;
    }
}

/* =================================================================
   SECTION RHYTHM — Removed to keep 10, 10, 10 solid black everywhere
   ================================================================= */

.testimonials-section {
    border-top:    1px solid rgba(232, 232, 227, 0.05);
    border-bottom: 1px solid rgba(232, 232, 227, 0.05);
}

.quiz-section {
    border-top:    1px solid rgba(232, 232, 227, 0.05);
    border-bottom: 1px solid rgba(232, 232, 227, 0.05);
}

.booking-section       { background-color: var(--bg-base); }

/* =================================================================
   ACCENT COLOUR — стальной синий #A3D1FF
   ================================================================= */

/* Eyebrow circle + label текст */
.section-label {
    color: var(--accent);
    opacity: 0.85;
}
.section-label::before {
    background: var(--accent);
    opacity: 1;
}

/* Hero — цена в акценте */
.hero-description strong {
    color: var(--accent);
    font-weight: 500;
}


/* Badge pulse dot */
.badge-dot {
    background-color: var(--accent) !important;
}


/* Scanner — акцентная полоска сверху окна */
.scanner-wrapper {
    border-top: 2px solid var(--accent-border) !important;
}

/* Кнопки hover — tertiary accent */
.btn-tertiary:hover {
    color: var(--accent);
}

/* Service card header номер */
.service-card-header {
    color: var(--accent);
    opacity: 0.65;
}

/* Testimonial кавычки */
.tc-quote-icon {
    color: var(--accent);
    opacity: 0.25;
}

/* Preloader bar */
.preloader-bar {
    background: var(--accent) !important;
}

/* Nav links hover */
.nav-links a:hover {
    color: var(--accent);
}

/* Grid lines — тёплый оттенок */
.grid-line-col {
    border-right-color: rgba(196, 149, 106, 0.025);
}

/* ──────────────────────────────────────────────────────
   DESIGN.MD COMPLIANCE — новые компонентные стили
   ────────────────────────────────────────────────────── */

/* Quiz: mono-лейбл вместо emoji */
.option-mono {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 0.2em 0.5em;
    line-height: 1;
    flex-shrink: 0;
}

/* Quiz success — SVG чек вместо emoji */
.success-check {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* Hero floating panel — label вместо emoji */
.panel-label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Booking meta — mono chip вместо emoji */
.bk-meta-icon {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: rgba(232, 232, 227, 0.04);
    border: 1px solid rgba(232, 232, 227, 0.1);
    border-radius: 3px;
    padding: 0.2em 0.4em;
    flex-shrink: 0;
}

/* Hero title — Animo для em */
.hero-title em {
    font-family: var(--font-alt);
    font-style: normal;
}

/* Footer partner name — без иконки */
.partner-name {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

/* Services-header как flex по DESIGN.md */
.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    gap: 2rem;
}

/* Global override to remove ALL horizontal lines between sections */
section,
[class$="-section"] {
    border-top: none !important;
    border-bottom: none !important;
}

/* ====================================================
   PHOTO HERO SECTION
   Full-screen 200vh with sticky/parallax photo bg
   ==================================================== */

.photo-hero-section {
    position: relative;
    height: 200vh;
    width: 100%;
    overflow: hidden; /* clips parallax overshoot — sticky is not used here */
    padding: 0;
    background: var(--bg-base);
    border-radius: 24px 24px 0 0;
    margin-top: -24px;
    z-index: 2; /* Overlaps FAQ section */
    will-change: transform;
    transform: translateZ(0);
}

/* ---- Background Image — takes full 200vh, scrolls naturally with the page ---- */
.photo-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;           /* fills all 200vh */
    overflow: hidden;
    z-index: 0;
    will-change: clip-path, transform;
    transform: translateZ(0);
}

.photo-hero-img,
.photo-hero-bg picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.photo-hero-img {
    object-fit: cover;
    object-position: 30% top;
    filter: grayscale(20%) brightness(0.72);
    transform: scale(1.15); /* zoomed in by default for exit parallax */
    transform-origin: center center;
    will-change: transform;
}

/* Dark gradient overlay */
.photo-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.10) 40%,
        rgba(0, 0, 0, 0.50) 100%
    );
    pointer-events: none;
}

/* ---- Panels — fixed to their position in the tall section ---- */
.photo-hero-panel {
    position: absolute;
    left: 0;
    right: 0;
    height: 100vh;
    display: flex;
    z-index: 2;
    pointer-events: none;
}

.photo-hero-panel--top {
    top: 0;
    align-items: flex-end;
    padding-bottom: 80px;
}

.photo-hero-panel--bottom {
    top: 100vh;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 0;
}



/* ---- Title ---- */
.photo-hero-title {
    font-family: 'Animo', sans-serif;
    font-size: clamp(3rem, 8vw, 9rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    text-align: center;
}

.photo-hero-title .title-line {
    display: block;
    will-change: transform;
}

.photo-hero-title .line-1 { transform: translateX(-8%); }
.photo-hero-title .line-2 { transform: translateX(6%); }
.photo-hero-title .line-3 { transform: translateX(-6%); }
/* line-4 starts near center and is animated by GSAP */
.photo-hero-title .line-4 { transform: translateX(-3%); }

/* ---- Awards row ---- */
.photo-hero-awards {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.award-item {
    font-family: var(--font-mono);
    font-size: clamp(0.85rem, 1.2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ---- Quote ---- */
.photo-hero-quote {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

.photo-hero-quote cite {
    display: block;
    margin-top: 20px;
    font-style: normal;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* ====================================================
   SUCCESS STORIES SECTION (MINI PORTFOLIO)
   ==================================================== */

.success-stories {
    background-color: rgb(215, 215, 209);
    color: #111; /* Explicit dark color */
    padding: var(--spacing-xxl) var(--site-margin, 5%) 40px; /* Reduced bottom padding */
    position: relative;
    z-index: 10;
}

/* Reusing monolog-label but overriding color for this light section */
.success-stories .ss-label {
    color: #111; /* Explicitly black text */
    margin-top: -5px; /* Optically align text cap height with the top edge of the image */
}

.ss-container {
    display: flex;
    gap: 40px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.ss-label-col {
    width: 250px;
    flex-shrink: 0;
    position: relative;
}

.ss-list-col {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0; /* Set to 0 to make items touch and eliminate hover dead zones */
}

.ss-item {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 40px;
    padding-bottom: 40px;
    transition: background-color 0.4s var(--ease-expo);
}
.ss-item:first-child {
    padding-top: 0;
}
.ss-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ss-image-wrapper {
    position: relative;
    width: 68%;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
    aspect-ratio: 16 / 10;
    cursor: pointer;
    background-color: #0b0b0a; /* Dark background behind image for dimming */
}

.ss-img-base {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15) translate(calc(var(--mouse-x, 0) * -30px), calc(var(--mouse-y, 0) * -30px));
    transition: transform 0.6s var(--ease-expo), opacity 0.6s var(--ease-expo);
}

.ss-img-hover-container {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.95) translateY(120px) translate(calc(var(--mouse-x, 0) * 15px), calc(var(--mouse-y, 0) * 15px));
    transition: opacity 0.5s var(--ease-expo), transform 0.6s var(--ease-spring);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-sm);
    overflow: hidden;
    z-index: 2;
}

.ss-img-hover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-expo);
}

@keyframes ssHoverCycle7 {
    0%, 11% { opacity: 1; }
    14%, 97% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes ssHoverCycle5 {
    0%, 16% { opacity: 1; }
    20%, 96% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes ssHoverCycle4 {
    0%, 20% { opacity: 1; }
    25%, 95% { opacity: 0; }
    100% { opacity: 1; }
}

.ss-img-hover-cycle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: transform 0.6s var(--ease-expo);
}

/* The first image should be visible immediately before animation kicks in, 
   but the animation itself will override this once it starts */
.ss-img-hover-cycle:nth-child(1) {
    opacity: 1;
}

/* 7 items */
.ss-item:hover .ss-img-hover-cycle-7 {
    animation: ssHoverCycle7 7s infinite;
}
.ss-item:hover .ss-img-hover-cycle-7:nth-child(1) { animation-delay: 0s; }
.ss-item:hover .ss-img-hover-cycle-7:nth-child(2) { animation-delay: -6s; }
.ss-item:hover .ss-img-hover-cycle-7:nth-child(3) { animation-delay: -5s; }
.ss-item:hover .ss-img-hover-cycle-7:nth-child(4) { animation-delay: -4s; }
.ss-item:hover .ss-img-hover-cycle-7:nth-child(5) { animation-delay: -3s; }
.ss-item:hover .ss-img-hover-cycle-7:nth-child(6) { animation-delay: -2s; }
.ss-item:hover .ss-img-hover-cycle-7:nth-child(7) { animation-delay: -1s; }

/* 5 items */
.ss-item:hover .ss-img-hover-cycle-5 {
    animation: ssHoverCycle5 5s infinite;
}
.ss-item:hover .ss-img-hover-cycle-5:nth-child(1) { animation-delay: 0s; }
.ss-item:hover .ss-img-hover-cycle-5:nth-child(2) { animation-delay: -4s; }
.ss-item:hover .ss-img-hover-cycle-5:nth-child(3) { animation-delay: -3s; }
.ss-item:hover .ss-img-hover-cycle-5:nth-child(4) { animation-delay: -2s; }
.ss-item:hover .ss-img-hover-cycle-5:nth-child(5) { animation-delay: -1s; }

/* 4 items */
.ss-item:hover .ss-img-hover-cycle-4 {
    animation: ssHoverCycle4 4s infinite;
}
.ss-item:hover .ss-img-hover-cycle-4:nth-child(1) { animation-delay: 0s; }
.ss-item:hover .ss-img-hover-cycle-4:nth-child(2) { animation-delay: -3s; }
.ss-item:hover .ss-img-hover-cycle-4:nth-child(3) { animation-delay: -2s; }
.ss-item:hover .ss-img-hover-cycle-4:nth-child(4) { animation-delay: -1s; }

/* Hover effects triggered when hovering anywhere inside the .ss-item row block */
.ss-item:hover .ss-img-base {
    opacity: 0.25; /* Substantially dim the background image */
}

.ss-item:hover .ss-img-hover-container {
    opacity: 1;
    transform: scale(1) translateY(0) translate(calc(var(--mouse-x, 0) * 15px), calc(var(--mouse-y, 0) * 15px));
}

/* Mobile: scroll-triggered activation (mirrors :hover) */
.ss-item.ss-active .ss-img-hover-cycle-7 { animation: ssHoverCycle7 7s infinite; }
.ss-item.ss-active .ss-img-hover-cycle-7:nth-child(1) { animation-delay: 0s; }
.ss-item.ss-active .ss-img-hover-cycle-7:nth-child(2) { animation-delay: -6s; }
.ss-item.ss-active .ss-img-hover-cycle-7:nth-child(3) { animation-delay: -5s; }
.ss-item.ss-active .ss-img-hover-cycle-7:nth-child(4) { animation-delay: -4s; }
.ss-item.ss-active .ss-img-hover-cycle-7:nth-child(5) { animation-delay: -3s; }
.ss-item.ss-active .ss-img-hover-cycle-7:nth-child(6) { animation-delay: -2s; }
.ss-item.ss-active .ss-img-hover-cycle-7:nth-child(7) { animation-delay: -1s; }

.ss-item.ss-active .ss-img-hover-cycle-5 { animation: ssHoverCycle5 5s infinite; }
.ss-item.ss-active .ss-img-hover-cycle-5:nth-child(1) { animation-delay: 0s; }
.ss-item.ss-active .ss-img-hover-cycle-5:nth-child(2) { animation-delay: -4s; }
.ss-item.ss-active .ss-img-hover-cycle-5:nth-child(3) { animation-delay: -3s; }
.ss-item.ss-active .ss-img-hover-cycle-5:nth-child(4) { animation-delay: -2s; }
.ss-item.ss-active .ss-img-hover-cycle-5:nth-child(5) { animation-delay: -1s; }

.ss-item.ss-active .ss-img-hover-cycle-4 { animation: ssHoverCycle4 4s infinite; }
.ss-item.ss-active .ss-img-hover-cycle-4:nth-child(1) { animation-delay: 0s; }
.ss-item.ss-active .ss-img-hover-cycle-4:nth-child(2) { animation-delay: -3s; }
.ss-item.ss-active .ss-img-hover-cycle-4:nth-child(3) { animation-delay: -2s; }
.ss-item.ss-active .ss-img-hover-cycle-4:nth-child(4) { animation-delay: -1s; }

.ss-item.ss-active .ss-img-base {
    opacity: 0.25;
}

.ss-item.ss-active .ss-img-hover-container {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.ss-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ss-meta {
    display: flex;
    align-items: center;
    font-family: var(--font-primary);
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 8px;
    align-self: flex-start;
}

.ss-meta-prefix {
    font-size: 16px;
    margin-right: 8px;
    letter-spacing: 0.2px;
}

.ss-meta-line {
    position: relative;
    width: 30px;
    height: 1.5px;
    background-color: currentColor;
}

.ss-meta-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: currentColor;
}

.ss-meta-number {
    padding: 2px 6px;
    border: 1.5px solid currentColor;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
}

.ss-title {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
}

.ss-desc {
    font-size: 1.25rem;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
}

.ss-stat {
    margin-top: auto;
    padding-top: 40px;
}
.ss-stat h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}
.ss-stat p {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.8);
    margin: 0;
    line-height: 1.4;
}

.ss-footer {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 60px auto 0; /* Reduced space above horizontal line */
    padding-top: 40px;
    padding-bottom: 0px; /* Reduced space below text */
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.ss-footer-left {
    width: 250px;
    flex-shrink: 0;
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    font-weight: 500;
    color: rgba(0, 0, 0, 0.45);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.ss-footer-right {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ss-footer-right h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    color: rgba(0, 0, 0, 0.45);
    margin: 0;
    line-height: 1.1;
}

.ss-soon {
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    vertical-align: super;
    margin-left: 6px;
    color: rgba(0, 0, 0, 0.4);
    font-weight: 400;
}

.ss-arrow {
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    color: rgba(0, 0, 0, 0.45);
    line-height: 1.1;
    font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ss-container { flex-direction: column; gap: 60px; }
    .ss-label-col { position: relative; top: 0; width: 100%; }
    .ss-item { 
        flex-direction: column; 
    }
    .ss-image-wrapper { width: 100%; }
    .ss-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-top: 30px;
    }
    .ss-footer-left { display: none; }
    .ss-footer-right {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .ss-footer-right h2 { font-size: 2.2rem; }
    .ss-arrow { font-size: 2.2rem; }
    
    /* Mobile overlay dimming is now re-enabled since items no longer stack */
}

/* ====================================================
   LIGHT SECTION NAV TRANSITION (LOGO + LINKS)
   ==================================================== */
.main-header.light-section-active {
    background: transparent;
}
/* Toggle between white and dark logos — no filter needed, avoids iOS blur */
.main-header.light-section-active .logo-light {
    display: none !important;
}
.main-header.light-section-active .logo-dark {
    display: block !important;
}
/* Invert nav links */
.main-header.light-section-active .nav-link {
    color: #111 !important;
}
.main-header.light-section-active .nav-link:hover {
    color: #111 !important;
}
.main-header.light-section-active .nav-link::before {
    background-color: rgba(0, 0, 0, 0.08);
}
/* Invert sound toggle button */
.main-header.light-section-active .sound-toggle-btn {
    background: rgba(0, 0, 0, 0.08);
    color: #111;
}
.main-header.light-section-active .sound-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.15);
    color: #111;
}
.main-header.light-section-active .lang-switcher-btn {
    background: rgba(0, 0, 0, 0.08);
    color: #111;
}
.main-header.light-section-active .lang-switcher-btn:hover {
    background: rgba(0, 0, 0, 0.15);
    color: #111;
}
/* Invert start project button */
.main-header.light-section-active .btn-primary {
    background-color: #111;
    color: #fff;
}
.main-header.light-section-active .btn-primary .btn-aside-icon {
    background-color: #fff;
    color: #111;
}
.main-header.light-section-active .btn-primary:hover {
    background-color: #000;
    color: #fff;
}
.main-header.light-section-active .btn-primary:hover .btn-aside-icon {
    background-color: #fff;
    color: #000;
}
/* Invert hamburger menu lines */
.main-header.light-section-active .menu-toggle .bar {
    background-color: #111;
}
/* Removed hardcoded color for Close button to rely on var(--text-primary) */

/* Add transition rules to base elements */
/* Logo transition handled by show/hide, not filter */
.nav-menu a { transition: color 0.4s ease; }
.audio-btn { transition: background-color 0.4s ease, color 0.4s ease; }
.btn-primary { transition: background-color 0.4s ease, color 0.4s ease; }

/* ==================================================================
   MOBILE ADAPTATION (<= 768px)
   ================================================================== */
@media screen and (max-width: 768px) {
    /* Global Adjustments to scale down everything slightly on mobile */
    html {
        font-size: 14px; /* Shrink all rem-based sizes */
    }
    .logo-text {
        height: 2.2em !important; /* Make logo smaller on mobile */
        transform: none !important;
    }
    .section-title { font-size: clamp(2.2rem, 8vw, 3rem); } /* Slightly smaller clamp */
    .badge { padding: 4px 12px; margin-bottom: 24px; }
    
    /* 2. Header & Navigation */
    .nav-menu {
        display: block !important;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100vh;
        background-color: var(--bg-base) !important;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
        z-index: 99;
        visibility: hidden;
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.6s cubic-bezier(0.86, 0, 0.07, 1), visibility 0.6s ease;
    }
    .nav-menu.active {
        visibility: visible;
        clip-path: inset(0 0 0 0);
    }
    .nav-menu-inner {
        position: relative;
        height: 100%;
        width: 100%;
        padding: 80px 20px 40px; /* Space for header */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
    }
    .nav-links-wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        gap: 0;
    }
    .nav-menu .nav-link {
        font-family: var(--font-heading);
        font-size: clamp(2.5rem, 10vw, 4rem);
        font-weight: 500;
        text-align: left;
        line-height: 1.2;
        letter-spacing: normal;
        padding: 16px 0;
        color: var(--text-primary) !important; /* Force white text on dark menu background */
        text-decoration: none;
        overflow: hidden;
    }
    .main-header.light-section-active .nav-menu .nav-link {
        color: var(--text-primary) !important; /* Prevent inversion from light sections */
    }
    .nav-menu .nav-link span {
        display: block;
        opacity: 0;
        transform: translateY(20px);
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        transition-delay: 0s;
    }
    .nav-menu.active .nav-link span {
        opacity: 1;
        transform: translateY(0);
    }
    .nav-menu.active .nav-link:nth-child(1) span { transition-delay: 0.2s; }
    .nav-menu.active .nav-link:nth-child(3) span { transition-delay: 0.25s; }
    .nav-menu.active .nav-link:nth-child(5) span { transition-delay: 0.3s; }
    .nav-menu.active .nav-link:nth-child(7) span { transition-delay: 0.35s; }
    .nav-menu.active .nav-link:nth-child(9) span { transition-delay: 0.4s; }
    
    .nav-divider {
        display: block;
        width: 100%;
        height: 0;
        border-bottom: 1px dotted var(--dotted-border-color);
        background-color: transparent;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .nav-menu.active .nav-divider {
        transform: scaleX(1);
    }
    .nav-menu.active .nav-divider:nth-child(2) { transition-delay: 0.25s; }
    .nav-menu.active .nav-divider:nth-child(4) { transition-delay: 0.35s; }
    .nav-menu.active .nav-divider:nth-child(6) { transition-delay: 0.45s; }
    .nav-menu.active .nav-divider:nth-child(8) { transition-delay: 0.55s; }
    .nav-menu.active .nav-divider:nth-child(10) { transition-delay: 0.65s; }

    .nav-news-card {
        background-color: #242424;
        border: none;
        border-radius: 4px;
        padding: 20px;
        display: flex;
        gap: 16px;
        align-items: center;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        transition-delay: 0.5s;
    }
    .nav-menu.active .nav-news-card {
        opacity: 1;
        transform: translateY(0);
    }
    .nav-news-icon {
        width: 60px;
        height: 60px;
        background: #111;
        border-radius: 4px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
    }
    .nav-news-icon img.news-icon-dark { height: 1.5rem !important; }
    .nav-news-icon img.news-icon-light { width: 100% !important; height: 100% !important; object-fit: cover !important; display: none; }
    .nav-news-content {
        flex-grow: 1;
    }
    .nav-news-content h4 {
        margin: 0 0 8px 0;
        font-size: 0.95rem;
        font-weight: 500;
        line-height: 1.3;
        color: #fff;
    }
    .nav-news-date {
        font-size: 0.75rem;
        color: #999;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        font-family: monospace;
    }
    .nav-news-arrow {
        margin-left: auto;
        font-size: 1.2rem;
    }
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        width: 36px;
        height: 36px;
        justify-content: center;
        align-items: center;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 100; /* Above nav menu */
    }
    .menu-toggle .bar {
        width: 24px;
        height: 2px;
        background-color: var(--text-primary);
        transition: 0.3s ease;
    }
    /* Mobile Menu Open State Animations */
    body.menu-open { overflow: hidden; }
    .menu-toggle.active .bar {
        display: none;
    }
    .menu-toggle::after {
        content: 'Close';
        font-family: var(--font-secondary);
        font-size: 1.1rem;
        color: var(--text-primary);
        display: none;
    }
    .menu-toggle.active::after {
        display: block;
    }
    /* Move CTA into hamburger or hide */
    #header-cta { display: none; } /* Add it manually to mobile menu in HTML if needed */
    .header-actions {
        margin-left: auto;
        margin-right: 16px;
    }
    .mobile-only-cta { display: flex !important; }

    /* 3. Hero Section */
    .hero-section {
        padding-top: 80px !important;
    }
    .hero-section h1 {
        font-size: clamp(3rem, 12vw, 5rem) !important;
    }
    .rotating-text {
        white-space: normal !important;
    }
    .hero-bottom-cols {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 1.5rem !important;
        margin-top: 20px !important;
    }
    .hero-left-col, .hero-right-col {
        max-width: 100% !important;
        width: 100% !important;
    }
    .hero-left-col h2 {
        font-size: clamp(1.6rem, 5vw, 2.2rem) !important;
        margin-bottom: 0.5rem !important;
    }
    .hero-left-col p {
        font-size: 0.95rem !important;
    }
    .hero-right-col p {
        font-size: 0.95rem !important;
        opacity: 0.8;
        margin-bottom: 1rem !important;
    }
    .hero-right-col a.btn-aside {
        margin: 0 !important;
    }
    .hero-visual {
        display: block !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        max-width: 200px !important;
        margin: 10px auto 0 !important;
        transform: scale(0.75) !important;
        transform-origin: center center !important;
        pointer-events: none; /* Prevent scroll blocking on mobile */
    }

    /* Gap Section */
    .gap-title {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        flex-direction: column !important;
        gap: 0 !important;
        font-size: clamp(3rem, 15vw, 6rem) !important;
        line-height: 0.9 !important;
        white-space: normal !important;
        word-break: break-word !important;
        z-index: 5 !important;
        mix-blend-mode: normal !important;
        color: var(--text-main) !important;
    }
    .gap-left {
        text-align: center !important;
        padding-right: 5vw !important;
    }
    .gap-right {
        text-align: center !important;
        padding-left: 5vw !important;
    }
    .gap-image-container {
        width: 45vw !important;
        height: 55vw !important;
        max-width: 240px !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1 !important;
    }

    /* 4. Foundation / About */
    .clients-section.stacking-panel { padding-top: 10vh; }
    .mission-title { font-size: 1.5rem; }
    .mission-statement { font-size: clamp(1.75rem, 8vw, 2.5rem); }
    .clients-container { gap: 40px; }

    /* 5. Gap Section — mobile: keep scroll animation working */
    .gap-quote { 
        font-size: 1rem; 
    }

    /* 7. Services Section (Cards) */
    .services-carousel-inner {
        padding: 0 var(--container-padding);
        gap: 16px;
    }
    .service-card {
        min-width: 280px; /* Adjust from 340px */
        padding: 24px;
    }
    
    /* 8. Journey / Process */
    .journey-step {
        padding: 40px 0;
    }
    .journey-step-num { width: auto; margin-bottom: 16px; }
    .journey-step-num span { font-size: 1rem; }
    .journey-step-tags { flex-wrap: wrap; }
    
    /* 10. Photo Hero */
    .photo-hero-content {
        bottom: 40px;
    }
    .ph-bottom-panel {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }
    .ph-btn-wrapper { width: 100%; }
    .ph-btn-wrapper .btn { width: 100%; justify-content: center; }
    
    /* 11. Booking Calendar tweaks */
    .bk-day { width: clamp(36px, 10vw, 52px); height: clamp(36px, 10vw, 52px); }
    .bk-weekdays span { font-size: 0.6rem; }
    
    /* 12. Footer */
    .footer-huge-nav a { font-size: clamp(2rem, 8vw, 3.5rem); }
    .footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        text-align: left;
    }
    
    /* 13. Wave Banner */
    .footer-wave { height: clamp(200px, 50vw, 400px); }
    
    /* 14. Preloader */
    .preloader-bar-container { width: clamp(200px, 70vw, 300px); }
}

/* ------------------------------------------------------------------
   15. LIGHT/DARK THEME TOGGLE BUTTON
   ------------------------------------------------------------------ */
.theme-toggle-btn {
    background: rgb(24, 23, 21);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    transform: scale(0.93);
}

.theme-toggle-btn svg {
    width: 16px;
    height: 16px;
}

/* Light Active Header support */
.main-header.light-section-active .theme-toggle-btn {
    background: rgba(0, 0, 0, 0.08);
    color: #111;
}
.main-header.light-section-active .theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.15);
    color: #111;
}

/* ------------------------------------------------------------------
   16. LIGHT THEME SYSTEM (data-theme="light")
   ------------------------------------------------------------------ */
html[data-theme="light"] {
    --bg-base: #fafaf9;           /* Pure light warm linen */
    --bg-raised: #f5f5f3;         /* Slightly darker linen */
    --bg-elevated: #ebebe9;       /* Card background */
    --bg-card: #fdfdfd;           /* Solid card surface */
    --bg-color: #fafaf9;          /* Explicit light background color */
    --text-primary: #121211;      /* Deep dark grey/black */
    --text-secondary: #575752;    /* Medium neutral dark grey */
    --text-muted: #888882;        /* Lighter neutral grey */
    --border-color: rgba(0, 0, 0, 0.08);
    --dotted-border-color: rgba(0, 0, 0, 0.15); /* High contrast dotted border for light theme */

    /* Accent - Mavorek Black in light mode */
    --accent: #000000;
    --accent-dim: rgba(0, 0, 0, 0.06);
    --accent-border: rgba(0, 0, 0, 0.15);

    /* Legacy */
    --accent-beige-hover: #121211;
    --accent-warm: #444440;
    
    /* Extended palette */
    --beige-200: #e5e5e2;
    --beige-300: #d1d1c7;
    --beige-400: #bfbfb1;
    --black-50:  #575752;
    --black-100: #888882;
    --black-200: #a8a8a2;
    --black-300: #c8c8c2;
    --card-bg-dark: #fafaf9;
}

/* Global modifications in light theme */
html[data-theme="light"] body {
    background-color: var(--bg-base);
    color: var(--text-primary);
}

html[data-theme="light"] ::selection {
    background-color: rgba(0, 0, 0, 0.15);
    color: var(--text-primary);
}

html[data-theme="light"] ::-moz-selection {
    background-color: rgba(0, 0, 0, 0.15);
    color: var(--text-primary);
}

/* Preloader */
html[data-theme="light"] .preloader {
    background-color: var(--bg-base);
}
html[data-theme="light"] .preloader-bar-container {
    background: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .preloader-bar {
    background: var(--text-primary);
}
html[data-theme="light"] .preloader-logo img {
    filter: invert(1);
}

/* Header UI in Light mode */
html[data-theme="light"] .main-header .logo-light {
    display: none !important;
}
html[data-theme="light"] .main-header .logo-dark {
    display: block !important;
}
html[data-theme="light"] .main-header .nav-link {
    color: var(--text-primary) !important;
}
html[data-theme="light"] .main-header .nav-link:hover {
    color: var(--text-primary) !important;
}
html[data-theme="light"] .main-header .nav-link::before {
    background-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .main-header .sound-toggle-btn {
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
}
html[data-theme="light"] .main-header .sound-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.15);
    color: var(--text-primary);
}
html[data-theme="light"] .main-header .lang-switcher-btn {
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
}
html[data-theme="light"] .main-header .lang-switcher-btn:hover {
    background: rgba(0, 0, 0, 0.15);
    color: var(--text-primary);
}
html[data-theme="light"] .main-header .theme-toggle-btn {
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
}
html[data-theme="light"] .main-header .theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.15);
    color: var(--text-primary);
}
html[data-theme="light"] .main-header .btn-primary {
    background-color: #111;
    color: #fff;
}
html[data-theme="light"] .main-header .btn-primary .btn-aside-icon {
    background-color: #fff;
    color: #111;
}
html[data-theme="light"] .main-header .btn-primary:hover {
    background-color: #000;
    color: #fff;
}
html[data-theme="light"] .main-header .btn-primary:hover .btn-aside-icon {
    background-color: #fff;
    color: #000;
}
html[data-theme="light"] .main-header .menu-toggle .bar {
    background-color: var(--text-primary);
}

/* Nav News Card in Menu */
html[data-theme="light"] .nav-news-card {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
}
html[data-theme="light"] .nav-news-card h4 {
    color: var(--text-primary);
}
html[data-theme="light"] .nav-news-date {
    color: var(--text-secondary);
}
html[data-theme="light"] .nav-news-icon {
    background: transparent;
}
html[data-theme="light"] .nav-news-icon img.news-icon-dark {
    display: none !important;
}
html[data-theme="light"] .nav-news-icon img.news-icon-light {
    display: block !important;
}
html[data-theme="light"] .nav-news-date {
    color: var(--text-muted);
}
html[data-theme="light"] .nav-news-arrow {
    color: var(--text-secondary);
}

/* Buttons */
html[data-theme="light"] .btn-primary.btn-aside:hover .btn-aside-icon {
    background: #eaeaea;
}
html[data-theme="light"] .btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.12);
}
html[data-theme="light"] .btn-secondary:hover {
    background: var(--text-primary);
    color: var(--bg-base);
    border-color: var(--text-primary);
}
html[data-theme="light"] .btn-secondary.btn-aside .btn-aside-icon {
    background: rgba(0, 0, 0, 0.05);
}
html[data-theme="light"] .btn-secondary.btn-aside:hover .btn-aside-icon {
    background: var(--bg-base);
    color: var(--text-primary);
}

/* Radar Graphic */
html[data-theme="light"] .radar {
    border-color: rgba(0, 0, 0, 0.12);
    background: radial-gradient(circle, rgba(0, 0, 0, 0.04) 0%, transparent 70%);
}
html[data-theme="light"] .radar::before,
html[data-theme="light"] .radar::after {
    border-color: rgba(0, 0, 0, 0.06);
}
html[data-theme="light"] .radar-line {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3), transparent);
}

/* Clients section avatars border override */
html[data-theme="light"] .clients-right div div,
html[data-theme="light"] .gap-author-avatar {
    border-color: var(--bg-base) !important;
}
html[data-theme="light"] .clients-right strong {
    color: var(--text-primary) !important;
}
html[data-theme="light"] .clients-right p {
    color: var(--text-secondary) !important;
}

/* Photo Hero */
html[data-theme="light"] .photo-hero-img {
    filter: grayscale(100%) brightness(1.4) contrast(0.8) opacity(0.2) !important;
}
html[data-theme="light"] .photo-hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(250, 250, 249, 0.1) 0%,
        rgba(250, 250, 249, 0.5) 40%,
        rgba(250, 250, 249, 1) 100%
    ) !important;
}
html[data-theme="light"] .photo-hero-title {
    color: var(--text-primary) !important;
}
html[data-theme="light"] .award-item {
    color: var(--text-secondary) !important;
}
html[data-theme="light"] .photo-hero-quote {
    color: var(--text-primary) !important;
}
html[data-theme="light"] .photo-hero-quote cite {
    color: var(--text-secondary) !important;
}

/* Services */
html[data-theme="light"] .desc-text {
    color: var(--text-primary) !important;
}
html[data-theme="light"] .desc-link {
    border-bottom-color: rgba(0, 0, 0, 0.15) !important;
}
html[data-theme="light"] .service-item {
    color: rgba(0, 0, 0, 0.15);
}
html[data-theme="light"] .service-item:hover:not(.active) {
    color: rgba(0, 0, 0, 0.40);
}
html[data-theme="light"] .service-item.active {
    color: #000000;
    mix-blend-mode: normal;
}

/* Booking Widget */
html[data-theme="light"] .bk-interactive-area {
    background: var(--bg-card) !important;
}
html[data-theme="light"] .timezone-dropdown {
    background: var(--bg-card) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}
html[data-theme="light"] .tz-option {
    color: var(--text-primary) !important;
}
html[data-theme="light"] .tz-option.active {
    color: #fff !important;
}
html[data-theme="light"] .bk-arrow {
    border-color: rgba(0, 0, 0, 0.1) !important;
}
html[data-theme="light"] .bk-arrow:hover {
    background: rgba(0, 0, 0, 0.05) !important;
}
html[data-theme="light"] .bk-day {
    color: var(--text-primary);
    font-weight: 500;
}
html[data-theme="light"] .bk-day.empty {
    color: var(--beige-300);
}
html[data-theme="light"] .bk-day.disabled {
    color: var(--text-muted);
}
html[data-theme="light"] .bk-weekdays {
    color: var(--text-secondary);
    font-weight: 500;
}
html[data-theme="light"] .bk-day:not(.empty):not(.disabled):hover {
    background: rgba(0, 0, 0, 0.05);
}
html[data-theme="light"] .bk-day.active {
    color: #fff !important;
}
html[data-theme="light"] .bk-slot.selected {
    color: #fff !important;
}
html[data-theme="light"] .bk-field input {
    background: rgba(0, 0, 0, 0.02);
}
html[data-theme="light"] .bk-field input:focus {
    background: rgba(0, 0, 0, 0.04);
}

/* Quiz option highlights */
html[data-theme="light"] .quiz-option-card:hover,
html[data-theme="light"] .quiz-checkbox-card:hover {
    background: rgba(0, 0, 0, 0.02) !important;
}
html[data-theme="light"] .quiz-option-card:has(input[type="radio"]:checked),
html[data-theme="light"] .quiz-checkbox-card:has(input[type="checkbox"]:checked) {
    background: rgba(0, 0, 0, 0.04) !important;
}

/* FAQ */
html[data-theme="light"] .faq-section {
    background-color: var(--bg-base) !important;
}
html[data-theme="light"] .monolog-faq-accordion {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
html[data-theme="light"] .monolog-faq-item {
    border-bottom: 1px dotted rgba(0, 0, 0, 0.15);
}
html[data-theme="light"] .monolog-faq-item.active .faq-answer p {
    color: #333330 !important;
}

/* Logo inversion for light theme */
html[data-theme="light"] .logo-container img,
html[data-theme="light"] .hero-section img[src*="Logo3"],
html[data-theme="light"] .nav-news-icon img[src*="Logo3"] {
    filter: brightness(0) !important;
}

/* FAQ Author Text in Light Theme */
html[data-theme="light"] .faq-author-text {
    color: var(--text-primary) !important;
}

/* Journey Step Tags and Connector */
html[data-theme="light"] .step-tag {
    color: rgba(0, 0, 0, 0.8) !important;
}
html[data-theme="light"] .step-connector,
html[data-theme="light"] .step-connector::before {
    background-color: rgba(0, 0, 0, 0.8) !important;
}
html[data-theme="light"] .step-box {
    border-color: rgba(0, 0, 0, 0.8) !important;
}

/* Footer huge nav borders and badges */
html[data-theme="light"] .footer-huge-nav a {
    border-bottom-color: rgba(0, 0, 0, 0.15) !important;
}
html[data-theme="light"] .footer-huge-nav a:first-child {
    border-top-color: rgba(0, 0, 0, 0.15) !important;
}
html[data-theme="light"] .footer-partner-badge {
    border-color: rgba(0, 0, 0, 0.15) !important;
}

/* Footer email links in light mode */
html[data-theme="light"] .footer-email {
    color: var(--text-primary) !important;
}
html[data-theme="light"] .footer-email:hover {
    color: var(--text-secondary) !important;
}


/* Color overrides for side text columns in light theme */
html[data-theme="light"] .hero-left-col h2 span[data-i18n="hero_title_2"],
html[data-theme="light"] .hero-left-col p[data-i18n="hero_desc"],
html[data-theme="light"] .hero-right-col p[data-i18n="hero_about"] {
    color: var(--text-primary) !important;
    font-weight: 500 !important;
}

/* Desktop header link colors in light mode */
@media screen and (min-width: 769px) {
    html[data-theme="light"] .main-header .nav-link {
        color: var(--text-primary) !important;
    }
    html[data-theme="light"] .main-header .nav-link:hover {
        color: #000 !important;
    }
    html[data-theme="light"] .main-header .nav-link::before {
        background-color: rgba(0, 0, 0, 0.06) !important;
    }
}

/* Color shifting gradient for rotating text */
.rotating-text {
    font-family: var(--font-title) !important;
    font-weight: 500 !important;
    letter-spacing: -0.03em !important;
    background: linear-gradient(135deg, #ffffff 0%, #a8a8a8 50%, #ececec 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s linear infinite;
    display: inline-block;
    min-height: 2.75em; /* Reserves space for up to 2 lines of text to prevent layout jumps */
    vertical-align: top;
    white-space: pre-line; /* Respects newline characters in Javascript strings */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Slightly deeper contrast gradient for Light Theme */
html[data-theme="light"] .rotating-text {
    font-family: var(--font-title) !important;
    font-weight: 500 !important;
    letter-spacing: -0.03em !important;
    background: linear-gradient(135deg, #000000 0%, #555555 50%, #1c1c1c 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
