/* ============================================
   PINTAIL — AI Automation Solutions Agency
   Θεσσαλονίκη, Ελλάδα
   ============================================ */

/* --- Custom Properties --- */
:root {
    --color-primary: #1a3c34;
    --color-primary-light: #2d5e4f;
    --color-primary-lighter: #3d7a66;
    --color-accent: #4a9e7e;
    --color-accent-light: #6ec4a0;
    --color-dark: #0f1f1b;
    --color-dark-soft: #1a2e28;
    --color-cream: #f8f6f1;
    --color-cream-dark: #ede9e0;
    --color-white: #ffffff;
    --color-text: #2a2a2a;
    --color-text-light: #5a5a5a;
    --color-text-muted: #8a8a8a;
    --color-border: #e0ddd5;
    --color-border-light: #eee;

    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 0.75rem;
    --space-lg: 1rem;
    --space-xl: 1.25rem;
    --space-2xl: 1.5rem;
    --space-3xl: 2rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Surface/background colors (used by various components) */
    --color-bg: #f8f6f1;
    --color-surface: #ffffff;
    --color-accent-hover: #3d8a6e;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Dark Theme --- */
[data-theme="dark"] {
    --color-primary: #6ec4a0;
    --color-primary-light: #8cd6b6;
    --color-primary-lighter: #a3e0c6;
    --color-accent: #4a9e7e;
    --color-accent-light: #6ec4a0;
    --color-dark: #101214;
    --color-dark-soft: #161a1c;
    --color-cream: #1c2022;
    --color-cream-dark: #212527;
    --color-white: #181c1e;
    --color-text: #e0e0e0;
    --color-text-light: #a0a0a0;
    --color-text-muted: #666;
    --color-border: #2e3436;
    --color-border-light: #262a2c;
    --color-bg: #1c2022;
    --color-surface: #212527;
    --color-accent-hover: #5bb892;
}

[data-theme="dark"] .nav.scrolled {
    background: rgba(28, 32, 34, 0.95);
}

[data-theme="dark"] .nav-links a {
    color: var(--color-text-light);
}

[data-theme="dark"] .hero-logo-block {
    background: var(--color-bg);
}

[data-theme="dark"] .hero-bg-lines {
    color: var(--color-accent);
}

/* Dark mode: adjust banner brightness */
[data-theme="dark"] .service-banner {
    opacity: 0.7;
    filter: brightness(0.78);
}
[data-theme="dark"] .service-card:hover .service-banner {
    opacity: 0.9;
    filter: brightness(0.88);
}
[data-theme="dark"] .case-banner {
    filter: brightness(0.93);
}
[data-theme="dark"] .case-card:hover .case-banner {
    filter: brightness(1);
}
[data-theme="dark"] .process-banner {
    filter: brightness(0.93);
}
[data-theme="dark"] .process-step:hover .process-banner {
    filter: brightness(1);
}

[data-theme="dark"] .footer-logo-img {
    filter: brightness(1.2);
}

[data-theme="dark"] .deco-hero-flock img {
    opacity: 0.90;
    filter: none;
}

[data-theme="dark"] .deco-problem-bird img,
[data-theme="dark"] .deco-roi-bird img,
[data-theme="dark"] .deco-services-bird img,
[data-theme="dark"] .deco-process-bird img,
[data-theme="dark"] .deco-cases-bird img,
[data-theme="dark"] .deco-about-bird img,
[data-theme="dark"] .deco-why-bird img,
[data-theme="dark"] .deco-contact-bird img,
[data-theme="dark"] .deco-trust-bird img {
    opacity: 0.90;
    filter: none;
}

[data-theme="dark"] .deco-numbers-bird img {
    opacity: 0.90;
}

[data-theme="dark"] .deco-gdpr-bird img {
    opacity: 0.90;
}

[data-theme="dark"] .roi-empty-state {
    background: linear-gradient(135deg, var(--color-dark-soft) 0%, var(--color-dark) 100%);
    border-color: var(--color-border);
}

[data-theme="dark"] .roi-result-highlight {
    background: linear-gradient(145deg, var(--color-accent) 0%, var(--color-primary-lighter) 100%);
    border-color: var(--color-accent);
}

[data-theme="dark"] .roi-result-highlight .roi-result-number {
    color: #fff;
}

[data-theme="dark"] .roi-result-highlight .roi-result-label {
    color: rgba(255,255,255,0.8);
}

[data-theme="dark"] .section-numbers {
    background: var(--color-dark);
}

[data-theme="dark"] .section-gdpr {
    background: #0d1612;
}
[data-theme="dark"] .section-gdpr .section-header h2 {
    color: #ffffff;
}
[data-theme="dark"] .section-gdpr .section-header p {
    color: rgba(255,255,255,0.7);
}
[data-theme="dark"] .section-gdpr .section-label {
    color: #6ec4a0;
}
[data-theme="dark"] .section-gdpr,
[data-theme="dark"] .section-gdpr .gdpr-card {
    color: #e0e0e0;
}

[data-theme="dark"] .section-gdpr .gdpr-card {
    border-color: rgba(110, 196, 160, 0.15);
    background: rgba(110, 196, 160, 0.03);
}
[data-theme="dark"] .gdpr-card h3 {
    color: #ffffff;
}

[data-theme="dark"] .chat-window {
    background: #1a2420;
}

[data-theme="dark"] .chat-message.bot {
    background: #222e28;
    color: var(--color-text);
}

[data-theme="dark"] .chat-input {
    background: #1a2420;
    color: var(--color-text);
    border-color: var(--color-border);
}

[data-theme="dark"] .chat-input-area {
    background: #1a2420;
}

[data-theme="dark"] .chat-auth-overlay {
    background: #1a2420;
}

[data-theme="dark"] .chat-guest-form input {
    background: #222e28;
    color: var(--color-text);
    border-color: var(--color-border);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: #1a2420;
    color: var(--color-text);
    border-color: var(--color-border);
}

[data-theme="dark"] .contact-form {
    background: var(--color-cream);
    border-color: var(--color-border);
}

[data-theme="dark"] .sticky-cta {
    background: #0d1612;
}

/* Dark mode: meeting type radio cards */
[data-theme="dark"] .meeting-type-label {
    background: #222e28;
    border-color: var(--color-border);
    color: var(--color-text);
}

[data-theme="dark"] .meeting-type-option input[type="radio"]:checked + .meeting-type-label {
    border-color: var(--color-accent);
    background: rgba(74, 158, 126, 0.12);
    color: var(--color-accent-light);
}

[data-theme="dark"] .meeting-type-option:hover .meeting-type-label {
    border-color: var(--color-accent);
}

[data-theme="dark"] .meeting-type-note {
    color: var(--color-text-muted);
}

/* Theme toggle button with 3D coin-flip rotation */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    perspective: 600px;
    position: relative;
}

.theme-toggle:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Inner container that rotates - creates the 3D coin effect */
.theme-toggle-inner {
    width: 24px;
    height: 24px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

/* Both icons positioned absolutely, back-to-back like a coin */
.theme-toggle svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.8;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Moon on front face (light theme - shows moon icon) */
.theme-toggle .icon-moon {
    transform: rotateY(0deg) translateZ(1px);
}

/* Sun on back face - flipped 180deg */
.theme-toggle .icon-sun {
    transform: rotateY(180deg) translateZ(1px);
}

/* 3D coin-flip animation with depth effect - scale up at edges for 3D feel */
@keyframes coinFlip3d {
    0% {
        transform: rotateY(0deg) scale(1);
    }
    25% {
        transform: rotateY(90deg) scale(1.15);
    }
    50% {
        transform: rotateY(180deg) scale(1);
    }
    75% {
        transform: rotateY(270deg) scale(1.15);
    }
    100% {
        transform: rotateY(360deg) scale(1);
    }
}

/* On hover, the inner container spins with 3D depth */
.theme-toggle:hover .theme-toggle-inner {
    animation: coinFlip3d 3s ease-in-out infinite;
}

/* Dark theme: swap front/back faces */
[data-theme="dark"] .theme-toggle .icon-moon {
    transform: rotateY(180deg) translateZ(1px);
}

[data-theme="dark"] .theme-toggle .icon-sun {
    transform: rotateY(0deg) translateZ(1px);
}

[data-theme="dark"] .theme-toggle {
    color: #e0e0e0;
    border-color: #4a4a4a;
}

[data-theme="dark"] .theme-toggle:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #2d8a6e;
}
[data-theme="dark"] h2 {
    color: var(--color-primary);
}

h2 em {
    font-style: italic;
    color: #1a3c34;
}

/* Light theme highlight - σκούρο πράσινο, ξεχωρίζει από ανοιχτά headings (#2d8a6e) */
em.highlight-glow-gold {
    color: #1a3c34;
    font-weight: 700;
    font-style: italic;
}

/* ============================================
   HIGHLIGHT DEMO: 5 Different Styles for Testing
   Remove after user picks favorite!
   ============================================ */

/* Style 1: GRADIENT (green-to-cyan) */
[data-theme="dark"] h2 em.highlight-gradient {
    background: linear-gradient(90deg, #4a9e7e, #5ecdc9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Style 2A: GLOW - Soft Mint (πιο απαλό) */
[data-theme="dark"] h2 em.highlight-glow-mint {
    color: #a8e6cf;
    text-shadow: 0 0 12px rgba(168, 230, 207, 0.5), 0 0 25px rgba(168, 230, 207, 0.25);
}

/* Style 2B: GLOW - Warm Gold */
[data-theme="dark"] em.highlight-glow-gold {
    color: #f0d9a0;
    text-shadow: 0 0 12px rgba(240, 217, 160, 0.5), 0 0 25px rgba(240, 217, 160, 0.25);
}

/* Style 2C: GLOW - Soft Cyan */
[data-theme="dark"] h2 em.highlight-glow-cyan {
    color: #8fd4d9;
    text-shadow: 0 0 12px rgba(143, 212, 217, 0.5), 0 0 25px rgba(143, 212, 217, 0.25);
}

/* Style 2D: GLOW - Soft Lavender */
[data-theme="dark"] h2 em.highlight-glow-lavender {
    color: #c4b7eb;
    text-shadow: 0 0 12px rgba(196, 183, 235, 0.5), 0 0 25px rgba(196, 183, 235, 0.25);
}

/* Style 3: UNDERLINE (white text + green underline) */
[data-theme="dark"] h2 em.highlight-underline {
    color: #ffffff;
    border-bottom: 3px solid #4a9e7e;
    padding-bottom: 2px;
}

/* Style 4: BACKGROUND (semi-transparent bg) */
[data-theme="dark"] h2 em.highlight-background {
    color: #ffffff;
    background: rgba(74, 158, 126, 0.3);
    padding: 0.1em 0.3em;
    border-radius: 4px;
}

/* Style 5: BRIGHT ACCENT (mint #6ec4a0) */
[data-theme="dark"] h2 em.highlight-mint {
    color: #6ec4a0;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section,
section {
    overflow-x: visible !important;
    overflow-y: visible !important;
    height: auto !important;
    max-height: none !important;
}

.section {
    padding: var(--space-lg) 0;
    position: relative;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
    position: relative;
    display: inline-block;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 1.5px;
    background: var(--color-accent);
}

.section-header {
    max-width: 700px;
    margin-bottom: var(--space-md);
}

/* Process section header needs more width for "Μία κουβέντα αρκεί" to fit 2 lines */
.section-process .section-header {
    max-width: 850px;
}

.section-header p {
    margin-top: var(--space-sm);
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--color-primary);
    color: #ffffff;
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 60, 52, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.6rem 0;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
    padding: 0.4rem 0;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero logo block - centered below nav */
.hero-logo-block {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem 0;
    margin-bottom: -3.5rem;
    background: var(--color-cream);
}

.hero-logo-block a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-img {
    display: block;
    width: 360px;
    max-width: 85%;
    height: auto;
    margin: 0 auto;
    aspect-ratio: 1200 / 896;
    object-fit: contain;
}

/* Logo theme/locale swap is now handled by JS (getHeaderLogoSrc) */

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    justify-content: center;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text-light);
    position: relative;
}

.nav-link-blog::after{content:'Ειδήσεις AI';position:absolute;top:calc(100% + 6px);left:50%;transform:translateX(-50%);padding:3px 10px;background:var(--color-primary);color:#fff;font-size:0.68rem;font-weight:500;border-radius:4px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity 0.2s}
.nav-link-blog:hover::after{opacity:1}

.nav-links a:not(.nav-cta):hover {
    color: var(--color-primary);
}

.nav-links a:not(.nav-cta):not(.nav-link-blog)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-accent);
    transition: var(--transition);
}

