/* site.css: Somodi és Fia. Design: the presented homepage-1 v2 (sales-prep kit, 2026-11-13).
   Bundled by build.py: fonts, icon rules, design CSS, catalog CSS, legal page CSS, PhotoSwipe 5.4.4 CSS (MIT). */
@font-face{font-family:'Public Sans';font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fonts/public-sans-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Public Sans';font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fonts/public-sans-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Schibsted Grotesk';font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/fonts/schibsted-grotesk-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Schibsted Grotesk';font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/fonts/schibsted-grotesk-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
        /* Inline Phosphor SVG icons inside the design's <i class="ph ..."> (replaces the icon font). */
        i.ph, i.ph-bold, i.ph-fill { display: inline-flex; align-items: center; justify-content: center; width: 1em; height: 1em; line-height: 1; vertical-align: -0.125em; font-style: normal; flex-shrink: 0; }
        i.ph svg, i.ph-bold svg, i.ph-fill svg { width: 1em; height: 1em; display: block; }
        .mobile-menu-btn i .ic-x, .mobile-menu-btn i.ph-x .ic-list { display: none; }
        .mobile-menu-btn i.ph-x .ic-x, .mobile-menu-btn i span { display: contents; }
        .mobile-menu-btn i.ph-x .ic-list { display: none; }
        .mobile-menu-btn i:not(.ph-x) .ic-x { display: none; }
        button.service-select-card, button.service-btn { font: inherit; color: inherit; text-align: center; width: 100%; }


        /* palette:start */
        :root {
            /* Brand: orange only for CTAs, icons, logo and progress */
            --brand: #980000;
            --brand-rgb: 152, 0, 0;
            --brand-text: #980000;  /* brand-coloured text and icons on light grounds (make_palette keeps it 3:1 on white) */
            --on-brand: #FFFFFF;  /* text and icons on a --brand fill (white, or the dark tone when white fails 3:1) */
            --brand-hover: #E2483D;
            --brand-soft: #FF876B;
            --brand-light: #FFF1EB;
            --logo-color: #FF5B4A;

            /* Charcoal and stone */
            --brand-dark: #23201D;
            --brand-dark-rgb: 35, 32, 29;
            --brand-darkest: #161412;
            --brand-darkest-rgb: 22, 20, 18;
            --accent: #BCA08F;
            --accent-rgb: 188, 160, 143;
            --accent-strong: #876753;

            /* Neutrals */
            --white: #FFFFFF;
            --white-rgb: 255, 255, 255;
            --black: #000000;
            --black-rgb: 0, 0, 0;
            --gray-50: #F9F6F3;
            --gray-100: #F2EDE8;
            --gray-200: #E6DED9;
            --gray-300: #D0C6BF;
            --gray-400: #ADA199;
            --gray-500: #8B8079;
            --gray-600: #6B615B;
            --gray-700: #49423D;
            --gray-800: #2B2622;

            /* Text */
            --text-dark: #23201D;
            --text-body: #3F3833;
            --text-muted: #5F5752;
            --text-light: #EEEEEE;
            --text-on-dark-muted: #D9CEC7;

            /* Status and rating */
            --star: #E7A817;
            --error: #B42318;
            --error-bg: #FFF4F2;

            /* Heading decor */
            --decor-line: #CEBAAC;
            --decor-dot: #FFFFFF;
            --decor-ring: #BCA08F;

            /* Shadows (colour lives here, geometry too) */
            --text-shadow-on-dark: 0 2px 12px rgba(0, 0, 0, 0.55);
            --shadow-sm: 0 1px 2px rgba(35, 32, 29, 0.06);
            --shadow-md: 0 6px 18px -6px rgba(35, 32, 29, 0.14);
            --shadow-lg: 0 18px 40px -14px rgba(35, 32, 29, 0.22);
            --shadow-xl: 0 30px 60px -20px rgba(22, 20, 18, 0.35);
            --shadow-brand: 0 10px 24px -8px rgba(152, 0, 0, 0.45);
            --popup-stroke: 0 0 0 2px #FFFFFF, 0 0 0 4px #161412, 0 0 0 6px #FF5B4A, 0 24px 50px rgba(0, 0, 0, 0.35);

            /* Map (Hungary location section) */
            --map-land: #FFFFFF;
            --map-road: #DED4CD;
            --map-water: #D2DADF;
        }
        /* palette:end */

        :root {
            --max-w: 1320px;
            --section-padding-y: 160px;
            --section-padding-x: 24px;
            --header-margin-bottom: 80px;
            --header-margin-bottom-column: 24px;
            --radius-global: 6px;
            --radius-card: 8px;
            --header-h: 133px;

            --transition-fast: 0.15s ease-in-out;
            --transition-normal: 0.3s ease-in-out;
            --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);

            --z-base: 1;
            --z-elevated: 10;
            --z-dropdown: 100;
            --z-sticky: 1000;
            --z-fixed: 1050;
            --z-lightbox: 9999;
        }

        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
        
        body {
            font-family: 'Public Sans', system-ui, sans-serif;
            background-color: var(--white);
            color: var(--text-dark);
            line-height: 1.6;
            font-size: 1.125rem;
            position: relative;
        }
        body.no-scroll { overflow: hidden; }

        h1, h2, h3, h4, h5, h6 { line-height: 1.2; color: var(--brand-dark); font-weight: bold; margin-bottom: 1rem; }
        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); }

        section, header, footer, div[id] { scroll-margin-top: 150px; }
        .no-break-headline { white-space: nowrap; }

        .fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; will-change: opacity, transform; }
        .fade-in.is-visible { opacity: 1; transform: translateY(0); }

        .container {
            width: 100%; max-width: var(--max-w);
            margin: 0 auto; padding: 0 var(--section-padding-x);
            position: relative; z-index: var(--z-base);
        }
        .text-center { text-align: center; }
        .text-brand { color: var(--brand-text); }
        .text-white { color: var(--white) !important; }
        .text-brand-dark { color: var(--brand-dark); }
        .bg-gray { background-color: var(--gray-50); }
        .bg-alternate { background-color: var(--gray-100); }
        .bg-white { background-color: var(--white); }
        .d-flex { display: flex; }
        .align-items-center { align-items: center; }
        .justify-content-center { justify-content: center; }
        .justify-content-between { justify-content: space-between; }
        .gap-10 { gap: 10px; }
        .gap-20 { gap: 20px; }
        .dark-bg-text { color: var(--white) !important; }
        .dark-bg-text-sub { color: rgba(var(--white-rgb), 0.95) !important; }

        /* Section titles are 25% smaller than the first design (Matt's review 2026-10-15, prosales.hu); every responsive override below keeps the same 0.75 ratio. */
        .section-title { font-size: clamp(1.875rem, 3vw, 2.625rem); color: var(--brand-dark); margin-bottom: 20px; }
        .section-subtitle { font-size: 1.125rem; color: var(--brand-text); display: block; margin-bottom: 10px; }
        /* One spacing rule for every heading: a stacked, centred header keeps --header-margin-bottom above its content; a left-aligned header sits in a text column right above its own copy and keeps --header-margin-bottom-column. No per-section values (Matt's review 2026-10-15, prosales.hu). */
        .section-header { margin-bottom: var(--header-margin-bottom) !important; position: relative; z-index: 2; }
        .section-header:not(.text-center) { margin-bottom: var(--header-margin-bottom-column) !important; }
        .section-header.text-center { text-align: center; }
        .section-header .section-title { margin-bottom: 0 !important; }
        .section-header p { margin-top: 15px; margin-bottom: 0; }

        .btn {
            display: inline-flex; align-items: center; justify-content: center; gap: 12px;
            padding: 16px 32px; border-radius: var(--radius-global); font-size: 1.125rem; cursor: pointer;
            transition: all var(--transition-normal); border: 2px solid transparent; text-align: center; line-height: 1;
        }
        .btn-primary { background-color: var(--brand); color: var(--on-brand); }
        .btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
        .btn-outline { background-color: transparent; color: var(--brand-dark); border: 2px solid var(--brand-dark); }
        
        .section-cta-wrapper { margin-top: 40px; display: flex; justify-content: center; }

        .feature-card, .why-card, .info-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-global); position: relative; z-index: 1; }
        .form-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-global); padding: 40px; z-index: var(--z-elevated); }
        .form-card h3 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 5px; color: var(--brand-dark); }
        .form-card p.form-desc { margin-bottom: 25px; font-size: 1rem; }
        .feature-card { padding: 35px; display: flex; gap: 25px; align-items: flex-start; overflow: hidden; }
        .feature-card > * { position: relative; z-index: 2; }
        .feature-card i { font-size: 3rem; color: var(--brand-dark); background: var(--brand-light); padding: 15px; border-radius: var(--radius-global); }
        .feature-card h4 { font-size: 1.4rem; margin-bottom: 10px; color: var(--brand-dark); }
        .feature-card p { margin: 0; font-size: 1.05rem; }

        .input-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
        .input-group label { font-size: 0.95rem; font-weight: 600; color: var(--brand-dark); }
        .input-group input, .input-group select, .input-group textarea { background: var(--white); border: 1px solid var(--gray-200); color: var(--text-dark); border-radius: var(--radius-global); padding: 14px 18px; font-size: 1rem; transition: all var(--transition-normal); width: 100%; }
        .input-group textarea { resize: vertical; min-height: 100px; }

        .form-step { display: none; }
        .form-step.active { display: block; animation: fadeIn 0.4s ease-in-out; }
        .service-select-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 25px; }
        .service-select-card { border: 1px solid var(--gray-200); border-radius: 8px; padding: 15px 10px; display: flex; flex-direction: column; align-items: center; text-align: center; cursor: pointer; transition: all var(--transition-fast); background: var(--white); user-select: none; }
        .service-select-card i { font-size: 2.2rem; color: var(--brand-dark); margin-bottom: 8px; }
        .service-select-card span { font-size: 0.9rem; font-weight: 600; color: var(--brand-dark); line-height: 1.2; }
        .service-select-card.selected { border-color: var(--brand); background: var(--gray-100); }
        .step-buttons { display: flex; gap: 15px; margin-top: 10px; }
        .step-buttons button { flex: 1; }

        .top-bar { background-color: var(--brand-darkest); color: var(--gray-300); padding: 10px 0; font-size: 0.95rem; border-bottom: 1px solid var(--gray-700); }
        .top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
        .header-sticky-wrapper { position: sticky; top: 0; z-index: var(--z-sticky); width: 100%; background: var(--white); border-bottom: 1px solid var(--gray-200); }
        .nav { padding: 15px 0; display: flex; justify-content: space-between; align-items: center; }
        .nav-logo-link { display: flex; align-items: center; gap: 12px; font-size: 1.6rem; color: var(--brand-dark); text-decoration: none; font-weight: bold; }
        .nav-logo-img { height: 55px; width: auto; object-fit: contain; }
        .nav-links { display: flex; gap: 35px; align-items: center; }
        .nav-links a { font-size: 1.05rem; color: var(--gray-700); position: relative; transition: color var(--transition-normal); }
        .nav-links a:hover, .nav-links a.active { color: var(--brand-darkest); font-weight: bold; }
        .nav-links a::after { content: ''; position: absolute; width: 0; height: 3px; bottom: -6px; left: 0; background-color: var(--brand); transition: width var(--transition-normal); border-radius: var(--radius-global); }
        .nav-links a.active::after, .nav-links a:hover::after { width: 100%; }
        .nav-cta { display: flex; gap: 20px; align-items: center; }
        .mobile-menu-btn { display: none; font-size: 2.2rem; color: var(--brand-dark); background: none; border: none; cursor: pointer; }

        #scroll-progress {
            position: absolute; bottom: 0; left: 0; height: 3px; background: var(--brand);
            width: 0%; z-index: calc(var(--z-fixed) + 10); transition: width 0.1s linear;
        }

        .hero { position: relative; min-height: 60vh; display: flex; align-items: center; padding: 60px 0 80px 0; background: var(--gray-100); overflow: hidden; }
        .hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
        .hero-text h1 { font-size: clamp(2.8rem, 4.5vw, 4rem); margin-bottom: 20px; color: var(--brand-dark); line-height: 1.15; }
        .hero-text p.hero-subtitle { font-size: 1.15rem; color: var(--gray-700); margin-bottom: 35px; max-width: 600px; line-height: 1.6;}
        .hero-features { display: flex; gap: 12px; margin-bottom: 0; flex-wrap: wrap; align-items: center; }
        .hero-feature-item { display: flex; align-items: center; gap: 8px; background: var(--white); font-size: 0.95rem; padding: 10px 20px; border-radius: 50px; border: 1px solid var(--gray-200); color: var(--brand-dark); font-weight: bold;}
        .hero-feature-item i { color: var(--brand-text); font-size: 1.2rem; }

        .logo-ticker-section { padding: 40px 0; background: var(--white); border-bottom: 1px solid var(--gray-200); overflow: hidden; }
        .ticker-wrapper { display: flex; width: 200%; animation: scrollTicker 25s linear infinite; }
        .ticker-wrapper:hover { animation-play-state: paused; }
        .ticker-track { display: flex; justify-content: space-around; width: 50%; align-items: center; gap: 40px; padding: 0 20px;}
        .ticker-track img { height: 40px; width: auto; object-fit: contain; filter: grayscale(100%) opacity(0.6); transition: filter 0.3s; cursor: pointer; }
        .ticker-track img:hover { filter: grayscale(0%) opacity(1); }
        @keyframes scrollTicker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

        .trust-badges { background: var(--brand-dark); padding: 60px 0; position: relative; z-index: var(--z-elevated); color: var(--white); }
        .trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
        .trust-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; font-size: 1.15rem; font-weight: bold;}
        .trust-item i { font-size: 2.8rem; color: var(--brand-text); padding: 15px; border-radius: var(--radius-global); }

        .before-after-section { padding: var(--section-padding-y) 0; background: var(--white); }
        .ba-wrapper { position: relative; max-width: 1000px; margin: 0 auto; overflow: hidden; border-radius: var(--radius-global); border: 1px solid var(--gray-200); }
        .ba-image-container { position: relative; width: 100%; font-size: 0; line-height: 0; }
        .ba-image-container img { width: 100%; height: auto; display: block; object-fit: cover; }
        .ba-overlay { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; z-index: 2; border-right: 2px solid var(--brand); }
        .ba-overlay img { width: auto; height: 100%; max-width: none; } 
        .ba-slider { position: absolute; top: 0; bottom: 0; width: 40px; transform: translateX(-50%); z-index: 3; cursor: ew-resize; display: flex; align-items: center; justify-content: center; }
        .ba-slider-btn { width: 40px; height: 40px; background: var(--brand); color: var(--on-brand); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 4px 10px rgba(var(--black-rgb), 0.3); pointer-events: none;}
        .ba-range { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; z-index: 4; cursor: ew-resize; margin: 0; }
        
        .ba-labels { position: absolute; bottom: 20px; width: 100%; display: flex; justify-content: space-between; padding: 0 20px; z-index: 1; pointer-events: none; }
        .ba-label { background: rgba(var(--black-rgb), 0.6); color: var(--white); padding: 5px 15px; border-radius: 4px; font-weight: bold; font-size: 0.9rem; }
        .ba-label.before { z-index: 3; position: absolute; left: 20px; }

        .services-intro { padding-top: var(--section-padding-y); padding-bottom: 40px; background: var(--gray-50); text-align: center; }
        .service-detail { padding: 80px 0; background: var(--white); }
        .service-detail.bg-alternate { background: var(--gray-50); }
        .service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
        .content-side { display: flex; flex-direction: column; gap: 40px; }
        .feature-cards { display: grid; grid-template-columns: 1fr; gap: 25px; }

        .service-gallery { display: flex; flex-direction: column; gap: 15px; height: 100%; min-height: 500px; }
        .service-gallery-main { width: 100%; flex: 1; min-height: 0; object-fit: cover; border-radius: var(--radius-global); }
        .service-gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; height: 140px; flex-shrink: 0; }
        .service-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-global); cursor: pointer; }

        .stats-section { background: var(--brand-darkest); padding: var(--section-padding-y) 0; color: var(--white); position: relative; }
        .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; position: relative; z-index: 2; }
        .stat-item { padding: 20px; text-align: center; }
        .stat-item i { font-size: 3.5rem; color: var(--brand-text); margin-bottom: 20px; display: inline-block; }
        .stat-item h3 { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--white); margin-bottom: 5px; line-height: 1; word-break: break-word; hyphens: auto; }
        .stat-item p { color: rgba(var(--white-rgb), 0.9); font-size: 1.1rem; margin: 0;}

        .about-section { padding: var(--section-padding-y) 0; background: var(--white); position: relative; }
        .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
        .about-img { position: relative; z-index: 2; }
        .about-img img { width: 100%; height: 500px; object-fit: cover; position: relative; z-index: 2; border-radius: var(--radius-global); }
        .about-experience { position: absolute; bottom: -25px; left: -25px; background: var(--white); padding: 25px 30px; border-radius: var(--radius-global); z-index: 3; display: flex; align-items: center; gap: 20px; border: 1px solid var(--gray-200); border-left: 5px solid var(--brand); }
        .about-experience i { font-size: 3rem; color: var(--brand-text); }
        .about-experience p { margin: 0; font-size: 0.95rem; color: var(--brand-dark); font-weight: bold; }

        .team-section { padding: var(--section-padding-y) 0; background: var(--gray-50); }
        .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
        .team-card { background: var(--white); border-radius: var(--radius-global); overflow: hidden; border: 1px solid var(--gray-200); text-align: center; padding-bottom: 25px; transition: transform var(--transition-normal); }
        .team-card:hover { transform: translateY(-5px); }
        .team-card img { width: 100%; height: 300px; object-fit: cover; margin-bottom: 20px; border-radius: 0; }
        .team-card h4 { font-size: 1.4rem; color: var(--brand-dark); margin-bottom: 5px; }
        .team-card p { color: var(--brand-text); font-weight: bold; font-size: 0.9rem; margin-bottom: 15px; }
        .team-socials { display: flex; justify-content: center; gap: 15px; }
        .team-socials a { color: var(--gray-500); font-size: 1.2rem; transition: color 0.2s; }
        .team-socials a:hover { color: var(--brand-text); }

        .materials-section { padding: var(--section-padding-y) 0; background: var(--white); }
        .accordion-container { display: flex; height: 500px; gap: 15px; overflow: hidden; }
        .accordion-panel { flex: 1; position: relative; overflow: hidden; border-radius: var(--radius-global); transition: flex var(--transition-slow); cursor: pointer; background: var(--gray-800); }
        .accordion-panel:hover { flex: 4; }
        .accordion-panel img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); position: relative; z-index: 0;}
        .accordion-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px; color: var(--white); opacity: 0; transition: opacity var(--transition-slow); transition-delay: 0.1s; z-index: 2; background: rgba(var(--black-rgb), 0.6); }
        .accordion-panel:hover .accordion-content { opacity: 1; }
        .accordion-content h4 { font-size: 2rem; margin-bottom: 10px; color: var(--white); }
        .accordion-panel .vertical-title { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(270deg); transition: all var(--transition-slow); font-size: 1.8rem; text-transform: uppercase; color: var(--white); white-space: nowrap; pointer-events: none; z-index: 2; font-weight: bold;}
        .accordion-panel:hover .vertical-title { opacity: 0; }

        .faq-section { padding: var(--section-padding-y) 0; background: var(--gray-50); }
        .faq-grid { display: flex; flex-direction: column; gap: 15px; max-width: 800px; margin: 0 auto; }
        .faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-global); overflow: hidden; }
        .faq-item summary { padding: 25px; font-weight: bold; font-size: 1.15rem; color: var(--brand-dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s; }
        .faq-item summary::-webkit-details-marker { display: none; }
        .faq-item summary:hover { background: var(--gray-50); }
        .faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--brand-text); transition: transform 0.3s; }
        .faq-item[open] summary::after { transform: rotate(45deg); }
        .faq-item .faq-content { padding: 0 25px 25px 25px; color: var(--text-muted); }

        .sticky-section { padding: var(--section-padding-y) 0; background: var(--white); position: relative; }
        .sticky-wrapper { display: flex; gap: 80px; align-items: flex-start; }
        
        .sticky-left { position: sticky; top: 80px; width: 40%; } 
        .sticky-left-inner { padding-top: 40px; } 
        .sticky-right { width: 60%; display: flex; flex-direction: column; gap: 60px; }
        .scroll-card { background: var(--white); border-radius: var(--radius-global); overflow: hidden; border: 1px solid var(--gray-200); }
        .scroll-card img { width: 100%; height: 350px; object-fit: cover; }
        .scroll-card-content { padding: 40px; }
        .scroll-card-content h3 { font-size: 1.8rem; color: var(--brand-dark); margin-bottom: 15px; }

        .process-v1 { padding: var(--section-padding-y) 0; background: var(--brand-darkest); color: var(--white); }
        .process-grid-v1 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; position: relative; text-align: center; }
        .process-step-v1 { position: relative; background: rgba(var(--white-rgb), 0.03); border: 1px solid rgba(var(--white-rgb), 0.05); padding: 60px 30px 40px 30px; border-radius: var(--radius-global); transition: all var(--transition-normal); box-shadow: var(--shadow-lg); z-index: 2; backdrop-filter: blur(10px); }
        .process-step-v1:hover { transform: scale(1.03); border-color: var(--brand); background: rgba(var(--white-rgb), 0.06); box-shadow: 0 20px 40px rgba(var(--black-rgb), 0.5); }
        .process-number-v1 { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); width: 60px; height: 60px; background: var(--brand); color: var(--on-brand); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: bold; box-shadow: 0 0 0 8px rgba(var(--white-rgb), 0.1); transition: all var(--transition-normal); }
        .process-step-v1:hover .process-number-v1 { background: var(--white); color: var(--brand-dark); transform: translateX(-50%) scale(1.1); box-shadow: 0 0 0 8px rgba(var(--white-rgb), 0.2); }
        .process-step-v1 i { font-size: 3.5rem; color: var(--brand-text); margin: 0 auto 25px; display: block; opacity: 0.9; } /* centred in the card (Matt, comment d0123480, 2026-11-23) */

        .testimonials { padding: var(--section-padding-y) 0; background: var(--gray-50); }
        .test-columns { display: flex; gap: 30px; justify-content: center; height: 600px; overflow: hidden; mask-image: linear-gradient(to bottom, transparent, var(--black) 10%, var(--black) 90%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, var(--black) 10%, var(--black) 90%, transparent); }
        .test-col { flex: 1; max-width: 350px; display: flex; flex-direction: column; }
        .test-col-inner { display: flex; flex-direction: column; gap: 30px; animation: scrollVertical 20s linear infinite; }
        .test-card { display: flex; flex-direction: column; justify-content: space-between; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-global); padding: 35px; }
        .test-author-row { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 25px; }
        .test-author-info { display: flex; align-items: center; gap: 12px; }
        .test-avatar { width: 45px; height: 45px; border-radius: 50%; background: var(--gray-100); color: var(--brand-dark); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: bold; }
        .test-name-role strong { display: block; font-size: 1.05rem; color: var(--brand-dark); line-height: 1; }
        
        @keyframes scrollVertical { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 15px)); } }
        @keyframes scrollVerticalReverse { from { transform: translateY(calc(-50% - 15px)); } to { transform: translateY(0); } }
        .test-col-inner.reverse { animation: scrollVerticalReverse 20s linear infinite; }

        .sd2-mobile-title { display: none; }
        .sd2-desktop-title { display: block; }
        .sd2-service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
        .sd2-content-side { display: flex; flex-direction: column; gap: 40px; }
        .sd2-feature-cards { display: grid; grid-template-columns: 1fr; gap: 25px; }
        .sd2-feature-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-global); padding: 35px; display: flex; gap: 25px; align-items: flex-start; position: relative; z-index: 1; overflow: hidden; }
        .sd2-feature-card i { font-size: 3rem; color: var(--brand-dark); background: var(--brand-light); padding: 15px; border-radius: var(--radius-global); flex-shrink: 0; }
        .sd2-feature-card h4 { font-size: 1.4rem; margin-bottom: 10px; color: var(--brand-dark); }
        .sd2-feature-card p { margin: 0; font-size: 1.05rem; }
        /* Service gallery images keep a fixed near-square ratio (5 / 4 desktop, 1 / 1 in the phone slider), so the row layout never changes with the image, the copy length or an opened detail (Matt's review 2026-10-06, Green-Ko). */
        .sd2-service-gallery { position: relative; width: 100%; align-self: start; }
        .sd2-slider-btn { display: none; }
        .sd2-gallery-track-wrapper { width: 100%; }
        .sd2-gallery-track { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 15px; width: 100%; }
        .sd2-gallery-item { position: relative; border-radius: var(--radius-global); overflow: hidden; background: var(--gray-200); aspect-ratio: 5 / 4; }
        .sd2-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .sd2-item-main { grid-column: span 3; }
        .sd2-expand-btn { position: absolute; top: 15px; right: 15px; background: rgba(var(--black-rgb), 0.65); color: var(--white); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 5; }
        .sd2-gallery-item:hover .sd2-expand-btn { opacity: 1; pointer-events: auto; }

        @media (max-width: 992px) {
            .sd2-service-grid { grid-template-columns: 1fr; gap: 30px; align-items: start; }
            .sd2-mobile-title { display: block; }
            .sd2-desktop-title { display: none; }
            .sd2-gallery-track-wrapper { overflow: hidden; position: relative; width: 100%; padding: 10px 0; }
            .sd2-gallery-track { display: flex; gap: 15px; height: auto; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
            .sd2-gallery-item { flex: 0 0 calc(50% - 7.5px); aspect-ratio: 1 / 1; }
            .sd2-expand-btn { opacity: 1; pointer-events: auto; }
            .sd2-slider-btn { display: flex; position: absolute; top: 50%; transform: translateY(-50%); width: 45px; height: 45px; border-radius: 50%; background: var(--white); color: var(--brand-dark); align-items: center; justify-content: center; font-size: 1.8rem; border: 1px solid var(--gray-200); cursor: pointer; z-index: 10; }
            .sd2-prev-btn { left: -10px; }
            .sd2-next-btn { right: -10px; }
        }
        @media (max-width: 576px) {
            .sd2-feature-card { flex-direction: column; align-items: center; text-align: center; padding: 25px; }
            .sd2-mobile-title { font-size: clamp(1.2rem, 6vw, 1.65rem); overflow-wrap: break-word; hyphens: auto; }
        }

        .img-wrapper { border-radius: var(--radius-global); overflow: hidden; position: relative; background: var(--gray-50); transform: translateZ(0); }
        .img-wrapper img { width: 100%; height: 100%; object-fit: cover; will-change: transform; border-radius: inherit; }
        .img-expand { position: absolute; top: 15px; right: 15px; background: transparent; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; cursor: pointer; z-index: 5; }
        .img-expand i { color: var(--white); font-size: 1.5rem; background: rgba(var(--black-rgb), 0.9); padding: 10px; border-radius: 50%; }
        .img-wrapper:hover .img-expand { opacity: 1; }

        .gallery-motion-v5 { height: 300vh; background: var(--white); position: relative; margin-bottom: var(--section-padding-y); }
        .v5-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
        .v5-inner { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; padding-top: var(--header-h); box-sizing: border-box; display: grid; grid-template-columns: repeat(3, 26vw); grid-auto-rows: 25vh; gap: 2vw; align-content: center; justify-content: center; will-change: transform, opacity; z-index: 1; }
        .v5-inner .img-wrapper { width: 100%; height: 100%; }
        .v5-gate-panel { position: absolute; top: 0; width: 50%; height: 100vh; overflow: hidden; z-index: 10; will-change: transform; background: var(--white); }
        .v5-gate-left { left: 0; }
        .v5-gate-right { right: 0; }
        .v5-gate-panel img { position: absolute; width: 200%; height: 100vh; object-fit: cover; opacity: 1; z-index: 1; top: 0; border-radius: 0; max-width: none; }
        .v5-gate-left img { left: 0; object-position: center; }
        .v5-gate-right img { left: -100%; object-position: center; }
        .v5-header { position: absolute; top: calc(50% + var(--header-h) / 2); left: 50%; transform: translate(-50%, -50%); z-index: 20; text-align: center; pointer-events: none; width: 100%; }

        .lightbox-overlay { position: fixed; inset: 0; background: rgba(var(--black-rgb), 0.95); backdrop-filter: blur(10px); z-index: var(--z-lightbox); display: none; flex-direction: column; align-items: center; justify-content: center; perspective: 1200px; }
        .lightbox-overlay.active { display: flex; }
        .lb-close { position: absolute; top: 30px; right: 40px; color: var(--white); font-size: 3rem; cursor: pointer; z-index: 100; transition: transform 0.3s; }
        .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); color: var(--white); font-size: 3.5rem; cursor: pointer; z-index: 100; padding: 20px; transition: transform 0.2s, color 0.2s; }
        .lb-prev { left: 20px; }
        .lb-next { right: 20px; }
        .lb-img-container { position: relative; width: 80vw; height: 80vh; display: flex; justify-content: center; align-items: center; transform-style: preserve-3d; }
        .lb-img { position: absolute; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; opacity: 0;}
        .lb-img.active { opacity: 1; z-index: 10; }
        .lb-anim-v5.active { animation: fadeIn 0.4s ease-out forwards; }
        .lb-anim-v5.closing { animation: fadeOut 0.4s ease-out forwards; }
        .lb-anim-v5 .lb-img.enter-next { animation: subtleSlideInRight 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
        .lb-anim-v5 .lb-img.enter-prev { animation: subtleSlideInLeft 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
        .lb-anim-v5 .lb-img.exit-next { animation: subtleSlideOutLeft 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
        .lb-anim-v5 .lb-img.exit-prev { animation: subtleSlideOutRight 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; }

        @keyframes subtleSlideInRight { from { transform: translateX(50px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
        @keyframes subtleSlideInLeft { from { transform: translateX(-50px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
        @keyframes subtleSlideOutLeft { from { transform: translateX(0); opacity: 1; } to { transform: translateX(-50px); opacity: 0; } }
        @keyframes subtleSlideOutRight { from { transform: translateX(0); opacity: 1; } to { transform: translateX(50px); opacity: 0; } }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }

        .contact-redesigned { padding: var(--section-padding-y) 0; background: var(--gray-50); }
        .contact-wrapper { max-width: 1100px; margin: 0 auto; padding: 0 var(--section-padding-x); }
        .contact-grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
        .contact-left { background: var(--brand-darkest); border-radius: var(--radius-global); padding: 50px 30px; color: var(--white); display: flex; flex-direction: column; justify-content: flex-start;}
        .contact-left h3 { color: var(--white); font-size: 2.2rem; margin-bottom: 20px; }
        .contact-left p { color: rgba(var(--white-rgb), 0.85); font-size: 1.05rem; margin-bottom: 40px; line-height: 1.6; }
        .contact-info-block { background: rgba(var(--white-rgb), 0.08); border-radius: var(--radius-global); padding: 20px 25px; display: flex; align-items: center; gap: 20px; margin-bottom: 20px; transition: background 0.3s;}
        .icon-circle { width: 50px; height: 50px; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--on-brand); flex-shrink: 0;}
        .contact-info-block small { display: block; font-size: 0.9rem; color: rgba(var(--white-rgb), 0.7); margin-bottom: 4px; }
        .contact-info-block strong { display: block; font-size: 1.3rem; font-weight: 700; color: var(--white); letter-spacing: 0.5px;}

        .contact-right { background: var(--white); border-radius: var(--radius-global); padding: 50px 40px; border: 1px solid var(--gray-200); }
        .contact-right label { display: block; font-size: 1rem; color: var(--brand-dark); font-weight: 700; margin-bottom: 12px; }
        .service-btn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 30px; }
        .service-btn { width: 100%; height: 60px; border: 1px solid var(--gray-200); border-radius: var(--radius-global); padding: 0 16px; text-align: left; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: flex-start; gap: 12px; font-size: 0.95rem; font-weight: 700; color: var(--text-dark); background: var(--white); line-height: 1.2; }
        .service-btn i { font-size: 1.4rem; color: var(--brand-dark); flex-shrink: 0;}
        .service-btn.active { border-color: var(--brand); background: var(--gray-100); color: var(--brand-dark); }
        .service-btn.active i { color: var(--brand-text); }
        .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
        .contact-right input, .contact-right textarea { width: 100%; padding: 16px; border-radius: var(--radius-global); border: 1px solid var(--gray-200); background: var(--gray-50); font-size: 1rem; color: var(--text-dark); transition: border-color 0.3s, background 0.3s; }
        .contact-right textarea { resize: vertical; min-height: 120px; margin-bottom: 25px; }
        .btn-submit { width: 100%; background: var(--brand); color: var(--on-brand); padding: 20px; border-radius: var(--radius-global); font-size: 1.25rem; font-weight: 700; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: 0.3s; }

        .footer { background: var(--brand-darkest); color: var(--white); padding: 80px 0 30px 0; position: relative; overflow: hidden; }
        .footer p { color: rgba(var(--white-rgb), 0.6); font-size: 1.05rem; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
        .footer-col h4 { font-size: 1.4rem; margin-bottom: 25px; color: var(--white); position: relative; padding-bottom: 15px; }
        .footer-links { display: flex; flex-direction: column; gap: 15px; font-size: 1.05rem; }
        .footer-links a { color: rgba(var(--white-rgb), 0.6); display: flex; align-items: center; gap: 12px; }
        .footer-links i { font-size: 1.2rem; color: var(--brand-text); }
        .footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(var(--white-rgb), 0.1); font-size: 0.95rem; color: rgba(var(--white-rgb), 0.5); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }

        .toast-notification { position: fixed; bottom: -100px; left: 50%; transform: translateX(-50%); background: var(--brand-dark); color: var(--white); padding: 15px 30px; border-radius: 50px; z-index: 9999; font-weight: bold; transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; align-items: center; gap: 10px;}
        .toast-notification.show { bottom: 40px; }

        .mobile-bottom-cta { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: var(--white); z-index: var(--z-sticky); border-top: 1px solid var(--gray-200); padding: 15px; flex-direction: row; justify-content: space-between; gap: 10px; box-shadow: 0 -4px 10px rgba(var(--black-rgb), 0.05);}
        .mobile-bottom-cta .btn { flex: 1; padding: 12px; font-size: 1rem; }

        @media (max-width: 1200px) {
            .hero-text h1 { font-size: 3.5rem; }
            .about-grid, .service-grid, .contact-grid { gap: 40px; }
            .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
            .contact-left, .contact-right { padding: 40px 30px; }
        }

        @media (max-width: 992px) {
            .top-bar-inner { justify-content: center; }
            .top-bar-info { display: none !important; }

            .hero-grid { grid-template-columns: 1fr; text-align: center; }
            .hero-text h1 { font-size: 3.2rem; }
            .hero-subtitle { margin: 0 auto 40px auto; }
            .hero-features { justify-content: center; }
            
            .about-grid, .service-grid, .contact-grid { grid-template-columns: 1fr; }
            .service-grid:nth-child(even) .content-side { order: -1; }
            
            .process-grid-v1 { grid-template-columns: repeat(2, 1fr); gap: 60px 40px; }
            .process-grid-v1::before { display: none; }
            
            .test-columns { height: auto; mask-image: none; -webkit-mask-image: none; flex-wrap: wrap;}
            .test-col-inner { animation: none !important; }
            .footer-grid { grid-template-columns: 1fr 1fr; }

            .accordion-container { flex-direction: column; height: auto; gap: 15px;}
            .accordion-panel { height: 150px; }
            .accordion-panel:hover { height: 350px; }
            .accordion-panel .vertical-title { transform: translate(-50%, -50%) rotate(0deg); letter-spacing: 2px;}
            
            .sticky-wrapper { flex-direction: column; } 
            .sticky-left { position: relative; top: 0; width: 100%; text-align: center; margin-bottom: 30px;} 
            .sticky-left-inner { padding-top: 0; }
            .sticky-right { width: 100%; }

            .service-btn-grid { grid-template-columns: repeat(2, 1fr); }
            
            .v5-inner { grid-template-columns: repeat(3, 30vw); grid-auto-rows: 20vh; }
        }

        @media (max-width: 768px) {
            :root { --section-padding-y: 120px; } 
            .nav-cta { display: none; }
            
            
            .trust-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; }
            
            .form-row { grid-template-columns: 1fr; gap: 15px; margin-bottom: 15px;}
            .contact-left, .contact-right { padding: 30px 20px; }
            
            .v5-header .section-title { font-size: 1.875rem; }
            .lb-img-container { width: 95vw; height: 80vh; }
            .v5-inner { grid-template-columns: repeat(3, 30vw); grid-auto-rows: 15vh; }

            .mobile-bottom-cta { display: flex; }

            .ba-labels { display: none; }
        }
        
        @media (max-width: 576px) {
            .hero-text h1 { font-size: 2.5rem; }
            .process-grid-v1 { grid-template-columns: 1fr; }
            .form-card { padding: 25px 20px; }
            .service-select-grid { grid-template-columns: 1fr; }

            .service-btn-grid { grid-template-columns: 1fr; }
            
        }

        body { font-family: 'Public Sans', system-ui, sans-serif; }
        h1, h2, h3, h4, h5, h6, .section-title, .btn, .nav-logo-link, .vertical-title, .stat-item h3 { font-family: 'Schibsted Grotesk', 'Public Sans', sans-serif; letter-spacing: -0.02em; }
        h1, h2, h3, h4 { font-weight: 700; }
        .section-subtitle { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem; color: var(--brand-text); display: inline-flex; align-items: center; gap: 12px; }
        .section-subtitle::before, .section-subtitle::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
        .section-header .section-title { position: relative; }

        .btn { font-weight: 600; letter-spacing: 0.01em; }
        .btn-primary { box-shadow: var(--shadow-brand); }
        .btn-primary:hover:not(:disabled) { background: var(--brand-hover); transform: scale(1.04); }
        .btn-outline:hover { background: var(--brand-dark); color: var(--white); transform: scale(1.04); }
        .btn i { font-size: 1.25rem; }

        .top-bar { color: var(--text-on-dark-muted); }
        .top-bar i { color: var(--brand-text); margin-right: 4px; vertical-align: -2px; }
        .top-bar a:hover { color: var(--white); }
        .header-sticky-wrapper { box-shadow: var(--shadow-md); }
        .nav-logo-link { gap: 14px; }
        .nav-logo-img { height: 58px; max-width: 220px; }

        .nav-links a.nav-item { font-weight: 600; }
        .nav-links a:hover, .nav-links a.active { font-weight: 600; }

        .hero { background: var(--white); min-height: 78vh; padding: 90px 0 110px; }
        .hero-bg { position: absolute; inset: 0; z-index: 0; }
        .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; border-radius: 0; opacity: 0.72; filter: saturate(0.85) contrast(1.02); }
        .hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(var(--white-rgb), 1) 0%, rgba(var(--white-rgb), 0.97) 34%, rgba(var(--white-rgb), 0.78) 50%, rgba(var(--white-rgb), 0.25) 72%, rgba(var(--white-rgb), 0) 100%); }
        .hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; z-index: 2; background: linear-gradient(90deg, var(--brand) 0 22%, var(--brand-dark) 22% 100%); }
        .hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 18px; }
        .hero-eyebrow::before { content: ''; width: 36px; height: 2px; background: var(--brand); }
        .hero-text h1 { color: var(--brand-darkest); }
        .hero-text h1 em { font-style: normal; color: var(--brand-text); }
        .hero-text p.hero-subtitle { color: var(--text-body); }
        .hero-feature-item { box-shadow: var(--shadow-sm); border-color: var(--gray-200); font-weight: 600; }
        .form-card { box-shadow: var(--shadow-xl); border-top: 4px solid var(--brand); }
        .service-select-card { border-radius: var(--radius-global); }
        .service-select-card i { color: var(--brand-text); }
        .service-select-card:hover { transform: scale(1.03); border-color: var(--brand); }
        .service-select-card.selected { background: var(--brand-light); box-shadow: inset 0 0 0 1px var(--brand); }
        .input-group input:focus, .input-group textarea:focus, .contact-right input:focus, .contact-right textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.15); background: var(--white); }
        .hero-pdf { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 700; color: var(--brand-dark); border-bottom: 2px solid var(--brand); padding-bottom: 2px; }
        .hero-pdf:hover { color: var(--brand-text); }

        .logo-ticker-section { background: var(--gray-50); padding: 34px 0; }
        .ticker-track img { height: 64px; filter: grayscale(30%) opacity(0.9); border-radius: 0; }

        .trust-badges { background: var(--brand-dark); background-image: radial-gradient(circle at 15% 0%, rgba(var(--brand-rgb), 0.16), transparent 45%); }
        .trust-item i { background: rgba(var(--white-rgb), 0.06); border: 1px solid rgba(var(--white-rgb), 0.12); font-size: 2.4rem; }

        .trust-badges, .trust-badges *, .stats-section h2, .stats-section h3, .stats-section p, .process-v1 h2, .process-v1 h3, .process-v1 p, .contact-left h3, .contact-left p, .contact-left strong, .footer h4, .v5-header h2, .v5-header .section-subtitle, .accordion-content h4, .accordion-content p, .vertical-title { color: var(--white) !important; text-shadow: var(--text-shadow-on-dark); }
        .trust-badges i, .stats-section i, .process-v1 i { text-shadow: none; }
        .trust-badges .trust-item i { color: var(--brand-text) !important; }
        .footer p { color: rgba(var(--white-rgb), 0.78) !important; }
        .process-v1 .section-subtitle { color: var(--brand-soft) !important; }

        #szolgaltatasok { background: var(--gray-50) !important; }
        .sd2-feature-card { align-items: center; box-shadow: var(--shadow-sm); transition: transform var(--transition-normal), box-shadow var(--transition-normal); border-left: 3px solid var(--brand); }
        .sd2-feature-card:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
        .sd2-feature-card i { font-size: 48px; width: 78px; height: 78px; display: flex; align-items: center; justify-content: center; padding: 0; color: var(--brand-text); background: var(--brand-light); }
        .sd2-gallery-item { box-shadow: var(--shadow-md); cursor: zoom-in; }
        .sd2-gallery-item img[src$=".png"] { object-fit: contain; background: var(--white); padding: 8px; }
        .sd2-gallery-item:hover img { transform: scale(1.05); transition: transform 0.6s ease; }
        .sd2-expand-btn { background: rgba(var(--brand-darkest-rgb), 0.75); }

        .stats-section { background: var(--brand-darkest); background-image: linear-gradient(135deg, rgba(var(--brand-rgb), 0.10), transparent 40%), repeating-linear-gradient(90deg, rgba(var(--white-rgb), 0.025) 0 1px, transparent 1px 120px); }
        .stat-item { border: 1px solid rgba(var(--white-rgb), 0.08); border-radius: var(--radius-global); background: rgba(var(--white-rgb), 0.02); transition: transform var(--transition-normal), border-color var(--transition-normal); }
        .stat-item:hover { transform: scale(1.03); border-color: rgba(var(--brand-rgb), 0.6); }
        .stat-item h3 { font-size: clamp(2.2rem, 4vw, 3.2rem); }

        .ba-wrapper { box-shadow: var(--shadow-xl); border: none; }
        .ba-image-container { aspect-ratio: 4 / 3; }
        .before-after-section .ba-wrapper { max-width: 860px; }
        
        .toast-notification { bottom: -240px; max-width: calc(100vw - 32px); visibility: hidden; transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0s linear 0.4s; }
        .toast-notification.show { bottom: 40px; visibility: visible; transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0s; }
        .ba-image-container > img { height: 100%; object-fit: cover; }
        .ba-overlay img { height: 100%; object-fit: cover; }
        .ba-overlay { border-right: 3px solid var(--white); }
        .ba-label { background: rgba(var(--brand-darkest-rgb), 0.78); border-radius: 4px; letter-spacing: 0.04em; z-index: 3; }
        .ba-label.after { position: absolute; right: 20px; }
        .ba-labels { z-index: 3; }

        .about-img::before { content: ''; position: absolute; top: -22px; right: -22px; width: 62%; height: 70%; border: 2px solid var(--brand); border-radius: var(--radius-global); z-index: 1; }
        .about-img::after { content: ''; position: absolute; bottom: 40px; right: -40px; width: 140px; height: 140px; background-image: radial-gradient(var(--accent) 1.5px, transparent 1.6px); background-size: 14px 14px; z-index: 1; opacity: 0.7; }
        .about-img img { height: 560px; box-shadow: var(--shadow-xl); }
        /* Person-safe crops: every cover-cropped photo slot anchors to the top so a person's head is never cut off; PNG cut-outs that these slots show with contain stay centred (Matt's review 2026-10-15, prosales.hu). */
        .about-img img, .img-wrapper img, .scroll-card img, .accordion-panel img,
        .sd2-gallery-item img:not([src$=".png"]), .marquee-item img:not([src$=".png"]) { object-position: center top; }
        .about-experience { box-shadow: var(--shadow-lg); }
        .about-list { display: grid; gap: 12px; margin: 10px 0 0; }
        .about-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-dark); }
        .about-list i { color: var(--brand-text); font-size: 1.35rem; margin-top: 3px; }

        .team-card { box-shadow: var(--shadow-sm); transition: transform var(--transition-normal), box-shadow var(--transition-normal); padding-bottom: 30px; }
        .team-card:hover { transform: scale(1.025); box-shadow: var(--shadow-lg); }
        .team-card img { object-fit: contain; background: linear-gradient(180deg, var(--white), var(--gray-100)); padding: 24px; height: 280px; }
        .team-card .team-meta { color: var(--text-muted); font-weight: 400; font-size: 1rem; padding: 0 24px; margin-bottom: 18px; }
        .team-socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gray-200); display: inline-flex; align-items: center; justify-content: center; color: var(--brand-dark); }
        .team-socials a:hover { border-color: var(--brand); color: var(--brand-text); transform: scale(1.08); }

        .accordion-panel { box-shadow: var(--shadow-md); }
        .accordion-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--brand-darkest-rgb), 0.15), rgba(var(--brand-darkest-rgb), 0.65)); z-index: 1; transition: opacity var(--transition-slow); }
        .accordion-panel:hover img { transform: scale(1.06); }
        .accordion-content { background: linear-gradient(0deg, rgba(var(--brand-darkest-rgb), 0.92), rgba(var(--brand-darkest-rgb), 0.55)); }
        .vertical-title { font-family: 'Schibsted Grotesk', sans-serif; letter-spacing: 0.12em; font-size: 1.4rem !important; }

        .faq-item { box-shadow: var(--shadow-sm); transition: box-shadow var(--transition-normal); }
        .faq-item[open] { box-shadow: var(--shadow-md); border-color: var(--brand); }

        .scroll-card { box-shadow: var(--shadow-md); transition: transform var(--transition-normal), box-shadow var(--transition-normal); }
        .scroll-card:hover { transform: scale(1.015); box-shadow: var(--shadow-lg); }
        .scroll-card img { height: 320px; }
        .scroll-feature-list { display: flex; flex-wrap: wrap; gap: 10px; }
        .scroll-feature-item { display: inline-flex; align-items: center; gap: 8px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 50px; padding: 8px 16px; font-size: 0.95rem; font-weight: 600; color: var(--brand-dark); }
        .scroll-feature-item i { color: var(--brand-text); font-size: 1.2rem; }

        .process-v1 { background: var(--brand-darkest); background-image: radial-gradient(circle at 85% 10%, rgba(var(--brand-rgb), 0.14), transparent 40%); }
        .process-number-v1 { font-family: 'Schibsted Grotesk', sans-serif; }

        .test-card { box-shadow: var(--shadow-sm); position: relative; }
        .test-stars { display: flex; gap: 3px; margin-bottom: 14px; }
        .test-stars i { color: var(--star); font-size: 1.15rem; }
        .test-card .quote { color: var(--text-dark); font-size: 1.02rem; margin-bottom: 0; }
        .test-date { display: block; font-size: 0.8rem; color: var(--gray-500); margin-top: 5px; }
        .test-avatar { background: var(--brand-light); color: var(--brand-text); font-family: 'Schibsted Grotesk', sans-serif; }
        .test-col-inner { animation-duration: 60s !important; }

        .v5-inner .img-wrapper { box-shadow: var(--shadow-lg); cursor: zoom-in; }
        .img-wrapper:hover img { transform: scale(1.05); transition: transform 0.6s ease; }
        .v5-gate-panel::after { content: ''; position: absolute; inset: 0; background: rgba(var(--brand-darkest-rgb), 0.35); z-index: 2; }
        .v5-header .section-title { text-shadow: var(--text-shadow-on-dark) !important; }

        .contact-left { background: var(--brand-dark); background-image: radial-gradient(circle at 100% 0%, rgba(var(--brand-rgb), 0.22), transparent 50%); box-shadow: var(--shadow-xl); }
        .contact-info-block:hover { background: rgba(var(--white-rgb), 0.13); transform: scale(1.02); transition: all 0.3s; }
        .contact-info-block strong { font-size: 1.12rem; word-break: break-word; }
        .contact-info-block a { color: inherit; }
        .contact-right { box-shadow: var(--shadow-lg); }
        .service-btn i { color: var(--brand-text); }
        .service-btn:hover { border-color: var(--brand); transform: scale(1.02); }
        .service-btn.active { background: var(--brand-light); }
        .btn-submit { box-shadow: var(--shadow-brand); font-family: 'Schibsted Grotesk', sans-serif; }
        .btn-submit:hover { background: var(--brand-hover); transform: scale(1.01); }

        .footer { border-top: 4px solid var(--brand); }
        .footer-logo { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 20px; background: var(--white); padding: 10px 16px; border-radius: var(--radius-global); }
        .footer-logo img { height: 46px; width: auto; border-radius: 0; }
        .footer-logo span { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; color: var(--brand-dark); font-size: 1.15rem; }
        .footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--brand); }
        .footer-links a:hover { color: var(--white); }
        .footer-company { font-size: 0.92rem !important; color: rgba(var(--white-rgb), 0.6) !important; }

        .toast-notification i { color: var(--brand-text); font-size: 1.4rem; }

        @media (max-width: 992px) {
            .hero::before { background: linear-gradient(180deg, rgba(var(--white-rgb), 0.97) 0%, rgba(var(--white-rgb), 0.92) 60%, rgba(var(--white-rgb), 0.75) 100%); }
            .about-img::before, .about-img::after { display: none; }
        }
        @media (max-width: 768px) {
            .nav-logo-img { height: 46px; max-width: 160px; }
            
            .ba-labels { display: flex; }
            .about-img img { height: 440px; }
        }

    
        /* Form controls use the page font (the browser default is monospace for textarea) */
        input, textarea, select, button { font-family: inherit; }

        /* ==========================================================================
           SHARED LAYER: base components and review fixes
           ========================================================================== */
        section, header, footer, div[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
        .svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
        .logo-flood { flood-color: var(--logo-color); flood-opacity: 1; }
        [hidden] { display: none !important; }

        /* Eyebrows: stone, not the strongest accent */
        .section-subtitle { color: var(--accent-strong); }
        .section-subtitle::before, .section-subtitle::after { opacity: 0.55; }

        /* White text on dark or image backgrounds: the same shadow as the #valogatas h2 */
        .trust-badges, .trust-badges *, .stats-section h2, .stats-section h3, .stats-section p,
        .process-v1 h2, .process-v1 h3, .process-v1 p, .process-v1 .section-subtitle,
        .contact-left h3, .contact-left p, .contact-left strong, .contact-left small, .contact-company,
        .footer h4, .footer p, .footer-links a, .footer-bottom, .footer-bottom a,
        .v5-header h2, .v5-header .section-subtitle, .accordion-content h4, .accordion-content p, .vertical-title,
        .popup-header h4, .popup-header p, .marquee-section h2, .marquee-section .section-subtitle,
        .top-bar, .top-bar a, .top-bar span, .calc-estimate strong, .calc-estimate-meta, .calc-estimate-label,
        .ba-label, .dark-bg-text, .dark-bg-text-sub, .toast-notification { text-shadow: var(--text-shadow-on-dark); }
        .trust-badges i, .stats-section i, .process-v1 i, .top-bar i, .footer-links i, .contact-left i { text-shadow: none; }
        .process-v1 .section-subtitle { color: var(--accent) !important; }

        /* ---------- Header: orange logo, no logo text, continuous progress line ---------- */
        .nav-logo-link { gap: 0; }
        .nav-logo-img { height: 54px; width: auto; max-width: 210px; object-fit: contain; filter: url(#logo-tint); border-radius: 0; }
        #scroll-progress { bottom: -1px; height: 3px; width: 0; background: var(--brand); transition: width 80ms linear; box-shadow: 0 0 10px rgba(var(--brand-rgb), 0.45); pointer-events: none; }
        .hero-text h1 em { color: var(--accent-strong); }
        .hero-actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; margin-top: 26px; }
        .hero-actions .hero-pdf { margin-top: 0; }
        .hero-calc { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: var(--radius-global); border: 1px solid var(--gray-300); background: var(--white); color: var(--brand-dark); font: 600 1rem 'Schibsted Grotesk', sans-serif; cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color var(--transition-normal), transform var(--transition-normal); }
        .hero-calc i { color: var(--brand-text); font-size: 1.3rem; }
        .hero-calc:hover { border-color: var(--brand); transform: scale(1.03); }

        /* ---------- Heading decor: one horizontal line, orange dot between two light dots ---------- */
        .section-header .section-title::after,
        .sd2-desktop-title::after, .sd2-mobile-title::after {
            content: ''; display: block; width: 156px; height: 12px; margin: 22px auto 0;
            transform: none; box-shadow: none;
            background:
                radial-gradient(circle closest-side, var(--brand) 0 78%, transparent 92%) center / 12px 12px no-repeat,
                radial-gradient(circle closest-side, var(--decor-dot) 0 48%, var(--decor-ring) 56% 80%, transparent 94%) calc(50% - 24px) 50% / 10px 10px no-repeat,
                radial-gradient(circle closest-side, var(--decor-dot) 0 48%, var(--decor-ring) 56% 80%, transparent 94%) calc(50% + 24px) 50% / 10px 10px no-repeat,
                linear-gradient(90deg, transparent 0, var(--decor-line) 22%, var(--decor-line) 78%, transparent 100%) center / 100% 1px no-repeat;
        }
        .section-header:not(.text-center) .section-title::after,
        .sd2-desktop-title::after, .sd2-mobile-title::after {
            width: 132px; margin: 20px 0 0;
            background:
                radial-gradient(circle closest-side, var(--brand) 0 78%, transparent 92%) 30px 50% / 12px 12px no-repeat,
                radial-gradient(circle closest-side, var(--decor-dot) 0 48%, var(--decor-ring) 56% 80%, transparent 94%) 7px 50% / 10px 10px no-repeat,
                radial-gradient(circle closest-side, var(--decor-dot) 0 48%, var(--decor-ring) 56% 80%, transparent 94%) 55px 50% / 10px 10px no-repeat,
                linear-gradient(90deg, var(--decor-line) 0, var(--decor-line) 70%, transparent 100%) 0 50% / 100% 1px no-repeat;
        }
        .stats-section, .process-v1, .marquee-section, .v5-header, .trust-badges {
            --decor-line: rgba(var(--white-rgb), 0.42); --decor-dot: var(--white); --decor-ring: rgba(var(--white-rgb), 0.0);
        }

        /* ---------- Services: the four product rows ---------- */
        #szolgaltatasok > .section-header + .service-detail { padding-top: 0; }
        #szolgaltatasok .service-detail { padding: 110px 0; overflow-x: clip; }
        #szolgaltatasok .service-detail.bg-alternate { background: var(--white); }
        #szolgaltatasok .service-detail.bg-white { background: var(--gray-50); }
        .sd2-service-grid { gap: 90px; align-items: start; min-width: 0; }
        .sd2-content-side { gap: 28px; justify-content: center; min-width: 0; align-self: center; }
        .sd2-content-side > div > p { font-size: 1.1rem; }
        .sd2-feature-cards { gap: 16px; }
        .sd2-feature-card { padding: 20px 24px; gap: 18px; }
        .sd2-feature-card i { font-size: 34px; width: 64px; height: 64px; }
        .sd2-feature-card h4 { font-size: 1.2rem; margin-bottom: 4px; }
        .sd2-feature-card p { font-size: 1rem; line-height: 1.5; }
        .sd2-service-gallery { position: relative; min-width: 0; isolation: isolate; }
        .sd2-gallery-track-wrapper { position: relative; z-index: 1; min-width: 0; }
        .sd2-gallery-track { grid-template-rows: auto auto; gap: 18px; }
        .sd2-gallery-item { background: var(--white); }
        .sd2-item-main { box-shadow: var(--shadow-xl); overflow: hidden; }
        .sd2-item-main .fp-ghost { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; pointer-events: none; border-radius: 0; }
        .sd2-item-main img[src$=".png"] + .fp-ghost, .sd2-item-main .fp-ghost[src$=".png"] { object-fit: contain; background: var(--white); padding: 8px; }
        .sd2-expand-btn { pointer-events: none !important; }
        .sd2-gallery-item.img-wrapper:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

        /* Featured image rotation: segments fill as the 1.5 s timer */
        .featured-progress { position: absolute; z-index: 6; pointer-events: none; --fp-dur: 1.5s; }
        .featured-progress .fp-fill { display: block; height: 100%; width: 100%; transform-origin: left center; transform: scaleX(0); background: var(--brand); }
        .fp-segments { top: 16px; left: 18px; display: flex; gap: 6px; }
        .fp-segments .fp-seg { width: 26px; height: 4px; border-radius: 4px; background: rgba(var(--white-rgb), 0.6); overflow: hidden; box-shadow: 0 1px 4px rgba(var(--black-rgb), 0.3); transition: width 0.3s ease; }
        .fp-segments .fp-seg.is-done { background: rgba(var(--white-rgb), 0.9); }
        .fp-segments .fp-seg.is-active { width: 42px; background: rgba(var(--white-rgb), 0.45); }
        .fp-segments .fp-seg.is-active .fp-fill { animation: fpFill var(--fp-dur) linear forwards; }
        .fp-paused .featured-progress .fp-fill { animation-play-state: paused !important; }
        @keyframes fpFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
        .featured-controls { position: absolute; z-index: 6; bottom: 18px; left: 18px; display: flex; gap: 8px; }
        .featured-control { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(var(--white-rgb), 0.72); border-radius: 50%; background: rgba(var(--brand-dark-rgb), 0.86); color: var(--white); font-size: 1.2rem; cursor: pointer; backdrop-filter: blur(4px); transition: background var(--transition-normal), transform var(--transition-normal); }
        .featured-control:hover { background: var(--brand); transform: scale(1.06); }
        .featured-control:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

        .service-actions { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; margin-top: 24px; }
        .service-contact-link { display: inline-flex; align-items: center; gap: 7px; color: var(--brand-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; cursor: pointer; }
        .service-contact-link i { color: var(--brand-text); }
        .service-contact-link:hover { color: var(--brand-hover); }
        .technical-reading { padding: 17px 20px; background: var(--white); border: 1px solid var(--gray-200); border-left: 4px solid var(--brand-dark); border-radius: var(--radius-global); }
        .technical-reading summary { color: var(--brand-dark); font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; cursor: pointer; }
        .technical-reading p { margin: 12px 0 10px; font-size: 0.98rem; }

        /* ---------- Stats: A's counters on the photo background, glossy cards ---------- */
        .stats-section.stats-counters {
            background-color: var(--brand-darkest);
            background-image: linear-gradient(rgba(var(--brand-darkest-rgb), 0.86), rgba(var(--brand-darkest-rgb), 0.93));
            background-size: cover; background-position: center; background-attachment: fixed;
            overflow: hidden;
        }
        .stats-counters::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% -10%, rgba(var(--brand-rgb), 0.18), transparent 60%); pointer-events: none; }
        .stats-counters .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
        .stats-counters .stat-item {
            position: relative; overflow: hidden; padding: 42px 22px 36px; border-radius: 14px;
            background: linear-gradient(160deg, rgba(var(--white-rgb), 0.16) 0%, rgba(var(--white-rgb), 0.06) 42%, rgba(var(--white-rgb), 0.02) 100%);
            border: 1px solid rgba(var(--white-rgb), 0.16);
            box-shadow: inset 0 1px 0 rgba(var(--white-rgb), 0.32), inset 0 -1px 0 rgba(var(--black-rgb), 0.25), 0 26px 50px -24px rgba(var(--black-rgb), 0.7);
            backdrop-filter: blur(14px) saturate(1.25); -webkit-backdrop-filter: blur(14px) saturate(1.25);
            transition: transform var(--transition-normal), border-color var(--transition-normal);
        }
        .stats-counters .stat-item::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 62%; border-radius: inherit; background: linear-gradient(180deg, rgba(var(--white-rgb), 0.13) 0%, rgba(var(--white-rgb), 0.05) 48%, rgba(var(--white-rgb), 0) 100%); pointer-events: none; }
        .stats-counters .stat-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(var(--white-rgb), 0.16) 50%, transparent 62%); transform: translateX(-120%); transition: transform 1.1s ease; pointer-events: none; }
        .stats-counters .stat-item:hover { transform: translateY(-4px); border-color: rgba(var(--brand-rgb), 0.55); }
        .stats-counters .stat-item:hover::after { transform: translateX(120%); }
        /* Stat icons always float gently. The treatment around the icon is a per-client choice, never a brand-coloured neon glow: the bare icon with a soft neutral shadow (default), or data-icon-style="ring" / "tile" on .stats-grid, or another subtle decorative element designed for the client (Matt's review 2026-10-06, Green-Ko). */
        .stat-icon { position: relative; width: 78px; height: 78px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; animation: statFloat 4.6s ease-in-out infinite; }
        .stats-grid[data-icon-style="ring"] .stat-icon { border-radius: 50%; border: 1px solid rgba(var(--white-rgb), 0.24); background: rgba(var(--white-rgb), 0.06); box-shadow: 0 14px 26px -14px rgba(var(--black-rgb), 0.6); }
        .stats-grid[data-icon-style="tile"] .stat-icon { border-radius: var(--radius-card); border: 1px solid rgba(var(--white-rgb), 0.18); background: linear-gradient(160deg, rgba(var(--white-rgb), 0.16), rgba(var(--white-rgb), 0.03)); box-shadow: inset 0 1px 0 rgba(var(--white-rgb), 0.28), 0 14px 26px -14px rgba(var(--black-rgb), 0.6); }
        .stat-item:nth-child(2) .stat-icon { animation-delay: -1.1s; }
        .stat-item:nth-child(3) .stat-icon { animation-delay: -2.3s; }
        .stat-item:nth-child(4) .stat-icon { animation-delay: -3.4s; }
        .stats-counters .stat-icon i { font-size: 2.6rem; margin: 0; color: var(--brand-text); display: block; filter: drop-shadow(0 8px 12px rgba(var(--black-rgb), 0.35)); }
        @keyframes statFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
        .stats-counters .stat-item h3 { font-size: clamp(2.6rem, 4.2vw, 3.6rem); line-height: 1; margin-bottom: 10px; color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
        .stats-counters .stat-item h3 small { font-size: 0.4em; font-weight: 600; margin-left: 6px; letter-spacing: 0; color: var(--text-on-dark-muted); }
        .stats-counters .stat-item p { color: rgba(var(--white-rgb), 0.86); font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; margin: 0; }
        .stats-counters .btn-on-dark { background: var(--brand); color: var(--on-brand); }

        /* ---------- Before / after: tags as pills fully inside the frame ---------- */
        .ba-labels { position: absolute; top: 16px; left: 16px; right: 16px; bottom: auto; width: auto; padding: 0; display: flex; justify-content: space-between; align-items: flex-start; z-index: 5; pointer-events: none; }
        .ba-label, .ba-label.before, .ba-label.after { position: static; display: inline-flex; align-items: center; padding: 7px 16px; border-radius: 999px; background: rgba(var(--brand-darkest-rgb), 0.78); color: var(--white); font: 700 0.82rem 'Schibsted Grotesk', sans-serif; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2; border: 1px solid rgba(var(--white-rgb), 0.28); backdrop-filter: blur(4px); }

        /* ---------- Materials accordion: A hover with exact timing ---------- */
        /* The text starts the moment the image growth settles, with no dead pause: the ease-out growth reaches about 97 % of its size at 60 % of --acc-grow, so --acc-text-delay is tied to it (Matt's review 2026-10-06, Green-Ko). */
        .accordion-container { --acc-grow: 0.6s; --acc-ease: cubic-bezier(0.25, 1, 0.5, 1); --acc-text-delay: calc(var(--acc-grow) * 0.6); --acc-text-in: 0.7s; --acc-text-ease: cubic-bezier(0.22, 1, 0.36, 1); }
        .accordion-panel { transition: flex var(--acc-grow) var(--acc-ease), height var(--acc-grow) var(--acc-ease), box-shadow var(--transition-normal); outline: none; }
        .accordion-panel img { transition: transform var(--acc-grow) var(--acc-ease); }
        .accordion-panel .vertical-title { transition: opacity 0.3s ease 0.45s; }
        .accordion-panel:hover .vertical-title, .accordion-panel:focus-visible .vertical-title, .accordion-panel.is-open .vertical-title { opacity: 0; transition: none; }
        .accordion-content { opacity: 0; transition: opacity 0.2s ease 0s; }
        .accordion-content > * { transform: translateY(10px); transition: transform 0.2s ease 0s; }
        .accordion-panel:hover .accordion-content, .accordion-panel:focus-visible .accordion-content, .accordion-panel.is-open .accordion-content { opacity: 1; transition: opacity var(--acc-text-in) var(--acc-text-ease) var(--acc-text-delay); }
        .accordion-panel:hover .accordion-content > *, .accordion-panel:focus-visible .accordion-content > *, .accordion-panel.is-open .accordion-content > * { transform: none; transition: transform var(--acc-text-in) var(--acc-text-ease) var(--acc-text-delay); }
        .accordion-panel:focus-visible { box-shadow: 0 0 0 3px var(--brand); }
        .accordion-panel.is-open { flex: 4; }
        .accordion-panel.is-open img { transform: scale(1.06); }

        /* ---------- FAQ: subtle staggered entrance ---------- */
        .faq-item.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease var(--reveal-delay, 0ms), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms), box-shadow var(--transition-normal); }
        .faq-item.reveal.is-visible { opacity: 1; transform: none; }

        /* ---------- Process steps: keep the look, fade in one by one on scroll (JS adds .stagger-ready only when motion is allowed, Matt's review 2026-10-06, Green-Ko) ---------- */
        .process-grid-v1.stagger-ready .process-step-v1 { transition: opacity 0.7s ease var(--step-delay, 0ms), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--step-delay, 0ms), border-color var(--transition-normal), background var(--transition-normal), box-shadow var(--transition-normal); }
        .process-grid-v1.stagger-ready .process-step-v1:not(.is-visible) { opacity: 0; transform: translateY(28px); }

        /* ---------- Sticky guide: offset = real header height + breathing room ---------- */
        @media (min-width: 993px) { .sticky-left { top: calc(var(--header-h) + 40px); } }
        .sticky-left-inner { padding-top: 0; will-change: opacity; }

        /* ---------- Testimonials ---------- */
        .test-stars i { color: var(--star); }

        /* ---------- #valogatas marquee, styled for this design ---------- */
        .marquee-section { padding: var(--section-padding-y) 0; background-color: var(--brand-darkest); background-image: radial-gradient(circle at 12% 0%, rgba(var(--brand-rgb), 0.14), transparent 45%), repeating-linear-gradient(90deg, rgba(var(--white-rgb), 0.025) 0 1px, transparent 1px 120px); color: var(--white); overflow: hidden; position: relative; }
        .marquee-section .section-subtitle { color: var(--accent) !important; }
        .marquee-section h2 { color: var(--white) !important; }
        .marquee-container { display: flex; flex-direction: column; gap: 20px; transform: rotate(-2deg) scale(1.05); }
        .marquee-track { display: flex; gap: 20px; width: max-content; }
        .marquee-track.left { animation: marqueeLeft 60s linear infinite; }
        .marquee-track.right { animation: marqueeRight 60s linear infinite; }
        .marquee-item { width: 350px; height: 250px; border-radius: var(--radius-global); overflow: hidden; position: relative; cursor: zoom-in; box-shadow: var(--shadow-lg); padding: 0; border: 1px solid rgba(var(--white-rgb), 0.12); background: var(--brand-dark); flex-shrink: 0; }
        .marquee-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; border-radius: 0; }
        .marquee-item img[src$=".png"] { object-fit: contain; background: var(--white); padding: 14px; }
        .marquee-item:hover img { transform: scale(1.08); }
        .marquee-item:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
        .marquee-overlay { position: absolute; inset: 0; background: rgba(var(--brand-darkest-rgb), 0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
        .marquee-overlay i { width: 64px; height: 64px; border-radius: 50%; background: var(--white); color: var(--brand-text); font-size: 1.9rem; display: flex; align-items: center; justify-content: center; transform: scale(0.6); transition: transform 0.3s ease; }
        .marquee-item:hover .marquee-overlay, .marquee-item:focus-visible .marquee-overlay { opacity: 1; }
        .marquee-item:hover .marquee-overlay i { transform: scale(1); }
        @keyframes marqueeLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
        @keyframes marqueeRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

        /* ---------- Contact: equal columns, same height, business data ---------- */
        .contact-wrapper { max-width: 1180px; }
        .contact-redesigned .section-header p { max-width: 640px; margin: 18px auto 0; }
        .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
        .contact-left { padding: 40px 34px; display: flex; flex-direction: column; gap: 14px; }
        .contact-left h3 { font-size: 1.7rem; margin-bottom: 8px; }
        .contact-info-block { padding: 14px 18px; margin-bottom: 0; gap: 16px; }
        .contact-info-block .icon-circle { width: 42px; height: 42px; font-size: 1.35rem; }
        .contact-info-block small { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(var(--white-rgb), 0.72); margin-bottom: 2px; }
        .contact-info-block strong { font-size: 1.02rem; letter-spacing: 0; }
        .contact-company { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(var(--white-rgb), 0.14); display: grid; gap: 3px; font-size: 0.9rem; line-height: 1.5; color: rgba(var(--white-rgb), 0.82); }
        .contact-company strong { color: var(--white); font-size: 1rem; }
        .contact-calc { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 6px; padding: 13px 18px; border-radius: var(--radius-global); border: 1px solid rgba(var(--white-rgb), 0.3); background: rgba(var(--white-rgb), 0.06); color: var(--white); font: 600 1rem 'Schibsted Grotesk', sans-serif; cursor: pointer; transition: border-color var(--transition-normal), background var(--transition-normal); }
        .contact-calc i { color: var(--brand-text); font-size: 1.3rem; }
        .contact-calc:hover { border-color: var(--brand); background: rgba(var(--white-rgb), 0.1); }
        .contact-right { padding: 40px 36px; display: flex; flex-direction: column; }
        .contact-right form { display: flex; flex-direction: column; flex: 1; }
        .contact-right label { font-size: 1.15rem; margin-bottom: 12px; }
        .contact-right .service-btn-grid { margin-bottom: 26px; }
        .contact-right .form-row { margin-bottom: 24px; }
        .contact-right .btn-submit { margin-top: auto; }

        /* ---------- Footer: orange logo, no white box, no name text ---------- */
        .footer-logo { display: inline-flex; background: transparent; padding: 0; border-radius: 0; margin-bottom: 22px; }
        .footer-logo img { height: 56px; width: auto; filter: url(#logo-tint); border-radius: 0; }
        .footer-legal-link { color: rgba(var(--white-rgb), 0.6); }
        .footer-legal-link:hover { color: var(--white); }

        /* ---------- Floating widgets: phone, calculator, chat ---------- */
        .widget-dock { position: fixed; right: 30px; bottom: 30px; z-index: var(--z-fixed); display: flex; flex-direction: column; align-items: flex-end; gap: 14px; transition: opacity 0.2s ease, visibility 0.2s; }
        .widget-btn { position: relative; height: 60px; width: 60px; border-radius: 30px; display: flex; align-items: center; justify-content: center; border: 0; cursor: pointer; font-size: 1.8rem; color: var(--white); box-shadow: var(--shadow-lg); transition: transform 0.25s ease, background var(--transition-normal), width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
        .widget-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
        .widget-phone { justify-content: flex-start; overflow: hidden; background: var(--brand-dark); border: 1px solid var(--gray-700); color: var(--white); }
        .widget-phone .icon-wrapper { min-width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; color: var(--brand-text); }
        .widget-phone .text-wrapper { white-space: nowrap; font-weight: 700; font-size: 1.05rem; padding-right: 20px; opacity: 0; transition: opacity 0.3s; color: var(--white); }
        .widget-phone:hover { width: 222px; background: var(--brand-darkest); }
        .widget-phone:hover .text-wrapper { opacity: 1; transition-delay: 0.15s; }
        .widget-calc-btn { background: var(--brand-dark); border: 1px solid var(--gray-700); }
        .widget-calc-btn i { color: var(--brand-text); }
        .widget-chat-btn { background: var(--brand); box-shadow: var(--shadow-brand); }
        .widget-calc-btn:hover, .widget-chat-btn:hover { transform: scale(1.08); }
        .widget-btn[data-tip]::before { content: attr(data-tip); position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px); white-space: nowrap; padding: 7px 12px; border-radius: var(--radius-global); background: var(--brand-dark); color: var(--white); font: 600 0.9rem 'Public Sans', sans-serif; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; box-shadow: var(--shadow-md); }
        .widget-btn[data-tip]:hover::before { opacity: 1; transform: translateY(-50%) translateX(0); }
        .widget-btn[aria-expanded="true"] { background: var(--brand-darkest); }
        .widget-btn[aria-expanded="true"]::before { display: none; }
        .widget-btn .ico-close { display: none; color: var(--white); }
        .widget-btn[aria-expanded="true"] .ico-open { display: none; }
        .widget-btn[aria-expanded="true"] .ico-close { display: block; }

        .widget-popup { position: fixed; right: 106px; bottom: 30px; width: 440px; max-width: calc(100vw - 32px); max-height: calc(100vh - var(--header-h) - 50px); max-height: calc(100dvh - var(--header-h) - 50px); overflow-y: auto; overscroll-behavior: contain; background: var(--white); color: var(--text-dark); border-radius: var(--radius-card); box-shadow: var(--popup-stroke); z-index: calc(var(--z-fixed) + 20); }
        .popup-header { position: relative; background: var(--brand-dark); color: var(--white); padding: 28px 66px 24px 28px; border-bottom: 4px solid var(--brand); border-radius: var(--radius-card) var(--radius-card) 0 0; }
        .popup-header h4 { color: var(--white); font-size: 1.9rem; margin-bottom: 8px; }
        .popup-header p { color: rgba(var(--white-rgb), 0.84); font-size: 1.05rem; margin: 0; line-height: 1.5; }
        .popup-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--white); background: rgba(var(--white-rgb), 0.12); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; cursor: pointer; transition: background var(--transition-normal), transform var(--transition-normal); }
        .popup-close:hover { background: var(--brand); transform: scale(1.08); }
        .popup-close:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
        .popup-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 20px; }
        .popup-body label, .popup-body .field-label { display: block; font-size: 1.08rem; font-weight: 700; color: var(--brand-dark); margin-bottom: 8px; }
        .popup-body input[type="text"], .popup-body input[type="tel"], .popup-body input[type="email"], .popup-body select, .popup-body textarea { width: 100%; font: inherit; font-size: 1.05rem; padding: 14px 16px; border-radius: var(--radius-card); border: 1px solid var(--gray-200); background: var(--gray-50); color: var(--text-dark); transition: border-color var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal); }
        .popup-body input:not([type="range"]):focus, .popup-body select:focus, .popup-body textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.15); background: var(--white); }
        .popup-body textarea { min-height: 104px; resize: vertical; }
        .popup-body .btn { width: 100%; }
        .popup-body .input-error { border-color: var(--error) !important; background: var(--error-bg) !important; }

        /* Calculator */
        .calc-popup { width: 460px; }
        .calc-popup .popup-header { padding: 22px 66px 20px 28px; border-bottom: 0; }
        .calc-popup .popup-header p { font-size: 1rem; }
        .calc-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; display: grid; grid-template-columns: 1fr 1fr; background: rgba(var(--white-rgb), 0.14); }
        .calc-progress span { background: transparent; transition: background-color 0.35s ease; }
        .calc-progress span.is-active { background: var(--brand); }
        .calc-popup .popup-body { padding: 24px 28px 26px; }
        .calc-step { display: flex; flex-direction: column; gap: 20px; }
        .calc-step-title { display: flex; align-items: center; gap: 10px; font-size: 1.45rem; margin: 0; color: var(--brand-dark); }
        .calc-step-no { flex-shrink: 0; font: 700 0.78rem 'Schibsted Grotesk', sans-serif; letter-spacing: 0.08em; color: var(--brand-dark); background: var(--gray-100); border: 1px solid var(--gray-200); padding: 3px 9px; border-radius: 999px; }
        .calc-field-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
        .calc-field-head label { margin: 0; font-family: 'Schibsted Grotesk', sans-serif; font-size: 1.15rem; }
        .calc-opt { font-style: italic; }
        .calc-field-head output { font: 700 1.55rem 'Schibsted Grotesk', sans-serif; color: var(--brand-dark); font-variant-numeric: tabular-nums; white-space: nowrap; }
        .calc-range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; outline: none; cursor: pointer; background: linear-gradient(90deg, var(--brand) 0 var(--fill, 30%), var(--gray-200) var(--fill, 30%) 100%); }
        .calc-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: 3px solid var(--brand); box-shadow: 0 2px 10px rgba(var(--black-rgb), 0.25); cursor: grab; transition: transform 0.15s; }
        .calc-range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 3px solid var(--brand); box-shadow: 0 2px 10px rgba(var(--black-rgb), 0.25); cursor: grab; }
        .calc-range:active::-webkit-slider-thumb { transform: scale(1.12); cursor: grabbing; }
        .calc-range:focus-visible { box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.25); }
        .calc-scale { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--gray-500); margin-top: 9px; }
        .calc-estimate { position: relative; overflow: hidden; display: grid; gap: 5px; padding: 18px 22px; border-radius: var(--radius-card); background: linear-gradient(135deg, var(--brand-darkest), var(--brand-dark)); color: var(--white); box-shadow: inset 0 1px 0 rgba(var(--white-rgb), 0.12); }
        .calc-estimate::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--brand-rgb), 0.28), transparent 70%); pointer-events: none; }
        .calc-estimate-label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
        .calc-estimate strong { font: 700 2.2rem 'Schibsted Grotesk', sans-serif; line-height: 1.1; color: var(--white); font-variant-numeric: tabular-nums; }
        .calc-estimate-meta { font-size: 0.95rem; color: rgba(var(--white-rgb), 0.84); }
        .calc-note { font-size: 0.86rem; color: var(--text-muted); margin: -8px 0 0; line-height: 1.5; }
        .calc-summary { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius-card); background: var(--brand-light); color: var(--brand-dark); font-weight: 600; font-size: 0.98rem; line-height: 1.4; }
        .calc-summary i { color: var(--brand-text); font-size: 1.5rem; flex-shrink: 0; }
        .calc-fields { display: grid; gap: 18px; }
        .calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
        .calc-actions { display: flex; gap: 12px; position: sticky; bottom: 0; z-index: 2; background: var(--white); padding: 12px 0 18px; margin: -12px 0 -18px; }
        .calc-actions .btn { width: auto; }
        .calc-actions .btn-primary { flex: 1; }
        .calc-error { color: var(--error); font-weight: 700; font-size: 0.95rem; margin: -6px 0 0; }

        .toast-notification { z-index: calc(var(--z-fixed) + 40); }
        .btn-on-dark { background-color: var(--white) !important; color: var(--brand-darkest) !important; }
        .btn-outline-light { color: var(--white); border-color: var(--white); }
        .btn-outline-light:hover { background: var(--white); color: var(--brand-dark); }

        /* ---------- Calculator side panel (default: the dock button opens it, Ctrl/Cmd+click does the same) ---------- */
        html.calc-panel-open, html.calc-panel-open body { overflow: hidden; }
        .calc-scrim { position: fixed; inset: 0; z-index: calc(var(--z-fixed) + 15); background: rgba(var(--black-rgb), 0.45); opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0s linear 0.35s; }
        .calc-scrim.is-open { opacity: 1; visibility: visible; transition: opacity 0.35s ease; }
        .widget-popup.calc-popup { top: 0; right: 0; bottom: 0; left: auto; width: clamp(440px, 34vw, 600px); max-width: 100vw; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; box-shadow: -24px 0 60px rgba(var(--black-rgb), 0.28); }
        .calc-popup .popup-header { border-radius: 0; }
        @media (max-width: 640px) { .widget-popup.calc-popup { width: 100%; } }

        /* ---------- Locations: Hungary map with clickable pins (pop-up card per site) ---------- */
        .location-section { background: var(--white); }
        .grid-location { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; align-items: start; grid-template-areas: "map head" "map list" "map card"; }
        .grid-location > * { min-width: 0; }
        .location-head { grid-area: head; }
        .location-head p { font-size: 1.05rem; margin-top: 15px; }
        .map-panel { grid-area: map; position: sticky; top: calc(var(--header-h) + 24px); z-index: 4; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-card); padding: 30px 30px 26px; }
        .map-svg { width: 100%; height: auto; overflow: visible; user-select: none; -webkit-tap-highlight-color: transparent; }
        .map-land { fill: var(--map-land); stroke: var(--brand-dark); stroke-width: 2.6; stroke-linejoin: round; }
        .map-water { fill: var(--map-water); }
        .site-marker { cursor: pointer; outline: none; }
        .site-marker .m-hit { fill: transparent; }
        .site-marker .m-ring { fill: var(--white); stroke: var(--brand-dark); stroke-width: 1.6; transition: stroke 0.25s, r 0.25s; }
        .site-marker .m-dot { fill: var(--brand-dark); transition: fill 0.25s; }
        .site-marker .m-pulse { fill: none; stroke: var(--brand); stroke-width: 2; opacity: 0; }
        /* Map labels: one label per pin, about 18px on screen at desktop width (30 of the 1000 viewBox units) with a white halo; no road or river lines and no second name flag (Matt's review 2026-10-15, prosales.hu). */
        .site-marker .m-label { font: 600 30px 'Schibsted Grotesk', sans-serif; fill: var(--text-dark); paint-order: stroke; stroke: var(--white); stroke-width: 6px; stroke-linejoin: round; pointer-events: none; }
        .site-marker:hover .m-ring, .site-marker:focus-visible .m-ring { stroke: var(--brand); stroke-width: 2.4; }
        .site-marker:focus-visible .m-ring { stroke-width: 3; }
        .site-marker.is-active .m-ring { stroke: var(--brand); stroke-width: 2.6; }
        .site-marker.is-active .m-dot { fill: var(--brand); }
        .site-marker.is-active .m-pulse { animation: mapPulse 1.8s ease-out infinite; }
        .map-svg.pop-open .site-marker.is-active .m-label { opacity: 0; }
        @keyframes mapPulse { 0% { r: 15; opacity: 0.7; } 100% { r: 45; opacity: 0; } }
        .site-list-wrap { grid-area: list; }
        .site-list { display: flex; flex-wrap: wrap; gap: 8px; }
        .site-btn { min-height: 40px; padding: 8px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius-global); background: var(--gray-100); color: var(--text-dark); font: 600 0.95rem/1.1 'Schibsted Grotesk', sans-serif; cursor: pointer; transition: background-color 0.25s, border-color 0.25s, color 0.25s; }
        .site-btn:hover { border-color: var(--brand); }
        .site-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
        .site-btn[aria-pressed="true"] { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--white); }
        .site-cards { grid-area: card; }
        .site-card { background: var(--brand-dark); color: var(--white); border-radius: var(--radius-card); padding: 30px; }
        .js .site-card:not(.is-active) { display: none; }
        .no-js .site-card + .site-card { margin-top: 16px; }
        .site-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
        .site-card-top > div { min-width: 0; }
        .site-card h3 { color: var(--white); font-size: 1.8rem; margin: 0 0 6px; }
        .site-card .site-addr { margin: 0; font-size: 0.95rem; color: rgba(var(--white-rgb), 0.85); }
        .site-tag { flex: 0 1 auto; text-align: center; font: 600 0.75rem 'Schibsted Grotesk', sans-serif; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 10px; border: 1px solid rgba(var(--white-rgb), 0.35); border-radius: 999px; color: var(--white); }
        .site-rows { display: grid; gap: 14px; }
        .site-row { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
        .site-row .ico { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-global); background: var(--white); color: var(--brand-text); font-size: 1.25rem; }
        .site-row small { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(var(--white-rgb), 0.7); }
        .site-row a, .site-row strong, .site-row span.v { font: 600 1rem/1.4 'Schibsted Grotesk', sans-serif; color: var(--white); text-decoration: none; }
        .site-row a:hover { text-decoration: underline; }
        .site-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
        .site-actions .btn { min-height: 44px; padding: 10px 18px; font-size: 0.95rem; }
        .map-pop { position: absolute; left: 0; top: 0; z-index: 12; width: min(340px, calc(100% - 16px)); padding: 22px 20px 20px; border-radius: var(--radius-card); background: var(--brand-dark); color: var(--white); box-shadow: 0 0 0 1px rgba(var(--white-rgb), 0.08), 0 26px 50px rgba(var(--brand-darkest-rgb), 0.38); animation: mapPopIn 0.22s cubic-bezier(0.65, 0, 0.35, 1); }
        .map-pop[hidden] { display: none; }
        .map-pop::after { content: ""; position: absolute; width: 18px; height: 18px; background: var(--brand-dark); transform: rotate(45deg); }
        .map-pop.is-below::after { top: -9px; left: calc(var(--ax, 50%) - 9px); }
        .map-pop.is-above::after { bottom: -9px; left: calc(var(--ax, 50%) - 9px); }
        .map-pop.is-right::after { left: -9px; top: calc(var(--ay, 50%) - 9px); }
        .map-pop.is-left::after { right: -9px; top: calc(var(--ay, 50%) - 9px); }
        @keyframes mapPopIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
        .map-pop-close { position: absolute; top: 12px; right: 12px; z-index: 1; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(var(--white-rgb), 0.6); border-radius: 50%; background: transparent; color: var(--white); font-size: 1.1rem; cursor: pointer; transition: background-color 0.25s, border-color 0.25s; }
        .map-pop-close:hover { background: var(--brand); border-color: var(--brand); }
        .map-pop .site-card-top { flex-direction: column-reverse; align-items: flex-start; gap: 8px; margin-bottom: 14px; padding-right: 46px; }
        .map-pop h3 { color: var(--white); font-size: 1.5rem; margin: 0 0 4px; }
        .map-pop .site-addr { font-size: 0.875rem; line-height: 1.45; }
        .map-pop .site-tag { font-size: 0.7rem; padding: 5px 9px; }
        .map-pop .site-rows { gap: 10px; }
        .map-pop .site-row { grid-template-columns: 36px 1fr; gap: 12px; }
        .map-pop .site-row .ico { width: 36px; height: 36px; font-size: 1.05rem; }
        .map-pop .site-row a, .map-pop .site-row strong, .map-pop .site-row span.v { font-size: 0.95rem; }
        .map-pop .site-actions { margin-top: 18px; gap: 8px; }
        .map-pop .site-actions .btn { min-height: 44px; padding: 10px 14px; font-size: 0.875rem; }
        @media (max-width: 991px) {
            .grid-location { grid-template-columns: minmax(0, 1fr); gap: 26px; grid-template-areas: "head" "list" "map" "card"; }
            .map-panel { position: relative; top: auto; padding: 18px 16px; }
            .site-list { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; scrollbar-width: thin; }
            .site-btn { flex: none; scroll-snap-align: start; min-height: 44px; }
        }
        @media (max-width: 767px) { .site-marker .m-label { display: none; } }
        @media (max-width: 479px) { .site-card-top { flex-direction: column-reverse; gap: 12px; } .site-card { padding: 24px 18px; } .site-card h3 { font-size: 1.6rem; } .site-actions .btn { flex: 1 1 100%; } }

        /* ---------- Responsive ---------- */
        @media (max-width: 1200px) {
            .stats-counters .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .sd2-service-grid { gap: 56px; }
        }
        @media (max-width: 992px) {
            .stats-section.stats-counters { background-attachment: scroll; }
            .sd2-gallery-track { grid-template-rows: none; }
            .sd2-service-gallery { container-type: inline-size; }
            .sd2-slider-btn { top: auto; bottom: 150px; bottom: calc(10px + (100cqw - 15px) / 4); transform: translateY(50%); }
            .sd2-slider-btn:hover { transform: translateY(50%) scale(1.05); }
            .sd2-content-side { order: 2; }
            .featured-controls { display: none; }
            .sticky-left .section-header .section-title::after { margin: 20px auto 0; }
            .accordion-panel { height: 160px; }
            .accordion-panel:hover, .accordion-panel.is-open, .accordion-panel:focus-visible { height: 360px; flex: 0 0 auto; }
            .test-columns { height: 620px; flex-wrap: nowrap; mask-image: linear-gradient(to bottom, transparent, var(--black) 8%, var(--black) 92%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, var(--black) 8%, var(--black) 92%, transparent); }
            .test-col:not(:first-child) { display: none; }
            .test-col { max-width: 520px; }
            .test-col-inner { animation: scrollVertical 60s linear infinite !important; }
            .contact-grid { grid-template-columns: minmax(0, 1fr); }
        }
        @media (max-width: 768px) {
            .top-bar { padding: 6px 0; font-size: 0.85rem; }
            .nav-logo-img { height: 44px; max-width: 150px; }
            .stats-counters .stats-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
            .stats-counters .stat-item { padding: 30px 14px 26px; }
            .stat-icon { width: 62px; height: 62px; margin-bottom: 18px; }
            .stats-counters .stat-icon i { font-size: 1.9rem; }
            .stats-counters .stat-item h3 { font-size: 2.2rem; }
            .stats-counters .stat-item p { font-size: 0.74rem; letter-spacing: 0.08em; }
            .ba-labels { top: 12px; left: 12px; right: 12px; }
            .ba-label, .ba-label.before, .ba-label.after { padding: 5px 11px; font-size: 0.72rem; }
            .marquee-item { width: 260px; height: 185px; }
            .widget-dock { right: 16px; bottom: 92px; gap: 10px; }
            .widget-btn { width: 52px; height: 52px; font-size: 1.55rem; }
            .widget-phone .icon-wrapper { min-width: 50px; height: 50px; font-size: 1.5rem; }
            .widget-btn[data-tip]::before { display: none; }
            .widget-popup { left: 12px; right: 12px; width: auto; max-width: none; bottom: 12px; max-height: calc(100vh - var(--header-h) - 24px); max-height: calc(100dvh - var(--header-h) - 24px); }
            body.popup-open .mobile-bottom-cta { display: none; }
            body.popup-open .widget-dock { opacity: 0; visibility: hidden; pointer-events: none; }
            .popup-header { padding: 22px 60px 18px 22px; }
            .popup-header h4 { font-size: 1.45rem; }
            .popup-body { padding: 20px 20px 22px; gap: 18px; }
            .calc-popup .popup-header { padding: 20px 60px 18px 22px; }
            .calc-popup .popup-body { padding: 20px 20px 22px; }
            .calc-step { gap: 20px; }
            .calc-estimate strong { font-size: 1.85rem; }
            .contact-left, .contact-right { padding: 30px 20px; }
        }
        @media (max-width: 576px) {
            .featured-progress.fp-segments { top: 12px; left: 12px; }
            .stats-counters .stat-item h3 { font-size: 1.9rem; }
            .calc-actions { flex-direction: column-reverse; }
        }

        /* ---------- Layout hardening (template review 2026-10-06): breakpoints every build keeps ---------- */
        /* Nav: the link row collapses into the menu button at 1080 px and below. The header CTA stays until 768 px, where .mobile-bottom-cta takes over. Raise 1080 when the client's labels are longer. */
        @media (max-width: 1080px) {
            .nav-links { display: none; }
            .mobile-menu-btn { display: block; margin-left: 16px; }
            .nav-cta { margin-left: auto; }
            .nav-links.active { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; align-items: stretch; background: var(--white); padding: 10px 24px 18px; border-bottom: 1px solid var(--gray-200); z-index: var(--z-dropdown); box-shadow: 0 10px 20px rgba(var(--black-rgb), 0.1); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
            .nav-links.active a { padding: 13px 0; border-bottom: 1px solid var(--gray-100); }
            .nav-links.active a::after { display: none; }
        }
        /* Top bar: one centred contact row below 992 px. It stays visible on phones because the review toolbar's safe slot sits in it. The e-mail drops out where it cannot fit on one line. */
        .top-bar-contact a { white-space: nowrap; }
        @media (max-width: 480px) { .top-bar-contact a[href^="mailto:"] { display: none; } }
        @media (max-width: 992px) {
            .hero-actions { justify-content: center; }
            .footer-col-wide { grid-column: 1 / -1; }
        }
        @media (min-width: 993px) { .footer-col-wide { grid-column: span 2; } }
        @media (max-width: 768px) {
            .footer-col-wide { grid-column: auto; }
            .footer-col-wide p { max-width: none !important; }
            .footer-links a { min-width: 0; overflow-wrap: anywhere; }
            .footer-bottom { justify-content: center; padding-right: 72px; }
        }
        /* Popups wrap their content: compact two-column calculator questions on wider screens, tighter spacing on short screens. */
        @media (min-width: 577px) {
            .calc-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 14px; }
            .calc-fields > .calc-row { display: contents; }
            .calc-fields > :last-child { grid-column: 1 / -1; }
        }
        .calc-popup .popup-body textarea { min-height: 84px; }
        @media (max-height: 960px), (max-width: 768px) {
            .popup-header, .calc-popup .popup-header { padding-top: 18px; padding-bottom: 16px; }
            .popup-header h4 { font-size: 1.45rem; margin-bottom: 4px; }
            .popup-header p, .calc-popup .popup-header p { font-size: 0.95rem; }
            .popup-body, .calc-popup .popup-body { padding-top: 18px; padding-bottom: 20px; gap: 14px; }
            .calc-step { gap: 14px; }
            .calc-field-head { margin-bottom: 8px; }
            .calc-estimate { padding: 14px 18px; }
            .calc-estimate strong { font-size: 1.8rem; }
            .calc-fields { gap: 12px; }
            .popup-body label, .popup-body .field-label { margin-bottom: 5px; }
            .popup-body input[type="text"], .popup-body input[type="tel"], .popup-body input[type="email"], .popup-body select, .popup-body textarea { padding: 11px 14px; }
            .popup-body textarea, .calc-popup .popup-body textarea { min-height: 72px; }
            .calc-actions { padding: 10px 0 14px; margin: -10px 0 -14px; }
        }
        @media (min-width: 769px) and (max-height: 860px) {
            .widget-popup { bottom: 20px; max-height: calc(100dvh - var(--header-h) - 32px); }
            .popup-body textarea, .calc-popup .popup-body textarea { min-height: 60px; }
            .calc-summary { padding: 10px 14px; }
            .calc-note { font-size: 0.8rem; }
            .calc-step, .popup-body, .calc-popup .popup-body { gap: 12px; }
            .calc-fields { gap: 10px; }
        }
        @media (min-width: 769px) { .footer-bottom { padding-right: 90px; } }
        /* Short landscape screens (phones turned sideways): no top bar and a horizontal widget dock. */
        @media (max-height: 500px) and (orientation: landscape) {
            .footer-bottom { padding-bottom: 64px; }
            .top-bar { display: none; }
            .nav { padding: 8px 0; }
            .widget-dock { flex-direction: row; right: 12px; bottom: 12px; gap: 10px; }
            .widget-btn { width: 48px; height: 48px; font-size: 1.4rem; }
            .widget-phone:hover { width: 48px; }
            .widget-phone .icon-wrapper { min-width: 46px; height: 46px; }
            .widget-btn[data-tip]::before { display: none; }
            .widget-popup { bottom: 72px; max-height: calc(100dvh - var(--header-h) - 84px); }
            .v5-header .section-title { font-size: 1.35rem; }
        }


        /* ================= Static defaults (Matt's LGépészet v4 review 2026-10-26 and Hevestherm review 2026-10-27) =================
           Rules: references/design-feedback.md. No extra animation here; homepage-2 adds its own animated sections on top. */

        /* Cards: one flat style per page. Rest: hairline border, at most --card-shadow; hover: deeper shadow and a small lift (rule 6). */
        :root { --card-shadow: var(--shadow-sm); --card-shadow-hover: var(--shadow-lg); --card-lift: -4px; }
        .sd2-feature-card, .technical-reading, .team-card, .scroll-card, .faq-item { border: 1px solid var(--gray-200); box-shadow: var(--card-shadow); transition: box-shadow var(--transition-normal), transform var(--transition-normal); }
        .sd2-feature-card, .technical-reading { border-left: 3px solid var(--brand); }
        .sd2-feature-card:hover, .technical-reading:hover, .team-card:hover, .scroll-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(var(--card-lift)); }
        .faq-item:hover, .faq-item[open] { box-shadow: var(--card-shadow-hover); }
        .contact-left, .contact-right { box-shadow: var(--card-shadow); }

        /* Icons on dark, brand or photo fills are white; elsewhere at least 3:1 (rule 11). */
        .widget-dock .widget-btn i, .widget-phone .icon-wrapper, .top-bar i, .footer-links i, .stats-counters .stat-icon i,
        .process-v1 i, .contact-left i, .trust-badges .trust-item i, .toast-notification i { color: var(--white) !important; }
        .sd2-feature-card i, .calc-summary i, .scroll-feature-item i { color: var(--brand-hover); }

        /* Logo ticker: real logos only, greyscale at rest (rule 24). */
        .ticker-track img { height: 44px; max-width: 170px; width: auto; object-fit: contain; filter: grayscale(100%) opacity(0.6); border-radius: 0; }
        .ticker-track img:hover { filter: grayscale(0%) opacity(1); }

        /* Light-section pattern: geometric, static, tone-on-tone and hard to notice (rule 8).
           One tile (--pattern-tile, a fine diamond lattice), never on two neighbouring sections, never on dark or photo sections. */
        :root {
            --pattern-tile: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20d%3D%22M24%200L48%2024L24%2048L0%2024Z%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%220.8%22%2F%3E%3Ccircle%20cx%3D%2224%22%20cy%3D%2224%22%20r%3D%221.1%22%2F%3E%3C%2Fsvg%3E");
            --pattern-size: 48px 48px;
            --pattern-opacity: 0.07;
        }
        .has-pattern { position: relative; isolation: isolate; }
        .has-pattern::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-color: var(--accent-strong); opacity: var(--pattern-opacity); -webkit-mask: var(--pattern-tile) 50% 0 / var(--pattern-size) repeat; mask: var(--pattern-tile) 50% 0 / var(--pattern-size) repeat; }

        /* The location list shows only with two or more locations; the pin and its card stay. */
        .site-list-wrap:not(:has(.site-list > :nth-child(2))) { display: none; }
        /* Hungary map: white land on a light section, no frame around the map (rule 35); full section padding (rule 28). */
        .location-section { background: var(--gray-50); padding: var(--section-padding-y) 0; }
        .map-panel { background: transparent; border: 0; border-radius: 0; padding: 0; }
        .map-land { fill: var(--map-land); stroke: var(--gray-400); stroke-width: 2; filter: drop-shadow(0 10px 18px rgba(var(--brand-dark-rgb), 0.08)); }

        /* Floating phone and calculator: solid chips that read over any background, light or dark, photo or flat (rule 36).
           Opaque --brand-dark fill, white icon, a light ring plus shadow; no transparency and no JS. audit_design.py widget_chip checks it. */
        .widget-phone, .widget-calc-btn, .widget-chat-btn { box-shadow: 0 0 0 2px rgba(var(--white-rgb), 0.92), 0 10px 26px -6px rgba(var(--black-rgb), 0.45); border: 0; }
        .widget-phone, .widget-calc-btn { background: var(--brand-dark); }
        .widget-phone:hover, .widget-calc-btn:hover, .widget-btn[aria-expanded="true"] { background: var(--brand-darkest); }


        /* ================= Somodi és Fia homepage-1: "Keretben" (same opening, new frame) =================
           Scoped additions only. Template spacing, radius and hover declarations above stay unchanged.
           No reduced-motion path: Matt's rule of 2026-11-12, animations run for every visitor. */

        /* Section choices: hidden alternates never render; warm review switcher. */
        [data-sv][hidden] { display: none !important; }
        .sv-switch { background: rgba(var(--brand-darkest-rgb), 0.9); color: var(--white); }
        .sv-switch button[aria-pressed="true"] { background: var(--brand-text); }
        .sm-hv > .sv-switch { top: auto; bottom: -64px; left: 0; right: auto; }  /* under the hero copy, clear of the H1, CTAs and form */

        /* Trust band: four facts in one row. */
        [data-cid="trust-band"] .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }

        /* Brand: native red logo in the nav, live wordmark beside it (the crop has no "ÉS FIA"). */
        .nav-logo-img { filter: none; height: 52px; }
        .sm-brand { display: inline-flex; align-items: center; gap: 12px; }
        .sm-wordmark { display: flex; flex-direction: column; font-family: 'Schibsted Grotesk', sans-serif; font-weight: 800; font-size: 1.3rem; line-height: 1.1; color: var(--brand-darkest); letter-spacing: -0.01em; }
        .sm-wordmark small { font-family: 'Public Sans', sans-serif; font-weight: 600; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }
        .footer-logo .sm-wordmark { color: var(--white); font-size: 1.35rem; }

        /* Heading decor: a small window (frame and cross) on a hairline, as a mask so it takes one token colour. */
        .section-header .section-title::after,
        .sd2-desktop-title::after, .sd2-mobile-title::after {
            width: 156px; height: 14px; background: var(--decor-ink, var(--brand));
            -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20156%2014%27%3E%3Cpath%20d%3D%27M0%207H62M94%207H156%27%20stroke%3D%27black%27%20stroke-opacity%3D%27.38%27%20stroke-width%3D%271.5%27%2F%3E%3Crect%20x%3D%2771%27%20y%3D%271%27%20width%3D%2714%27%20height%3D%2712%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%2F%3E%3Cpath%20d%3D%27M78%201V13M71%207H85%27%20stroke%3D%27black%27%20stroke-width%3D%271.5%27%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20156%2014%27%3E%3Cpath%20d%3D%27M0%207H62M94%207H156%27%20stroke%3D%27black%27%20stroke-opacity%3D%27.38%27%20stroke-width%3D%271.5%27%2F%3E%3Crect%20x%3D%2771%27%20y%3D%271%27%20width%3D%2714%27%20height%3D%2712%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%2F%3E%3Cpath%20d%3D%27M78%201V13M71%207H85%27%20stroke%3D%27black%27%20stroke-width%3D%271.5%27%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
        }
        .section-header:not(.text-center) .section-title::after,
        .sd2-desktop-title::after, .sd2-mobile-title::after {
            width: 132px; background: var(--decor-ink, var(--brand));
            -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20132%2014%27%3E%3Crect%20x%3D%271%27%20y%3D%271%27%20width%3D%2714%27%20height%3D%2712%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%2F%3E%3Cpath%20d%3D%27M8%201V13M1%207H15%27%20stroke%3D%27black%27%20stroke-width%3D%271.5%27%2F%3E%3Cpath%20d%3D%27M24%207H132%27%20stroke%3D%27black%27%20stroke-opacity%3D%27.38%27%20stroke-width%3D%271.5%27%2F%3E%3C%2Fsvg%3E") left center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20132%2014%27%3E%3Crect%20x%3D%271%27%20y%3D%271%27%20width%3D%2714%27%20height%3D%2712%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%2F%3E%3Cpath%20d%3D%27M8%201V13M1%207H15%27%20stroke%3D%27black%27%20stroke-width%3D%271.5%27%2F%3E%3Cpath%20d%3D%27M24%207H132%27%20stroke%3D%27black%27%20stroke-opacity%3D%27.38%27%20stroke-width%3D%271.5%27%2F%3E%3C%2Fsvg%3E") left center / 100% 100% no-repeat;
        }
        .stats-section, .process-v1, .marquee-section, .v5-header, .trust-badges { --decor-ink: var(--white); }

        /* Pattern tile: a window pane with its cross bar (FAQ only). */
        :root { --pattern-tile: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2056%2056%27%3E%3Crect%20x%3D%278%27%20y%3D%278%27%20width%3D%2740%27%20height%3D%2740%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%27.8%27%2F%3E%3Cpath%20d%3D%27M28%208V48M8%2028H48%27%20stroke%3D%27black%27%20stroke-width%3D%27.8%27%2F%3E%3C%2Fsvg%3E"); --pattern-size: 56px 56px; }

        /* Hero: no full-bleed photo. A warm panel behind the form, the brand bar stays as the sill. */
        .hero-bg { display: none; }
        .hero::before { background: linear-gradient(90deg, transparent 0 64%, rgba(var(--accent-rgb), 0.16) 64% 100%); }
        .sm-hero-slot, .sm-hv { min-width: 0; }
        .sm-hv .hero-text h1 { font-size: clamp(2.6rem, 3.9vw, 3.5rem); line-height: 1.08; letter-spacing: -0.03em; }
        .sm-hv .hero-text h1 em { display: block; color: var(--brand-text); }
        .sm-hv .hero-actions .btn { display: inline-flex; align-items: center; gap: 10px; }

        /* Hero choice 1: four photo panes, each in a white casing with a red sill. */
        .sm-panes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
        .sm-pane { display: block; color: var(--brand-darkest); text-decoration: none; }
        .sm-pane-frame { position: relative; display: block; aspect-ratio: 4 / 5; padding: 6px; background: var(--white); border: 1px solid var(--gray-300); box-shadow: var(--shadow-md); transition: transform var(--transition-normal), box-shadow var(--transition-normal); }
        .sm-pane-frame::after { content: ''; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 5px; background: var(--brand); }
        .sm-pane-frame img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
        .sm-pane-cap { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; font-size: 1.02rem; }
        .sm-pane-cap i { color: var(--brand-text); }
        .sm-pane:hover .sm-pane-frame { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
        .sm-pane:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }

        /* Hero choice 2: text beside one tall door photo in a casing with lintel and threshold. */
        .hero-grid:has(.sm-hv2:not([hidden])) { grid-template-columns: 1.3fr 0.8fr; }
        .sm-hv2-grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 40px; align-items: center; }
        .sm-hv2 .hero-text h1 { font-size: clamp(2.4rem, 3.3vw, 3rem); }
        .sm-hv2-list { list-style: none; padding: 0; margin: -10px 0 0; display: grid; gap: 10px; }
        .sm-hv2-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--brand-darkest); }
        .sm-hv2-list i { color: var(--brand-text); }
        .sm-door { margin: 0; }
        .sm-door-frame { position: relative; display: block; aspect-ratio: 3 / 4; padding: 10px 10px 0; background: var(--white); border: 1px solid var(--gray-300); border-top: 8px solid var(--brand); box-shadow: var(--shadow-lg); }
        .sm-door-frame::after { content: ''; position: absolute; left: -16px; right: -16px; bottom: -10px; height: 10px; background: var(--brand-dark); }
        .sm-door-frame img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
        .sm-door figcaption { margin-top: 22px; font-size: 0.9rem; color: var(--text-muted); text-align: center; }

        #kupcserep-szegelyek .sd2-gallery-track { grid-template-columns: repeat(2, 1fr); }
        #kupcserep-szegelyek .sd2-item-main { grid-column: span 2; }

        /* Process choice 2: four steps as the four panes of one dark window frame with a red sill. */
        .sm-proc2 { background: var(--gray-50); padding: var(--section-padding-y) 0; }
        .sm-proc2-frame { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 12px; margin-top: 10px; background: var(--brand-dark); box-shadow: var(--shadow-lg); }
        .sm-proc2-frame::after { content: ''; position: absolute; left: -18px; right: -18px; bottom: -14px; height: 10px; background: var(--brand); }
        .sm-pane2 { display: flex; flex-direction: column; gap: 12px; min-height: 280px; padding: 34px 28px 36px; background: var(--white); }
        .sm-pane2-no { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 800; font-size: 3rem; line-height: 1; color: var(--brand); }
        .sm-pane2 i { font-size: 30px; color: var(--brand-text); }
        .sm-pane2 h3 { font-size: 1.35rem; color: var(--brand-darkest); margin: 0; }
        .sm-pane2 p { margin: 0; color: var(--text-body); }
        .sm-proc2 .section-cta-wrapper { margin-top: 56px; }

        /* Contact: two-line phone and e-mail blocks. */
        .contact-info-block strong { display: block; }
        .contact-company a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

        @media (max-width: 992px) {
            [data-cid="trust-band"] .trust-grid { grid-template-columns: 1fr 1fr; }
            .hero-grid:has(.sm-hv2:not([hidden])) { grid-template-columns: 1fr; }
            .sm-hv2-grid { grid-template-columns: 1fr; }
            .sm-door { max-width: 300px; margin: 0 auto; }
            .sm-proc2-frame { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        }

        /* Call changes (Somodi call, 2026-11-13): green call controls, a stronger top bar, a bigger logo. */
        :root { --call-green: #1FA34A; --call-green-dark: #178A3D; }
        .widget-phone, .widget-phone.widget-btn { background: var(--call-green) !important; }
        .widget-phone:hover { background: var(--call-green-dark) !important; }
        .widget-phone .icon-wrapper, .widget-phone .icon-wrapper i { color: #fff !important; }
        .top-bar-contact a { color: #fff; font-weight: 700; }
        .top-bar-contact a[href^="tel:"] { background: var(--call-green); padding: 4px 12px; border-radius: 999px; }
        .top-bar-contact a[href^="tel:"]:hover { background: var(--call-green-dark); color: #fff; }
        .top-bar .top-bar-contact a[href^="tel:"] i { color: #fff; }
        .top-bar-info .tb-service { color: #fff; font-weight: 700; background: transparent; padding: 4px 12px; border-radius: 999px; }
        .top-bar .top-bar-info .tb-service i { color: #fff; }
        .tb-advice { color: #fff; font-weight: 600; }
        .nav-logo-img { height: 64px; max-width: 240px; }
        .sm-wordmark { font-size: 1.45rem; }
        .call-ico i, .contact-left .icon-circle.call-ico i { color: #fff; }
        .contact-left .icon-circle.call-ico { background: var(--call-green); }
        .fault-call { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
        .fault-call a { display: inline-flex; align-items: center; gap: 6px; background: var(--call-green); color: #fff; font-weight: 700; padding: 8px 14px; border-radius: 999px; text-decoration: none; }
        .fault-call a:hover { background: var(--call-green-dark); }
        .advice-note { margin-top: 6px; font-weight: 600; }
        .top-bar-info span, .top-bar-contact a { white-space: nowrap; }
        .top-bar-info.gap-20, .top-bar-contact.gap-20 { gap: 14px; }
        @media (max-width: 991px) { .nav-logo-img { height: 50px; max-width: 170px; } }
    
        /* Phone fixes from the visual QA of 2026-11-18 (Terra medium, 390 px). */
        @media (max-width: 600px) {
            .sm-panes { gap: 10px; }
            .sm-pane-cap { font-size: 0.8rem; justify-content: center; }
            .sm-pane-cap i { display: none; }
        }
        @media (max-width: 768px) {
            .footer-bottom .d-flex { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
        }

        /* Matt's 2026-11-18 review: scoped UI corrections, read by build.py.
           Keep the DOM anchors and header-height observer unchanged. */
        .nav { padding: 10px 0; }
        /* Smaller logo on phones and tablets only, desktop keeps the full size (comment 0edb1cd5, 2026-11-19). */
        @media (max-width: 991px) {
            .nav-logo-link .nav-logo-img { height: 46px; max-width: 173px; }
            .nav-logo-link .sm-brand { gap: 9px; }
            .nav-logo-link .sm-wordmark { font-size: 1.044rem; }
            .nav-logo-link .sm-wordmark small { font-size: 0.49rem; margin-top: 3px; }
        }
        #step2 .input-group label { text-align: left; align-self: stretch; }
        #valogatas { padding-top: calc(var(--section-padding-y) / 2); }

        /* Match the top-bar phone green. At 19px/700, white text meets 3:1. */
        .mobile-bottom-cta a[href^="tel:"] {
            background: var(--call-green); border-color: var(--call-green);
            color: var(--white); font-size: 19px; font-weight: 700;
        }
        .mobile-bottom-cta a[href^="tel:"] i { color: var(--white); }
        .mobile-bottom-cta a[href^="tel:"]:hover {
            background: var(--call-green-dark); border-color: var(--call-green-dark);
        }
        /* Comment 8bdc3a69 ("Reduce the padding above this"): the hero top padding is 45 px at every width, not only on desktop.
           On phones and tablets the gap between the header and the eyebrow was 98 px (90 px padding), now about 53 px. */
        .hero { padding-top: 45px; }
        @media (min-width: 900px) {
            #ajanlat .contact-right form, #ajanlat .form-row { width: 100%; }
            #ajanlat .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            #ajanlat .form-row > div { min-width: 0; }
            #ajanlat .form-row > div:only-child { grid-column: 1 / -1; }
        }
        @media (max-width: 991px) {
            .nav-logo-link .nav-logo-img { height: 36px; max-width: 122px; }
        }
        @media (max-width: 900px) {
            [data-cid="dock"] { display: none; }
        }
        @media (max-width: 600px) {
            #hero-valtozat .hero-text h1 {
                font-size: 32px; line-height: 1.15;
                word-break: normal; overflow-wrap: normal; hyphens: none;
            }
        }

        /* ================= Matt's design comments of 2026-11-18 (apply-20261118, design brief) ================= */

        /* Hero choices 2 and 3 (comment 98627244): the copy and layout of choice 1 over a real photo, each with its own gradient.
           .hero-bg holds both photos. :has() shows the photo of the shown choice. Choice 1 keeps the plain warm panel. */
        .hero-photo { display: none; }
        .hero:has(.sm-hvp:not([hidden])) .hero-bg { display: block; }
        .hero:has(.sm-hvp2:not([hidden])) .hero-photo-2, .hero:has(.sm-hvp3:not([hidden])) .hero-photo-3 { display: block; }
        .hero .hero-bg .hero-photo { opacity: 1; filter: none; object-position: center 45%; }
        /* Choice 2: light warm gradient (--gray-50, 249 246 243), dark text. */
        .hero:has(.sm-hvp2:not([hidden]))::before { background: linear-gradient(90deg, rgba(249, 246, 243, 0.97) 0%, rgba(249, 246, 243, 0.93) 46%, rgba(249, 246, 243, 0.5) 70%, rgba(249, 246, 243, 0.12) 100%); }
        /* Choice 3: charcoal into brand red, white text. */
        .hero:has(.sm-hvp3:not([hidden]))::before { background: linear-gradient(100deg, rgba(var(--brand-darkest-rgb), 0.95) 0%, rgba(var(--brand-darkest-rgb), 0.88) 46%, rgba(var(--brand-rgb), 0.55) 76%, rgba(var(--brand-rgb), 0.32) 100%); }
        .sm-hvp3 .hero-eyebrow { color: var(--text-on-dark-muted); }
        .sm-hvp3 .hero-eyebrow::before { background: var(--brand-soft); }
        .sm-hvp3 .hero-text h1 { color: var(--white); }
        .sm-hvp3 .hero-text h1 em { color: var(--brand-soft); }
        .sm-hvp3 .hero-text p.hero-subtitle { color: rgba(var(--white-rgb), 0.9); }
        .sm-hvp3 .hero-actions .btn-primary { box-shadow: 0 0 0 1px rgba(var(--white-rgb), 0.4); }
        .sm-hvp3 .sm-pane, .sm-hvp3 .sm-pane-cap { color: var(--white); }
        .sm-hvp3 .sm-pane-cap i { color: var(--brand-soft); }
        .sm-hvp3 .sm-pane-frame { border-color: rgba(var(--white-rgb), 0.5); }
        /* Phones and tablets, comment 98627244: the photo must be clearly visible. The gradients were 0.88 to 0.96 opaque, so choice 2 looked
           like choice 1 and choice 3 was flat dark. Now (a) the photo keeps its natural size (object-fit none) instead of "cover": the hero is
           1475 px tall with the quote form, so "cover" cut a 19 % slice out of the photo and enlarged it 1.4 times. The photo ends 1080 px from the top (1020 px after the offsets below),
           where the gradient is solid (960 px). (b) The gradients are 0.66 to 0.74 opaque over the text and become solid under it, around the form card.
           Text contrast is measured on the pixels behind the text: subtitle over 4.5:1, headline over 3:1. */
        @media (max-width: 992px) {
            .hero .hero-bg .hero-photo { object-fit: none; object-position: 50% 0; }
            .hero .hero-bg .hero-photo-2 { object-position: 80% -40px; }  /* the shutter edge stays clear of the subtitle */
            .hero .hero-bg .hero-photo-3 { object-position: 50% -60px; }  /* the white mesh strip stays behind the first headline line */
            .hero:has(.sm-hvp2:not([hidden]))::before { background: linear-gradient(180deg, rgba(249, 246, 243, 0.66) 0, rgba(249, 246, 243, 0.7) 430px, rgba(249, 246, 243, 0.9) 740px, rgb(249, 246, 243) 960px); }
            .hero:has(.sm-hvp3:not([hidden]))::before { background: linear-gradient(180deg, rgba(var(--brand-darkest-rgb), 0.74) 0, rgba(var(--brand-darkest-rgb), 0.72) 430px, rgba(var(--brand-darkest-rgb), 0.92) 740px, rgb(var(--brand-darkest-rgb)) 960px); }
        }
        @media (max-width: 600px) {
            .sm-hv .hero-text h1 { font-size: 32px; line-height: 1.15; }
        }

        /* Service rows (comment dd10f822): one plain label above every gallery, a short red bar and the photo count. */
        .sd2-gal-label { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
        .sd2-gal-label::before { content: ''; width: 28px; height: 3px; border-radius: 2px; background: var(--brand); }
        .sd2-gal-label i { color: var(--brand-text); font-size: 1rem; }

        /* Ablakok text column (comment 019ab1c6): facts list, phone advice card, quote link. */
        .sd2-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
        .sd2-facts li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.05rem; line-height: 1.5; color: var(--text-body); }
        .sd2-facts li i { flex: none; width: 26px; height: 26px; margin-top: 1px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand-light); color: var(--brand-text); font-size: 0.85rem; }

        /* Phone advice card (comment d85dedce): green handset, both numbers as tap-to-call pills. White on --call-green needs 19px/700 for 3:1. */
        .sd2-advice, .gk-fault { padding: 22px 24px; background: var(--white); border: 1px solid var(--gray-200); border-left: 4px solid var(--call-green); border-radius: var(--radius-global); box-shadow: var(--shadow-sm); }
        .sd2-advice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 18px; align-items: center; }
        .sd2-advice-ico { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--call-green); color: var(--white); font-size: 26px; }
        .sd2-advice-text h4 { margin: 0 0 4px; font-size: 1.25rem; color: var(--brand-dark); }
        .sd2-advice-text p { margin: 0; font-size: 1rem; color: var(--text-body); }
        .sd2-advice-calls, .gk-fault .fault-call { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
        .sd2-advice-calls a, .gk-fault .fault-call a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px; border-radius: 999px; background: var(--call-green); color: var(--white); font-weight: 700; font-size: 19px; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background var(--transition-normal); }
        .sd2-advice-calls a:hover, .gk-fault .fault-call a:hover { background: var(--call-green-dark); color: var(--white); }
        .sd2-advice-calls a:focus-visible, .gk-fault .fault-call a:focus-visible { outline: 3px solid var(--brand-dark); outline-offset: 2px; }

        /* Bejárati and beltéri ajtó cards side by side on phones only, stacked on desktop (comments 72c85138, 7d7f425d). */
        @media (max-width: 767px) {
            #milano .sd2-feature-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            #milano .sd2-feature-card { flex-direction: column; align-items: flex-start; }
        }

        /* Garázskapu (comment 1e5e71d8): three services, the fault report card with both numbers and the e-mail, warranty note. */
        .gk-services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
        .gk-services li { display: flex; flex-direction: column; gap: 6px; padding: 18px 16px; background: var(--white); border: 1px solid var(--gray-200); border-top: 3px solid var(--brand); border-radius: var(--radius-global); box-shadow: var(--shadow-sm); }
        .gk-services i { font-size: 28px; color: var(--brand-text); }
        .gk-services strong { font-family: 'Schibsted Grotesk', sans-serif; font-size: 1.1rem; color: var(--brand-darkest); }
        .gk-services span { font-size: 0.95rem; line-height: 1.4; color: var(--text-body); }
        .gk-fault h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 1.25rem; color: var(--brand-dark); }
        .gk-fault h3 i { color: var(--brand-text); }
        .gk-fault p { margin: 0 0 14px; }
        .gk-fault .fault-call { margin: 0; }
        .gk-mail { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--brand-dark); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
        .gk-mail i { margin-right: 8px; vertical-align: -2px; color: var(--brand-text); }
        .sd2-content-side > div > p:last-child { margin-bottom: 0; }
        .gk-note { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-weight: 600; color: var(--brand-dark); }
        .gk-note i { color: var(--brand-text); }
        /* Desktop: the main garage photo stands tall on the left, the two others stack on its right. */
        @media (min-width: 993px) {
            #kupcserep-szegelyek .sd2-gallery-track { grid-template-columns: 1.35fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
            #kupcserep-szegelyek .sd2-item-main { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; }
            #kupcserep-szegelyek .sd2-item-thumb { aspect-ratio: 4 / 5; }
        }
        @media (max-width: 576px) {
            .sd2-advice, .gk-fault { padding: 18px; }
            .sd2-advice { gap: 14px; }
            .sd2-advice-ico { width: 48px; height: 48px; font-size: 22px; }
            .sd2-advice-calls a, .gk-fault .fault-call a { flex: 1 1 100%; min-height: 52px; }
            .gk-services { grid-template-columns: minmax(0, 1fr); gap: 10px; }
            .gk-services li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; padding: 14px 16px; }
            .gk-services i { grid-row: span 2; align-self: center; }
        }

        /* Phones and tablets: the quote dialog (comment 17b998fe). site.js moves #hero-form into it and opens it up to 900 px.
           Matt: "opens this in almost full screen and puts the dark overlay on the background". The dialog now fills the screen with an
           8 px inset on every side (it was 560 px max and about 75 % of the height). */
        .quote-dialog { position: fixed; inset: 8px; margin: 0; width: auto; max-width: none; height: auto; min-height: 0; max-height: none; padding: 0; border: 0; border-radius: 8px; background: var(--white); color: var(--text-dark); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 24px 60px rgba(var(--black-rgb), 0.35); }
        .quote-dialog[open] { display: flex; flex-direction: column; }
        .quote-dialog::backdrop { background: rgba(var(--brand-darkest-rgb), 0.78); }
        /* The card fills the dialog. Step 1 is a column: the four service cards share the free height and "Tovább" sits at the bottom, in thumb reach. Step 2 keeps its own layout. */
        .quote-dialog .form-card.fade-in { flex: 1 0 auto; display: flex; flex-direction: column; margin: 0; width: auto; max-width: none; opacity: 1; transform: none; box-shadow: none; border: 0; border-top: 4px solid var(--brand); border-radius: 0; padding: 60px 20px max(24px, env(safe-area-inset-bottom)); z-index: auto; }
        .quote-dialog #step1.active { flex: 1 1 auto; display: flex; flex-direction: column; }
        .quote-dialog #step1 .service-select-grid { flex: 1 1 auto; grid-auto-rows: minmax(92px, 1fr); margin-bottom: 20px; }
        .quote-dialog #step1 .service-select-card { justify-content: center; gap: 4px; }
        .quote-dialog #step1 .service-select-card i { font-size: 2.8rem; margin-bottom: 10px; }
        .quote-dialog #step1 .service-select-card span { font-size: 1.05rem; line-height: 1.25; }
        @media (max-height: 700px) {  /* short phone screens: smaller cards, so "Tovább" stays on screen without scrolling the dialog */
            .quote-dialog .form-card.fade-in { padding-top: 52px; padding-bottom: 16px; }
            .quote-dialog #step1 .service-select-grid { grid-auto-rows: minmax(64px, 1fr); gap: 8px; margin-bottom: 12px; }
            .quote-dialog #step1 .service-select-card { padding: 8px 10px; }
            .quote-dialog #step1 .service-select-card i { font-size: 2rem; margin-bottom: 4px; }
        }
        @media (min-width: 577px) {  /* tablets: two columns of tall tiles, so the icons and labels grow with them */
            .quote-dialog .form-card.fade-in { padding-left: 32px; padding-right: 32px; }
            .quote-dialog #step1 .service-select-grid { gap: 16px; margin-bottom: 24px; }
            .quote-dialog #step1 .service-select-card i { font-size: 4.2rem; margin-bottom: 16px; }
            .quote-dialog #step1 .service-select-card span { font-size: 1.35rem; }
            .quote-dialog #step1 h3 { font-size: 2.2rem; }
        }
        .quote-dialog-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gray-200); border-radius: 50%; background: var(--white); color: var(--brand-dark); font-size: 1.3rem; cursor: pointer; }
        .quote-dialog-close:hover { background: var(--brand-light); }
        .quote-dialog-close:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
        html.quote-open, html.quote-open body { overflow: hidden; }

        /* Chat window (comment 2e71554a): the Tetőpajzs .widget-chat look and motion. The popup starts as the launcher circle
           (--chat-r, --chat-b, --chat-s from site.js), grows into a 500 x 650 window with an overshoot, fades its content in
           after 0.15 s and runs backwards on close. The dock is hidden up to 900 px, so this is desktop only. */
        #chat-popup.widget-popup { right: var(--chat-r, 30px); bottom: var(--chat-b, 30px); width: var(--chat-s, 60px); height: var(--chat-s, 60px); max-width: none; max-height: none; overflow: hidden; border-radius: 30px; background: var(--brand); box-shadow: var(--shadow-brand); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); transition-property: width, height, border-radius, background-color, box-shadow; }
        #chat-popup.is-open { width: min(500px, calc(100vw - 60px)); height: min(650px, calc(100dvh - var(--header-h, 100px) - 50px)); border-radius: 8px; background: var(--white); box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--brand-darkest), 0 20px 40px rgba(var(--black-rgb), 0.3); }
        #chat-popup.is-closing { z-index: calc(var(--z-fixed) - 1); }  /* the launcher icon shows on top while the window shrinks back */
        #chat-popup .chat-window { position: absolute; right: 0; bottom: 0; width: min(500px, calc(100vw - 60px)); height: min(650px, calc(100dvh - var(--header-h, 100px) - 50px)); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; background: var(--white); border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
        #chat-popup.is-open .chat-window { opacity: 1; pointer-events: auto; transition-delay: 0.15s; }
        #chat-popup .popup-header { padding: 35px 68px 35px 35px; border-radius: 0; }
        #chat-popup .popup-header h4 { font-size: 2rem; }
        #chat-popup .popup-header p { color: rgba(var(--white-rgb), 0.8); font-size: 1.15rem; }
        #chat-popup .popup-close { top: 12px; right: 12px; width: 44px; height: 44px; border: 1px solid rgba(var(--white-rgb), 0.5); border-radius: 6px; background: transparent; font-size: 1.5rem; }
        #chat-popup .popup-close:hover { background: rgba(var(--white-rgb), 0.12); transform: none; }
        #chat-popup .popup-close:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
        #chat-popup .popup-body { flex: 1 0 auto; padding: 35px; gap: 25px; }
        #chat-popup .popup-body label { font-size: 1.125rem; font-weight: 600; }
        #chat-popup .popup-body input, #chat-popup .popup-body textarea { padding: 18px; border-radius: 8px; font-size: 1.125rem; }
        #chat-popup .popup-body textarea { height: 160px; resize: none; }
        #chat-popup .popup-body .btn { margin-top: auto; padding: 20px; border-radius: 8px; font-size: 1.25rem; }
        body.popup-open .widget-dock .widget-phone { opacity: 0; visibility: hidden; }

        /* QA 2026-11-18: on phones the two e-mail addresses stay on one line each (no break inside the address). */
        @media (max-width: 480px) {
            .contact-info-block { padding: 14px; gap: 12px; }
            .contact-info-block strong:has(a[data-mail-local]) { font-size: 0.82rem; word-break: normal; overflow-wrap: normal; white-space: nowrap; }
        }
        /* Service galleries on phones and tablets (Matt's comment 6c4e8f73, 2026-11-20): static photos in a sideways scroll
           that runs to both screen edges. No rotation (hiding .featured-progress stops it: its fill animation is the timer
           in site.js), no slide animation, no arrows, no expand icons. A tap on a photo opens the viewer (site.js). */
        @media (max-width: 992px) {
            .sd2-gallery-track-wrapper { overflow: visible; padding: 0; }
            .sd2-gallery-track { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; transform: none !important; transition: none;
                scroll-snap-type: x mandatory; scroll-padding: 0 var(--section-padding-x); overscroll-behavior-x: contain; scrollbar-width: none;
                width: auto; max-width: none; margin: 0 calc(-1 * var(--section-padding-x)); padding: 10px var(--section-padding-x); }
            .sd2-gallery-track::-webkit-scrollbar { display: none; }
            .sd2-gallery-item, #kupcserep-szegelyek .sd2-gallery-item { flex: 0 0 72%; aspect-ratio: 4 / 5; scroll-snap-align: start; grid-column: auto; }
            .sd2-slider-btn, .sd2-expand-btn, .featured-progress, .featured-controls, .sd2-item-main .fp-ghost { display: none !important; }
            .sd2-gallery-item:hover img { transform: none; }
        }

/* Phones (Matt's comment 6c4e8f73, correction 2026-11-20: "It is just three static images"): each service gallery shows
   exactly 3 photos below 768 px, desktop and tablet keep all. CSS only, so the editor ids (byte offsets of the page) stay.
   The label text is swapped by ::after (font-size 0 hides the "4 fotó" text node); a client edit of that label does not
   reach phones. The viewer skips hidden photos too (site.js openLightbox). */
@media (max-width: 767px) {
    .sd2-gallery-track .sd2-gallery-item:nth-child(n+4) { display: none !important; }
    .sd2-service-gallery:has(.sd2-gallery-item:nth-child(4)) .sd2-gal-label { font-size: 0; }
    .sd2-service-gallery:has(.sd2-gallery-item:nth-child(4)) .sd2-gal-label::after { content: "3 fotó, nagyítható"; font-size: 0.8rem; margin-left: -10px; }
}

/* Garage gallery (client e-mail 2026-11-20, apply-20261121): the 3 tiles stay, 7 more photos open in the viewer and rotate
   in the main photo on desktop (.sd2-more-photos in design-body.html). The badge on the last tile names the extra count. */
#kupcserep-szegelyek .sd2-more, #bond .sd2-more, #milano .sd2-more, #tetofolia .sd2-more { position: absolute; left: 12px; bottom: 12px; z-index: 3; padding: 6px 14px; border-radius: 999px;
    background: rgba(var(--brand-darkest-rgb), 0.86); color: var(--white); font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700;
    font-size: 0.95rem; line-height: 1.2; pointer-events: none; }
/* Old-site photos (client e-mail 2026-11-24): windows, doors and shading galleries got the garage pattern. The badge sits on the
   4th tile on desktop and on the 3rd tile on phones (the 4th tile is hidden there). The phone label counts the photos the viewer
   opens on phones (one less: openLightbox skips the hidden 4th tile). */
.sd2-more-phone { display: none; }
@media (max-width: 767px) {
    #bond .sd2-more-phone, #milano .sd2-more-phone, #tetofolia .sd2-more-phone { display: block; }
    #bond .sd2-service-gallery .sd2-gal-label::after { content: "19 fotó, nagyítható"; }
    #milano .sd2-service-gallery .sd2-gal-label::after { content: "15 fotó, nagyítható"; }
    #tetofolia .sd2-service-gallery .sd2-gal-label::after { content: "10 fotó, nagyítható"; }
}

        /* ---------- Fleet rules G1-G12 from the General Revision reference (site-reference 0001/0002), ported 2026-11-23 (apply-20261123) ---------- */
        .sm-trust-track { display: contents; }
        .sm-trust-track > [aria-hidden="true"] { display: none; }
        @media (max-width: 768px) {
            /* G2: phone type scale h1 > h2 > h3 > body (was h1 32, h2 up to 30, h3 up to 28.8 px) */
            .sm-hv .hero-text h1, #hero-valtozat .hero-text h1 { font-size: 36px; line-height: 1.12; }
            .section-title, h2.section-title, main h2 { font-size: 27px; line-height: 1.2; }
            main h3, section h3 { font-size: 21px; line-height: 1.3; }
            .stats-counters .stat-item h3 { font-size: 2rem; }
            .v5-header .section-title { font-size: 27px !important; }
            h3.no-break-headline, .contact-left h3, .form-step h3, .location-section h3 { font-size: 21px !important; }
            .ba-label, .ba-label.before, .ba-label.after { font-size: 12px; }
            /* G4: heading decoration hidden on phones */
            .section-header .section-title::after { display: none; }
            /* G5: one section spacing on phones: 64 px top and bottom (was 60 to 120 px) */
            :root { --section-padding-y: 64px; }
            #valogatas { padding-top: 32px; }
            /* G6: single-column headers centred */
            .section-header { text-align: center; }
            /* G7: in-page quote buttons hidden, the fixed bottom bar has call and quote (door quote stays: it names the door) */
            .section-cta-wrapper, main a.btn[href="#ajanlat"]:not([data-door-quote]), section a.btn[href="#ajanlat"]:not([data-door-quote]) { display: none !important; }
            /* G1: trust strip in one row that moves slowly to the left (site.js adds aria-hidden copies) */
            .trust-badges .trust-grid { display: block; overflow: hidden; padding: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
            .trust-badges .sm-trust-track { display: flex; width: max-content; animation: marqueeLeft 30s linear infinite; }
            .trust-badges .sm-trust-track > [aria-hidden="true"] { display: flex; }
            .trust-badges .sm-trust-track > .trust-item { flex: none; flex-direction: row; gap: 10px; margin-right: 28px; white-space: nowrap; text-align: left; }
            .trust-badges .sm-trust-track > .trust-item i { width: 44px; height: 44px; margin: 0; font-size: 1.4rem; }
            /* G11: the message launcher is a round button inside the bottom bar; call and quote share the rest */
            [data-cid="dock"] { display: flex; }
            .widget-dock { right: 15px; bottom: 16px; }
            .widget-dock .widget-phone, .widget-dock .widget-calc-btn { display: none; }
            .widget-dock .widget-chat-btn { width: 48px; height: 48px; font-size: 1.4rem; }
            .mobile-bottom-cta { padding-right: 73px; }
            /* G9: the message pop-up opens above the bar, bar and launcher stay visible */
            body.popup-open .mobile-bottom-cta { display: flex; }
            body.popup-open .widget-dock { opacity: 1; visibility: visible; pointer-events: auto; }
            #chat-popup.is-open { bottom: 89px; height: min(560px, calc(100dvh - 89px - 12px)); }
            #chat-popup .chat-window { height: min(560px, calc(100dvh - 89px - 12px)); }
            /* G32: the review layer logo does not cover the send button */
            html:has(#comment-html-root) .widget-popup .popup-body { padding-bottom: 64px; }
            /* NAV-25: no text under 12 px */
            .nav-logo-link .sm-wordmark small { font-size: 12px; }
        }
        /* G10: message field first (index order in build.py) at twice the height (160 -> 320 px desktop, 208 px phone) */
        #chat-popup .popup-body textarea { height: 320px; }
        @media (max-width: 768px), (max-height: 860px) { #chat-popup .popup-body textarea { height: 208px; } }
        /* G8: no SEO plan widget on phones */
        @media (max-width: 600px) { .mss-root { display: none !important; } }
        /* G12 desktop: the quote form opens as a side popover (its content is taller than 85% of the viewport) */
        @media (min-width: 901px) {
            .quote-dialog { inset: 0 0 0 auto; width: min(560px, 100vw); height: 100dvh; max-height: none; border-radius: 0; }
            .quote-dialog[open] { animation: quoteSideIn 0.42s cubic-bezier(0.65, 0, 0.35, 1); }
            .quote-dialog .form-card.fade-in { padding: 64px 32px 32px; }
        }
        @keyframes quoteSideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

        /* ---------- Katalógusok (#katalogus): section-variants group "katalogus", 3 choices ----------
           Who uses it: build.py appends it to assets/site.css after site.css. Markup: catalog_html() in build.py.
           1 .kat-a: two catalog covers, a click opens the zoom viewer.
           2 .kat-b: page turner with tabs, a page frame in the page's own shape, a bar (count, zoom button) and a
             thumbnail strip. Desktop: the bar under the page, the arrows beside it. Under 768 px: the bar above the page.
           3 .kat-c: prototype of the paid door-by-door catalog: one colour filter (round swatches in a one-row area that
             scrolls inside itself), result grid with 4 real panels and placeholder tiles, detail view.
           Zoom viewer: PhotoSwipe 5.4.4 (MIT), styles below the .pswp overrides. Tokens come from the palette block. */
        .kat { padding: 96px 0; background: var(--white); }
        .kat .section-header { max-width: 760px; margin: 0 auto 48px; }
        .kat .section-header p { margin-top: 16px; }
        .kat h3 { font-size: 1.35rem; line-height: 1.25; color: var(--text-dark); }
        .kat-btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
        .kat-hint { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.95rem; }
        .kat-hint i { color: var(--brand-text); }
        /* Keyboard focus stays visible on every catalog control. Elements inside overflow:hidden frames draw it inside. */
        .kat a:focus-visible, .kat button:focus-visible, .kat-b-stage:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
        .kat .kat-a-cover:focus-visible, .kat .kat-b-page:focus-visible { outline-offset: -3px; }
        .kat .kat-b-thumb:focus-visible { outline-offset: 1px; }
        .kat .is-busy { cursor: progress; }

        /* 1: covers */
        .kat-a-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
        .kat-a-card { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; }
        .kat-a-cover { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--gray-100); overflow: hidden; cursor: zoom-in; }
        .kat-a-cover img { width: 100%; height: 100%; object-fit: contain; padding: 24px; border-radius: 0; transition: transform var(--transition-slow); }
        .kat-a-cover:hover img, .kat-a-cover:focus-visible img { transform: scale(1.03); }
        .kat-a-open { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--brand); color: var(--on-brand); border-radius: var(--radius-global); font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: 1rem; box-shadow: var(--shadow-brand); transition: background var(--transition-fast); }
        .kat-a-cover:hover .kat-a-open { background: var(--brand-hover); }
        .kat-a-body { padding: 24px; display: grid; gap: 16px; }
        .kat-a-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
        .kat-a-head span { color: var(--text-muted); white-space: nowrap; }
        .kat-a-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
        .kat-a-strip a { display: block; aspect-ratio: 4 / 3; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-global); overflow: hidden; cursor: zoom-in; transition: border-color var(--transition-fast), transform var(--transition-fast); }
        .kat-a-strip a:hover, .kat-a-strip a:focus-visible { border-color: var(--brand); transform: translateY(-2px); }
        .kat-a-strip img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
        .kat-a-strip .kat-a-more { display: grid; place-items: center; place-content: center; line-height: 1.15; text-align: center; font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; color: var(--brand-text); background: var(--white); }

        /* 2: page turner */
        .kat-b-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 720px; margin: 0 auto 24px; padding: 6px; background: var(--gray-100); border-radius: var(--radius-card); }
        .kat-b-tab { font: inherit; font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--text-body); background: transparent; border: 0; border-radius: var(--radius-global); padding: 12px 16px; cursor: pointer; display: grid; gap: 2px; text-align: center; transition: background var(--transition-fast), color var(--transition-fast); }
        .kat-b-tab small { font-family: 'Public Sans', sans-serif; font-weight: 500; font-size: 0.85rem; color: var(--text-muted); }
        .kat-b-tab[aria-selected="true"] { background: var(--white); color: var(--brand-text); box-shadow: var(--shadow-md); }
        .kat-b-tab:hover:not([aria-selected="true"]) { background: rgba(var(--white-rgb), 0.6); }
        /* The page frame (.kat-b-page) has the shape of the shown page, so no band shows beside or above it (comment
           d65e1791). --ar: width / height of the shown page, --ar-cat: of the widest page in the catalog (set by catalog.js).
           Desktop: the view height --vh fits the widest page between the arrow gutters (max 68vh). Paging changes only the
           frame width, so the arrows and the bar stay in place. 100cqw is the stage width without the gutters. */
        .kat-b-stage { --gut: 64px; --bar-h: 64px; --vh: min(calc(100cqw / var(--ar-cat)), 68vh); container-type: inline-size; position: relative; display: grid; justify-items: center; padding: 0 var(--gut); border-radius: var(--radius-card); }
        .kat-b-page { display: block; width: calc(var(--vh) * var(--ar)); height: var(--vh); background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-md); cursor: zoom-in; touch-action: pan-y; }
        .kat-b-page img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; user-select: none; -webkit-user-drag: none; transition: opacity 0.2s ease; }
        .kat-b-page img.is-loading { opacity: 0.35; }
        .kat-b-nav { position: absolute; top: calc(var(--vh) / 2); transform: translateY(-50%); width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--gray-200); border-radius: var(--radius-global); background: var(--white); color: var(--text-dark); box-shadow: var(--shadow-md); cursor: pointer; font-size: 1.4rem; transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast); }
        @media (hover: hover) { .kat-b-nav:hover { background: var(--brand); border-color: var(--brand); color: var(--on-brand); } }  /* no sticky hover after a tap on phones */
        .kat-b-nav[disabled] { opacity: 0.35; cursor: default; background: var(--white); border-color: var(--gray-200); color: var(--text-dark); }
        .kat-b-prev { left: 0; }
        .kat-b-next { right: 0; }
        /* The bar never covers the page (comment 8799e649). */
        .kat-b-bar { width: 100%; height: var(--bar-h); display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 2px; }
        .kat-b-count { color: var(--text-dark); font-weight: 600; font-size: 0.95rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
        .kat-b-zoom { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--radius-global); background: var(--brand-dark); color: var(--white); font: inherit; font-weight: 600; font-size: 1rem; white-space: nowrap; cursor: zoom-in; transition: background var(--transition-fast); }
        .kat-b-zoom:hover { background: var(--brand); color: var(--on-brand); }
        /* The right edge fades while more thumbnails wait to the right (visual QA 2026-11-18: a hard cut read as overflow). */
        .kat-b-strip:not(.is-end) { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 96px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 96px), transparent); }
        .kat-b-strip { display: flex; gap: 8px; overflow-x: auto; padding: 16px 4px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--gray-300) transparent; }
        .kat-b-thumb { flex: 0 0 auto; width: 112px; aspect-ratio: 3 / 2; padding: 0; background: var(--white); border: 2px solid var(--gray-200); border-radius: var(--radius-global); overflow: hidden; cursor: pointer; scroll-snap-align: start; position: relative; transition: border-color var(--transition-fast); }
        .kat-b-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
        .kat-b-thumb span { position: absolute; left: 4px; bottom: 4px; font-size: 0.72rem; font-weight: 700; background: rgba(var(--white-rgb), 0.92); color: var(--text-dark); padding: 1px 5px; border-radius: 2px; }
        .kat-b-thumb:hover { border-color: var(--gray-400); }
        .kat-b-thumb[aria-current="true"] { border-color: var(--brand); }

        /* 3: door-by-door prototype */
        .kat-c-demo { display: flex; gap: 12px; align-items: flex-start; max-width: 860px; margin: 0 auto 32px; padding: 14px 18px; background: var(--gray-50); border: 1px dashed var(--gray-400); border-radius: var(--radius-card); color: var(--text-body); font-size: 0.95rem; line-height: 1.5; }
        .kat-c-demo > i { color: var(--gray-600); font-size: 1.3rem; margin-top: 1px; }
        .kat-c-demo p { margin: 0; }
        .kat-c-demo strong { color: var(--text-dark); }
        /* Comments 703b0a21, 7c0d6df5, 39ae271f: no search field, one filter (colour), the doors close to the title. */
        .kat-c .section-header { --header-margin-bottom: 40px; }
        .kat-c-tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--gray-200); }
        .kat-c-head { display: flex; align-items: center; gap: 4px 12px; min-height: 36px; }
        .kat-c-glabel { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
        .kat-c-pick { flex: 1 1 auto; min-width: 0; font-weight: 600; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .kat-c-count { margin: 0; color: var(--text-muted); font-weight: 600; white-space: nowrap; }
        .kat-c-clear { font: inherit; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; min-height: 36px; background: none; border: 0; padding: 0 2px; color: var(--brand-text); cursor: pointer; white-space: nowrap; }
        .kat-c-clear:hover { text-decoration: underline; }
        .kat-c-clear[hidden], .kat-c-item[hidden] { display: none; }
        /* Swatch area: one row high (40 px swatch + 6 px room for the ring and the focus outline on each side). When the
           swatches need more rows, the area scrolls inside itself, one row per step, and the top 8 px of the next row
           shows under a fade, so the visitor sees that more colours wait below (.is-more, set by catalog.js).
           One row: no scroll, no scrollbar. */
        .kat-c-swatches { --sw: 40px; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 -6px; padding: 6px; max-height: calc(var(--sw) + 20px); overflow-y: auto; scroll-snap-type: y mandatory; scroll-padding: 6px 0; scrollbar-width: thin; scrollbar-color: var(--gray-400) transparent; }
        .kat-c-swatches.is-more { -webkit-mask-image: linear-gradient(#000 calc(100% - 14px), rgba(0, 0, 0, 0.3)); mask-image: linear-gradient(#000 calc(100% - 14px), rgba(0, 0, 0, 0.3)); }
        .kat-c-sw { flex: none; position: relative; width: var(--sw); height: var(--sw); padding: 0; border: 0; border-radius: 50%; background: var(--gray-100); cursor: pointer; scroll-snap-align: start; transition: box-shadow var(--transition-fast), transform var(--transition-fast); }
        .kat-c-sw img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
        .kat-c-sw::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(var(--brand-dark-rgb), 0.18); }
        @media (hover: hover) { .kat-c-sw:hover { transform: scale(1.08); } }  /* no sticky hover after a tap on phones */
        .kat-c-sw[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--brand-dark); }
        .kat-c-sw[aria-pressed="true"]::before { content: ''; position: absolute; z-index: 1; inset: 10px; border-radius: 50%; background: rgba(var(--brand-dark-rgb), 0.78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='28' d='M40 144l56 56L216 80'/%3E%3C/svg%3E") center / 14px no-repeat; }
        .kat .kat-c-sw:focus-visible { outline-offset: 2px; }
        .kat-c-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
        .kat-c-card { display: grid; gap: 8px; align-content: start; padding: 12px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-card); color: inherit; transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal); }
        .kat-c-card:hover, .kat-c-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gray-300); }
        .kat-c-card img { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; border-radius: var(--radius-global); background: var(--gray-200); }
        .kat-c-card strong { font-family: 'Schibsted Grotesk', sans-serif; font-size: 1.15rem; color: var(--text-dark); display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
        .kat-c-card strong i { color: var(--brand-text); font-size: 1.05rem; transition: transform var(--transition-fast); }
        .kat-c-card:hover strong i { transform: translateX(4px); }
        .kat-c-card small { color: var(--text-body); font-size: 0.9rem; margin-top: -6px; }
        .kat-c-tags { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 0.85rem; line-height: 1.35; }
        .kat-c-tags img { flex: none; width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(var(--brand-dark-rgb), 0.18); }
        /* Placeholder tile: neutral, dashed, a door outline and a "Minta" badge. It shows no product data. */
        .kat-c-ph { display: grid; gap: 8px; align-content: start; padding: 12px; background: var(--white); border: 1px dashed var(--gray-300); border-radius: var(--radius-card); }
        .kat-c-ph-img { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 5; background: var(--gray-100); border-radius: var(--radius-global); color: var(--gray-300); font-size: 3.5rem; }
        .kat-c-ph-img em { position: absolute; top: 8px; left: 8px; font-style: normal; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-600); background: var(--white); padding: 2px 8px; border-radius: 999px; }
        .kat-c-ph strong { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: 1rem; color: var(--text-muted); margin-top: 4px; }
        .kat-c-all .btn { padding: 12px 20px; font-size: 1rem; }
        .kat-c-all { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--gray-200); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
        .kat-c-detail { scroll-margin-top: calc(var(--header-h) + 24px); }
        .kat-c-detail[hidden] { display: none; }
        .kat-c-back { font: inherit; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 8px 0; margin-bottom: 24px; color: var(--brand-text); cursor: pointer; }
        .kat-c-back:hover { text-decoration: underline; }
        .kat-c-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
        .kat-c-figure { margin: 0; background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: var(--radius-card); padding: 32px; display: grid; place-items: center; }
        .kat-c-figure img { width: 100%; max-width: 340px; aspect-ratio: 3 / 5; object-fit: cover; border-radius: var(--radius-global); }
        .kat-c-info h3 { font-size: 2.5rem; margin: 4px 0 12px; outline: none; }
        .kat-c-desc { margin: 0 0 24px; color: var(--text-body); font-size: 1.05rem; }
        .kat-c-info dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px 24px; margin: 0 0 32px; padding-top: 20px; border-top: 1px solid var(--gray-200); }
        .kat-c-info dt { color: var(--text-muted); font-weight: 500; }
        .kat-c-info dd { margin: 0; color: var(--text-dark); font-weight: 600; }
        .kat-c-pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--gray-200); }
        .kat-c-pager button { font: inherit; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius-global); padding: 10px 16px; color: var(--text-dark); cursor: pointer; transition: border-color var(--transition-fast), color var(--transition-fast); }
        .kat-c-pager button:hover { border-color: var(--brand); color: var(--brand-text); }
        .kat-c-pager span { color: var(--text-muted); }

        @media (max-width: 1200px) {
            .kat-c-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
        }
        @media (max-width: 992px) {
            .kat { padding: 72px 0; }
            .kat-a-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
            .kat-c-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
            .kat-c-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
            .kat-c-info h3 { font-size: 2rem; }
        }
        @media (max-width: 600px) {
            .kat .section-header { margin-bottom: 32px; }
            .kat-a-body { padding: 16px; }
            .kat-a-strip { gap: 6px; }
            .kat-a-open { right: 12px; bottom: 12px; padding: 8px 12px; font-size: 0.95rem; }
            .kat-a-strip .kat-a-more { font-size: 0.72rem; line-height: 1.15; text-align: center; }
            .kat-b-tab { font-size: 0.95rem; padding: 10px 8px; }
            .kat-b-zoom { padding: 0 14px; font-size: 0.95rem; }
            .kat-b-zoom-long { display: none; }
            .kat-b-thumb { width: 88px; }
            .kat-c-demo { margin-bottom: 24px; padding: 12px 14px; font-size: 0.9rem; }
            .kat-c-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
            .kat-c-card, .kat-c-ph { padding: 10px; }
            .kat-c-card strong { font-size: 1.1rem; }
            .kat-c-figure { padding: 16px; }
            .kat-c-figure img { max-width: 200px; }
            .kat-c-info dl { grid-template-columns: minmax(0, 1fr); gap: 4px; }
            .kat-c-info dd { margin-bottom: 8px; }
            .kat-c-pager button { padding: 10px 12px; }
        }
        /* Phone (comment d65e1791): the frame is the full width and as high as the page, so the bar moves above the page,
           where a change of page height cannot move it. The arrows sit in the bar: prev 0-44 px, count 48-112, next 116-160. */
        @media (max-width: 767px) {
            .kat-b-stage { --gut: 0px; --bar-h: 60px; display: flex; flex-direction: column; }
            .kat-b-bar { order: -1; padding: 0 0 0 48px; }
            .kat-b-page { width: 100%; height: auto; aspect-ratio: var(--ar); }
            .kat-b-nav { top: 8px; transform: none; width: 44px; height: 44px; font-size: 1.2rem; box-shadow: none; border-color: var(--gray-300); }
            .kat-b-next { left: 116px; right: auto; }
            .kat-b-count { width: 64px; text-align: center; font-size: 0.9rem; }
            /* Comment 703b0a21: no intro text and less white space between the title and the doors. */
            .kat-c { padding-top: 56px; }
            .kat-c .section-header { --header-margin-bottom: 20px; }
            .kat-c-intro { display: none; }
            .kat-c-tools { margin-bottom: 16px; padding-bottom: 12px; }
        }

        /* Zoom viewer (PhotoSwipe) additions: catalog title in the bar, close button on the right, the zoom hint at the bottom.
           .pswp.pswp wins over the PhotoSwipe CSS that build.py appends after this file. */
        .pswp.pswp { --pswp-bg: var(--brand-darkest); --pswp-icon-color: var(--white); --pswp-icon-color-secondary: var(--brand-darkest); }
        .pswp__counter { order: 1; flex: none; white-space: nowrap; }
        .pswp__kat-title { color: var(--white); font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: 1rem; align-self: center; margin-right: auto; padding: 0 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; order: 2; flex: 1 1 auto; min-width: 0; }
        .pswp__preloader { order: 3; }
        .pswp__button--close { order: 4; }
        .pswp__kat-hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); text-align: center; background: rgba(var(--brand-darkest-rgb), 0.85); color: var(--white); padding: 8px 14px; border-radius: var(--radius-global); font-size: 0.9rem; line-height: 1.4; pointer-events: none; transition: opacity 0.4s ease; }
        .pswp--zoomed-in .pswp__kat-hint, .pswp__kat-hint.is-gone { opacity: 0; }
        /* Visual QA 2026-11-19b: a zoomed light page left the white counter, title and close icon without contrast. */
        .pswp__top-bar { background: linear-gradient(to bottom, rgba(var(--brand-darkest-rgb), 0.8), rgba(var(--brand-darkest-rgb), 0.45) 70%, rgba(var(--brand-darkest-rgb), 0)); }
        /* Phone layout, by viewport width (comment b9c852d1): the title wraps between words (2 lines at most), the arrows
           leave the page sides and sit in a bar under the page with the hint between them. */
        @media (max-width: 767px) {
            .pswp__top-bar { height: 64px; align-items: center; }
            .pswp__counter { margin: 0 0 0 16px; height: auto; line-height: 1.2; font-size: 14px; }
            .pswp__kat-title { white-space: normal; text-overflow: clip; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 0.95rem; line-height: 1.25; padding: 0 8px 0 12px; }
            .pswp__button--close { height: 64px; }
            .pswp .pswp__button--arrow, .pswp.pswp--touch .pswp__button--arrow { visibility: visible; top: auto; bottom: 10px; margin-top: 0; width: 56px; height: 56px; }  /* PhotoSwipe hides them on touch screens */
            .pswp__button--arrow::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: rgba(var(--brand-darkest-rgb), 0.6); box-shadow: inset 0 0 0 1px rgba(var(--white-rgb), 0.22); }  /* dark disc: arrows stay visible over a zoomed light page */
            .pswp .pswp__button--arrow .pswp__icn { top: 8px; margin-top: 0; width: 40px; height: 40px; left: 15px; }
            .pswp .pswp__button--arrow--next .pswp__icn { left: auto; right: 15px; }
            .pswp__kat-hint { bottom: 18px; max-width: calc(100vw - 144px); background: none; padding: 0; font-size: 0.8rem; line-height: 1.35; color: rgba(var(--white-rgb), 0.85); }
        }
        /* The review-only variant switch has a higher z-index than the viewer and covered its close button at 1440. */
        html:has(.pswp--open) .sv-switch { visibility: hidden; }
        /* The review-only variant switch sits in the section's top padding, above the heading and the choice 3 demo note
           (visual QA 2026-11-18: at 96 px it covered the right end of the note). */
        .kat { --sv-top: 24px; }
        @media (max-width: 767px) { .kat { --sv-top: 16px; } }
        /* Phones (Matt's comment 0fadafca, 2026-11-20): the swatches are one row that scrolls sideways and runs to both
           screen edges (negative margin = the container padding), so the cut swatch at the edge shows that more colours wait. */
        @media (max-width: 767px) {
            .kat-c-swatches { flex-wrap: nowrap; max-height: none; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity;
                margin: 0 calc(-1 * var(--section-padding-x)); padding: 6px var(--section-padding-x); scroll-padding: 0 var(--section-padding-x);
                scrollbar-width: none; overscroll-behavior-x: contain; }
            .kat-c-swatches::-webkit-scrollbar { display: none; }
            .kat-c-swatches.is-more { -webkit-mask-image: none; mask-image: none; }
        }

        /* Full catalogue (Matt, comment 847506bc, apply-20261123): type pills replace the colour swatches. Doors with a side
           panel are wider than 3:5, so card and detail images fit inside the frame instead of being cut. */
        .kat-c-pills { --sw: 40px; }
        .kat-c-sw.kat-c-pill { width: auto; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--gray-300); font: inherit; font-weight: 600; font-size: 0.95rem; color: var(--text-dark); white-space: nowrap; }
        .kat-c-sw.kat-c-pill span { color: var(--text-muted); font-weight: 500; margin-left: 4px; }
        .kat-c-sw.kat-c-pill::after { content: none; }
        @media (hover: hover) { .kat-c-sw.kat-c-pill:hover { transform: none; border-color: var(--brand-dark); } }
        .kat-c-sw.kat-c-pill[aria-pressed="true"] { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--white); box-shadow: none; }
        .kat-c-sw.kat-c-pill[aria-pressed="true"] span { color: rgba(var(--white-rgb), 0.75); }
        .kat-c-sw.kat-c-pill[aria-pressed="true"]::before { content: none; }
        .kat-c-card img, .kat-c-figure img { object-fit: contain; background: var(--gray-200); }
        .kat-c-card small { font-size: 0.875rem; }
        .kat-c-item.is-over { display: none; }
        .kat-c-morewrap { display: flex; justify-content: center; margin-top: 28px; }
        .kat-c-more[hidden] { display: none; }

