/* ============================================
   TechService Public Theme - Main Stylesheet
   Enhanced cyan color scheme
   ============================================ */

/* --- Email @ sign rendered as image (anti-spam) --- */
.at-img {
    display: inline-block;
    height: 0.85em;
    width: auto;
    vertical-align: -0.08em;
    margin: 0 1px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
a:hover .at-img { opacity: 1; }

/* --- CSS Variables --- */
:root {
    --primary: #00D4FF;
    --primary-rgb: 0, 212, 255;
    --primary-dark: #00AEEF;
    --primary-darker: #0090cc;
    --secondary: #003459;
    --dark: #00102E;
    --darker: #000a1a;
    --accent-cyan: #00E5FF;
    --accent-cyan-light: #67FFFF;
    --accent-pink: #E8556D;
    --accent-green: #34D399;
    --text: #e0e7ef;
    --text-muted: #8899aa;
    --surface: #0a1628;
    --surface-light: #111d33;
    --surface-lighter: #162340;
    --border: rgba(0, 212, 255, 0.15);
    --border-bright: rgba(0, 212, 255, 0.3);
    --glow: rgba(0, 212, 255, 0.3);
    --glow-strong: rgba(0, 212, 255, 0.5);
    --radius: 16px;
    --radius-sm: 8px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--darker);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    /* Firefox scrollbar */
    scrollbar-color: #199dc2 #002244;
    scrollbar-width: thin;
}

/* Chrome / Edge / Safari scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #002244; }
::-webkit-scrollbar-thumb {
    background: #199dc2;
    border-radius: 6px;
    border: 2px solid #002244;
}
::-webkit-scrollbar-thumb:hover { background: #00D4FF; }

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

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

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition);
    background: #001e3c;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.site-header.scrolled {
    background: #001e3c;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding a { display: flex; align-items: center; }

.site-logo-img { display: flex; align-items: center; }

/* Both custom logo (WordPress Customizer) and fallback logo */
.logo-image,
.custom-logo {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.8)) drop-shadow(0 0 20px rgba(0, 212, 255, 0.5)) drop-shadow(0 0 35px rgba(0, 212, 255, 0.25));
    transition: filter 0.3s ease;
}

.logo-image:hover,
.custom-logo:hover {
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 1)) drop-shadow(0 0 30px rgba(0, 212, 255, 0.7)) drop-shadow(0 0 50px rgba(0, 212, 255, 0.4));
}

/* Navigation */
.main-navigation .nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.main-navigation .nav-menu li a {
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all var(--transition);
}

.main-navigation .nav-menu li a:hover,
.main-navigation .nav-menu li.current-menu-item a {
    color: #fff;
    background: rgba(0, 212, 255, 0.08);
}

/* Hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active .hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active .hamburger span:nth-child(2) { opacity: 0; }
.menu-toggle.active .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
    filter: saturate(0.6);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--darker) 0%, rgba(0,10,26,0.6) 50%, var(--darker) 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 255, 0.18), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 229, 255, 0.1), transparent),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(0, 52, 89, 0.2), transparent);
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 2rem;
    max-width: 800px;
}

.hero-logo-wrap {
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero-logo {
    max-width: 320px;
    height: auto;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
}

.hero-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    color: var(--text-muted);
    letter-spacing: 6px;
    text-transform: uppercase;
}

.title-line { display: block; }
.title-sub { font-weight: 300; color: var(--text-muted); letter-spacing: 6px; text-transform: uppercase; }

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff !important;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-darker));
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.35);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.5);
}

.hero-btn-secondary {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-bright);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary);
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat { text-align: center; }

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-mono);
}

.stat-suffix {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 1s both;
}

.scroll-arrow { animation: bounce 2s infinite; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}

/* --- SECTION SHARED STYLES --- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 6rem 0;
    position: relative;
}

.about-section-first {
    padding-top: 8rem;
}

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

.about-image-stack { position: relative; }

.about-img-main {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
}

.about-img-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 45%;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--border-bright);
}

.about-text-col .section-title { text-align: left; margin-bottom: 1.25rem; }
.about-text-col .section-tag { margin-bottom: 1rem; }

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

.about-features {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
}

.about-feature svg { color: var(--accent-cyan); flex-shrink: 0; }

.about-grid-reverse {
    direction: rtl;
}

.about-grid-reverse > * {
    direction: ltr;
}

.about-section-dark {
    background: var(--surface);
}

/* --- BACKGROUND IMAGE SECTIONS (reusable) --- */
.bg-image-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-image-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.82);
    z-index: 0;
}

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