.nav-links a:not(.nav-cta):not(.nav-link-blog):hover::after {
    width: 100%;
}

.nav-cta {
    color: #ffffff !important;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem !important;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-cta-chat {
    background: var(--color-primary);
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem !important;
    margin-left: auto;
}

.nav-cta-booking {
    background: var(--color-primary);
}

.nav-cta:hover {
    background: var(--color-primary-light);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 80px;
    position: relative;
    background: var(--color-cream);
}

.hero-bg-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    color: var(--color-primary);
}

.hero-bg-lines svg {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md);
    width: 100%;
}

.hero-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.hero-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.hero-title-line {
    display: block;
}

.hero-title-line:first-child {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.hero-title-italic {
    font-style: italic;
    color: var(--color-primary-light);
    font-size: 0.85em;
    font-weight: 400;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--color-text-light);
    max-width: 720px;
    line-height: 1.7;
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.7s;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.9s;
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges {
    position: relative;
    background: var(--color-white);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-border-light);
}

.trust-badges-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: var(--transition);
}

.trust-badge:hover {
    color: var(--color-accent);
}

.trust-badge svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--color-accent);
    opacity: 0.7;
}

.trust-badge:hover svg {
    opacity: 1;
}

/* ============================================
   ROI CALCULATOR
   ============================================ */
.section-roi {
    background: var(--color-white);
    position: relative;
}

.roi-bg-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    color: var(--color-primary);
    z-index: 0;
}

.roi-bg-lines svg {
    width: 100%;
    height: 100%;
}

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

.roi-calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    align-items: start;
}


