/* ==========================================================================
           1. THEME — Elegant metallic turquoise (steel + teal)
           ========================================================================== */
        :root {
            --brand: #168A86;
            --brand-hover: #0F6562;
            --brand-light: #E5F2F1;
            --brand-text: #0F6562;
            --brand-dark: #1B2A2C;
            --brand-darkest: #0E191B;
            --steel: #6B7B7E;

            --white: #ffffff;
            --gray-50: #f7f9f9;
            --gray-100: #eef2f2;
            --gray-200: #e2e8e8;
            --gray-300: #cdd6d6;
            --gray-400: #b3bfbf;
            --gray-600: #5b6a6c;
            --gray-700: #3d4a4c;
            --gray-800: #283133;

            --text-dark: #16211f;
            --text-muted: #46555a;

            --max-w: 1320px;
            --section-padding-y: 100px;
            --section-padding-x: 24px;
            --radius-global: 8px;

            --shadow-sm: 0 4px 12px rgba(22,138,134,0.05);
            --shadow-md: 0 8px 24px rgba(22,138,134,0.09);
            --shadow-lg: 0 12px 32px rgba(22,138,134,0.13);
            --shadow-xl: 0 20px 48px rgba(22,138,134,0.16);
            --shadow-brand: 0 8px 24px rgba(22,138,134,0.32);

            --transition-fast: 0.15s ease-in-out;
            --transition-normal: 0.3s ease-in-out;
            --transition-slow: 0.5s cubic-bezier(0.25, 1, 0.5, 1);

            --z-elevated: 10;
            --z-sticky: 1000;
            --z-fixed: 1050;
        }

        /* ==========================================================================
           2. RESET & BASE
           ========================================================================== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scroll-padding-top: 92px; }
        body {
            font-family: 'Roboto', sans-serif; background-color: var(--white);
            color: var(--text-dark); line-height: 1.6; overflow-x: hidden; font-size: 1.0625rem;
        }
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Montserrat', sans-serif; line-height: 1.2; color: var(--brand-dark);
            font-weight: 800; margin-bottom: 1rem; letter-spacing: 0;
            overflow-wrap: break-word; word-break: break-word; hyphens: auto;
        }
        p { color: var(--text-muted); margin-bottom: 1.5rem; }
        a { text-decoration: none; color: inherit; transition: color var(--transition-normal); }
        ul, ol { list-style: none; }
        img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-global); }
        :focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

        /* ==========================================================================
           3. UTILITIES
           ========================================================================== */
        .container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--section-padding-x); position: relative; }
        .text-center { text-align: center; }
        .d-flex { display: flex; }
        .align-items-center { align-items: center; }
        .gap-20 { gap: 20px; }

        .section-title { font-size: clamp(1.65rem, 2.6vw, 2.3rem); margin-bottom: 20px; color: var(--brand-dark); }
        .section-subtitle {
            font-size: 0.8rem; color: var(--brand-text); text-transform: uppercase; letter-spacing: 0.25em;
            font-weight: 800; margin-bottom: 14px; display: inline-block; font-family: 'Montserrat', sans-serif;
        }
        .section-subtitle::after { content: ''; display: block; width: 40px; height: 3px; background: var(--brand); margin: 8px auto 0; border-radius: 2px; }
        .lead-info .section-subtitle::after { margin: 8px 0 0; }
        .lead-intro { max-width: 760px; margin: 0 auto; }

        /* ==========================================================================
           4. BUTTONS
           ========================================================================== */
        .btn {
            display: inline-flex; align-items: center; justify-content: center; gap: 12px;
            padding: 16px 32px; border-radius: var(--radius-global); font-weight: 800; font-size: 0.95rem;
            cursor: pointer; transition: all var(--transition-normal); border: 2px solid transparent;
            font-family: 'Montserrat', sans-serif; text-align: center; line-height: 1;
            text-transform: uppercase; letter-spacing: 1px;
        }
        .btn-primary { background: var(--brand); color: var(--white) !important; box-shadow: var(--shadow-brand); }
        .btn-primary:hover:not(:disabled) { background: var(--brand-hover); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(22,138,134,0.4); }
        .btn-primary:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; transform: none; }
        .btn-outline { background: transparent; color: var(--brand-text); border: 2px solid var(--brand); }
        .btn-outline:hover { background: var(--brand); color: var(--white) !important; transform: translateY(-2px); }

        /* ==========================================================================
           5. CARDS
           ========================================================================== */
        .service-card, .why-card, .test-card {
            background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-global);
            box-shadow: var(--shadow-md); transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal); position: relative;
        }
        .service-card:hover, .why-card:hover, .test-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: var(--brand-light); }

        .form-card { padding: 40px; border: none; border-top: 6px solid var(--brand); background: var(--white); border-radius: var(--radius-global); box-shadow: var(--shadow-xl); position: relative; z-index: var(--z-elevated); text-align: left; min-width: 0; }
        .form-card h3 { font-size: clamp(1.4rem, 2.5vw, 1.7rem); margin-bottom: 5px; }
        .form-card p.form-desc { margin-bottom: 22px; font-size: 0.98rem; }

        .input-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
        .input-group label { font-size: 0.82rem; font-weight: 700; color: var(--brand-dark); font-family: 'Montserrat', sans-serif; text-transform: uppercase; }
        .input-group input, .input-group textarea {
            background: var(--white); border: 1px solid var(--gray-300); color: var(--text-dark);
            border-radius: var(--radius-global); padding: 14px 16px; font-family: 'Roboto', sans-serif;
            font-size: 1rem; transition: all var(--transition-normal); width: 100%;
        }
        .input-group input:focus, .input-group textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(22,138,134,0.15); }
        .input-group textarea { resize: vertical; min-height: 90px; }

        /* MULTI-STEP FORM */
        .form-step { display: none; animation: fadeIn 0.4s ease-in-out; }
        .form-step.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        .service-select-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 22px; }
        .service-select-card {
            border: 1px solid var(--gray-200); border-radius: var(--radius-global); padding: 15px 10px;
            display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
            cursor: pointer; transition: all var(--transition-fast); background: var(--gray-50); user-select: none;
        }
        .service-select-card i { font-size: 2rem; color: var(--brand-dark); margin-bottom: 8px; transition: all var(--transition-fast); }
        .service-select-card span { font-size: 0.78rem; font-weight: 700; color: var(--brand-dark); line-height: 1.2; text-transform: uppercase; }
        .service-select-card:hover { border-color: var(--brand); background: var(--white); }
        .service-select-card.selected { border-color: var(--brand); background: var(--brand-light); box-shadow: inset 0 0 0 1px var(--brand); }
        .service-select-card.selected i { color: var(--brand); }
        .step-buttons { display: flex; gap: 15px; margin-top: 10px; }
        .step-buttons button { flex: 1; }
        .form-success { display: none; text-align: center; padding: 20px 0; }
        .form-success.active { display: block; animation: fadeIn 0.4s ease-in-out; }
        .form-success i { font-size: 3.5rem; color: var(--brand); margin-bottom: 15px; display: inline-block; }

        /* ==========================================================================
           6. HEADER & NAV
           ========================================================================== */
        /* Top-bar is a normal block at the very top: it scrolls away and returns at the top,
           while only .nav-wrapper sticks. No JS, so there is no collapse feedback loop. */
        .top-bar { background: var(--brand-dark); color: var(--gray-300); padding: 10px 0; font-size: 0.88rem; }
        .top-bar a { color: var(--gray-300); font-weight: 500; }
        .top-bar a:hover { color: var(--white); }
        .top-bar i { color: var(--brand-light); margin-right: 6px; font-size: 1.05rem; vertical-align: -2px; }
        .top-bar-inner { display: flex; justify-content: space-between; align-items: center; }

        /* Wrapper vanishes from layout so .nav-wrapper sticks relative to <body> (tall), not a short box */
        .header-sticky-wrapper { display: contents; }
        .nav-wrapper {
            position: sticky; top: 0; z-index: var(--z-sticky); width: 100%;
            background: rgba(255,255,255,0.98); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
            box-shadow: var(--shadow-md); border-bottom: 1px solid var(--gray-200);
        }
        .nav { padding: 14px 0; display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
        .nav-logo-link { display: flex; align-items: center; gap: 12px; }
        .nav-logo { display: flex; align-items: center; gap: 12px; font-family: 'Montserrat', sans-serif; }
        .nav-logo .mark {
            width: 46px; height: 46px; border-radius: var(--radius-global); flex-shrink: 0;
            background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
            display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.5rem;
            box-shadow: var(--shadow-sm);
        }
        .nav-logo .word { display: flex; flex-direction: column; line-height: 1.05; }
        .nav-logo .word b { font-size: 1.15rem; font-weight: 900; color: var(--brand-dark); text-transform: uppercase; letter-spacing: 1px; }
        .nav-logo .word small { font-size: 0.62rem; font-weight: 700; color: var(--brand-text); text-transform: uppercase; letter-spacing: 3px; }

        .nav-links { display: flex; gap: 32px; align-items: center; }
        .nav-links a { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; color: var(--brand-dark); position: relative; letter-spacing: 1px; }
        .nav-links a:hover { color: var(--brand); }
        .nav-links a::after { content: ''; position: absolute; width: 0; height: 3px; bottom: -6px; left: 0; background: var(--brand); transition: width var(--transition-normal); border-radius: 2px; }
        .nav-links a:hover::after { width: 100%; }

        /* Services dropdown */
        .nav-item { position: relative; display: flex; align-items: center; }
        .nav-item > a { display: inline-flex; align-items: center; gap: 6px; }
        .nav-item .caret { font-size: 0.85rem; transition: transform var(--transition-normal); }
        .nav-dropdown {
            position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
            min-width: 300px; background: var(--white); border: 1px solid var(--gray-200);
            border-radius: var(--radius-global); box-shadow: var(--shadow-xl); padding: 10px; margin-top: 14px;
            display: grid; gap: 2px; opacity: 0; visibility: hidden; transition: all var(--transition-normal); z-index: var(--z-sticky);
        }
        .nav-dropdown::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
        .nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
        .nav-item:hover .caret, .nav-item:focus-within .caret { transform: rotate(180deg); }
        .nav-dropdown a { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 6px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.82rem; letter-spacing: 0; color: var(--brand-dark); }
        .nav-dropdown a i { color: var(--brand); font-size: 1.15rem; }
        .nav-dropdown a::after { display: none; }
        .nav-dropdown a:hover { background: var(--brand-light); color: var(--brand-hover); }

        /* Mobile drawer services submenu */
        .drawer-sub { border-bottom: 1px solid var(--gray-100); }
        .drawer-sub summary { font-family: 'Montserrat', sans-serif; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; color: var(--brand-dark); padding: 12px 4px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
        .drawer-sub summary::-webkit-details-marker { display: none; }
        .drawer-sub summary i { transition: transform var(--transition-fast); color: var(--brand); }
        .drawer-sub[open] summary i { transform: rotate(180deg); }
        .drawer-sub a { display: block; padding: 11px 4px 11px 16px; font-size: 0.8rem; color: var(--text-muted); border-bottom: none; }

        .nav-cta { display: flex; gap: 18px; align-items: center; }
        .mobile-menu-btn { display: none; font-size: 2.1rem; color: var(--brand-dark); background: none; border: none; cursor: pointer; }

        /* Mobile drawer */
        .mobile-drawer { display: none; flex-direction: column; gap: 6px; padding: 16px var(--section-padding-x) 24px; background: var(--white); border-top: 1px solid var(--gray-200); position: relative; z-index: 2; }
        .mobile-drawer.open { display: flex; }
        .mobile-drawer a { font-family: 'Montserrat', sans-serif; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; color: var(--brand-dark); padding: 12px 4px; border-bottom: 1px solid var(--gray-100); }
        .mobile-drawer .btn { margin-top: 12px; }
        .nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(14,25,27,0.5); z-index: 1; }
        .nav-backdrop.open { display: block; }

        /* ==========================================================================
           7. HERO
           ========================================================================== */
        .hero {
            position: relative; min-height: 80vh; display: flex; align-items: center; padding: 60px 0 80px;
            background-image: url('https://matyas--clientsflow-studio-prod-web.modal.run/img/projects/d4eeb5bc3d884b57852c8df4ef7beea3/lab/ad5f5eb05ad84d2ea154712bd0494e02/img/ipari-hegesztes-femszerkezet-gyartas-ef39.jpg');
            background-size: cover; background-position: center; overflow: hidden;
        }
        .hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(14,25,27,0.93) 0%, rgba(22,138,134,0.78) 100%); z-index: 1; }
        .hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
        .hero-grid > * { min-width: 0; }
        .hero-text h1 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); margin-bottom: 20px; color: var(--white) !important; line-height: 1.18; }
        .hero-text p.hero-subtitle { font-size: 1.15rem; color: var(--gray-200) !important; margin-bottom: 32px; max-width: 600px; font-weight: 400; }
        .hero-features { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
        .hero-feature-item {
            display: flex; align-items: center; gap: 8px; font-weight: 700; background: rgba(255,255,255,0.1);
            font-size: 0.8rem; font-family: 'Montserrat', sans-serif; text-transform: uppercase;
            padding: 9px 16px; border: 1px solid rgba(255,255,255,0.2); color: var(--white); border-radius: var(--radius-global); backdrop-filter: blur(4px);
        }
        .hero-feature-item i { color: #6fd8d2; font-size: 1.1rem; }

        /* ==========================================================================
           8. TRUST STRIP
           ========================================================================== */
        .trust-badges { background: var(--brand); padding: 36px 0; position: relative; z-index: var(--z-elevated); box-shadow: 0 10px 30px rgba(0,0,0,0.12); color: var(--white); border-top: 4px solid var(--brand-hover); }
        .trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
        .trust-item { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 14px; font-family: 'Montserrat', sans-serif; font-size: 0.92rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
        .trust-item i { width: 62px; height: 62px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--brand); background: var(--white); border-radius: var(--radius-global); box-shadow: var(--shadow-sm); }

        /* ==========================================================================
           9. SERVICES
           ========================================================================== */
        .services { padding: var(--section-padding-y) 0; background: var(--gray-50); }
        .services-head { text-align: center; margin-bottom: 60px; }
        .service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
        .service-card { padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; border-top: 4px solid transparent; align-items: flex-start; }
        .service-card:hover { border-top-color: var(--brand); }
        .service-card .ic { width: 64px; height: 64px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 2.2rem; color: var(--brand); background: var(--brand-light); border-radius: var(--radius-global); }
        .service-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
        .service-card p { margin: 0; font-size: 0.98rem; }
        .service-card .more { margin-top: auto; padding-top: 8px; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; color: var(--brand-text); display: inline-flex; align-items: center; gap: 8px; }
        .service-card:hover .more { gap: 14px; }
        .section-cta { text-align: center; margin-top: 56px; }
        .section-cta p { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--brand-dark); margin-bottom: 18px; font-size: 1.05rem; }
        .process .section-cta p { color: rgba(255,255,255,0.88); }

        /* ==========================================================================
           10. PROCESS
           ========================================================================== */
        .process { padding: var(--section-padding-y) 0; background: var(--brand-dark); color: var(--white); text-align: center; }
        .process .section-title { color: var(--white) !important; }
        .process p.lead-intro { color: var(--gray-400) !important; }
        .process .section-subtitle { color: var(--brand-light); }
        .process .section-subtitle::after,
        .stats-section .section-subtitle::after,
        .lead-info .section-subtitle::after { background: var(--brand-light); }
        .process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 80px; position: relative; }
        .process-step {
            position: relative; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
            padding: 60px 26px 36px; transition: all var(--transition-normal); box-shadow: var(--shadow-lg); z-index: 2; border-radius: var(--radius-global);
        }
        .process-step:hover { transform: translateY(-8px); border-color: var(--brand); background: rgba(255,255,255,0.06); }
        .process-number {
            position: absolute; top: -28px; left: 50%; transform: translateX(-50%); width: 58px; height: 58px;
            background: var(--brand); color: var(--white) !important; display: flex; align-items: center; justify-content: center;
            font-size: 1.4rem; font-weight: 900; font-family: 'Montserrat', sans-serif; box-shadow: 0 0 0 8px var(--brand-dark); border-radius: 50%; transition: all var(--transition-normal);
        }
        .process-step:hover .process-number { background: var(--white); color: var(--brand) !important; transform: translateX(-50%) scale(1.08); }
        .process-step i { font-size: 3rem; color: var(--brand-light); margin-bottom: 18px; display: block; }
        .process-step h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--white) !important; }
        .process-step p { color: rgba(255,255,255,0.7) !important; font-size: 0.92rem; margin: 0; }

        /* ==========================================================================
           11. WHY US
           ========================================================================== */
        .why-us { padding: var(--section-padding-y) 0; background: var(--white); }
        .why-head { text-align: center; margin-bottom: 60px; }
        .why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
        .why-card { padding: 44px 36px; text-align: center; border-bottom: 4px solid var(--brand); }
        .why-card i { font-size: 3.2rem; color: var(--brand); margin-bottom: 22px; display: inline-block; }
        .why-card h3 { font-size: 1.3rem; margin-bottom: 14px; }
        .why-card p { margin: 0; }

        /* ==========================================================================
           12. STATS (parallax)
           ========================================================================== */
        .stats-section {
            background: linear-gradient(rgba(14,25,27,0.9), rgba(22,138,134,0.85)),
                url('https://matyas--clientsflow-studio-prod-web.modal.run/img/projects/d4eeb5bc3d884b57852c8df4ef7beea3/lab/ad5f5eb05ad84d2ea154712bd0494e02/img/hegesztett-acelszerkezet-gyartas-muhelyben-144b.jpg') center center;
            background-size: cover; padding: 90px 0; color: var(--white); text-align: center;
        }
        .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 10px; }
        .stat-item { padding: 18px; }
        .stat-item i { font-size: 3rem; color: #6fd8d2; margin-bottom: 16px; display: inline-block; animation: float 4s ease-in-out infinite; }
        .stat-item h3 { font-family: 'Montserrat', sans-serif; font-size: 2.2rem; color: var(--white) !important; margin-bottom: 5px; font-weight: 900; }
        .stat-item p { color: rgba(255,255,255,0.85) !important; font-size: 0.92rem; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; margin: 0; }
        @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

        /* ==========================================================================
           13. GALLERY
           ========================================================================== */
        .gallery-section { padding: var(--section-padding-y) 0; background: var(--gray-50); }
        .gallery-head { text-align: center; margin-bottom: 50px; }
        .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
        .gallery-cell { display: flex; flex-direction: column; gap: 8px; }
        .gallery-item { position: relative; overflow: hidden; cursor: pointer; border-radius: var(--radius-global); background: var(--brand-darkest); aspect-ratio: 4 / 3; border: none; padding: 0; width: 100%; display: block; }
        .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); border-radius: var(--radius-global); }
        .gallery-item::after { content: ''; position: absolute; inset: 0; background: rgba(14,25,27,0.18); transition: background var(--transition-normal); }
        .gallery-item:hover img { transform: scale(1.07); }
        .gallery-item:hover::after { background: rgba(22,138,134,0.28); }
        .gallery-zoom { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.6); width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; opacity: 0; transition: all var(--transition-normal); box-shadow: var(--shadow-lg); pointer-events: none; z-index: 2; }
        .gallery-item:hover .gallery-zoom { opacity: 1; transform: translate(-50%, -50%) scale(1); }
        .gallery-caption { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; margin: 0; }

        /* Lightbox */
        .lightbox { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; background: rgba(14,25,27,0.93); padding: 24px; }
        .lightbox.open { display: flex; }
        .lb-figure { margin: 0; max-width: 1040px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
        .lb-img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--radius-global); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
        .lb-caption { color: rgba(255,255,255,0.92); font-size: 1rem; text-align: center; max-width: 760px; font-family: 'Roboto', sans-serif; }
        .lb-caption:empty { display: none; }
        .lb-btn { position: absolute; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); color: var(--white); width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: pointer; transition: background var(--transition-fast); }
        .lb-btn:hover { background: rgba(255,255,255,0.26); }
        .lb-close { top: 22px; right: 22px; }
        .lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
        .lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
        @media (max-width: 600px) { .lb-btn { width: 44px; height: 44px; font-size: 1.3rem; } .lb-prev { left: 10px; } .lb-next { right: 10px; } .lb-close { top: 14px; right: 14px; } }
        .gallery-item:hover img { transform: scale(1.07); }
        .gallery-item:hover::after { background: rgba(22,138,134,0.28); }

        /* ==========================================================================
           14. MATERIALS ACCORDION
           ========================================================================== */
        .materials-section { padding: var(--section-padding-y) 0; background: var(--white); }
        .materials-head { text-align: center; margin-bottom: 40px; }
        .accordion-container { display: flex; height: 460px; gap: 14px; overflow: hidden; }
        .accordion-panel { flex: 1; position: relative; overflow: hidden; border-radius: var(--radius-global); transition: flex var(--transition-slow); cursor: pointer; box-shadow: var(--shadow-md); border: 1px solid var(--gray-200); }
        .accordion-panel::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,25,27,0.95) 0%, rgba(22,138,134,0.4) 60%, transparent 100%); opacity: 0.72; transition: opacity var(--transition-normal); z-index: 1; }
        .accordion-panel:hover { flex: 4; box-shadow: var(--shadow-xl); border-color: var(--brand); }
        .accordion-panel:hover::before { opacity: 0.95; }
        .accordion-panel img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
        .accordion-panel:hover img { transform: scale(1.05); }
        .accordion-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 34px; color: var(--white); opacity: 0; transition: opacity var(--transition-slow); transition-delay: 0.1s; z-index: 2; }
        .accordion-panel:hover .accordion-content { opacity: 1; }
        .accordion-content h4 { color: var(--brand-light) !important; font-size: 1.4rem; margin-bottom: 8px; font-weight: 900; }
        .accordion-content p { color: rgba(255,255,255,0.9) !important; margin: 0; font-size: 1rem; }
        .vertical-title { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(270deg); transition: all var(--transition-slow); font-size: 1.3rem; font-family: 'Montserrat', sans-serif; text-transform: uppercase; letter-spacing: 4px; color: var(--white); font-weight: 800; text-shadow: 0 4px 10px rgba(0,0,0,0.8); white-space: nowrap; pointer-events: none; z-index: 2; }
        .accordion-panel:hover .vertical-title { opacity: 0; }

        /* ==========================================================================
           15. TESTIMONIALS
           ========================================================================== */
        .testimonials { padding: var(--section-padding-y) 0; background: var(--gray-50); }
        .test-head { text-align: center; margin-bottom: 60px; }
        .test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
        .test-card { padding: 38px 34px; border-top: 4px solid var(--brand); }
        .stars { color: #f5b041; font-size: 1.3rem; display: flex; gap: 4px; margin-bottom: 18px; }
        .test-card p.quote { font-size: 1rem; font-style: italic; margin-bottom: 26px; color: var(--gray-700); line-height: 1.75; }
        .test-author { display: flex; align-items: center; gap: 18px; border-top: 1px solid var(--gray-200); padding-top: 22px; }
        .test-author .avatar { width: 48px; height: 48px; background: var(--brand-light); color: var(--brand) !important; display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: 'Montserrat', sans-serif; font-size: 1.2rem; border-radius: 50%; }
        .test-author h4 { margin-bottom: 2px; font-size: 0.98rem; }
        .test-author span { font-size: 0.82rem; color: var(--brand-text); font-weight: 700; text-transform: uppercase; }

        /* ==========================================================================
           16. FAQ
           ========================================================================== */
        .faq-section { padding: var(--section-padding-y) 0; background: var(--white); }
        .faq-head { text-align: center; }
        .faq-accordion { max-width: 820px; margin: 50px auto 0; display: flex; flex-direction: column; gap: 14px; }
        .faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-global); overflow: hidden; transition: all var(--transition-normal); box-shadow: var(--shadow-sm); }
        .faq-item:hover { border-color: var(--brand); box-shadow: var(--shadow-md); }
        .faq-question { padding: 20px 26px; display: flex; justify-content: space-between; align-items: center; gap: 18px; cursor: pointer; font-weight: 800; font-family: 'Montserrat', sans-serif; font-size: 1.02rem; color: var(--brand-dark); background: none; border: none; width: 100%; text-align: left; }
        .faq-question i { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; color: var(--brand); font-size: 1.3rem; transition: transform var(--transition-normal); background: var(--brand-light); border-radius: 50%; flex-shrink: 0; }
        .faq-answer { padding: 0 26px; max-height: 0; overflow: hidden; transition: all 0.5s cubic-bezier(0, 1, 0, 1); color: var(--text-muted); opacity: 0; }
        .faq-item.active .faq-answer { padding: 0 26px 24px; max-height: 400px; opacity: 1; transition: all 0.5s ease-in-out; }
        .faq-item.active .faq-question i { transform: rotate(180deg); background: var(--brand); color: var(--white); }

        /* ==========================================================================
           17. BOTTOM LEAD-GEN
           ========================================================================== */
        .bottom-lead { padding: var(--section-padding-y) 0; background: var(--gray-50); }
        .bottom-lead-inner { background: var(--white); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow-xl); border: 1px solid var(--gray-200); border-radius: var(--radius-global); }
        .lead-info {
            padding: 56px; background-image: url('https://matyas--clientsflow-studio-prod-web.modal.run/img/projects/d4eeb5bc3d884b57852c8df4ef7beea3/lab/ad5f5eb05ad84d2ea154712bd0494e02/img/sarokcsiszolas-femmegmunkalas-lakatosmuhely-6f46.jpg');
            background-size: cover; background-position: center; position: relative;
        }
        .lead-info::before { content: ''; position: absolute; inset: 0; background: rgba(15,101,98,0.93); }
        .lead-info-content { position: relative; z-index: 2; color: var(--white) !important; height: 100%; display: flex; flex-direction: column; }
        .lead-info-content h2 { color: var(--white) !important; font-size: 1.6rem; }
        .lead-info-content p { color: rgba(255,255,255,0.88) !important; margin-bottom: 32px; }
        .lead-info-item { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; font-size: 1.05rem; background: rgba(255,255,255,0.1); padding: 14px 18px; border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-global); }
        .lead-info-item i { font-size: 1.6rem; color: var(--white); }
        .lead-info-item strong { font-family: 'Montserrat', sans-serif; font-size: 1.05rem; color: var(--white) !important; }
        .lead-form-wrapper { padding: 56px; background: var(--white); }

        /* ==========================================================================
           18. FOOTER
           ========================================================================== */
        .footer { background: var(--brand-darkest); color: var(--white); padding: 76px 0 28px; position: relative; overflow: hidden; }
        .footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--brand) 0%, var(--brand-hover) 100%); }
        .footer p { color: rgba(255,255,255,0.6) !important; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 50px; margin-bottom: 56px; }
        .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
        .footer-logo .mark { width: 44px; height: 44px; border-radius: var(--radius-global); background: linear-gradient(135deg, var(--brand) 0%, var(--steel) 100%); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.4rem; }
        .footer-logo b { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; color: var(--white); text-transform: uppercase; letter-spacing: 1px; }
        .footer-col h4 { font-size: 1.15rem; margin-bottom: 22px; color: var(--white) !important; position: relative; padding-bottom: 12px; }
        .footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; background: var(--brand); border-radius: 2px; }
        .footer-links { display: flex; flex-direction: column; gap: 13px; font-size: 0.98rem; }
        .footer-links a { color: rgba(255,255,255,0.62) !important; display: flex; align-items: center; gap: 11px; }
        .footer-links a:hover { color: var(--brand-light) !important; transform: translateX(4px); }
        .footer-links i { font-size: 1.05rem; color: var(--brand); }
        .footer-bottom { text-align: center; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.88rem; color: rgba(255,255,255,0.5) !important; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }

        /* ==========================================================================
           19. FLOATING WIDGETS
           ========================================================================== */
        .widget-phone { position: fixed; bottom: 100px; right: 26px; height: 58px; width: 58px; background: var(--white); display: flex; align-items: center; box-shadow: 0 10px 25px rgba(0,0,0,0.15); z-index: var(--z-fixed); overflow: hidden; transition: width 0.4s cubic-bezier(0.175,0.885,0.32,1.275); cursor: pointer; border: 1px solid var(--gray-200); border-radius: 30px; }
        .widget-phone .icon-wrapper { min-width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--brand); }
        .widget-phone .text-wrapper { white-space: nowrap; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1rem; padding-right: 20px; opacity: 0; transition: opacity 0.3s; color: var(--brand-dark) !important; }
        .widget-phone:hover { width: 210px; border-color: var(--brand); }
        .widget-phone:hover .text-wrapper { opacity: 1; transition-delay: 0.15s; }
        .widget-chat { position: fixed; bottom: 26px; right: 26px; height: 58px; width: 58px; background: var(--brand); color: var(--white) !important; box-shadow: 0 10px 25px rgba(22,138,134,0.32); z-index: var(--z-fixed); overflow: hidden; transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275); border-radius: 30px; }
        .widget-chat .icon-wrapper { position: absolute; bottom: 0; right: 0; min-width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; cursor: pointer; z-index: 2; }
        .chat-window { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--white); color: var(--text-dark); display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity 0.2s; overflow: hidden; border-radius: var(--radius-global); }
        .chat-header { background: var(--brand-dark); color: var(--white); padding: 30px; font-family: 'Montserrat', sans-serif; border-bottom: 4px solid var(--brand); }
        .chat-header h4 { color: var(--white) !important; font-size: 1.5rem; margin-bottom: 6px; }
        .chat-header p { color: rgba(255,255,255,0.8) !important; font-size: 0.95rem; margin: 0; text-transform: none; }
        .chat-body { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; gap: 16px; }
        .chat-body label { font-size: 0.8rem !important; margin-bottom: 6px; display: block; font-weight: 700; color: var(--brand-dark); font-family: 'Montserrat', sans-serif; text-transform: uppercase; }
        .chat-body input, .chat-body textarea { font-size: 1rem !important; padding: 14px !important; background: var(--white); border: 1px solid var(--gray-300); width: 100%; font-family: 'Roboto', sans-serif; border-radius: var(--radius-global); }
        .chat-body input:focus, .chat-body textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(22,138,134,0.1); }
        .chat-body textarea { height: 120px; resize: none; }
        .chat-body button { font-size: 1.05rem !important; padding: 16px !important; width: 100%; margin-top: auto; border: none; font-family: 'Montserrat', sans-serif; font-weight: 800; text-transform: uppercase; cursor: pointer; color: var(--white) !important; background: var(--brand); border-radius: var(--radius-global); }
        .chat-body button:hover { background: var(--brand-hover); }
        .widget-chat:hover { width: 420px; height: 580px; box-shadow: var(--shadow-xl); background: var(--white); border-radius: var(--radius-global); }
        .widget-chat:hover .icon-wrapper { display: none; }
        .widget-chat:hover .chat-window { opacity: 1; pointer-events: all; transition-delay: 0.15s; }

        /* ==========================================================================
           20. MEDIA QUERIES
           ========================================================================== */
        @media (max-width: 1200px) {
            .service-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
            .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
        }
        @media (max-width: 992px) {
            /* Collapse to the hamburger early so the full desktop nav never overflows on tablet */
            .nav-links, .nav-cta { display: none; }
            .mobile-menu-btn { display: block; }
            .top-bar { display: none; }
            .hero-grid { grid-template-columns: 1fr; text-align: center; }
            .hero-subtitle { margin: 0 auto 32px; }
            .hero-features { justify-content: center; }
            .why-grid, .test-grid { grid-template-columns: repeat(2, 1fr); }
            .process-grid { grid-template-columns: repeat(2, 1fr); gap: 56px 36px; }
            .bottom-lead-inner { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .accordion-container { flex-direction: column; height: auto; }
            .accordion-panel { height: 140px; }
            .accordion-panel:hover { flex: 1; height: 320px; }
            .vertical-title { transform: translate(-50%, -50%) rotate(0deg); letter-spacing: 2px; }
        }
        @media (max-width: 768px) {
            :root { --section-padding-y: 64px; }
            .service-grid, .why-grid, .test-grid { grid-template-columns: 1fr; }
            .trust-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; }
            .stats-grid { grid-template-columns: 1fr; gap: 36px; }
            .lead-info, .lead-form-wrapper { padding: 36px 22px; }
            .widget-phone { display: none; }
            .widget-chat { width: 52px; height: 52px; bottom: 18px; right: 16px; }
            .widget-chat .icon-wrapper { min-width: 52px; height: 52px; font-size: 1.5rem; }
        }
        @media (max-width: 420px) {
            .hero-text h1 { font-size: 2rem; }
            .process-grid { grid-template-columns: 1fr; }
            .form-card { padding: 24px 18px; }
            .widget-chat:hover { width: calc(100vw - 36px); height: calc(100vh - 36px); right: 18px; bottom: 18px; }
        }

        /* Touch devices: accordion content can't rely on hover */
        @media (hover: none) {
            .accordion-container { flex-direction: column; height: auto; }
            .accordion-panel { flex: 1 !important; height: 260px; }
            .accordion-panel::before { opacity: 0.92; }
            .accordion-content { opacity: 1; }
            .vertical-title { display: none; }
            .widget-phone:hover, .widget-chat:hover { width: 58px; }
            .widget-chat:hover .chat-window { opacity: 0; pointer-events: none; }
            .widget-chat:hover .icon-wrapper { display: flex; }
        }

        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
        }