/* --- WHO WE HELP SECTION --- */
.whowehelp-section {
    padding: 4rem 0 6rem;
    position: relative;
    background:
        radial-gradient(ellipse 70% 60% at 85% 40%, rgba(0, 52, 89, 0.35) 0%, transparent 65%),
        radial-gradient(ellipse 50% 60% at 8% 65%, rgba(0, 212, 255, 0.06) 0%, transparent 60%),
        linear-gradient(155deg, #000a1a 0%, #00102e 55%, #000d20 100%);
}

.whowehelp-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
    z-index: 1;
}

/* --- HOW WE WORK SECTION --- */
.howwework-section {
    padding: 5rem 0 6rem;
    position: relative;
    background:
        radial-gradient(ellipse 65% 70% at 92% 55%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 55% 55% at 5% 45%, rgba(0, 52, 89, 0.25) 0%, transparent 65%),
        linear-gradient(160deg, #00102e 0%, #0a1628 45%, #001830 100%);
}

.howwework-content {
    max-width: 900px;
    margin: 0 auto;
}

.howwework-lead {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.8;
    text-align: center;
    margin-bottom: 3rem;
}

.howwework-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.howwework-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(var(--primary-rgb), 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.howwework-step:hover {
    border-color: var(--border-bright);
    background: rgba(var(--primary-rgb), 0.1);
    transform: translateY(-2px);
}

.howwework-step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

.howwework-step h3 {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.howwework-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* --- EXPERTISE SECTION --- */
.expertise-section {
    padding: 5rem 0 6rem;
    position: relative;
}

.expertise-content {
    max-width: 900px;
    margin: 0 auto;
}

.expertise-lead {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.8;
    text-align: center;
    margin-bottom: 2.5rem;
}

.expertise-brands {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.expertise-brand {
    padding: 0.6rem 1.5rem;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid var(--border-bright);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.expertise-brand:hover {
    background: rgba(var(--primary-rgb), 0.18);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.2);
}

.expertise-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
}

/* --- CTA SOLID SECTION --- */
.cta-solid-section {
    padding: 5rem 0;
    position: relative;
    background:
        radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0, 212, 255, 0.07) 0%, transparent 65%),
        radial-gradient(ellipse 50% 50% at 10% 50%, rgba(0, 52, 89, 0.2) 0%, transparent 60%),
        linear-gradient(160deg, #000a1a 0%, #001428 50%, #00102e 100%);
}

.whowehelp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.whowehelp-card {
    padding: 2.5rem;
    border-radius: var(--radius);
    background: var(--surface-light);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.whowehelp-card:hover {
    border-color: var(--border-bright);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 212, 255, 0.05);
}

.whowehelp-icon {
    width: 56px;
    height: 56px;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.whowehelp-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.whowehelp-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

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

/* --- SERVICES SECTION --- */
.services-section {
    padding: 6rem 0;
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    background: var(--surface-light);
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    border-color: var(--border-bright);
    background: var(--surface-lighter);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 212, 255, 0.05);
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

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

/* AI card accent */
.service-card-ai {
    border-color: rgba(0, 212, 255, 0.2) !important;
    background: linear-gradient(145deg, #0d2038, var(--surface-light)) !important;
    position: relative;
    overflow: hidden;
}

.service-card-ai::before {
    content: 'AI';
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 100px;
    padding: 2px 8px;
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary) !important;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--border-bright);
    transition: all var(--transition);
}

.btn-more:hover {
    background: rgba(0, 212, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.15);
}

.btn-more svg { transition: transform var(--transition); }
.btn-more:hover svg { transform: translateX(4px); }

/* --- IMAGE SHOWCASE SECTION --- */
.showcase-section {
    padding: 6rem 0;
    position: relative;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 1rem;
}

.showcase-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

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

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

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 10, 26, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity var(--transition);
}

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

.showcase-overlay span {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.showcase-large {
    grid-column: span 2;
    grid-row: span 2;
}

.showcase-wide {
    grid-column: span 2;
}

/* --- CTA SECTION --- */
.cta-section {
    padding: 4rem 0 6rem;
}

.cta-card {
    position: relative;
    padding: 4rem;
    border-radius: var(--radius);
    background: linear-gradient(145deg, #0d1f3c, #142847);
    border: 1px solid var(--border-bright);
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: 25%;
    width: 50%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.08), transparent 70%);
    pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }

.cta-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- PAGE HERO (Sub-pages) --- */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-hero-short { min-height: 40vh; }

/* Split hero: background image + about-grid side by side */
.page-hero-split {
    min-height: auto;
    display: block;
    overflow: visible; /* allow images to breathe — bg clips itself via inset:0 */
}
.page-hero-split .section-container {
    position: relative;
    z-index: 1;
    padding-top: 8rem;
    padding-bottom: 4rem;
}
.page-hero-split .page-hero-title {
    text-align: left;
    letter-spacing: 2px;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}
.page-hero-split .about-text-col p { color: var(--text-muted); }
.page-hero-split .about-img-main { border-color: rgba(0,212,255,0.25); }
@media (max-width: 768px) {
    .page-hero-split { min-height: auto; overflow: visible; }
    .page-hero-split .section-container { padding-top: 6rem; padding-bottom: 2.5rem; }
    /* Text first, image below */
    .page-hero-split .about-text-col { order: -1; }
    .page-hero-split .about-image-col { order: 0; margin-top: 1.5rem; }
    .page-hero-split .about-image-stack { overflow: visible; }
    .page-hero-split .about-img-main { max-height: 260px; object-fit: cover; object-position: center; width: 100%; }
    /* Hide accent image on mobile — keeps it clean */
    .page-hero-split .about-img-accent { display: none; }
}

.page-hero-bg {
    position: absolute;
    inset: 0;
}

.page-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12;
    filter: saturate(0.5);
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--darker) 0%, rgba(0,10,26,0.8) 50%, var(--darker) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    padding: 8rem 2rem 4rem;
}