.roi-inputs {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.roi-input-group {
    padding: var(--space-md);
    background: linear-gradient(145deg, var(--color-white) 0%, var(--color-cream) 100%);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.roi-input-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.roi-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: var(--color-border);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(74, 158, 126, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.roi-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 14px rgba(74, 158, 126, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.roi-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 8px rgba(74, 158, 126, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.roi-slider-value {
    text-align: right;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-top: 0.4rem;
}

.roi-results {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    position: sticky;
    top: 100px;
}

/* Empty state */
.roi-empty-state {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
    border-radius: var(--radius-md);
    border: 2px dashed var(--color-border);
}

.roi-empty-state p {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

.roi-result-card {
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(145deg, var(--color-white) 0%, var(--color-cream) 100%);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.roi-result-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(74, 158, 126, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.roi-result-highlight {
    background: linear-gradient(145deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    border-color: var(--color-primary);
    box-shadow: 0 6px 20px rgba(26, 60, 52, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.roi-result-highlight .roi-result-number {
    color: var(--color-accent-light);
}

.roi-result-highlight .roi-result-label {
    color: rgba(255,255,255,0.7);
}

.roi-result-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.3rem;
    transition: var(--transition);
}

.roi-result-label {
    font-size: 0.88rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.roi-cta {
    margin-top: var(--space-sm);
}

/* ============================================
   ABOUT US SECTION
   ============================================ */
.section-about {
    background: var(--color-cream);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: var(--space-md);
}

.about-text p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about-value-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.about-value-item:hover {
    border-color: var(--color-accent);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.about-value-item svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: var(--color-accent);
    margin-top: 2px;
}

.about-value-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
}

.about-value-item span {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* ============================================
   STICKY CTA BAR
   ============================================ */
.sticky-cta {
    position: fixed;
    bottom: -80px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    background: var(--color-primary);
    padding: 0.8rem 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.sticky-cta.visible {
    bottom: 0;
}

.sticky-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.sticky-cta-text {
    color: rgba(255,255,255,0.85);
    font-size: 0.92rem;
    font-weight: 500;
}

.sticky-cta-btn {
    padding: 0.6rem 1.4rem !important;
    font-size: 0.84rem !important;
    font-weight: 500;
    white-space: nowrap;
    border-radius: var(--radius-sm) !important;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.sticky-cta-chat {
    background: var(--color-accent) !important;
    color: #fff !important;
}

.sticky-cta-chat:hover {
    background: var(--color-accent-light) !important;
}

.sticky-cta-form {
    background: transparent !important;
    color: rgba(255,255,255,0.8) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    font-size: 0.82rem !important;
}

.sticky-cta-form:hover {
    color: #fff !important;
    border-color: rgba(255,255,255,0.6) !important;
    background: rgba(255,255,255,0.08) !important;
}

/* Chat trigger push-up handled via JavaScript (CSS sibling selector can't work - chatWidget comes before stickyCta in DOM) */

/* ============================================
   PROBLEM SECTION
   ============================================ */
.section-problem {
    background: var(--color-white);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    align-items: start;
}

.problem-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.problem-text h2 em {
    font-style: italic;
    color: #1a3c34;
}

.problem-text p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
    line-height: 1.8;
}

/* --- Compact Stat Cards --- */
.problem-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.stat-card {
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    background: var(--color-white);
}

.stat-card-compact {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0 var(--space-md);
    align-items: center;
    padding: var(--space-md) var(--space-lg);
}

.stat-card-compact .stat-icon {
    grid-row: 1 / 3;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    border-radius: 12px;
    color: white;
    flex-shrink: 0;
}

.stat-card-compact .stat-icon svg {
    width: 24px;
    height: 24px;
}

/* Color-coded gauge (semicircle arc) */
.stat-gauge {
    grid-row: 1 / 3;
    position: relative;
    width: 140px;
    min-width: 140px;
    flex-shrink: 0;
}
.stat-gauge svg {
    width: 140px;
    height: 77px;
    display: block;
}
.gauge-value {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    margin-top: -14px;
}
.gauge-value.gauge-pop {
    animation: gaugePop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes gaugePop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.35); }
    100% { transform: scale(1); }
}
[data-theme="dark"] .stat-gauge path:first-of-type {
    stroke: rgba(255,255,255,0.1);
}
[data-theme="dark"] .gauge-value {
    color: var(--color-accent);
}

.stat-card-compact .stat-content {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.stat-card-compact .stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    margin: 0;
}

.stat-card-compact .stat-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.4;
    margin: 0;
}

.stat-card-compact .stat-source {
    grid-column: 2;
    font-size: 0.7rem;
    color: var(--color-accent);
    font-weight: 500;
    opacity: 0.75;
    margin-top: 0.25rem;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(74, 158, 126, 0.12);
    border-color: var(--color-accent);
}

.stat-card:hover .stat-number {
    color: var(--color-accent);
}

.stat-card:hover .stat-icon {
    transform: scale(1.05);
}

/* Legacy stat card styles (for other sections) */
.stat-number {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 0.3rem;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.stat-source {
    font-size: 0.72rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-top: 0.5rem;
    letter-spacing: 0.02em;
    opacity: 0.8;
}

/* --- Meet Card (Conversational CTA) --- */
.meet-card {
    margin-top: var(--space-2xl);
    margin-left: auto;
    margin-right: auto;
    max-width: 580px;
    position: relative;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-surface) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    text-align: center;
    overflow: hidden;
    transition: all 0.4s ease;
}

.meet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary), var(--color-accent));
    background-size: 200% 100%;
    animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.meet-card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 158, 126, 0.08) 0%, transparent 70%);
    pointer-events: none;
    transition: all 0.4s ease;
}

.meet-card:hover .meet-card-glow {
    width: 400px;
    height: 400px;
    opacity: 1;
}

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

.meet-card-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.meet-card-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.meet-card-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.meet-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.6rem;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.meet-card-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.meet-card-btn-chat {
    background: var(--color-primary);
    color: white;
}

.meet-card-btn-chat:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 158, 126, 0.3);
}

.meet-card-btn-booking {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.meet-card-btn-booking:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.meet-card-note {
    font-size: 0.8rem;
    color: var(--color-text-light);
    opacity: 0.7;
}

/* Handshake Image */
.meet-card-image {
    margin: var(--space-lg) auto;
    max-width: 280px;
    text-align: center;
}

.meet-card-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.meet-card:hover .meet-card-image img {
    transform: scale(1.02);
    opacity: 1;
}

/* Dark mode adjustments */
[data-theme="dark"] .meet-card {
    background: linear-gradient(135deg, var(--color-surface) 0%, rgba(26, 60, 52, 0.2) 100%);
}

[data-theme="dark"] .stat-card {
    background: var(--color-surface);
}

[data-theme="dark"] .stat-card-compact .stat-icon {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-light) 100%);
}

@media (max-width: 768px) {
    .stat-card-compact {
        padding: var(--space-sm) var(--space-md);
    }

    .stat-card-compact .stat-icon {
        width: 40px;
        height: 40px;
    }

    .stat-card-compact .stat-icon svg {
        width: 20px;
        height: 20px;
    }

    .stat-card-compact .stat-number {
        font-size: 1.6rem;
    }

    .stat-card-compact .stat-desc {
        font-size: 0.85rem;
    }

    .meet-card {
        padding: var(--space-lg);
    }

    .meet-card-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .meet-card-btn {
        justify-content: center;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.section-services {
    background: var(--color-cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.service-card {
    background: var(--color-white);
    padding: 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    border-bottom: 3px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Service Banner - full width header image */
.service-banner {
    width: 100%;
    height: 160px;
    object-fit: contain;
    object-position: center center;
    display: block;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    transition: all 0.3s ease;
    background: #f7f6f0;
    padding: 12px 10px;
    box-sizing: border-box;
    opacity: 1;
}

.service-card:hover .service-banner {
    opacity: 0.85;
}

/* Service card content below banner */
.service-card h3,
.service-card p {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
}

.service-card h3 {
    padding-top: var(--space-md);
    margin-bottom: var(--space-sm);
}

.service-card p {
    padding-bottom: var(--space-lg);
}

.service-card:hover {
    border-color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

/* --- Pintail Icon Sprite System --- */
.pintail-icon {
    display: inline-block;
    width: 48px;
    height: 48px;
    background-image: url('Graphics/Active/Pintail-Pack/extras_icon_sheet_12.png');
    background-size: 400% 300%; /* 4 cols x 3 rows */
    background-repeat: no-repeat;
}

/* Row 1: automation, network, target, gear */
.pintail-icon--automation   { background-position: 0%      0%; }
.pintail-icon--network      { background-position: 33.33%  0%; }
.pintail-icon--target       { background-position: 66.67%  0%; }
.pintail-icon--gear         { background-position: 100%    0%; }

/* Row 2: plugin, database, content, workflow */
.pintail-icon--plugin       { background-position: 0%      50%; }
.pintail-icon--database     { background-position: 33.33%  50%; }
.pintail-icon--content      { background-position: 66.67%  50%; }
.pintail-icon--workflow     { background-position: 100%    50%; }

/* Row 3: pricetag, lightning, security, growth */
.pintail-icon--pricetag     { background-position: 0%      100%; }
.pintail-icon--lightning    { background-position: 33.33%  100%; }
.pintail-icon--security     { background-position: 66.67%  100%; }
.pintail-icon--growth       { background-position: 100%    100%; }

/* Size variants */
.pintail-icon--sm { width: 40px; height: 40px; }
.pintail-icon--lg { width: 56px; height: 56px; }

.service-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.6rem;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.section-process {
    background: var(--color-white);
}

.process-steps {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.process-banner {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin-bottom: var(--space-md);
    clip-path: polygon(
        5% 8%, 15% 2%, 30% 5%, 50% 0%, 70% 3%, 85% 1%, 95% 7%,
        100% 15%, 98% 35%, 100% 55%, 97% 75%, 100% 90%, 95% 98%,
        80% 100%, 60% 97%, 40% 100%, 20% 98%, 5% 100%,
        0% 90%, 2% 70%, 0% 50%, 3% 30%, 0% 15%
    );
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

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

/* ============================================
   USE CASES SECTION
   ============================================ */
.section-cases {
    background: var(--color-cream);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.case-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-bottom: 3px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.case-banner {
    width: 100%;
    height: 130px;
    object-fit: contain;
    object-position: center center;
    display: block;
    background: #f8f6f1;
    padding: 8px 16px;
    box-sizing: border-box;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    transition: all 0.3s ease;
}

.case-card:hover .case-banner {
    opacity: 0.85;
}

.case-card:hover {
    border-color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.case-industry {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
    padding: var(--space-md) var(--space-lg) 0;
}

.case-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.6rem;
    padding: 0 var(--space-lg);
}

.case-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
    flex-grow: 1;
    padding: 0 var(--space-lg);
}

.case-result {
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-lg) var(--space-lg);
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 500;
}

.case-result-label {
    font-weight: 700;
    color: var(--color-accent);
}

.cases-outro {
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-style: italic;
    color: #1a3c34;
    margin: 3rem auto 2.5rem;
    padding: var(--space-lg) var(--space-md);
    line-height: 1.5;
    max-width: 800px;
    text-shadow: 0 1px 3px rgba(26, 60, 52, 0.15);
}

.cases-outro em {
    font-style: italic;
    color: #2d8a6e;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(45, 138, 110, 0.25);
}

[data-theme="dark"] .cases-outro {
    color: var(--color-primary);
    text-shadow: 0 1px 6px rgba(78, 205, 196, 0.3);
}

/* Cases outro CTA button (slide-down on scroll) */
.cases-outro-cta {
    text-align: center;
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}
.cases-outro-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.cases-outro-btn {
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 6px;
    max-width: 600px;
    line-height: 1.4;
    cursor: pointer;
}

/* ============================================
   WHY US SECTION
   ============================================ */
.section-why {
    background: var(--color-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.why-card {
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    border-bottom: 3px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.why-card:hover {
    border-color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.why-icon {
    width: 40px;
    height: 40px;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.why-icon svg {
    width: 100%;
    height: 100%;
}

.why-card h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   NUMBERS SECTION
   ============================================ */
.section-numbers {
    background: var(--color-dark);
    padding: var(--space-lg) 0;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.number-value {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--color-accent-light);
    margin-bottom: 0.5rem;
}

.number-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

.numbers-source {
    text-align: center;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.35);
    margin-top: var(--space-md);
    font-style: italic;
}

/* ============================================
   GDPR SECTION
   ============================================ */
.section-gdpr {
    background: var(--color-dark);
    color: #ffffff;
}

.section-gdpr .section-label {
    color: var(--color-accent-light);
}

.section-gdpr .section-label::after {
    background: var(--color-accent-light);
}

.section-gdpr .section-header h2 {
    color: #ffffff;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .section-gdpr .section-header h2 {
        white-space: normal;
    }
}

.section-gdpr .section-header h2 em {
    color: #4ecdc4;
}

.section-gdpr .section-header {
    max-width: 850px;
}

.section-gdpr .section-header p {
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--space-lg);
}

.gdpr-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.gdpr-card {
    position: relative;
    padding: var(--space-md) var(--space-lg);
    text-align: center;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.06);
    border-bottom: 3px solid rgba(255,255,255,0.04);
    background: rgba(255,255,255,0.03);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 6px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    /* Pre-animation state */
    opacity: 0;
    transform: translateY(30px);
}

/* Scan-line sweep overlay */
.gdpr-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(78, 205, 196, 0.06) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Border glow animation */
.gdpr-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    pointer-events: none;
    z-index: 1;
}

/* Activated state — card revealed */
.gdpr-card.gdpr-revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
    border-color: rgba(78, 205, 196, 0.25);
    border-bottom-color: rgba(78, 205, 196, 0.15);
}

/* Scan sweep runs after reveal */
.gdpr-card.gdpr-revealed::before {
    animation: gdprScanSweep 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Border pulses in after sweep */
.gdpr-card.gdpr-revealed::after {
    animation: gdprBorderPulse 2s ease-out 0.6s forwards;
}

@keyframes gdprScanSweep {
    0%   { left: -100%; }
    100% { left: 100%; }
}

@keyframes gdprBorderPulse {
    0%   { border-color: rgba(78, 205, 196, 0.4); box-shadow: 0 0 20px rgba(78, 205, 196, 0.15); }
    50%  { border-color: rgba(78, 205, 196, 0.2); box-shadow: 0 0 10px rgba(78, 205, 196, 0.08); }
    100% { border-color: transparent; box-shadow: none; }
}

.gdpr-card:hover {
    border-color: var(--color-accent);
    background: rgba(255,255,255,0.06);
}

.gdpr-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto var(--space-md);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 2px solid rgba(0, 0, 0, 0.4);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.35),
        0 1px 3px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

/* Reflection / light glare overlay */
.gdpr-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.1) 30%,
        transparent 50%,
        transparent 100%
    );
    pointer-events: none;
}

.gdpr-icon:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.gdpr-icon:active {
    transform: translateY(1px);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gdpr-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #1a3c34;
    filter: brightness(0.82);
}

.gdpr-icon img[src*="transparency"] {
    padding: 3px;
}

.gdpr-card.gdpr-revealed .gdpr-icon {
    animation: gdprIconGlow 2s ease-out 0.4s forwards;
}

@keyframes gdprIconGlow {
    0%   { box-shadow: 0 0 0 rgba(78, 205, 196, 0); background: rgba(78, 205, 196, 0.1); }
    40%  { box-shadow: 0 0 16px rgba(78, 205, 196, 0.3); background: rgba(78, 205, 196, 0.2); }
    100% { box-shadow: 0 0 0 rgba(78, 205, 196, 0); background: rgba(78, 205, 196, 0.1); }
}

/* Legacy SVG rule removed — now using img icons */

.gdpr-card h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.gdpr-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

/* Reduced motion: skip animations */
@media (prefers-reduced-motion: reduce) {
    .gdpr-card {
        opacity: 1;
        transform: none;
    }
    .gdpr-card::before,
    .gdpr-card::after {
        animation: none !important;
    }
    .gdpr-card.gdpr-revealed .gdpr-icon {
        animation: none !important;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.section-faq {
    background: var(--color-cream);
}

.section-faq .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-faq .section-label {
    text-align: center;
}

.section-faq .section-label::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-faq .section-header {
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

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

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question span {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-primary);
    padding-right: var(--space-md);
}

.faq-question:hover span {
    color: var(--color-accent);
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-accent);
    transition: var(--transition);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.faq-answer p {
    padding-bottom: var(--space-md);
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.section-contact {
    background: var(--color-white);
}

.contact-handshake {
    text-align: center;
    margin-top: 5.5rem;
}

.contact-handshake img {
    position: relative;
    max-width: 100%;
    width: 380px;
    height: auto;
    opacity: 0.85;
    display: block;
    margin: 0 auto;
    pointer-events: auto;
    border-radius: 20px;
    -webkit-mask-image: radial-gradient(ellipse 98% 96% at 50% 50%, #000 85%, transparent 100%);
    mask-image: radial-gradient(ellipse 98% 96% at 50% 50%, #000 85%, transparent 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.contact-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: var(--space-md);
}

.contact-text p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.contact-info-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-accent);
}

.contact-form {
    position: relative;
    overflow: hidden;
    background: var(--color-cream);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(74, 158, 126, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    margin-top: var(--space-sm);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-align: center;
}

/* --- Meeting Type Selection --- */
.meeting-type-options {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.meeting-type-option {
    flex: 1;
    cursor: pointer;
}

.meeting-type-option input[type="radio"] {
    display: none;
}

.meeting-type-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    background: var(--color-white);
    transition: all 0.2s ease;
}

.meeting-type-label svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.meeting-type-option input[type="radio"]:checked + .meeting-type-label {
    border-color: var(--color-primary);
    background: rgba(74, 158, 126, 0.08);
    color: var(--color-primary);
}

.meeting-type-option:hover .meeting-type-label {
    border-color: var(--color-accent);
}

.meeting-type-note {
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-style: italic;
    font-style: italic;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-dark);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

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

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo-img {
    width: 280px;
    max-width: 80%;
    height: auto;
}

.footer-logo-icon {
    width: 28px;
    height: 28px;
    color: var(--color-accent-light);
}

.footer-logo span {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.footer-links a:hover {
    color: var(--color-accent-light);
}

/* Footer social icons - centered row */
.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: var(--space-md) 0;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transition: transform 0.2s ease, background 0.2s ease;
    text-decoration: none;
}

.footer-social-link:hover {
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.22);
}

.footer-social-link svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* X icon: white in footer (dark bg) */
.footer-social-link svg path[fill="#000000"] {
    fill: #ffffff;
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    text-align: center;
}

/* ============================================
   SOCIAL MEDIA SIDEBAR
   ============================================ */
.social-sidebar {
    position: fixed;
    left: 18px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 90;
}

.social-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.social-sidebar-link:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.social-sidebar-link svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Dark theme: slightly darker bubble background */
[data-theme="dark"] .social-sidebar-link {
    background: rgba(40, 44, 52, 0.92);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .social-sidebar-link:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* X icon: white in dark theme */
[data-theme="dark"] .social-sidebar-link svg path[fill="#000000"] {
    fill: #ffffff;
}

/* Hide on mobile (< 768px) */
@media (max-width: 767px) {
    .social-sidebar {
        display: none;
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(0.6);
        transform-origin: top;
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
        transform-origin: top;
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================
   SUBTLE INTERACTION ENHANCEMENTS
   Clean, minimal — wow factor only where it counts
   ============================================ */

/* --- Form Focus: soft glow + label color shift --- */
.form-group {
    position: relative;
}

.form-group:focus-within label {
    color: var(--color-accent);
    transition: color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(74, 158, 126, 0.1);
}

/* --- ROI: animated counting + subtle pulse --- */
@keyframes roiPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.roi-result-card.pulse {
    animation: roiPulse 0.35s ease;
}

.roi-input-group {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.roi-input-group:focus-within {
    border-color: var(--color-accent);
    box-shadow: 0 4px 16px rgba(74, 158, 126, 0.1), 0 0 0 3px rgba(74, 158, 126, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
}

/* --- FAQ: smooth open + elastic icon --- */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    opacity: 1;
}

.faq-icon {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

/* --- Cards: clean hover lift (GPU-accelerated) --- */
.service-card,
.case-card,
.why-card,
.gdpr-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.case-card:hover,
.why-card:hover,
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06), 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.gdpr-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 16px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

/* --- Staggered entrance: cards appear one-by-one on scroll --- */
.reveal.stagger-1 { transition-delay: 0.05s; }
.reveal.stagger-2 { transition-delay: 0.1s; }
.reveal.stagger-3 { transition-delay: 0.15s; }
.reveal.stagger-4 { transition-delay: 0.2s; }
.reveal.stagger-5 { transition-delay: 0.25s; }
.reveal.stagger-6 { transition-delay: 0.3s; }

/* --- Hero SVG line stroke-draw effect --- */
.hero-bg-lines path,
.hero-bg-lines line {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: strokeDraw 3s ease forwards 0.5s;
}

@keyframes strokeDraw {
    to { stroke-dashoffset: 0; }
}

/* --- Stat numbers: accent on hover --- */
.stat-number {
    transition: color 0.3s ease;
}

.stat-card:hover .stat-number {
    color: var(--color-accent);
}

/* --- Respect reduced motion preference --- */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: opacity 0.4s ease;
        transform: none;
    }

    .hero-bg-lines path,
    .hero-bg-lines line {
        animation: none;
        stroke-dashoffset: 0;
    }

    .service-card:hover,
    .case-card:hover,
    .why-card:hover,
    .gdpr-card:hover {
        transform: none;
    }

    .deco-hero-flock {
        animation: none;
        opacity: 1;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .roi-calculator {
        grid-template-columns: 1fr;
    }

    .roi-results {
        position: static;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .roi-cta {
        grid-column: 1 / -1;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .trust-badges-grid {
        gap: var(--space-md);
    }

    .deco-hero-flock {
        width: 240px;
        top: 5%;
        right: 0;
    }

    /* Scale down + push to edges at tablet */
    .deco-transition-bird { width: 200px; }
    .deco-problem-bird { width: 120px; right: -40px; }
    .deco-roi-bird { width: 110px; left: -30px; }
    .deco-services-bird { width: 120px; right: -40px; }
    .deco-process-bird { width: 120px; left: -30px; }
    .deco-cases-bird { width: 140px; right: -40px; }
    .deco-about-bird { width: 110px; left: -30px; }
    .deco-why-bird { width: 110px; right: -40px; }
    .deco-numbers-bird { width: 120px; left: -30px; }
    .deco-gdpr-bird { width: 120px; right: -40px; }
    .deco-contact-bird { width: 120px; right: -40px; }
    .deco-trust-bird { width: 90px; right: -20px; }

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

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .process-steps {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .process-step {
        text-align: left;
        display: flex;
        gap: var(--space-md);
        align-items: flex-start;
    }

}

@media (max-width: 768px) {
    /* Hide ALL decorative birds on mobile — no margin space, they WILL overlap text */
    .deco-hero-flock,
    .deco-transition-bird,
    .deco-problem-bird,
    .deco-roi-bird,
    .deco-services-bird,
    .deco-process-bird,
    .deco-cases-bird,
    .deco-about-bird,
    .deco-why-bird,
    .deco-numbers-bird,
    .deco-gdpr-bird,
    .deco-contact-bird,
    .deco-trust-bird {
        display: none;
    }

    .section-divider {
        display: none;
    }

    .transition-bird-zone {
        min-height: 0;
        height: 0;
        overflow: hidden;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        height: 100dvh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: var(--space-xl);
        gap: var(--space-md);
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.75rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .nav-links .theme-toggle {
        align-self: flex-start;
        width: 44px;
        height: 44px;
    }

    /* Mobile: CTA buttons stack vertically, centered */
    .nav-cta-chat,
    .nav-cta-booking {
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-left: 0;
        margin-right: 0;
        align-self: stretch;
        padding: 1rem 1.4rem;
        min-height: 48px;
        font-size: 0.95rem !important;
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
    }

    .hero-logo-block {
        padding: 1rem 1rem 0;
    }

    .hero-logo-img {
        width: 300px;
        max-width: 85%;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

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

    .services-grid,
    .cases-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

    .section {
        padding: var(--space-lg) 0;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        text-align: center;
    }

    .trust-badges-grid {
        gap: var(--space-sm);
        justify-content: flex-start;
    }

    .trust-badge {
        font-size: 0.7rem;
    }

    .roi-results {
        grid-template-columns: 1fr;
    }

    .sticky-cta-text {
        display: none;
    }

    .sticky-cta-inner {
        max-width: 100%;
        width: 100%;
        justify-content: center;
        padding: 0.6rem 0.75rem;
        gap: 0.5rem;
    }

    /* Mobile: chat trigger push-up also via JS */

    /* Mobile: Larger touch targets for sliders */
    .roi-slider {
        height: 8px;
    }

    .roi-slider::-webkit-slider-thumb {
        width: 32px;
        height: 32px;
    }

    .roi-slider::-moz-range-thumb {
        width: 32px;
        height: 32px;
    }

    /* Mobile: Ensure nav toggle is touch-friendly */
    .nav-toggle {
        width: 44px;
        height: 44px;
        padding: 10px;
    }
}

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

    .number-value {
        font-size: 2.2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */

/* --- Section Dividers --- */
.section-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
}

.section-divider svg {
    width: 100%;
    height: 20px;
    display: block;
}

/* ==============================================
   PINTAIL-PACK — Branded Decorative Graphics
   Strategy: Visible, elegant, teal-tinted illustrations.
   Displayed at readable opacity with soft blend.
   ============================================== */

/* Shared base for all section deco images */
[class^="deco-"] {
    pointer-events: none;
    z-index: 0;
}

[class^="deco-"] img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Transition Bird Zone (between trust badges & problem) --- */
.transition-bird-zone {
    position: relative;
    overflow: visible;
    min-height: 80px;
}

.deco-transition-bird {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    pointer-events: none;
    z-index: 1;
}

.deco-transition-bird img {
    width: 100%;
    height: auto;
    opacity: 0.70;
}

[data-theme="dark"] .deco-transition-bird img {
    opacity: 0.90;
    filter: none;
}

/* --- Hero: Telemetry duck (top-right corner accent) --- */
.deco-hero-flock {
    position: absolute;
    top: 8%;
    right: 2%;
    width: 320px;
    opacity: 0;
    animation: fadeIn 2s ease forwards 1.5s;
    z-index: 1;
}

.deco-hero-flock img {
    opacity: 0.70;
}

/* ===========================================
   DECORATIVE BIRDS — PERMANENT RULE:
   Birds must NEVER overlap text or content.
   Position them in the outer margins only
   (outside the 1200px container zone).
   All sections use overflow:hidden to clip.
   =========================================== */

/* --- Problem: Pecking duck (positioned inside viewport) --- */
.deco-problem-bird {
    position: absolute;
    right: 20px;
    bottom: 40px;
    width: 160px;
    z-index: 0;
    pointer-events: none;
}

.deco-problem-bird img {
    opacity: 0.70;
}

/* --- ROI Calculator: Sparkles duck (positioned inside viewport) --- */
.deco-roi-bird {
    position: absolute;
    left: 20px;
    top: 30px;
    width: 150px;
    z-index: 0;
    pointer-events: none;
}

.deco-roi-bird img {
    opacity: 0.70;
}

/* --- ROI Calculator: Perched pintail (right side, near results) --- */
.deco-roi-perched {
    position: absolute;
    right: 2%;
    top: 10%;
    width: 130px;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.deco-roi-perched img {
    opacity: 0.70;
}

[data-theme="dark"] .deco-roi-perched img {
    opacity: 0.90;
    filter: none;
}

@media (max-width: 1200px) {
    .deco-roi-perched { width: 110px; right: 0; }
}

@media (max-width: 768px) {
    .deco-roi-perched { display: none; }
}

/* --- Services: Animated HeadTurnChirp (circular crop, top-right) --- */
.services-anim-bird {
    position: absolute;
    right: 6%;
    top: 8%;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.60;
    mix-blend-mode: multiply;
    object-fit: cover;
}

[data-theme="dark"] .services-anim-bird {
    opacity: 0.60;
    mix-blend-mode: normal;
}

@media (max-width: 1200px) {
    .services-anim-bird { width: 110px; height: 110px; right: 2%; }
}

@media (max-width: 768px) {
    .services-anim-bird { display: none; }
}

/* --- Services: Front-facing duck (positioned inside viewport) --- */
.deco-services-bird {
    position: absolute;
    right: 20px;
    bottom: 40px;
    width: 150px;
    z-index: 0;
    pointer-events: none;
}

.deco-services-bird img {
    opacity: 0.70;
}

/* --- Process: Walking duck (positioned inside viewport) --- */
.deco-process-bird {
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: 150px;
    z-index: 0;
    pointer-events: none;
}

.deco-process-bird img {
    opacity: 0.70;
}

/* --- Process: Animated TakeoffEmpty (torn paper frame, top-right) --- */
.process-anim-wrap {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    width: 170px;
    height: 170px;
    z-index: 0;
    pointer-events: none;
    /* Torn paper / organic edge shape */
    clip-path: polygon(
        8% 0%, 15% 3%, 25% 0%, 35% 4%, 48% 1%, 58% 5%, 68% 0%, 78% 3%, 88% 1%, 95% 4%, 100% 0%,
        100% 8%, 97% 18%, 100% 28%, 96% 40%, 100% 52%, 97% 62%, 100% 72%, 96% 82%, 100% 92%, 97% 100%,
        90% 100%, 82% 96%, 72% 100%, 60% 97%, 50% 100%, 38% 96%, 28% 100%, 18% 97%, 8% 100%, 0% 96%,
        0% 90%, 4% 80%, 0% 68%, 3% 58%, 0% 48%, 4% 38%, 0% 28%, 3% 18%, 0% 8%
    );
    opacity: 0.60;
}

.process-anim-bird {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

[data-theme="dark"] .process-anim-wrap {
    opacity: 0.60;
}

[data-theme="dark"] .process-anim-bird {
    mix-blend-mode: normal;
}

@media (max-width: 1200px) {
    .process-anim-wrap { width: 130px; height: 130px; left: 20px; }
}

@media (max-width: 768px) {
    .process-anim-wrap { display: none; }
}

/* --- Cases: Flying duck (positioned inside viewport) --- */
.deco-cases-bird {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 160px;
    z-index: 0;
    pointer-events: none;
}

.deco-cases-bird img {
    opacity: 0.70;
}

/* --- About Us: Perched duck (positioned inside viewport) --- */
.deco-about-bird {
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: 140px;
    z-index: 0;
    pointer-events: none;
}

.deco-about-bird img {
    opacity: 0.70;
}

/* --- Why Us: Friendly duck (positioned inside viewport) --- */
.deco-why-bird {
    position: absolute;
    right: 20px;
    bottom: 30px;
    width: 140px;
    z-index: 0;
    pointer-events: none;
}

.deco-why-bird img {
    opacity: 0.70;
}

/* --- Numbers: Telemetry duck (positioned inside viewport) --- */
.deco-numbers-bird {
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: 150px;
    z-index: 0;
    pointer-events: none;
}

.deco-numbers-bird img {
    opacity: 0.70;
    filter: brightness(100) saturate(0%);
}

/* --- GDPR: Scan frame duck (positioned inside viewport) --- */
.deco-gdpr-bird {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 140px;
    z-index: 0;
    pointer-events: none;
}

.deco-gdpr-bird img {
    opacity: 0.70;
    mix-blend-mode: lighten;
}

/* --- FAQ: Headset duck (positioned inside viewport) --- */

/* --- Contact: AI Chatbubble duck (positioned inside viewport) --- */
.deco-contact-bird {
    position: absolute;
    right: 20px;
    bottom: 30px;
    width: 150px;
    z-index: 0;
    pointer-events: none;
}

.deco-contact-bird img {
    opacity: 0.70;
}

/* --- Trust Badges: Pintail front pose (zig-zag: right side) --- */
.deco-trust-bird {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 110px;
    z-index: 0;
    pointer-events: none;
}

.deco-trust-bird img {
    opacity: 0.70;
}

/* Ensure section content stays above decorations */
.section .container {
    position: relative;
    z-index: 1;
}

/* Subtle radial glows */
.section-services::before,
.section-cases::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
    opacity: 0.03;
    pointer-events: none;
}

.section-process::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
    opacity: 0.03;
    pointer-events: none;
}


/* ============================================
   GDPR COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10002; /* Above sticky CTA (999) and chat (10000) */
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

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

.cookie-banner-text p {
    font-size: 0.82rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin: 0;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--color-accent);
    color: #fff;
}

.cookie-btn-accept:hover {
    background: var(--color-primary-lighter);
}

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

.cookie-btn-reject:hover {
    border-color: var(--color-text-light);
    color: var(--color-text);
}

.cookie-btn-settings {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 8px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-btn-settings:hover {
    color: var(--color-accent);
}

.cookie-settings {
    width: 100%;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--color-border);
}

.cookie-setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
}

.cookie-setting-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--color-text);
    cursor: pointer;
}

.cookie-setting-row label input[type="checkbox"] {
    accent-color: var(--color-accent);
    width: 15px;
    height: 15px;
}

.cookie-setting-row span {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.cookie-settings .cookie-btn {
    margin-top: 8px;
}

[data-theme="dark"] .cookie-banner {
    background: var(--color-dark-soft);
    border-top-color: var(--color-border);
}

/* Push sticky CTA up when cookie banner is visible */
.cookie-banner.visible ~ .sticky-cta.visible {
    bottom: 52px;
}

@media (max-width: 768px) {
    .cookie-banner-inner {
        padding: 10px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .cookie-banner-actions {
        justify-content: center;
    }
    .cookie-btn {
        text-align: center;
        flex: 1;
    }
}

/* ============================================
   CHAT WIDGET
   ============================================ */

/* --- Back to Top Button (positioned above chat trigger) --- */
.back-to-top {
    position: fixed;
    bottom: 94px;
    right: 33px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e09f3e;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease, background 0.2s ease;
    z-index: 10002;
    transform: translateY(10px);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #c98a2e;
    transform: translateY(-2px);
}
.back-to-top svg {
    width: 16px;
    height: 16px;
}

/* --- Trigger Button (FAB) --- */
.chat-trigger {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #ffffff;
    border: none;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(74, 158, 126, 0.4);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-trigger:hover {
    background: var(--color-primary-lighter);
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(74, 158, 126, 0.5);
}

.chat-trigger-icon {
    width: 28px;
    height: 28px;
    transition: opacity 0.3s, transform 0.3s;
    stroke-width: 2 !important;
}

.chat-icon-close {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg) scale(0.6);
}

.chat-widget.open .chat-icon-open {
    opacity: 0;
    transform: rotate(90deg) scale(0.6);
}

.chat-widget.open .chat-icon-close {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* --- Chat Tooltip Bubble (left of chat button) --- */
.chat-tooltip {
    position: fixed;
    bottom: 30px;
    right: 94px;
    background: var(--color-white);
    color: var(--color-text);
    padding: 10px 32px 10px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
    pointer-events: none;
    white-space: nowrap;
    border: 1px solid rgba(74, 158, 126, 0.2);
}

.chat-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

/* Arrow pointing right toward the chat button */
.chat-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%) rotate(45deg);
    width: 11px;
    height: 11px;
    background: var(--color-white);
    border-right: 1px solid rgba(74, 158, 126, 0.2);
    border-top: 1px solid rgba(74, 158, 126, 0.2);
}

.chat-tooltip-close {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.chat-tooltip-close:hover {
    color: var(--color-text);
}

/* Hide tooltip when chat is open */
.chat-widget.open .chat-tooltip {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

[data-theme="dark"] .chat-tooltip {
    background: var(--color-surface);
    border-color: rgba(74, 158, 126, 0.3);
}

[data-theme="dark"] .chat-tooltip::after {
    background: var(--color-surface);
    border-color: rgba(74, 158, 126, 0.3);
}

/* --- Chat Window --- */
.chat-window {
    position: fixed;
    top: auto;
    left: auto;
    bottom: 100px;
    right: 24px;
    width: 380px;
    height: 540px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-widget.open .chat-window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* --- Chat Expanded Mode --- */
.chat-widget.open .chat-window.chat-expanded {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    max-height: none;
    border-radius: 0;
    transform: none;
    z-index: 10002;
    animation: chatExpandIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes chatExpandIn {
    0% {
        opacity: 0.85;
        border-radius: var(--radius-lg);
        transform: scale(0.7);
    }
    100% {
        opacity: 1;
        border-radius: 0;
        transform: scale(1);
    }
}

/* Collapse animation (fullscreen → compact) */
.chat-widget.open .chat-window.chat-collapsing {
    animation: chatCollapseOut 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    z-index: 10002;
}

@keyframes chatCollapseOut {
    0% {
        opacity: 1;
        border-radius: 0;
        transform: scale(1);
    }
    100% {
        opacity: 0.85;
        border-radius: var(--radius-lg);
        transform: scale(0.7);
    }
}

@media (max-width: 768px) {
    .chat-window {
        width: calc(100vw - 20px);
        max-width: none;
        right: 10px;
        bottom: 90px;
        height: 65vh;
        max-height: 500px;
    }

    .chat-widget.open .chat-window.chat-expanded {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        max-width: none;
        max-height: none;
        border-radius: 0;
        transform: none;
    }

    .chat-trigger {
        width: 56px;
        height: 56px;
        bottom: 16px;
        right: 16px;
    }

    .chat-input-area {
        padding: 12px;
    }

    .chat-input {
        font-size: 16px; /* Prevents iOS zoom on focus */
    }
}

/* --- Chat Header --- */
.chat-header {
    background: var(--color-primary);
    color: #ffffff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.chat-header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.chat-header-avatar svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

.chat-header-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
}

.chat-header-status {
    font-size: 0.72rem;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 5px;
}

.chat-header-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
}

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

.chat-expand-btn,
.chat-close-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.chat-expand-btn:hover,
.chat-close-btn:hover {
    background: rgba(255,255,255,0.15);
}

.chat-expand-btn svg,
.chat-close-btn svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

/* --- GDPR Consent Overlay --- */
.chat-consent-overlay {
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s, visibility 0.3s;
}

[data-theme="dark"] .chat-consent-overlay {
    background: #1a2420;
}

.chat-consent-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.chat-consent-content {
    text-align: center;
    padding: 24px 20px;
    max-width: 320px;
}

.chat-consent-icon {
    margin: 0 auto 10px;
    color: var(--color-accent);
}

.chat-consent-content h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.chat-consent-text {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--color-text);
    margin-bottom: 8px;
}

.chat-consent-sub {
    font-size: 0.72rem;
    line-height: 1.4;
    color: var(--color-text-light);
    margin-bottom: 18px;
}

.chat-consent-link {
    color: var(--color-accent);
    text-decoration: underline;
}

.chat-consent-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.chat-consent-accept {
    padding: 10px 28px;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.chat-consent-accept:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
}

.chat-consent-decline {
    padding: 10px 20px;
    background: transparent;
    color: var(--color-text-light);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
}

.chat-consent-decline:hover {
    background: rgba(0,0,0,0.05);
}

[data-theme="dark"] .chat-consent-decline:hover {
    background: rgba(255,255,255,0.08);
}

/* --- Auth Overlay --- */
.chat-auth-overlay {
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s, visibility 0.3s;
}

.chat-auth-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.chat-auth-content {
    text-align: center;
    padding: 24px;
    max-width: 300px;
}

.chat-auth-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
}

.chat-auth-avatar {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.chat-auth-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.chat-auth-content p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

.chat-google-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.chat-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

.chat-auth-divider::before,
.chat-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

.chat-guest-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-guest-form input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem; /* 16px minimum prevents iOS auto-zoom on focus */
    transition: border-color var(--transition);
    box-sizing: border-box;
}

.chat-guest-form input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.chat-guest-btn {
    width: 100%;
    padding: 10px 14px;
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition);
}

.chat-guest-btn:hover:not(:disabled) {
    background: var(--color-primary-light);
}

.chat-guest-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- reCAPTCHA Widget in Chat --- */
.chat-recaptcha-wrapper {
    display: flex;
    justify-content: center;
    margin: 4px 0;
    transform: scale(0.9);
    transform-origin: center;
}

/* --- Messages Area --- */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 2px;
}

/* --- Message Bubbles --- */
.chat-message {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.87rem;
    line-height: 1.5;
    animation: chatBubbleIn 0.3s ease;
    word-wrap: break-word;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.message-text {
    display: block;
    white-space: pre-line;
}

.message-text strong {
    font-weight: 600;
    color: var(--color-accent);
}

.message-time {
    font-size: 0.65rem;
    opacity: 0.6;
    align-self: flex-end;
}

.chat-message.user .message-time {
    color: rgba(255, 255, 255, 0.7);
}

.chat-message.bot {
    align-self: flex-start;
    background: var(--color-cream);
    color: var(--color-text);
    border-bottom-left-radius: 4px;
}

.chat-message.user {
    align-self: flex-end;
    background: var(--color-accent);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.chat-message.system {
    align-self: center;
    background: transparent;
    color: var(--color-text-muted);
    font-size: 0.78rem;
    text-align: center;
    padding: 6px 12px;
    max-width: 90%;
}

/* Language enforcement banners */
.lang-banner {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    line-height: 1.4;
    margin: 8px;
    animation: chatBubbleIn 0.3s ease;
}
.lang-banner-warn {
    background: rgba(255, 183, 0, 0.15);
    border: 1px solid rgba(255, 183, 0, 0.4);
    color: #ffb700;
}
.lang-banner-block {
    background: rgba(255, 59, 48, 0.15);
    border: 1px solid rgba(255, 59, 48, 0.4);
    color: #ff3b30;
}
.lang-banner-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.lang-banner-text {
    flex: 1;
}

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

/* --- Typing Indicator --- */
.chat-typing {
    padding: 8px 16px;
    display: none;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.chat-typing.visible {
    display: flex;
}

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

.chat-typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: typingDot 1.4s infinite ease-in-out;
}

.chat-typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    30% {
        opacity: 1;
        transform: scale(1);
    }
}

.chat-typing-text {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* --- Neural Network Loading Animation (Interview Mode) --- */
.neural-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
}

.neural-grid {
    display: grid;
    grid-template-columns: repeat(3, 24px);
    grid-template-rows: repeat(3, 24px);
    gap: 16px;
    position: relative;
}

/* --- Neural nodes --- */
.neural-node {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-accent);
    position: relative;
    z-index: 2;
    animation: neuralPulse 7s infinite ease-in-out;
    box-shadow: 0 0 8px rgba(78, 205, 196, 0.5);
}

/* Center node = the user (deeper teal, slightly bigger) */
.neural-node-center {
    background: #2a9d8f;
    width: 14px;
    height: 14px;
    margin: -1px;
    box-shadow: 0 0 12px rgba(42, 157, 143, 0.7);
    animation: neuralPulseCenter 7s infinite ease-in-out;
}

/* Outer nodes light up when signal arrives from center */
.neural-node:nth-child(1) { animation-delay: 0.5s; }
.neural-node:nth-child(2) { animation-delay: 0.4s; }
.neural-node:nth-child(3) { animation-delay: 0.6s; }
.neural-node:nth-child(4) { animation-delay: 0.35s; }
.neural-node:nth-child(5) { animation-delay: 0s; }
.neural-node:nth-child(6) { animation-delay: 0.55s; }
.neural-node:nth-child(7) { animation-delay: 0.65s; }
.neural-node:nth-child(8) { animation-delay: 0.45s; }
.neural-node:nth-child(9) { animation-delay: 0.7s; }

@keyframes neuralPulse {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.4;
        box-shadow: 0 0 4px rgba(78, 205, 196, 0.2);
    }
    25%, 55% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 14px rgba(78, 205, 196, 0.8);
    }
    75% {
        transform: scale(1.0);
        opacity: 0.6;
        box-shadow: 0 0 8px rgba(78, 205, 196, 0.4);
    }
}

/* Center node: pulses bright at start (send) and end (receive) */
@keyframes neuralPulseCenter {
    0% {
        transform: scale(1.1);
        opacity: 0.9;
        box-shadow: 0 0 10px rgba(42, 157, 143, 0.6);
    }
    12% {
        transform: scale(1.4);
        opacity: 1;
        box-shadow: 0 0 22px rgba(42, 157, 143, 1), 0 0 36px rgba(42, 157, 143, 0.3);
    }
    30%, 65% {
        transform: scale(0.9);
        opacity: 0.5;
        box-shadow: 0 0 6px rgba(42, 157, 143, 0.3);
    }
    82% {
        transform: scale(1.35);
        opacity: 1;
        box-shadow: 0 0 20px rgba(42, 157, 143, 0.9), 0 0 32px rgba(42, 157, 143, 0.3);
    }
    100% {
        transform: scale(1.1);
        opacity: 0.9;
        box-shadow: 0 0 10px rgba(42, 157, 143, 0.6);
    }
}

/* --- Neural connections SVG --- */
.neural-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.neural-line {
    stroke: var(--color-accent);
    stroke-width: 1.5;
    fill: none;
    opacity: 0;
}

/* Phase 1: Center→outward (user sends prompt) - simultaneous burst */
.nl-out { animation: neuralOut 7s infinite ease-out; }
.nl-out:nth-child(1) { animation-delay: 0s; }
.nl-out:nth-child(2) { animation-delay: 0.03s; }
.nl-out:nth-child(3) { animation-delay: 0.06s; }
.nl-out:nth-child(4) { animation-delay: 0.02s; }
.nl-out:nth-child(5) { animation-delay: 0.05s; }
.nl-out:nth-child(6) { animation-delay: 0.08s; }
.nl-out:nth-child(7) { animation-delay: 0.04s; }
.nl-out:nth-child(8) { animation-delay: 0.07s; }

@keyframes neuralOut {
    0% { opacity: 0; }
    3% { opacity: 0.9; }
    10% { opacity: 0.6; }
    15% { opacity: 0; }
    100% { opacity: 0; }
}

/* Phase 2: Network links (AI brains talk) - ONE at a time, ~0.3s apart
   Order: top→right→bottom→left→top (clockwise, scattered) */
.nl-net { animation: neuralNet 7s infinite ease-in-out; }
.nl-net:nth-child(9)  { animation-delay: 1.0s; }
.nl-net:nth-child(10) { animation-delay: 1.35s; }
.nl-net:nth-child(11) { animation-delay: 1.7s; }
.nl-net:nth-child(12) { animation-delay: 2.05s; }
.nl-net:nth-child(13) { animation-delay: 2.4s; }
.nl-net:nth-child(14) { animation-delay: 2.75s; }
.nl-net:nth-child(15) { animation-delay: 3.1s; }
.nl-net:nth-child(16) { animation-delay: 3.45s; }

@keyframes neuralNet {
    0%, 100% { opacity: 0; }
    4% { opacity: 0.9; }
    10% { opacity: 0.5; }
    14% { opacity: 0; }
}

/* Phase 3: Return to center (response comes back) - ONE at a time, ~0.35s apart
   Order: scattered directions back to user */
.nl-ret { animation: neuralReturn 7s infinite ease-in; }
.nl-ret:nth-child(17) { animation-delay: 4.0s; }
.nl-ret:nth-child(18) { animation-delay: 4.35s; }
.nl-ret:nth-child(19) { animation-delay: 4.7s; }
.nl-ret:nth-child(20) { animation-delay: 5.05s; }
.nl-ret:nth-child(21) { animation-delay: 5.4s; }
.nl-ret:nth-child(22) { animation-delay: 5.75s; }
.nl-ret:nth-child(23) { animation-delay: 6.1s; }
.nl-ret:nth-child(24) { animation-delay: 6.4s; }

@keyframes neuralReturn {
    0% { opacity: 0; }
    3% { opacity: 0.9; }
    9% { opacity: 0.5; }
    13% { opacity: 0; }
    100% { opacity: 0; }
}

.neural-text {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-align: center;
    animation: fadeInOut 7s infinite ease-in-out;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* --- Industry Search Badge --- */
.industry-search-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    padding: 6px 14px;
    margin: 6px auto 4px;
    width: fit-content;
    font-size: 0.75rem;
    color: var(--color-accent);
    background: rgba(var(--color-accent-rgb, 232, 119, 34), 0.08);
    border-radius: 12px;
    animation: isbFadeIn 0.5s ease-out;
}
.isb-icon { font-size: 0.85rem; }
@keyframes isbFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* --- Input Area --- */
.chat-input-area {
    padding: 12px 16px;
    border-top: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    background: var(--color-white);
}

.chat-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    font-family: var(--font-body);
    font-size: 0.87rem;
    transition: border-color var(--transition);
    outline: none;
}

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

.chat-input:disabled {
    background: var(--color-cream);
    cursor: not-allowed;
}

.chat-send-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--color-accent);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
}

.chat-send-btn:hover:not(:disabled) {
    background: var(--color-primary-lighter);
    transform: scale(1.05);
}

.chat-send-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.chat-send-btn svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

/* --- Chat Status Bubble (Interview progress, inside chat) --- */
.chat-status-bubble {
    text-align: center;
    padding: 5px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.04em;
    background: rgba(74, 158, 126, 0.12);
    border: 1px solid rgba(74, 158, 126, 0.2);
    border-radius: 12px;
    margin: 8px auto;
    width: fit-content;
    animation: chatBubbleIn 0.3s ease;
}

[data-theme="dark"] .chat-status-bubble {
    background: rgba(74, 158, 126, 0.15);
    border-color: rgba(74, 158, 126, 0.25);
}

/* --- Opus Progress Bubble (inside chat, looks like bot message) --- */
.chat-opus-bubble {
    background: linear-gradient(145deg, var(--color-cream) 0%, var(--color-white) 100%) !important;
    border: 1px solid rgba(74, 158, 126, 0.2) !important;
    padding: 12px 16px !important;
    max-width: 85% !important;
    animation: chatBubbleIn 0.4s ease;
}

.opus-progress-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.opus-progress-pct {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.85;
    font-variant-numeric: tabular-nums;
}

@keyframes opusTextPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

/* opus-progress-track and opus-progress-fill: see 3D Gold section below */

.chat-opus-bubble.opus-fade-out {
    animation: opusFadeOut 0.6s ease forwards;
}

@keyframes opusFadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.95); }
}

[data-theme="dark"] .chat-opus-bubble {
    background: linear-gradient(145deg, #222e28 0%, #1a2420 100%) !important;
    border-color: rgba(74, 158, 126, 0.25) !important;
}

[data-theme="dark"] .opus-progress-label {
    color: var(--color-accent-light);
}

/* --- Interview Choice Cards (Multiple-Choice UI) --- */
.chat-choices-block {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 85%;
    animation: chatBubbleIn 0.4s ease;
}

.chat-progress-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0 8px 2px;
}

.chat-progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(74, 158, 126, 0.2);
    transition: var(--transition);
}

.chat-progress-dot.filled {
    background: var(--color-accent);
}

.chat-progress-dot.current {
    background: var(--color-accent);
    animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(74, 158, 126, 0.4); }
    50% { transform: scale(1.3); box-shadow: 0 0 0 4px rgba(74, 158, 126, 0); }
}

.chat-choices-question {
    font-size: 0.88rem;
    color: var(--color-primary);
    line-height: 1.5;
    padding: 10px 14px;
    background: linear-gradient(145deg, var(--color-cream) 0%, var(--color-white) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    border-bottom: none;
}

.chat-choices-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: linear-gradient(145deg, var(--color-cream) 0%, var(--color-white) 100%);
    border: 1px solid var(--color-border);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 4px 10px 10px;
    overflow: hidden;
}

.chat-choice-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 14px;
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.25s ease,
                background 0.25s ease,
                max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                margin 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    margin-top: 6px;
    max-height: 120px;
    opacity: 1;
}