/* restore.css: overrides for the design v2 sections put back on 2026-11-20 (apply-20261120): trust band, before/after
   label, map service area and legend. site.css stays the design source. Bundled by build.py after catalog.css. */

/* Trust band: the map item is a link. Padded icons keep their 1em glyph (the inline-SVG icon rule in build.py sizes the box,
   so with border-box the padding squeezed the glyph to a few pixels). Same for the gate gallery zoom icons. */
.trust-badges a.trust-item { text-decoration: none; }
.trust-badges a.trust-item:hover { text-decoration: underline; text-underline-offset: 4px; }
.trust-badges .trust-item i, .img-expand i { box-sizing: content-box; }

/* Before/after: the images are illustrations, the label says so at every width (bottom left, clear of the Előtte/Utána pills). */
.ba-note { position: absolute; bottom: 16px; left: 16px; z-index: 4; pointer-events: none; padding: 6px 12px; border-radius: 4px;
           background: rgba(var(--brand-darkest-rgb), 0.78); color: var(--white); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em; }
@media (max-width: 600px) { .ba-note { bottom: 10px; left: 10px; font-size: 0.78rem; padding: 4px 9px; } }

/* Map: the 300 km service area, a warm tint of the land, clipped to Hungary in the SVG. */
.map-zone { fill: #FBE9DF; stroke: rgba(var(--brand-rgb), 0.5); stroke-width: 2.2; stroke-dasharray: 9 7; pointer-events: none; }
.map-zone-label { font: 700 28px 'Schibsted Grotesk', sans-serif; fill: var(--brand-text); paint-order: stroke; stroke: #FBE9DF; stroke-width: 6px; stroke-linejoin: round; pointer-events: none; }
.map-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 0; padding: 0; font-size: 0.95rem; color: var(--text-body); }
.map-legend li { display: inline-flex; align-items: center; gap: 9px; }
.map-legend-zone { flex: none; width: 24px; height: 15px; border-radius: 3px; background: #FBE9DF; border: 1.5px dashed rgba(var(--brand-rgb), 0.5); }
.map-legend-pin { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--brand-dark); box-shadow: 0 0 0 3px var(--white), 0 0 0 4.5px var(--brand-dark); margin: 0 3px; }
@media (max-width: 600px) { .map-zone-label { font-size: 40px; stroke-width: 8px; } .map-legend { font-size: 0.9rem; } }

/* Process choice 2 (four window panes): one pane per row on phones, two columns left the step titles cut off at 390 px. */
@media (max-width: 600px) { .sm-proc2-frame { grid-template-columns: 1fr; } }

/* Offer-request tips: the card titles wrap on phones (nowrap cut "Település és telefonszám" at 390 px). */
@media (max-width: 600px) { #szolgaltatasok-reszletek h3.no-break-headline { white-space: normal; } }
/* Materials accordion: the open panel title wraps ("Ablak fából, műanyagból vagy alumíniumból" is wider than the panel). */
.materials-section h4.no-break-headline { white-space: normal; }
        /* Legal pages (adatkezelési és sütitájékoztató) in the site shell. */
        .legal-main { padding: 72px 0 96px; background: var(--white); }
        .legal-main .container { max-width: 860px; }
        .legal-main h1 { font-size: 2.5rem; margin-bottom: 8px; }
        .legal-main h2 { font-size: 1.4rem; margin: 40px 0 8px; }
        .legal-main p, .legal-main li { color: var(--text-body); }
        .legal-main ul { padding-left: 22px; list-style: disc; display: grid; gap: 4px; }
        .legal-main .meta { color: var(--text-muted); }
        .legal-main .table-wrap { overflow-x: auto; }
        .legal-main table { border-collapse: collapse; width: 100%; font-size: 0.95rem; margin-top: 8px; }
        .legal-main th, .legal-main td { border: 1px solid var(--gray-200); padding: 8px 10px; text-align: left; vertical-align: top; }
        .legal-main th { background: var(--gray-50); }
        @media (max-width: 600px) {
            .legal-main table, .legal-main tbody, .legal-main tr, .legal-main td { display: block; width: 100%; }
            .legal-main tr:first-child:has(th) { display: none; }
            .legal-main tr { border: 1px solid var(--gray-200); border-radius: var(--radius-global); margin-top: 12px; padding: 4px 0; }
            .legal-main td { border: 0; padding: 4px 12px; }
            .legal-main td::before { content: attr(data-label); display: block; font-size: 0.8rem; font-weight: 700; color: var(--text-muted); }
        }

/* PhotoSwipe 5.4.4, MIT, https://github.com/dimsemenov/PhotoSwipe */
/*! PhotoSwipe main CSS by Dmytro Semenov | photoswipe.com */

.pswp {
  --pswp-bg: #000;
  --pswp-placeholder-bg: #222;
  

  --pswp-root-z-index: 100000;
  
  --pswp-preloader-color: rgba(79, 79, 79, 0.4);
  --pswp-preloader-color-secondary: rgba(255, 255, 255, 0.9);
  
  /* defined via js:
  --pswp-transition-duration: 333ms; */
  
  --pswp-icon-color: #fff;
  --pswp-icon-color-secondary: #4f4f4f;
  --pswp-icon-stroke-color: #4f4f4f;
  --pswp-icon-stroke-width: 2px;

  --pswp-error-text-color: var(--pswp-icon-color);
}


/*
	Styles for basic PhotoSwipe (pswp) functionality (sliding area, open/close transitions)
*/

.pswp {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: var(--pswp-root-z-index);
	display: none;
	touch-action: none;
	outline: 0;
	opacity: 0.003;
	contain: layout style size;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Prevents focus outline on the root element,
  (it may be focused initially) */
.pswp:focus {
  outline: 0;
}

.pswp * {
  box-sizing: border-box;
}

.pswp img {
  max-width: none;
}

.pswp--open {
	display: block;
}

.pswp,
.pswp__bg {
	transform: translateZ(0);
	will-change: opacity;
}

.pswp__bg {
  opacity: 0.005;
	background: var(--pswp-bg);
}

.pswp,
.pswp__scroll-wrap {
	overflow: hidden;
}

.pswp__scroll-wrap,
.pswp__bg,
.pswp__container,
.pswp__item,
.pswp__content,
.pswp__img,
.pswp__zoom-wrap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.pswp__img,
.pswp__zoom-wrap {
	width: auto;
	height: auto;
}

.pswp--click-to-zoom.pswp--zoom-allowed .pswp__img {
	cursor: -webkit-zoom-in;
	cursor: -moz-zoom-in;
	cursor: zoom-in;
}

.pswp--click-to-zoom.pswp--zoomed-in .pswp__img {
	cursor: move;
	cursor: -webkit-grab;
	cursor: -moz-grab;
	cursor: grab;
}

.pswp--click-to-zoom.pswp--zoomed-in .pswp__img:active {
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: grabbing;
}

/* :active to override grabbing cursor */
.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img,
.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img:active,
.pswp__img {
	cursor: -webkit-zoom-out;
	cursor: -moz-zoom-out;
	cursor: zoom-out;
}


/* Prevent selection and tap highlights */
.pswp__container,
.pswp__img,
.pswp__button,
.pswp__counter {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.pswp__item {
	/* z-index for fade transition */
	z-index: 1;
	overflow: hidden;
}

.pswp__hidden {
	display: none !important;
}

/* Allow to click through pswp__content element, but not its children */
.pswp__content {
  pointer-events: none;
}
.pswp__content > * {
  pointer-events: auto;
}


/*

  PhotoSwipe UI

*/

/*
	Error message appears when image is not loaded
	(JS option errorMsg controls markup)
*/
.pswp__error-msg-container {
  display: grid;
}
.pswp__error-msg {
	margin: auto;
	font-size: 1em;
	line-height: 1;
	color: var(--pswp-error-text-color);
}

/*
class pswp__hide-on-close is applied to elements that
should hide (for example fade out) when PhotoSwipe is closed
and show (for example fade in) when PhotoSwipe is opened
 */
.pswp .pswp__hide-on-close {
	opacity: 0.005;
	will-change: opacity;
	transition: opacity var(--pswp-transition-duration) cubic-bezier(0.4, 0, 0.22, 1);
	z-index: 10; /* always overlap slide content */
	pointer-events: none; /* hidden elements should not be clickable */
}

/* class pswp--ui-visible is added when opening or closing transition starts */
.pswp--ui-visible .pswp__hide-on-close {
	opacity: 1;
	pointer-events: auto;
}

/* <button> styles, including css reset */
.pswp__button {
	position: relative;
	display: block;
	width: 50px;
	height: 60px;
	padding: 0;
	margin: 0;
	overflow: hidden;
	cursor: pointer;
	background: none;
	border: 0;
	box-shadow: none;
	opacity: 0.85;
	-webkit-appearance: none;
	-webkit-touch-callout: none;
}

.pswp__button:hover,
.pswp__button:active,
.pswp__button:focus {
  transition: none;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  opacity: 1;
}

.pswp__button:disabled {
  opacity: 0.3;
  cursor: auto;
}

.pswp__icn {
  fill: var(--pswp-icon-color);
  color: var(--pswp-icon-color-secondary);
}

.pswp__icn {
  position: absolute;
  top: 14px;
  left: 9px;
  width: 32px;
  height: 32px;
  overflow: hidden;
  pointer-events: none;
}

.pswp__icn-shadow {
  stroke: var(--pswp-icon-stroke-color);
  stroke-width: var(--pswp-icon-stroke-width);
  fill: none;
}

.pswp__icn:focus {
	outline: 0;
}

/*
	div element that matches size of large image,
	large image loads on top of it,
	used when msrc is not provided
*/
div.pswp__img--placeholder,
.pswp__img--with-bg {
	background: var(--pswp-placeholder-bg);
}

.pswp__top-bar {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 60px;
	display: flex;
  flex-direction: row;
  justify-content: flex-end;
	z-index: 10;

	/* allow events to pass through top bar itself */
	pointer-events: none !important;
}
.pswp__top-bar > * {
  pointer-events: auto;
  /* this makes transition significantly more smooth,
     even though inner elements are not animated */
  will-change: opacity;
}


/*

  Close button

*/
.pswp__button--close {
  margin-right: 6px;
}


/*

  Arrow buttons

*/
.pswp__button--arrow {
  position: absolute;
  top: 0;
  width: 75px;
  height: 100px;
  top: 50%;
  margin-top: -50px;
}

.pswp__button--arrow:disabled {
  display: none;
  cursor: default;
}

.pswp__button--arrow .pswp__icn {
  top: 50%;
  margin-top: -30px;
  width: 60px;
  height: 60px;
  background: none;
  border-radius: 0;
}

.pswp--one-slide .pswp__button--arrow {
  display: none;
}

/* hide arrows on touch screens */
.pswp--touch .pswp__button--arrow {
  visibility: hidden;
}

/* show arrows only after mouse was used */
.pswp--has_mouse .pswp__button--arrow {
  visibility: visible;
}

.pswp__button--arrow--prev {
  right: auto;
  left: 0px;
}

.pswp__button--arrow--next {
  right: 0px;
}
.pswp__button--arrow--next .pswp__icn {
  left: auto;
  right: 14px;
  /* flip horizontally */
  transform: scale(-1, 1);
}

/*

  Zoom button

*/
.pswp__button--zoom {
  display: none;
}

.pswp--zoom-allowed .pswp__button--zoom {
  display: block;
}

/* "+" => "-" */
.pswp--zoomed-in .pswp__zoom-icn-bar-v {
  display: none;
}


/*

  Loading indicator

*/
.pswp__preloader {
  position: relative;
  overflow: hidden;
  width: 50px;
  height: 60px;
  margin-right: auto;
}

.pswp__preloader .pswp__icn {
  opacity: 0;
  transition: opacity 0.2s linear;
  animation: pswp-clockwise 600ms linear infinite;
}

.pswp__preloader--active .pswp__icn {
  opacity: 0.85;
}

@keyframes pswp-clockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/*

  "1 of 10" counter

*/
.pswp__counter {
  height: 30px;
  margin-top: 15px;
  margin-inline-start: 20px;
  font-size: 14px;
  line-height: 30px;
  color: var(--pswp-icon-color);
  text-shadow: 1px 1px 3px var(--pswp-icon-color-secondary);
  opacity: 0.85;
}

.pswp--one-slide .pswp__counter {
  display: none;
}

/* ---------- Comment round r5 (2026-11-24, night run): Matt's comments P-413 to P-420 and the phone template v1 of the
   General Revision pilot ([P-56], RUN/w2/generalrevision/mobile-template.md). Labels: R<n> = template rule, P-<n> = comment.
   R1 (type scale) is NOT taken: Matt keeps the Somodi section title sizes (P-416). R9, R11, R13 have no target here.
   R12 is replaced by P-414: no bottom bar, the floating dock (call, quote, message) on every page. ---------- */

/* P-413 desktop message pop-up in the General Revision pattern: it opens left of the dock, so the dock stays visible,
   and the whole form (message, phone, send) fits without inner scrolling. */
@media (min-width: 769px) {
    #chat-popup.is-open { right: calc(var(--chat-r, 30px) + var(--chat-s, 60px) + 16px); width: min(440px, calc(100vw - 140px)); height: min(600px, calc(100dvh - var(--header-h, 100px) - 40px)); transition-property: width, height, right, border-radius, background-color, box-shadow; }
    #chat-popup .chat-window { width: min(440px, calc(100vw - 140px)); height: min(600px, calc(100dvh - var(--header-h, 100px) - 40px)); }
    #chat-popup .popup-header { padding: 26px 64px 22px 28px; }
    #chat-popup .popup-header h4 { font-size: 1.75rem; }
    #chat-popup .popup-header p { font-size: 1rem; }
    #chat-popup .popup-body { padding: 24px 28px 28px; gap: 16px; }
    #chat-popup .popup-body label { font-size: 1.05rem; }
    #chat-popup .popup-body input, #chat-popup .popup-body textarea { padding: 14px 16px; font-size: 1rem; }
    #chat-popup .popup-body textarea { height: 200px; }
    #chat-popup .popup-body .btn { margin-top: 4px; padding: 16px; font-size: 1.1rem; }
    body.popup-open .widget-dock .widget-phone { opacity: 1; visibility: visible; }
    .widget-dock .widget-calc-btn { display: none; }
}
@media (min-width: 769px) and (max-height: 760px) { #chat-popup .popup-body textarea { height: 140px; } }

@media (max-width: 768px) {
    /* P-414 no bottom bar: the floating dock is enough. Call (green), quote (red) and message stack at the bottom right,
       as the dock of the new template. The quote button opens the same quote dialog as before (site.js, a.btn[href="#ajanlat"]). */
    .mobile-bottom-cta, body.popup-open .mobile-bottom-cta { display: none !important; }
    .widget-dock { flex-direction: column; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); gap: 10px; }
    .widget-dock .widget-phone, .widget-dock .widget-calc-btn { display: flex; }
    .widget-dock .widget-btn, .widget-dock .widget-phone, .widget-dock .widget-phone:hover { width: 52px; height: 52px; min-width: 52px; padding: 0; border-radius: 50%; font-size: 1.45rem; justify-content: center; }
    .widget-dock .widget-phone .text-wrapper { display: none; }
    .widget-dock .widget-phone .icon-wrapper { min-width: 52px; width: 52px; height: 52px; background: transparent; }
    .widget-dock .widget-calc-btn { background: var(--brand); color: var(--white); border: 0; box-shadow: var(--shadow-brand, 0 8px 20px rgba(0,0,0,.25)); text-decoration: none; }
    .widget-dock .widget-calc-btn i { color: var(--white); margin: 0; }
    body.popup-open .widget-dock { opacity: 0; visibility: hidden; pointer-events: none; }
    #chat-popup.is-open { bottom: 12px; height: min(560px, calc(100dvh - 24px)); }
    #chat-popup .chat-window { height: min(560px, calc(100dvh - 24px)); }
    .footer-bottom { padding-right: 0; padding-bottom: 80px; }

    /* P-415 gallery: no opening gate on phones. The two full-screen half images are gone, the title sits above the photos,
       and the photos run as one row that swipes sideways to both screen edges (as the service galleries, comment 0fadafca). */
    #galeria-v5.gallery-motion-v5 { height: auto; padding: var(--section-padding-y) 0; margin-bottom: 0; }
    #galeria-v5 .v5-sticky { position: static; height: auto; overflow: visible; display: flex; flex-direction: column; align-items: stretch; }
    #galeria-v5 .v5-header { order: -1; --header-margin-bottom: 20px; --header-margin-bottom-column: 20px; }
    #galeria-v5 .v5-gate-panel { display: none; }
    #galeria-v5 .v5-header { position: static; transform: none !important; opacity: 1 !important; padding: 0 24px; margin-bottom: 20px; text-align: left; }
    #galeria-v5 .v5-header .section-title, #galeria-v5 .v5-header .section-subtitle { color: var(--brand-darkest) !important; text-shadow: none !important; }
    #galeria-v5 .v5-inner { position: static; height: auto; padding: 0 24px 6px; transform: none !important; opacity: 1 !important; display: flex; justify-content: flex-start; align-content: normal; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 24px; scrollbar-width: none; }
    #galeria-v5 .v5-inner::-webkit-scrollbar { display: none; }
    #galeria-v5 .v5-inner .img-wrapper { flex: 0 0 66%; height: auto; aspect-ratio: 4 / 5; scroll-snap-align: start; }

    /* R2 left-aligned section headers (GR P-108): replaces G6 centred headers. The eyebrow keeps its rule on the right. */
    .section-header, .section-header.text-center { text-align: left; }
    .section-header .section-subtitle { justify-content: flex-start; }
    .section-header .section-subtitle::before { display: none; }
    .section-header > p { margin-left: 0 !important; margin-right: 0 !important; }
    /* R3 one label for the services block (GR P-96 to P-98): the eyebrow, large and edge to edge, the title is hidden */
    #szolgaltatasok > .section-header > .section-title, #szolgaltatasok > .section-header > p { display: none; }
    #szolgaltatasok > .section-header { --header-margin-bottom: 32px; --header-margin-bottom-column: 32px; padding: 0 12px; }
    #szolgaltatasok > .section-header .section-subtitle { display: flex; align-items: center; width: 100%; font-size: clamp(22px, 7vw, 30px); font-weight: 800; letter-spacing: .14em; gap: 10px; margin: 0; }
    #szolgaltatasok > .section-header .section-subtitle::before { display: block; }
    #szolgaltatasok > .section-header .section-subtitle::before, #szolgaltatasok > .section-header .section-subtitle::after { flex: 1 1 0; width: auto; }
    /* R4 rhythm in a service (GR P-100 to P-104): 28 px after the title, 16 px between blocks, text before the photos.
       Somodi order: title, text, facts, photos, advice card, the rest (the facts are short lines, not cards). */
    .service-detail .sd2-mobile-title { margin-bottom: 28px !important; }
    .service-detail .sd2-service-grid { display: flex; flex-direction: column; gap: 16px !important; row-gap: 16px !important; }
    .service-detail .sd2-content-side, .service-detail .sd2-content-side > div:first-child { display: contents; }
    .service-detail .sd2-content-side > div:first-child > p { order: 1; margin: 0; }
    .service-detail .sd2-facts, .service-detail .gk-services, .service-detail .sd2-feature-cards { order: 2; margin: 0; }
    .service-detail .sd2-service-gallery { order: 3; margin: 0; }
    .service-detail .sd2-content-side > :not(div:first-child):not(.sd2-facts):not(.gk-services):not(.sd2-feature-cards) { order: 4; margin-top: 0; }
    /* R6 no floating card over the photo (GR P-107): the address badge sits under the photo, in flow */
    .about-img { margin-bottom: 0; }
    .about-img .about-experience { position: static; margin: 12px 0 0; padding: 14px 16px; gap: 14px; box-shadow: none; }
    .about-img .about-experience i { font-size: 2rem; }
    .about-grid { gap: 32px; }
    .about-content .section-header { --header-margin-bottom: 20px; --header-margin-bottom-column: 20px; }
    /* R7 long card lists swipe sideways (GR P-108, P-123): the 8 service cards, 1.5 cards visible */
    #szolgaltatasok-reszletek .sticky-wrapper { display: block; }
    #szolgaltatasok-reszletek .sticky-left-inner, #szolgaltatasok-reszletek .sticky-left-inner > p { text-align: left; margin-bottom: 0; }
    #szolgaltatasok-reszletek .sticky-left-inner > .btn { display: none !important; }
    #szolgaltatasok-reszletek .sticky-right { display: flex; flex-direction: row; align-items: stretch; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 24px -24px 0; padding: 0 24px 8px; scroll-padding-left: 24px; scrollbar-width: none; width: auto; }
    #szolgaltatasok-reszletek .sticky-right::-webkit-scrollbar { display: none; }
    #szolgaltatasok-reszletek .scroll-card { flex: 0 0 66%; scroll-snap-align: start; margin: 0 !important; position: relative !important; top: auto !important; transform: none !important; }
    #szolgaltatasok-reszletek .scroll-card img { aspect-ratio: 4 / 3; height: auto; }
    #szolgaltatasok-reszletek .scroll-card-content { padding: 16px; }
    #szolgaltatasok-reszletek .scroll-card-content h3 { font-size: 17px !important; margin-bottom: 8px; }
    /* R8 process numbers inside the card, bottom right (GR P-109) */
    .process-grid-v1 { row-gap: 10px; }
    .process-step-v1 { position: relative; padding: 18px 14px 52px !important; }
    .process-step-v1 .process-number-v1 { top: auto !important; left: auto !important; right: 12px; bottom: 12px; width: 30px; height: 30px; font-size: 15px; box-shadow: none; transform: none !important; }
    .process-step-v1:hover .process-number-v1 { transform: none !important; }
    /* R10 message pop-up close: a plain X, no frame (GR P-59) */
    #chat-popup .popup-close { display: flex; align-items: center; justify-content: center; border: 0; background: transparent; border-radius: 0; box-shadow: none; padding: 0; }
    #chat-popup .popup-close i { font-size: 22px; line-height: 1; margin: 0; }

    /* P-418 less white space under the lead text: no empty site-list row, no extra header margin (was 76 px to the map) */
    .grid-location { row-gap: 16px; grid-template-areas: "head" "map" "card"; }
    #siteMap > .location-head { --header-margin-bottom: 0px; --header-margin-bottom-column: 0px; }  /* .section-header sets margin-bottom with !important (line 158), so the variable is the lever */
    #siteMap > .location-head > p { margin-bottom: 0; }
    /* P-419 the contact card on phones: no "Cím" tag (one site), name and address on top, two tidy rows, one call button */
    #telephelyek .site-card { padding: 22px 18px; }
    #telephelyek .site-card-top { flex-direction: row; margin-bottom: 18px; }
    #telephelyek .site-card .site-tag { display: none; }
    #telephelyek .site-card h3 { font-size: 22px; margin-bottom: 4px; }
    #telephelyek .site-rows { gap: 14px; padding-top: 16px; border-top: 1px solid rgba(var(--white-rgb), 0.15); }
    #telephelyek .site-row { grid-template-columns: 36px 1fr; gap: 12px; align-items: center; }
    #telephelyek .site-row .ico { width: 36px; height: 36px; font-size: 1.05rem; }
    #telephelyek .site-row a { display: inline-block; padding: 2px 0; overflow-wrap: anywhere; }
    #telephelyek .site-actions { margin-top: 20px; }
    #telephelyek .site-actions .btn { flex: 1 1 100%; }
}

/* Galéria with category filters (2026-11-25). */
.gal-section { padding: 96px 0; background: var(--white); }
.gal-lede { max-width: 560px; margin: 12px auto 0; color: var(--text-muted); }
.gal-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 32px 0 28px; }
.gal-chip { font: inherit; font-weight: 600; font-size: 0.95rem; padding: 10px 20px; border-radius: 999px; border: 1.5px solid rgba(var(--brand-dark-rgb), 0.18); background: var(--white); color: var(--text-dark); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.gal-chip small { font-size: 0.8em; opacity: .65; margin-left: 2px; }
.gal-chip:hover { border-color: var(--brand); color: var(--brand-text); }
.gal-chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.gal-chip:focus-visible, .gal-item:focus-visible { outline: 3px solid var(--brand-soft); outline-offset: 3px; }
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gal-item { aspect-ratio: 4 / 3; cursor: zoom-in; }
.gal-item[hidden] { display: none; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gal-item:hover img { transform: scale(1.04); }
.gal-more-wrap { text-align: center; margin-top: 28px; }
@media (max-width: 600px) { .gal-section { padding: 64px 0; } .gal-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } .gal-chip { padding: 8px 14px; font-size: 0.88rem; } }