.page-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: 4px;
    margin-bottom: 0.75rem;
    animation: fadeInUp 0.6s ease-out;
}

.page-hero-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

/* --- SERVICES DETAIL (Palvelut page) --- */
.services-detail-section {
    padding: 4rem 0 6rem;
}

.services-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-detail-card {
    display: flex;
    gap: 2rem;
    padding: 2.5rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.service-detail-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-detail-card:hover {
    border-color: var(--border-bright);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.service-detail-card.card-highlight {
    border-color: rgba(0, 212, 255, 0.3);
    background: linear-gradient(145deg, #0d2038, var(--surface));
}

.service-detail-icon {
    width: 56px;
    height: 56px;
    color: var(--primary);
    flex-shrink: 0;
    padding-top: 0.25rem;
}

.service-detail-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.service-detail-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-detail-image {
    margin-top: 1.25rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    max-width: 400px;
}

.service-detail-image img {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

/* --- CONTACT SECTION --- */
.contact-section {
    padding: 5rem 0 6rem;
}

.contact-company-card {
    display: flex;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border-bright);
    margin-bottom: 2rem;
}

.contact-company-logo {
    flex-shrink: 0;
}

.contact-logo {
    width: 350px;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.8)) drop-shadow(0 0 20px rgba(0, 212, 255, 0.5)) drop-shadow(0 0 35px rgba(0, 212, 255, 0.25));
}

.contact-company-info h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.25rem;
}

.contact-details-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.contact-detail {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.contact-detail svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail strong {
    display: block;
    color: #fff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-detail p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Staff Cards */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.staff-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.staff-card:hover {
    border-color: var(--border-bright);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.staff-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-bright);
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.staff-role {
    display: block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.staff-company {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-pink);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.staff-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.staff-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted) !important;
    transition: color var(--transition) !important;
}

.staff-contact-item:hover { color: var(--primary) !important; }
.staff-contact-item svg { color: var(--primary); flex-shrink: 0; }

/* GDPR Section */
.gdpr-section { margin-top: 3rem; }

.gdpr-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border-bright);
}

.gdpr-card svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }

.gdpr-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.gdpr-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* --- Contact Intro --- */
.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.contact-intro p {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.contact-response-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 500;
}

.contact-service-area {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-service-area svg {
    color: var(--primary);
    flex-shrink: 0;
}

.staff-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0.5rem 0 0.8rem;
}

/* --- Gallery Intro --- */
.gallery-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.gallery-intro p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- GALLERY SECTION --- */
.gallery-section {
    padding: 0 0 6rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 10, 26, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity var(--transition);
}

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

.gallery-overlay span {
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
}

/* --- FOOTER --- */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, #001e3c 0%, #002a50 40%, #003060 100%);
    color: var(--text-muted);
    overflow: hidden;
}

.site-footer::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

.footer-content {
    padding: 4rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-col h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 0.88rem;
    line-height: 1.7;
}

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

.footer-col ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.6rem;
    font-size: 0.88rem;
}

.footer-col ul li a { color: var(--text-muted); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--primary); }
.footer-col ul li svg { color: var(--primary); flex-shrink: 0; }

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    color: var(--text-muted);
    transition: all var(--transition);
    padding: 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.footer-social a:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.06);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
}

/* --- WORDPRESS CONTENT PAGES --- */
.content-area {
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.entry-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
}

.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

.entry-content h2, .entry-content h3, .entry-content h4 { color: #fff; margin-top: 2rem; margin-bottom: 0.75rem; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--radius-sm); }

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

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

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .showcase-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
    .showcase-large { grid-column: span 2; grid-row: span 2; }
    .showcase-wide { grid-column: span 2; }
}

@media (max-width: 991px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .staff-grid { grid-template-columns: 1fr; }
    .contact-company-card { flex-direction: column; text-align: center; }
    .contact-details-grid { justify-content: center; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--surface);
        border-left: 1px solid var(--border);
        padding: 5rem 2rem 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .main-navigation.active { right: 0; }

    .main-navigation .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

    .main-navigation .nav-menu li a {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .hero-cta { flex-direction: column; align-items: center; }
    .hero-btn { width: 100%; max-width: 280px; justify-content: center; }
    .hero-stats { flex-direction: column; gap: 1rem; padding: 1.5rem; }
    .stat-divider { width: 40px; height: 1px; }

    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-img-accent { position: static; width: 60%; margin-top: 1rem; }

    .services-grid { grid-template-columns: 1fr; }
    .howwework-steps { grid-template-columns: 1fr; }
    .expertise-brands { gap: 0.7rem; }
    .expertise-brand { padding: 0.5rem 1rem; font-size: 0.85rem; }
    .expertise-features { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
    .whowehelp-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .showcase-grid { grid-template-columns: 1fr; grid-auto-rows: 180px; }
    .showcase-large { grid-column: span 1; grid-row: span 1; }
    .showcase-wide { grid-column: span 1; }

    .service-detail-card { flex-direction: column; gap: 1rem; }

    .status-info { flex-direction: column; align-items: flex-start; gap: 2px; }
    .cta-card { padding: 2.5rem 1.5rem; }
}

/* --- PRIVACY POLICY PAGE --- */
.privacy-section {
    padding: 4rem 0 6rem;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.privacy-card {
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.privacy-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.privacy-card:hover {
    border-color: var(--border-bright);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 0 20px rgba(0,212,255,0.05);
}

.privacy-card-icon {
    color: var(--primary);
    margin-bottom: 1rem;
}

.privacy-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.privacy-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.privacy-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.privacy-card ul li {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    padding-left: 1rem;
    position: relative;
}

.privacy-card ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.privacy-card a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-footer-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(0,212,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition);
}

.privacy-footer-note.visible {
    opacity: 1;
    transform: translateY(0);
}

.privacy-footer-note svg { color: var(--primary); flex-shrink: 0; }

.privacy-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

.privacy-print-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border-bright);
    background: rgba(0, 212, 255, 0.08);
    color: var(--primary);
    transition: all var(--transition);
}

.privacy-print-btn:hover {
    background: rgba(0, 212, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.15);
}

@media (max-width: 768px) {
    .privacy-grid { grid-template-columns: 1fr; }
    .privacy-actions { justify-content: center; }
}

/* --- PRINT STYLES (A4) --- */
@media print {
    /* Hide everything except content */
    .site-header,
    .site-footer,
    .cookie-banner,
    .page-hero,
    .privacy-actions,
    .no-print {
        display: none !important;
    }

    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    body {
        background: #fff !important;
        color: #111 !important;
        font-family: Georgia, serif;
        font-size: 11pt;
        line-height: 1.6;
        margin: 0;
        padding: 0;
    }

    .privacy-section {
        padding: 0 !important;
        background: none !important;
        background-image: none !important;
    }

    .privacy-section::after {
        display: none !important;
    }

    .section-container {
        max-width: 100% !important;
        padding: 0 !important;
    }

    /* Print header */
    .privacy-section::before {
        content: '';
        display: block;
        text-align: center;
        margin-bottom: 1.5cm;
    }

    .print-header {
        display: block !important;
        text-align: center;
        border-bottom: 2px solid #0090cc;
        padding-bottom: 1cm;
        margin-bottom: 1cm;
    }

    .print-header h1 {
        font-size: 20pt;
        color: #00102E;
        margin-bottom: 0.3cm;
    }

    .print-header p {
        font-size: 10pt;
        color: #555;
    }

    /* Grid → single column for print */
    .privacy-grid {
        display: block !important;
        gap: 0 !important;
    }

    .privacy-card {
        background: #fff !important;
        border: 1px solid #ddd !important;
        border-radius: 4px !important;
        padding: 0.7cm 0.8cm !important;
        margin-bottom: 0.4cm !important;
        opacity: 1 !important;
        transform: none !important;
        page-break-inside: avoid;
        box-shadow: none !important;
    }

    .privacy-card-icon {
        display: none;
    }

    .privacy-card h2 {
        font-size: 12pt !important;
        font-weight: bold !important;
        color: #00102E !important;
        margin-bottom: 0.3cm !important;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 0.2cm;
    }

    .privacy-card p,
    .privacy-card ul li {
        font-size: 10pt !important;
        color: #333 !important;
        line-height: 1.6 !important;
    }

    .privacy-card a {
        color: #0090cc !important;
        text-decoration: none !important;
    }

    .privacy-card ul li::before {
        color: #0090cc !important;
    }

    .privacy-footer-note {
        border: 1px solid #ddd !important;
        background: #f9f9f9 !important;
        color: #555 !important;
        opacity: 1 !important;
        transform: none !important;
        margin-top: 0.5cm;
        font-size: 9pt !important;
    }

    .privacy-footer-note svg {
        display: none;
    }

    @page {
        size: A4 portrait;
        margin: 2cm 2cm 2cm 2cm;
    }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-bright);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.4);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-text {
    flex: 1;
    min-width: 280px;
}