.chat-choice-card:hover {
    border-color: var(--color-accent);
    background: rgba(74, 158, 126, 0.04);
    transform: translateX(4px);
}

.chat-choice-card.selected {
    border-color: var(--color-accent);
    background: rgba(74, 158, 126, 0.1);
    cursor: default;
    transform: none;
}

.chat-choice-card.selected .choice-label {
    color: var(--color-accent);
}

.chat-choice-card.collapsing {
    max-height: 0;
    opacity: 0;
    padding: 0 14px;
    margin: 0;
    border-width: 0;
    overflow: hidden;
    pointer-events: none;
}

.chat-choice-card.disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

.choice-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-primary);
}

.choice-desc {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 2px;
    line-height: 1.35;
}

/* "Άλλο" card */
.chat-choice-other {
    display: flex;
    flex-direction: column;
    padding: 10px 14px;
    background: var(--color-white);
    border: 1.5px dashed var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.25s ease,
                background 0.25s ease,
                max-height 0.4s ease,
                opacity 0.3s ease;
    text-align: left;
    margin-top: 6px;
    max-height: 120px;
    opacity: 1;
}

.chat-choice-other:hover {
    border-color: var(--color-accent);
    background: rgba(74, 158, 126, 0.04);
    transform: translateX(4px);
}

.chat-choice-other.selected {
    border-color: var(--color-accent);
    background: rgba(74, 158, 126, 0.1);
    cursor: default;
    transform: none;
}

.chat-choice-other.collapsing {
    max-height: 0;
    opacity: 0;
    padding: 0;
    margin: 0;
    border-width: 0;
    overflow: hidden;
    pointer-events: none;
}

.chat-choice-other-wrap {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    animation: choiceInputIn 0.3s ease;
}

@keyframes choiceInputIn {
    from { opacity: 0; max-height: 0; }
    to { opacity: 1; max-height: 50px; }
}

.chat-choice-other-input {
    flex: 1;
    padding: 7px 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-family: var(--font-body);
    background: var(--color-white);
    color: var(--color-primary);
    outline: none;
    transition: border-color 0.2s ease;
}

.chat-choice-other-input:focus {
    border-color: var(--color-accent);
}

.chat-choice-other-input::placeholder {
    color: var(--color-text-muted);
    font-style: italic;
}

.chat-choice-other-send {
    padding: 7px 12px;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.chat-choice-other-send:hover {
    background: var(--color-accent-hover);
}

/* --- Data Flow Animation (End of Interview) --- */
.data-flow-container {
    position: relative;
    width: 100%;
    height: 130px;
    max-width: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: chatBubbleIn 0.4s ease;
    margin: 8px 0;
    overflow: hidden;
}

/* --- Nest (center) --- */
.nest-wrap {
    position: relative;
    z-index: 2;
    color: var(--color-accent);
    width: 90px;
    height: 58px;
    flex-shrink: 0;
}

.nest-icon {
    width: 100%;
    height: 100%;
}

/* --- Flying documents --- */
.nest-doc {
    position: absolute;
    width: 22px;
    height: 28px;
    color: var(--color-accent);
    opacity: 0;
    z-index: 3;
}

.nest-doc svg {
    width: 100%;
    height: 100%;
}

.nest-doc-left {
    left: -10px;
    top: 35%;
    animation: docFlyLeft 3.2s ease-in-out infinite;
}

.nest-doc-right {
    right: -10px;
    top: 30%;
    animation: docFlyRight 3.2s ease-in-out infinite;
}

@keyframes docFlyLeft {
    0% {
        transform: translate(0, 0) scale(0.7) rotate(-8deg);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
        transform: translate(15px, -5px) scale(0.85) rotate(-5deg);
    }
    45% {
        opacity: 0.8;
        transform: translate(90px, -10px) scale(0.6) rotate(3deg);
    }
    55% {
        opacity: 0;
        transform: translate(110px, 5px) scale(0.3) rotate(5deg);
    }
    100% {
        opacity: 0;
        transform: translate(110px, 5px) scale(0.3);
    }
}

@keyframes docFlyRight {
    0% {
        transform: translate(0, 0) scale(0.7) rotate(8deg);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
        transform: translate(-15px, -5px) scale(0.85) rotate(5deg);
    }
    45% {
        opacity: 0.8;
        transform: translate(-90px, -10px) scale(0.6) rotate(-3deg);
    }
    55% {
        opacity: 0;
        transform: translate(-110px, 5px) scale(0.3) rotate(-5deg);
    }
    100% {
        opacity: 0;
        transform: translate(-110px, 5px) scale(0.3);
    }
}

/* --- Doc pile inside nest (grows) --- */
.nest-pile {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30%);
    display: flex;
    gap: 2px;
    z-index: 1;
}