.cookie-banner-text h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
}

.cookie-banner-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.cookie-banner-text a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--primary), var(--primary-darker));
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(0,212,255,0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,212,255,0.5);
}

.cookie-btn-reject {
    background: rgba(255,255,255,0.06);
    color: var(--text);
    border: 1px solid var(--border-bright);
}

.cookie-btn-reject:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

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

.cookie-btn-details:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Cookie details panel */
.cookie-details {
    display: none;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.cookie-details.open { display: block; }

.cookie-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.cookie-details ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.cookie-details ul li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 1rem;
    position: relative;
}

.cookie-details ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--primary);
}

@media (max-width: 768px) {
    .cookie-banner { padding: 1.25rem; gap: 1rem; }
    .cookie-banner-buttons { width: 100%; justify-content: stretch; }
    .cookie-btn { flex: 1; text-align: center; }
}

/* --- Language Switcher --- */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 1.5rem;
    flex-shrink: 0;
}

.lang-btn {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    text-decoration: none;
    padding: 3px 6px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

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

.lang-btn.lang-active {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
}

.lang-sep {
    color: var(--border-bright);
    font-size: 0.72rem;
    user-select: none;
}

@media (max-width: 768px) {
    .lang-switcher {
        margin-left: 0;
        order: 3;
    }
    .header-container {
        flex-wrap: wrap;
        row-gap: 0;
    }
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--darker); }
::-webkit-scrollbar-thumb { background: var(--surface-lighter); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* --- Selection --- */
::selection { background: rgba(0, 212, 255, 0.3); color: #fff; }