.nest-pile-doc {
    width: 10px;
    height: 13px;
    border: 1px solid var(--color-accent);
    border-radius: 1px;
    opacity: 0;
    animation: pileAppear 3.2s ease-out infinite;
}

.nest-pile-doc:nth-child(1) { animation-delay: 0.6s; transform: rotate(-5deg); }
.nest-pile-doc:nth-child(2) { animation-delay: 1.5s; transform: rotate(3deg); }
.nest-pile-doc:nth-child(3) { animation-delay: 2.4s; transform: rotate(-2deg); }

@keyframes pileAppear {
    0%, 15% { opacity: 0; transform: scale(0.5); }
    25% { opacity: 0.6; transform: scale(1); }
    80% { opacity: 0.5; }
    100% { opacity: 0; transform: scale(0.8); }
}

.data-flow-text {
    position: absolute;
    bottom: 8px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
    text-align: center;
    animation: opusTextPulse 2s ease-in-out infinite;
}

.data-flow-container.fade-out {
    animation: opusFadeOut 0.6s ease forwards;
}

/* --- 3D Gold Opus Progress Bar (Polished) --- */
.opus-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #c5963e 0%, #d4a853 30%, #f0c75e 50%, #d4a853 70%, #c5963e 100%);
    border-radius: 3px;
    width: 0%;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 4px rgba(212, 168, 83, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.35),
                inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.opus-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.opus-progress-track {
    width: 100%;
    height: 6px;
    background: rgba(212, 168, 83, 0.12);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* --- Post-Proposal CTA Buttons (3D polished, inline pair) --- */
.chat-cta-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px 0 4px;
    animation: chatBubbleIn 0.4s ease;
}

.chat-cta-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 2px solid var(--color-primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-align: center;
    white-space: nowrap;
}

/* Primary CTA: filled dark green, white text, 3D polished */
.chat-cta-primary {
    background: linear-gradient(180deg, #2a6b55 0%, var(--color-primary) 50%, #153a2e 100%);
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(26, 60, 52, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}

.chat-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 60, 52, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
    background: linear-gradient(180deg, #338066 0%, #2a6b55 50%, #1a4a3a 100%);
}

.chat-cta-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(26, 60, 52, 0.3), inset 0 2px 3px rgba(0,0,0,0.15);
}

/* Outline CTA: white bg, green border, 3D polished */
.chat-cta-outline {
    background: linear-gradient(180deg, #ffffff 0%, #f8f8f6 50%, #f0efeb 100%);
    color: var(--color-primary);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255,255,255,0.8);
}

.chat-cta-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255,255,255,0.9);
    background: linear-gradient(180deg, #ffffff 0%, #f0faf5 50%, #e8f4ee 100%);
    border-color: var(--color-accent);
}

.chat-cta-outline:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08), inset 0 2px 3px rgba(0,0,0,0.06);
}

/* --- Dark Mode: Interview Choices --- */
[data-theme="dark"] .chat-choices-question {
    background: linear-gradient(145deg, #222e28 0%, #1a2420 100%);
    border-color: rgba(74, 158, 126, 0.25);
    color: #e0e0e0;
}

[data-theme="dark"] .chat-choices-container {
    background: linear-gradient(145deg, #222e28 0%, #1a2420 100%);
    border-color: rgba(74, 158, 126, 0.25);
}

[data-theme="dark"] .chat-choice-card {
    background: #1a2420;
    border-color: #2e3a34;
}

[data-theme="dark"] .chat-choice-card:hover {
    background: rgba(74, 158, 126, 0.1);
    border-color: var(--color-accent);
}

[data-theme="dark"] .chat-choice-card.selected {
    background: rgba(74, 158, 126, 0.15);
    border-color: var(--color-accent);
}

[data-theme="dark"] .choice-label {
    color: #e0e0e0;
}

[data-theme="dark"] .choice-desc {
    color: #999;
}

[data-theme="dark"] .chat-choice-other {
    background: #1a2420;
    border-color: #2e3a34;
}

[data-theme="dark"] .chat-choice-other:hover {
    background: rgba(74, 158, 126, 0.1);
    border-color: var(--color-accent);
}

[data-theme="dark"] .chat-choice-other-input {
    background: #15191c;
    border-color: #2e3a34;
    color: #e0e0e0;
}

[data-theme="dark"] .chat-choice-other-input::placeholder {
    color: #666;
}

[data-theme="dark"] .chat-progress-dot {
    background: rgba(74, 158, 126, 0.25);
}

[data-theme="dark"] .nest-wrap {
    color: var(--color-accent-light);
}

[data-theme="dark"] .nest-doc {
    color: var(--color-accent-light);
}

[data-theme="dark"] .nest-pile-doc {
    border-color: var(--color-accent-light);
}

[data-theme="dark"] .opus-progress-track {
    background: rgba(212, 168, 83, 0.1);
}

[data-theme="dark"] .chat-cta-primary {
    background: linear-gradient(180deg, #2a6b55 0%, #1e5442 50%, #133528 100%);
    border-color: #2a6b55;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}

[data-theme="dark"] .chat-cta-primary:hover {
    background: linear-gradient(180deg, #338066 0%, #2a6b55 50%, #1a4a3a 100%);
    box-shadow: 0 6px 16px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
}

[data-theme="dark"] .chat-cta-outline {
    background: linear-gradient(180deg, #222e28 0%, #1a2420 50%, #151d19 100%);
    border-color: #2a6b55;
    color: var(--color-accent-light);
    box-shadow: 0 3px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
}

[data-theme="dark"] .chat-cta-outline:hover {
    background: linear-gradient(180deg, #283832 0%, #1e2e27 50%, #182520 100%);
    border-color: var(--color-accent);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* --- Mobile: Interview Choices Touch-Friendly --- */
@media (max-width: 768px) {
    .chat-choices-block,
    .chat-cta-container {
        max-width: 95%;
    }

    .chat-choice-card {
        padding: 12px 16px;
    }

    .chat-choice-card:hover {
        transform: none;
    }

    .chat-choice-other:hover {
        transform: none;
    }

    .chat-cta-container {
        gap: 8px;
    }

    .chat-cta-card {
        padding: 10px 16px;
        font-size: 0.82rem;
    }

    .chat-cta-card:hover {
        transform: none;
    }

    .choice-label {
        font-size: 0.92rem;
    }

    .choice-desc {
        font-size: 0.78rem;
    }

    .data-flow-container {
        height: 120px;
        max-width: 95%;
    }

    .chat-progress-dots {
        gap: 5px;
    }

    .chat-progress-dot {
        width: 7px;
        height: 7px;
    }
}

/* --- Proposal Card (Opus response) --- */
.chat-proposal-card {
    background: linear-gradient(145deg, var(--color-cream) 0%, var(--color-white) 100%) !important;
    border: 1px solid var(--color-accent) !important;
    border-radius: var(--radius-md) !important;
    padding: 14px !important;
    max-width: 92% !important;
}

.proposal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(74, 158, 126, 0.2);
}

.proposal-header svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.proposal-body {
    font-size: 0.85rem;
    color: var(--color-text);
    line-height: 1.7;
    white-space: pre-wrap;
}

[data-theme="dark"] .chat-proposal-card {
    background: linear-gradient(145deg, #222e28 0%, #1a2420 100%) !important;
    border-color: var(--color-accent) !important;
}

[data-theme="dark"] .proposal-header {
    color: var(--color-accent-light);
    border-bottom-color: rgba(74, 158, 126, 0.25);
}

/* --- Chat Widget Responsive --- */
@media (max-width: 768px) {
    .chat-window {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .chat-trigger {
        bottom: 16px;
        right: 16px;
    }

    .chat-tooltip {
        bottom: 90px;
        right: 16px;
        font-size: 0.875rem;
        max-width: calc(100vw - 32px);
    }

    .chat-tooltip::after {
        /* Arrow points DOWN toward the chat button on mobile */
        top: auto;
        bottom: -6px;
        right: 18px;
        transform: rotate(45deg);
    }

    .chat-widget.open .chat-trigger {
        display: none;
    }

    .chat-auth-overlay,
    .chat-consent-overlay {
        top: 58px;
    }
}

/* ============================================
   SUCCESS ANIMATION (Contact Form)
   ============================================ */
.form-success-overlay {
    position: absolute;
    inset: 0;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    z-index: 10;
    border-radius: var(--radius-md);
    animation: successFadeIn 0.5s ease;
}

.form-success-checkmark {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-success-checkmark svg {
    width: 32px;
    height: 32px;
    color: #fff;
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: checkDraw 0.5s ease forwards 0.3s;
}

.form-success-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-primary);
    font-weight: 700;
    animation: successFadeIn 0.5s ease 0.3s both;
}

.form-success-subtext {
    font-size: 0.9rem;
    color: var(--color-text-light);
    animation: successFadeIn 0.5s ease 0.5s both;
}

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

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes checkDraw {
    to { stroke-dashoffset: 0; }
}

[data-theme="dark"] .form-success-overlay {
    background: var(--color-cream);
}

[data-theme="dark"] .form-success-text {
    color: var(--color-accent-light);
}

/* ============================================
   FORM VALIDATION
   ============================================ */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

.form-error-msg {
    font-size: 0.72rem;
    color: #e74c3c;
    margin-top: 3px;
    display: none;
}

.form-group input:invalid:not(:placeholder-shown) ~ .form-error-msg,
.form-group textarea:invalid:not(:placeholder-shown) ~ .form-error-msg {
    display: block;
}

/* ============================================
   HERO LOGO ANIMATION
   ============================================ */
.hero-logo-animation {
    display: block;
    margin: 0 auto var(--space-sm);
    width: 128px;
    height: 128px;
    border-radius: 12px;
    pointer-events: none;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero-logo-animation {
        width: 96px;
        height: 96px;
    }
}


/* ============================================
   MOBILE RESPONSIVE OPTIMIZATIONS
   Full device coverage — all screen sizes
   Tested: 360-375-390-412-430-480-768-820-1024-1366-1920-2560px
   ============================================ */

/* --- Global text overflow protection --- */
h1, h2, h3, h4 {
    overflow-wrap: break-word;
    word-break: break-word;
}
p, a, label, span, button {
    overflow-wrap: break-word;
}

/* --- Convert static font sizes to fluid clamp() --- */
.stat-card-compact .stat-number {
    font-size: clamp(1.6rem, 3vw, 2rem);
}
.number-value {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}

/* --- Ultra-wide screens (min 1600px) --- */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
        padding: 0 3rem;
    }
}

/* --- Wide desktop (min 2560px / 4K) --- */
@media (min-width: 2560px) {
    .container {
        max-width: 1600px;
    }
    .hero-title {
        font-size: 3.8rem;
    }
    h2 {
        font-size: 3.4rem;
    }
}

/* --- Tablet landscape (max 1024px) --- */
@media (max-width: 1024px) {
    .problem-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
}

/* --- iPad Air portrait (max 820px) — NEW BREAKPOINT --- */
@media (max-width: 820px) {
    /* Services: 2 columns still fits at 820px */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Contact form: keep 2 columns if possible */
    .contact-wrapper {
        gap: 1.5rem;
    }

    /* Chat consent: constrain width */
    .chat-consent-content {
        max-width: 90vw;
    }

    /* Nav link gap tighter */
    .nav-links a {
        font-size: 1rem;
    }
}

/* --- Mobile (max 768px) --- */
@media (max-width: 768px) {
    /* Hero logo gap - less aggressive on mobile */
    .hero-logo-block {
        margin-bottom: -2rem;
    }

    /* Hero fine-tuning */
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }

    /* Stats cards readability */
    .stat-card-compact {
        padding: 0.75rem 1rem;
    }
    .stat-card-compact .stat-icon {
        width: 44px;
        height: 44px;
    }

    /* Problem stats → single column */
    .problem-stats {
        grid-template-columns: 1fr;
    }

    /* Service cards */
    .service-banner {
        height: 120px;
    }
    .service-card h3 {
        padding: 0.5rem 0.75rem 0;
        font-size: 1.1rem;
    }
    .service-card p {
        padding: 0 0.75rem 0.75rem;
    }

    /* FAQ — was missing responsive rules entirely */
    .faq-list {
        max-width: 100%;
    }
    .faq-question span {
        font-size: 1rem;
        padding-right: 0.5rem;
    }
    .faq-item {
        padding: 1rem 0;
    }
    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    /* Contact form: 16px min prevents iOS auto-zoom */
    .form-group input,
    .form-group textarea,
    .form-group select,
    .chat-input,
    .meeting-type-label {
        font-size: 1rem;
    }
    .contact-form {
        padding: 1.25rem;
    }

    /* ROI Calculator */
    .roi-inputs {
        grid-template-columns: 1fr;
    }
    .roi-input-group label {
        font-size: 0.9rem;
        font-weight: 600;
    }

    /* GDPR cards */
    .gdpr-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    /* Sticky CTA */
    .sticky-cta-inner {
        padding: 0.6rem 0.75rem;
        gap: 0.5rem;
    }
    .sticky-cta-btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.875rem !important;
        min-height: 44px;
    }

    /* Footer — horizontal logo responsive */
    .footer-logo-img {
        width: 220px;
    }
    .footer-links {
        gap: 0.5rem;
    }
    .footer-links a {
        font-size: 0.875rem;
    }
    .footer-brand p {
        font-size: 0.875rem;
    }

    /* Process steps */
    .step-content h3 {
        font-size: 1rem;
    }
    .step-content p {
        font-size: 0.9rem;
    }

    /* Case cards */
    .case-card {
        padding: 1.25rem;
    }
    .case-industry {
        font-size: 0.75rem;
    }
    .case-card h3 {
        font-size: 1.1rem;
    }
    .case-card p {
        font-size: 0.9rem;
    }

    /* Numbers grid 2 columns on tablet */
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Small mobile (max 480px) — covers 430-480px range --- */
@media (max-width: 480px) {
    /* Hero */
    .hero-logo-block {
        padding: 0.75rem 0.75rem 0;
        margin-bottom: -2rem;
    }
    .hero-logo-img {
        max-width: 100%;
    }
    .hero-ctas .btn {
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Service cards */
    .service-banner {
        height: 100px;
    }

    /* ROI Calculator slider thumb */
    .roi-slider::-webkit-slider-thumb {
        width: 28px;
        height: 28px;
    }
    .roi-slider::-moz-range-thumb {
        width: 28px;
        height: 28px;
    }

    /* GDPR cards — 1 column on small mobile */
    .gdpr-grid {
        grid-template-columns: 1fr;
    }

    /* Meeting type buttons stack vertically */
    .meeting-type-options {
        flex-direction: column;
        gap: 8px;
    }
    .meeting-type-option {
        width: 100%;
    }
    .meeting-type-label {
        padding: 14px 12px;
        font-size: 1rem;
        text-align: center;
    }

    /* Cookie banner tighter */
    .cookie-banner-inner {
        padding: 8px 12px;
        gap: 8px;
    }
    .cookie-btn {
        font-size: 0.875rem;
    }
    .cookie-banner-text {
        font-size: 0.875rem;
    }

    /* Sticky CTA */
    .sticky-cta-btn {
        flex: 1;
        padding: 0.5rem 0.8rem !important;
        font-size: 0.875rem !important;
    }

    /* Chat widget */
    .chat-trigger {
        width: 50px;
        height: 50px;
    }

    /* Chat consent */
    .chat-consent-content {
        padding: 16px;
        max-width: calc(100vw - 32px);
    }
    .chat-consent-content h3 {
        font-size: 1rem;
    }
    .chat-consent-text {
        font-size: 0.875rem;
    }

    /* Footer */
    .footer-logo-img {
        width: 200px;
    }
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    .footer-bottom p {
        font-size: 0.875rem;
    }

    /* Process steps */
    .process-steps {
        gap: 1.5rem;
    }

    /* Numbers grid single column */
    .numbers-grid {
        grid-template-columns: 1fr;
    }
}

/* --- iPhone 14 Pro Max and similar (max 430px) --- */
@media (max-width: 430px) {
    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }
    .service-banner {
        height: 90px;
    }
    .btn {
        padding: 0.75rem 1.2rem;
        font-size: 0.85rem;
    }
    .case-card {
        padding: 1rem;
    }
}

/* --- iPhone SE / Samsung Galaxy (max 375px) --- */
@media (max-width: 375px) {
    /* Nav sidebar fit */
    .nav-links {
        max-width: calc(100vw - 44px);
    }

    /* Container padding tighter */
    .container {
        padding: 0 0.5rem;
    }

    /* Hero logo smaller */
    .hero-logo-img {
        max-width: 75%;
    }

    /* Form inputs: ensure 16px to prevent iOS zoom */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 1rem;
        padding: 0.75rem;
    }

    /* Chat consent tighter */
    .chat-consent-content {
        padding: 12px;
        max-width: 100%;
    }
    .chat-consent-content h3 {
        font-size: 1rem;
    }
    .chat-consent-buttons {
        flex-direction: column;
        gap: 8px;
    }
    .chat-consent-accept,
    .chat-consent-decline {
        width: 100%;
    }

    /* Footer minimal */
    .footer-logo-img {
        width: 180px;
    }
}

/* --- Very small screens (max 360px) --- */
@media (max-width: 360px) {
    .nav-links {
        width: 100%;
        max-width: calc(100% - 44px);
    }
    .nav-links a {
        font-size: 0.95rem;
        padding: 0.5rem 0;
    }
    .chat-window {
        width: 100vw;
        right: 0;
        max-width: none;
    }
    .hero-title {
        font-size: clamp(1.2rem, 6vw, 1.6rem);
    }
    .hero-ctas {
        flex-direction: column;
        gap: 0.5rem;
    }
    .hero-ctas .btn {
        width: 100%;
        text-align: center;
    }
    .hero-logo-block {
        margin-bottom: -1.5rem;
    }
    .hero-logo-img {
        max-width: 70%;
    }
    /* Stat cards compact */
    .stat-card-compact {
        padding: 0.5rem 0.6rem;
    }
    .stat-card-compact .stat-icon {
        width: 36px;
        height: 36px;
    }
    /* Section label spacing */
    .section-label {
        letter-spacing: 0.1em;
    }
    /* Contact form tighter */
    .contact-form {
        padding: 0.75rem;
    }
    /* Footer */
    .footer-logo-img {
        width: 160px;
    }
    /* Sticky CTA tighter */
    .sticky-cta-btn {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.875rem !important;
    }
    /* Cookie banner tighter */
    .cookie-banner-actions {
        gap: 6px;
    }
    .cookie-btn {
        padding: 8px 10px;
        font-size: 0.875rem;
    }
}

/* --- Mobile: Neutralize AIE position:relative offsets that create invisible whitespace --- */
@media (max-width: 768px) {
    /* AIE img rules use position:relative with huge offsets (e.g. top:-797px, left:-1077px)
       These create massive invisible gaps on mobile even when parent .deco-*-bird is display:none */
    img[src*="hero_01_pipeline.png"],
    img[src*="pose_01_pecking.png"],
    img[src*="ai_variant_02_sparkles.png"],
    img[src*="pose_02_perched.png"],
    img[src*="pose_04_front.png"],
    img[src*="pose_03_flying.png"],
    img[src*="pose_06_friendly.png"],
    img[src*="hero_02_telemetry.png"],
    img[src*="ai_variant_04_scanframe.png"],
    img[src*="ai_variant_01_chatbubble_AI.png"] {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: auto !important;
        height: auto !important;
    }

    /* AIE parent div overrides — ensure all decorative birds fully hidden */
    .deco-hero-flock,
    .deco-transition-bird,
    .deco-services-bird,
    .deco-process-bird,
    .deco-problem-bird,
    .deco-roi-bird,
    .deco-cases-bird,
    .deco-about-bird,
    .deco-why-bird,
    .deco-gdpr-bird,
    .deco-contact-bird,
    .deco-trust-bird {
        display: none !important;
    }

    /* AIE absolute-positioned SVG decorations */
    img[src*="gdj-forest-5553123.svg"],
    img[src*="geralt-tree-9292967.svg"] {
        display: none !important;
    }

    /* Fix: Process steps must stack vertically on mobile (not side-by-side) */
    .process-step {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .process-step .step-content {
        width: 100% !important;
    }

    .transition-bird-zone {
        min-height: 0 !important;
        height: 0 !important;
        display: none !important;
    }

    /* Fix: Prevent horizontal scroll from off-screen nav-links */
    html, body {
        overflow-x: hidden !important;
    }
}

/* AIE */ img[src*="hero_01_pipeline.png"] {
    position: relative;
    top: 108px;
    left: 63px;
    width: 420px;
    height: 234px;
    z-index: auto;
    opacity: 0.52;
}

/* AIE */ img[src*="pose_01_pecking.png"] {
    position: relative;
    top: -75px;
    left: -224px;
    z-index: auto;
}

/* AIE */ img[src*="ai_variant_02_sparkles.png"] {
    position: relative;
    top: 254px;
    left: 1061px;
    width: 147px;
    height: 148px;
    z-index: auto;
}

/* AIE */ img[src*="pose_02_perched.png"] {
    position: relative;
    top: -299px;
    left: 703px;
}

/* AIE */ #servicesAnimBird {
    position: relative;
    top: 179px;
    left: 1051px;
}

/* AIE */ img[src*="pose_04_front.png"] {
    position: relative;
    top: -307px;
    left: -15px;
    z-index: auto;
}

/* AIE */ img[src*="pose_03_flying.png"] {
    position: relative;
    top: 83px;
    left: -326px;
    z-index: auto;
}

/* AIE */ img[src*="pose_06_friendly.png"] {
    position: relative;
    top: -797px;
    left: -171px;
    width: 150px;
    height: 150px;
    z-index: auto;
}

/* AIE */ img[src*="gdj-forest-5553123.svg"] {
    position: absolute;
    top: 908px;
    left: 300px;
    width: 200px;
    height: 109px;
    z-index: 100;
}

/* AIE */ img[src*="hero_02_telemetry.png"] {
    position: relative;
    top: 118px;
    left: 1200px;
    width: 320px;
    height: 171px;
    z-index: auto;
}

/* AIE */ .deco-hero-flock {
    position: absolute;
    top: 127px;
    left: -165px;
    width: 320px;
}


/* AIE */ .deco-transition-bird {
    position: absolute;
    top: -37px;
    left: 1046px;
    width: 420px;
}

/* AIE */ .deco-services-bird {
    position: absolute;
    top: 1192px;
    left: 37px;
    width: 150px;
}

/* AIE */ img[src*="ai_variant_04_scanframe.png"] {
    position: relative;
    top: -665px;
    left: -291px;
    width: 150px;
    height: 150px;
    z-index: auto;
}

/* AIE */ img[src*="ai_variant_01_chatbubble_AI.png"] {
    position: relative;
    top: -198px;
    left: -1077px;
    width: 160px;
    height: 160px;
    z-index: auto;
}

/* AIE */ img[src*="geralt-tree-9292967.svg"] {
    position: absolute;
    top: 11344px;
    left: 1178px;
    width: 223px;
    height: 199px;
    z-index: 100;
    opacity: 0.26;
}

/* AIE */ .deco-problem-bird {
    position: absolute;
    top: 543px;
    left: 463px;
    width: 160px;
}


/* AIE custom image reset — prevent src-based rules from moving custom images */
[class*="deco-custom-"] img {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
}

/* AIE */ .deco-roi-bird {
    position: absolute;
    top: -80px;
    left: -72px;
    width: 147px;
}

/* AIE */ .deco-cases-bird {
    position: absolute;
    top: -63px;
    left: 1388px;
    width: 160px;
}
/* AIE */ .deco-cases-bird img {
}

/* AIE */ .deco-about-bird {
    position: absolute;
    top: 439px;
    left: -662px;
    width: 140px;
}

/* AIE */ .deco-why-bird {
    position: absolute;
    top: 810px;
    left: 1155px;
    width: 140px;
}

/* AIE */ .deco-gdpr-bird {
    position: absolute;
    top: 726px;
    left: 1432px;
    width: 140px;
}

/* AIE */ .deco-contact-bird {
    position: absolute;
    top: -2549px;
    left: 1251px;
    width: 150px;
}

/* AIE */ .contact-handshake {
    position: relative;
    top: 0;
    left: 0;
    width: auto;
    opacity: 1;
}

section#hero,
section#provlima,
section#roi-calculator,
section#ypiresies,
section#pos-doulevoume,
section#paradeigmata,
section#poioi-eimaste,
section#giati-emas,
section#gdpr,
section#faq,
section#epikoinonia,
section.section-numbers,
section.trust-badges {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}
