        /* --- 1. GLOBÁLIS VÁLTOZÓK --- */
        :root {
            --ocean-top: #003049;  
            --ocean-bot: #001219;  
            --white-bg: #ffffff;
            --electric: #4CC9F0;
            --balloon-red: #EE0000;
            --honey-yellow: #FFD700;
            --neon-green: #39FF14;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: var(--white-bg);
            color: var(--ocean-top);
            overflow-x: hidden;
            line-height: 1.6;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* --- 2. HERO SZEKCIÓ (ÉRINTETLEN) --- */
        .sub-hero {
            min-height: 20vh;
            width: 100%; 
            background-image: linear-gradient(to right, var(--ocean-bot), var(--ocean-top));
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 2rem 5%;
            position: relative;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        .page-title {
            color: white;
            font-size: 2rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 4px;
            text-shadow: 0 0 10px rgba(255,255,255,0.3);
            margin: 0;
        }

        .profile-container-top { display: flex; align-items: center; gap: 20px; }
        
        .hero-text { 
            color: white; 
            display: flex; 
            flex-direction: column; 
            align-items: flex-end; 
            text-align: right; 
        }
        
        .hero-name { 
            font-size: 2rem; 
            font-weight: 700; 
            letter-spacing: 1px; 
            line-height: 1.2; 
            color: white; 
            text-decoration: none; 
            transition: color 0.3s ease; 
        }

        .hero-name:hover {
            color: var(--electric);
        }
        .hero-title { font-size: 1rem; font-weight: 400; text-transform: uppercase; letter-spacing: 2px; opacity: 0.8; }

        
	/* A középső fehér foglalás gomb a Hero-ban */
        .hero-center-btn {
            background-color: var(--white-bg);
            color: var(--ocean-top);
            padding: 12px 25px;
            border: none;
            border-radius: 5px;
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }
        
        .hero-center-btn:hover {
            background-color: var(--electric);
            color: var(--ocean-bot);
            transform: scale(1.12);
        }

        /* Az e-mail cím linkje a név alatt */
        .hero-email {
            color: var(--electric);
            font-size: 0.9rem;
            font-weight: 600;
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 3.2px;
            transition: color 0.3s ease;
        }

        .hero-email:hover {
            color: white;
            text-decoration: underline;
        }


	/* --- E-MAIL TOOLTIP FORMÁZÁSA --- */
        .email-container {
            position: relative;
            display: inline-block;
        }

        .copy-tooltip {
            position: absolute;
            top: 100%;        /* Pontosan az e-mail cím alsó vonala alá teszi */
            left: 0;         /* Jobbra igazítja, hogy egy vonalban legyen a címmel */
            margin-top: 24px;  /* Pici térköz felülről */
            background-color: var(--electric); /* A kért világoskék háttér */
            color: var(--ocean-top);           /* Sötétkék betűk a jó kontrasztért */
            padding: 5px 12px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 800;
            letter-spacing: 1px;
            white-space: nowrap;               /* Nem engedi, hogy két sorba törjön a szöveg */
            
            /* Alapértelmezetten láthatatlan */
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* Pici árnyék, hogy kiemelkedjen a háttérből */
            z-index: 100;
        }

        /* Ezt az osztályt adja hozzá a JavaScript a megjelenítéshez */
        .copy-tooltip.show {
            opacity: 1;
            visibility: visible;
        }

	.hero-phone {
            color: var(--electric);
            font-size: 0.9rem;
            font-weight: 600;
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 3.2px;
            transition: color 0.3s ease;
        }

       


        /* --- 3. BEMUTATKOZÓ (INTRO) SZEKCIÓ --- */
        .intro-section {
            display: flex;
            width: 100%;
            background-color: var(--white-bg);
            border-bottom: 2px solid rgba(0,0,0,0.05);
            /* Megakadályozzuk, hogy hosszú tartalom esetén a kép eltorzuljon: */
            align-items: stretch; 
        }

        .intro-image-container {
            width: 28%;
            display: flex;
        }

        .intro-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .intro-text-container {
            width: 72%;
            padding: 3rem 5% 4rem 5%;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: flex-start;
        }

        /* A mottó, alatta szaggatott vonallal */
        .value-proposition {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--ocean-top);
            margin-bottom: 0;
            line-height: 1.2;            
            padding-bottom: 15px;
            display: inline-block;
            position: relative;
            z-index: 2;
        }

        /* --- AZ INFOGRAFIKA VONALAI ÉS HÁLÓZATA --- */
        .infographic-wrapper {
            position: relative;
            width: 100%;
            padding-top: 30px;
            margin-bottom: 2rem;
        }

        
        
        /* A 6 szakterület rácsa a fehér zónában */
        .grid-infographic {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 35px 35px; /* Sorok között 30px, oszlopok között 20px hely */
            padding-top: 0px;
            position: relative;
        }

        /* Új, szaggatott vonalas fehér csempék */
        .tile-dashed {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 2rem 1.5rem;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            border-radius: 8px;
            min-height: 150px;
            background-color: var(--white-bg);
            border: 2px dashed var(--ocean-top);
            color: var(--ocean-top);
        }
        
        .tile-dashed:hover {
            transform: scale(1.08);
	    border: solid;

        }

        .tile-dashed .tile-title {
            font-size: 1.25rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
            line-height: 1.4;
            margin-bottom: 0.5rem;
        }

        .tile-dashed .tile-subtitle {
            font-size: 1rem;
            font-weight: 500;
            opacity: 0.9;
            line-height: 1.3;
        }

	.tile-dashed.kiemelt-foglalas {
            background-color: var(--ocean-top);
            color: var(--white-bg);
        }

	
        .tile-dashed.special-tech {
            background-color: var(--honey-yellow);
            border: 2px solid var(--honey-yellow);
            color: var(--ocean-bot);
        }
        .tile-dashed.special-tech:hover {
            background-color: var(--ocean-top);
            border: 2px solid var(--ocean-top);
	    color: var(--honey-yellow);

        }
        
        /* A hover (egérráhúzás) effektus az egyedi csempéhez */
        .tile-dashed.kiemelt-foglalas:hover {
            background-color: var(--electric);
            border: 0px;
            color: var(--ocean-top);
        }


	/* --- ORVOSI JOG CSEMPE KICSÚSZÓ FÜLEK --- */
        
        .orvosi-tile-wrapper {
            position: relative;
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100%;
        }

        /* Biztosítjuk, hogy a fő csempe eltakarja a füleket (z-index: 2) és ne legyen átlátszó */
        .orvosi-tile-wrapper .tile-dashed {
            margin: 0;
            height: 100%;
            z-index: 2;
            background-color: var(--white-bg); 
        }

        /* A rejtett fülek alapformázása */
        .orvosi-tab {
            position: absolute;
            left: 10%;           /* Kicsit beljebb húzzuk a szélektől, mint a képen */
            right: 10%;
            background-color: var(--ocean-top);
            color: var(--white-bg);
            text-align: center;
            font-weight: 600;
            font-size: 0.95rem;
            padding: 10px;
            text-decoration: none;
            z-index: 1;          /* A csempe (z-index:2) mögé kerül */
            transition: all 0.4s ease; /* Finom animáció a kicsúszáshoz és a színváltáshoz */
        }

        /* Felső fül pozíciója és lekerekítése */
        .orvosi-tab.tab-top {
            top: 0;
            border-radius: 8px 8px 0 0;
        }

        /* Alsó fül pozíciója és lekerekítése */
        .orvosi-tab.tab-bottom {
            bottom: 0;
            border-radius: 0 0 8px 8px;
        }

        /* --- ANIMÁCIÓ: Amikor a JS ráteszi az 'active' osztályt --- */
        .orvosi-tile-wrapper.active .tab-top {
            transform: translateY(-42px); /* Kicsúszik felfelé */
        }

        .orvosi-tile-wrapper.active .tab-bottom {
            transform: translateY(42px);  /* Kicsúszik lefelé */
        }

        /* --- HOVER EFFEKTUS A FÜLEKRE --- */
        .orvosi-tab:hover {
            background-color: var(--electric);
            color: var(--ocean-top);
        }

	/* Ha a tároló aktív (nyitva vannak a fülek), a csempe maradjon megnövelve és folytonos vonalú */
        .orvosi-tile-wrapper.active .tile-dashed {
            transform: scale(1.08);
            border: solid;
        }



        /* Gombok és felhívások */
        .sajat-gomb-osztaly {
            display: inline-block;
            padding: 18px 35px;
            background-color: var(--ocean-top);
            color: white;
            border: none;
            border-radius: 5px;
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 1.1rem;
            cursor: pointer;
            transition: 0.3s;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: 1.5rem;
            margin-bottom: 2rem;
        }
        .sajat-gomb-osztaly:hover { background-color: var(--electric); color: var(--ocean-top); }

        .scroll-prompt {
            color: #666;
            font-size: 1rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .scroll-prompt i {
            color: var(--electric);
            font-size: 1.2rem;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(5px); }
            60% { transform: translateY(3px); }
        }

        /* --- 4. SPECIÁLIS SZOLGÁLTATÁSOK SZEKCIÓ --- */
        .services-wrapper {
            padding: 4rem 5%;
            background-color: #fcfcfc;
        }

        .grid-4x1 {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        /* Eredeti színes, teli csempék a 4x1-es rácshoz */
        .tile-solid {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 2.5rem 1.5rem;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            border-radius: 8px;
            min-height: 180px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        }

        .tile-1 { background-color: var(--ocean-top); color: white; }
        .tile-3 { background-color: var(--electric); color: var(--ocean-top); }
        .tile-4 { background-color: var(--honey-yellow); color: var(--ocean-top); }

        .tile-solid:hover { transform: scale(1.06); }
        
        .tile-solid .tile-title { font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; line-height: 1.4; margin-bottom: 0.5rem; }
        .tile-solid .tile-subtitle { font-size: 0.85rem; font-weight: 500; opacity: 0.85; line-height: 1.3; }

        /* --- 5. FOOTER --- */
        .legal-footer {
            margin-top: auto;
            background-color: var(--ocean-top);
            color: white;
            padding: 2rem 10%;
            font-size: 0.8rem;
            text-align: center;
            border-top: 4px solid var(--electric);
        }
        .legal-text { max-width: 900px; margin: 0 auto; line-height: 1.6; opacity: 0.8; }
        .legal-text a { color: var(--electric); text-decoration: none; }
        .legal-text a:hover { text-decoration: underline; }



	.hover-underline {
  font-size: 2rem;
  color: #ffffff;
  position: relative;
  display: inline-block;
}

.hover-underline::after,
.hover-underline::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--honey-yellow),white );
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out;
}

.hover-underline::before {
  top: -5px;
  transform-origin: left;
}

.hover-underline:hover::after,
.hover-underline:hover::before {
  transform: scaleX(1);
}

.cell {
    cursor: cell;    
}

        .calendly-popup-content {
            position: relative !important;
        }

        .calendly-popup-content::after {
            content: '§';
            position: absolute;
            top: 0;
            right: 0;
            width: 270px;  /* Szélesség (állíthatod, ha nem takar eléggé) */
            height: 270px; /* Magasság */
            background-color: var(--ocean-top);
                        
            clip-path: polygon(100% 0, 0 0, 100% 100%);

	    color: var(--white-bg);
            font-size: 65px;
            font-family: 'Montserrat', sans-serif;
            font-weight: 500;

	    display: flex;
            justify-content: flex-end;  /* Jobbra húzza */
            align-items: flex-start;    /* Felfelé húzza */
            padding-top: 70px;          /* Kicsit lejjebb tolja a legfelső peremtől */
            padding-right: 70px;        /* Kicsit beljebb tolja a jobb széltől */
            box-sizing: border-box;
            
            z-index: 9999;
                         
        }

        .calendly-popup-content::before {
            content: '1. Kattints az Online jogi konzultáció (30 perc) gombra.\A 2. Ezután válaszd ki a megfelelő dátumot.\A 3. A jobb oldalon látható szabad idősávokból válassz egyet, majd kattints a megjelenő kék "Next" gombra.\A 4. A "Name:" mezőbe írd be a teljes neved, az "Email:" mezőben add meg az email címedet.\A 5. A foglalás véglegesítéséhez kattints a kék "Schedule event" feliratú gombra az ablak alján.';
            white-space: pre-wrap;
	    position: absolute;
            bottom: -1px;
            left: 50%;
            transform: translate(-50%, 100%);
            background-color: var(--ocean-top);
            color: white;
            padding: 0px 25px;
            border: 2px solid var(--ocean-top);
            font-weight: 450;
            font-size: 0.8rem;
            text-align: center;
            z-index: 9999; /* Legyen legfelül */
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
            width: 95%;
            max-width: 1150px; 
            transition: opacity 1s ease, visibility 1s ease;
	    
        }
        
        body.hide-calendly-helper .calendly-popup-content::before {
            opacity: 0;
            visibility: hidden;
        }

	
        /* --- MOBIL ÉS TABLET NÉZET OPTIMALIZÁLÁS --- */
        @media (max-width: 1200px) {
            .grid-infographic { grid-template-columns: repeat(2, 1fr); }
            .grid-4x1 { grid-template-columns: repeat(2, 1fr); }
            /* Az infografika vonalai igazodnak a 2 oszlophoz */
            .infographic-wrapper::after { right: 25%; }
        }

        @media (max-width: 900px) {
            /* Hero szekció átrendezése oszlopba, középre igazítva */
            .sub-hero { 
                flex-direction: column; 
                height: auto; 
                padding: 2.5rem 5%; 
                gap: 20px; 
                text-align: center; 
            }
            .sub-hero .profile-circle { display: none; }
            .page-title { font-size: 1.8rem; text-align: center; line-height: 1.3; }
            .hero-center-btn { width: 100%; max-width: 320px; margin: 10px auto; }
            .profile-container-top { width: 100%; justify-content: center; }
            .hero-text { align-items: center; text-align: center; width: 100%; }
            .hero-name { font-size: 1.8rem; letter-spacing: 0px; white-space: normal; }
            .hero-title { font-size: 0.95rem; letter-spacing: 1px; white-space: normal; margin-top: 5px; }
            .hero-email { font-size: 0.95rem; letter-spacing: 0.5px; white-space: normal; margin-top: 5px; }

            /* Alsó szekciók (Intro és Csempék) mobilra törése */
            .intro-section { flex-direction: column; }
            .intro-image-container { width: 100%; height: 350px; }
            .intro-text-container { width: 100%; padding: 3rem 5%; text-align: center; align-items: center; }
            
            /* Mobilon az infografika fentről-lefelé áramlik */
            .grid-infographic { grid-template-columns: 1fr; }
            .infographic-wrapper::before { left: 50%; } /* Középről indul le a vonal */
            .infographic-wrapper::after { display: none; } /* Vízszintes elosztó mobilon nem kell */

	    /* Calendly segítő felirat méretének csökkentése tableten és mobilon */
            .calendly-popup-content::before {
                font-size: 0.85rem;      /* Kisebb betűméret */
                padding: 10px 15px;      /* Kisebb belső tér (magasság csökkentése) */
                line-height: 1.4;        /* Szorosabb sorköz */
		
            }

	    .calendly-popup-content::after {
                width: 122px;  /* Szélesség (állíthatod, ha nem takar eléggé) */
            	height: 122px; /* Magasság */

            }

	    .back-home-btn {
                left: 0;
                width: 100%;
                text-align: center;
                bottom: 12px;
            }            
        }

        @media (max-width: 600px) {
            .grid-4x1 { grid-template-columns: 1fr; }
            
            /* Kifejezetten kis mobilokon még laposabb segítő üzenet */
            .calendly-popup-content::before {
                font-size: 0.75rem;      /* Még apróbb, de olvasható betűk */
                padding: 6px 10px;       /* Nagyon vékony belső margó */
                line-height: 1.3;
                            
            }

	    
            .calendly-popup-content::after {
                width: 120px;  /* Szélesség (állíthatod, ha nem takar eléggé) */
            	height: 120px; /* Magasság */

            }

	    
        }






/* =========================================
           KOMPAKT ORVOSI ALOLDAL STÍLUSAI - V4 (Nagyobb betűk, Modal, Fix szalag)
           ========================================= */

        body.white-bg-force {
            background-color: var(--white-bg) !important;
        }

        .compact-main {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 8px 2%;
            gap: 15px;
        }

        .compact-main .orvosi-hero-grid {
            min-height: auto;
            align-content: start;
        }

        .compact-main .orvosi-col {
            justify-content: flex-start;
        }

        .compact-main .orvosi-col .content-block {
            flex-grow: 0;
            flex-grow: 1;
        }

        .compact-subtitle {
            text-align: center;
            font-size: 1rem; /* Növelt betűméret */
            color: var(--ocean-top);
            margin: 0;
            line-height: 1.4;
            max-width: 1000px;
        }

        /* --- ÚJ HERO FELIRAT GOMB HELYETT --- */
        .hero-electric-title {
            color: var(--electric);
            font-size: 2.2rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 4px;
            text-shadow: 0 0 12px rgba(76, 201, 240, 0.4);
            text-align: center;
            margin: 0 20px;
        }

        /* =========================================
           OSZTOTT KÉPERNYŐS FOGADÓTÉR (SZÖVEGEK + CSEMPE)
           ========================================= */
        
        /* Fő rács: 2 oszlop, teljes magasságú a táblázat kitolásához */
        .orvosi-hero-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 4%;
            min-height: calc(100vh - 150px); /* Lenyomja a táblázatot a hajtás alá! */
            align-content: center;
        }

        /* Oszlopok elrendezése */
        .orvosi-col {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 30px;
        }

        /* Belső tartalom blokkok ("beégetett" szövegek) */
        .content-block {
            text-align: justify;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            flex-grow: 1;
        }	


        .content-block p {
            font-size: 1.15rem;
            color: var(--ocean-top);
            margin-bottom: 20px;
            line-height: 1.5;
        }

        .content-block strong { font-weight: 800; }
        
        .content-block .small-text {
            font-size: 0.9rem;
            color: var(--ocean-top);
            opacity: 0.85;
            margin-bottom: 20px;
            margin-top: -10px;
        }

        /* INGYENES szó színezése */
        .highlight-electric {
            color: var(--electric);
            font-weight: 800;
        }

        /* Elválasztó vonal a bal oszlopban */
        .col-separator {
            border: none;
            border-top: 0.5px solid var(--electric);
            width: 100%;
            margin: 0 auto;
            opacity: 0.8;
        }

        /* --- GOMBOK STÍLUSA --- */

        /* Bal oldali gombok (Fehér háttér, kék keret) */
        .outline-action-btn {
            display: inline-block;
            width: 100%;
            max-width: 380px;
            padding: 12px 15px;
            border-radius: 6px;
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 1rem;
            text-align: center;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s ease;
            background-color: var(--white-bg);
            border: 2px solid var(--ocean-top);
            color: var(--ocean-top);
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }
        .outline-action-btn:hover {
            background-color: var(--electric);
            color: var(--ocean-top);
	    border: 0px;
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.1);
        }

        
        .ocean-action-btn {
            display: inline-block;
            width: 100%;
            max-width: 500px;
            padding: 12px 10px;
            border-radius: 6px;
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 1rem;
            text-align: center;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s ease;
            background-color: var(--ocean-top);
            color: var(--white-bg);
            border: 2px solid var(--ocean-top);
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        .ocean-action-btn:hover {
            background-color: var(--electric);
            border-color: var(--electric);
            color: var(--ocean-top);
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.15);
        }

        /* --- SÁRGA GÖRDÍTŐ CSEMPE ÉS NYILAK --- */
        
        .yellow-scroll-tile {
	    width: 100%;
            max-width: 500px;
            margin: 0 auto;
            background-color: var(--honey-yellow);
            border: 0px solid var(--honey-yellow);
            color: var(--ocean-top);
            border-radius: 12px;
            padding: 20px 10px;
            text-align: center;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 40px;
            font-size: 1.15rem;
            position: relative;
        }

        .yellow-scroll-tile p {
            margin: 0;
            line-height: 1.5;
        }

        .yellow-scroll-tile:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.12);
	    background-color: var(--electric);
	    
        }

        /* Rálógó nyilak */
        .card-with-arrows {
            padding-bottom: 25px; /* Extra hely a nyilaknak */
        }

        /* Alapállapot: a nyilak sötétkékek, és adunk nekik egy finom átmenetet */
        .card-with-arrows::before,
        .card-with-arrows::after {
            content: '';
            position: absolute;
            left: 50%;
            border-style: solid;
            border-color: var(--ocean-top);
            border-width: 0 5px 5px 0;
            padding: 8px;
            
        }

        .card-with-arrows::before {
            bottom: 4px;
            transform: translateX(-50%) rotate(45deg);
        }

        .card-with-arrows::after {
            bottom: -8px; 
            transform: translateX(-50%) rotate(45deg);
        }

      
        

        /* --- MOBIL NÉZET --- */
        @media (max-width: 900px) {
            .orvosi-hero-grid {
                grid-template-columns: 1fr;
                gap: 50px;
                min-height: auto;
                margin-top: 40px;
                margin-bottom: 40px;
            }
        }
        
        /* Mobilos és tabletes reszponzivitás (itt már megtörik több sorba, hogy olvasható maradjon) */
        @media (max-width: 1050px) {
            .orvosi-cards-grid { 
                grid-template-columns: repeat(2, 1fr); 
                min-height: auto; 
                margin-top: 40px; 
                margin-bottom: 40px;
            }
        }
        @media (max-width: 768px) {
            .orvosi-cards-grid { grid-template-columns: 1fr; }
        }

        /* Mobilos reszponzivitás a csempékhez */
        @media (max-width: 1024px) {
            .orvosi-cards-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 600px) {
            .orvosi-cards-grid { grid-template-columns: 1fr; }
            .hero-electric-title { font-size: 1.8rem; }
        }
	

        /* --- TÁBLÁZAT --- */
        .compact-table-container {
            width: 100%;
            max-width: 1450px;
            overflow-x: auto;
            /* EZ JAVÍTJA A LEVÁGOTT SZALAGOT: */
            padding-top: 25px; 
            padding-bottom: 30px; 
        }

        .compact-table {
            width: 100%;
	    table-layout: fixed;
            border-collapse: separate; 
            border-spacing: 0;
            font-size: 0.9rem; /* MEGNÖVELT BETŰMÉRET (0.75-ről) */
            line-height: 1.4;
        }

        .compact-table th, .compact-table td {
            padding: 10px 12px; /* Kicsit nagyobb cellatávolság */
            text-align: center;
            vertical-align: middle;
            color: var(--ocean-top);
            background-color: var(--white-bg); 
            border-bottom: 1px dashed var(--electric); 
        }

        .compact-table td:first-child {
            text-align: left;
            width: 35%;
        }

	/* A legelső oszlop rögzítése a fejlécben is */
        .compact-table th:first-child {
            width: 46%;
        }

        /* A két szélső (Alap és VIP) csomag: arányosan 21% (a 90%-os méret) */
        .compact-table th:nth-child(2),
        .compact-table th:nth-child(4) {
            width: 17%;
        }

        /* A középső (kiemelt) csomag: arányosan 23% (a 100%-os méret) */
        .compact-table th.col-mid {
            width: 20%;
        }

        /* Fejléc stílusa */
        .compact-table th {
            font-size: 1rem; /* Növelt fejlécméret */
            padding: 15px 10px;
            text-transform: uppercase;
            border-bottom: 2px solid var(--ocean-top);
        }
        
        .compact-table th:first-child { 
            background-color: var(--ocean-top); 
            color: var(--white-bg); /* Fehér betűszín */
            border-bottom: 2px solid var(--ocean-top); 
            border-radius: 8px 0 0 0; /* Elegáns lekerekítés a bal felső sarokba, hogy illeszkedjen a designhoz */
        }

        .compact-table th:nth-child(2), .compact-table th:nth-child(4) { font-weight: 800; }

        /* A KÖZÉPSŐ OSZLOP */
        .compact-table th.col-mid {
            background-color: var(--honey-yellow);
            color: var(--ocean-top);
            border: 3px solid var(--honey-yellow);
            border-radius: 8px 8px 0 0;
            font-weight: 800;
            position: relative;
             
        }

        /* Legnépszerűbb szalag */
        .compact-table th.col-mid::before {
            content: 'LEGNÉPSZERŰBB';
            position: absolute;
            top: -15px; /* Kicsit feljebb, mert nagyobb a betű */
            left: 50%;
            transform: translateX(-50%);
            background: var(--ocean-top);
            color: var(--white-bg);
            font-size: 0.7rem;
            padding: 4px 14px;
            border-radius: 12px;
            letter-spacing: 1px;
            z-index: 10;
        }

        .compact-table td.col-mid {
            border-left: 3px solid var(--honey-yellow);
            border-right: 3px solid var(--honey-yellow);
            font-weight: 700;
            position: relative;
             
        }

        /* Az árazási sor lezárása (most már az utolsó sor a gomb, nem az ár!) */
        .compact-table .price-row td {
            font-weight: 800;
            font-size: 1.2rem; /* Növelt árméret */
            padding: 20px 10px;
            border-bottom: none; 
        }

        /* --- IKONOK --- */
        .empty-icon { color: var(--ocean-top); opacity: 0.4; font-size: 1rem; }
        .check-icon { color: var(--electric); font-size: 1.2rem; text-shadow: 0 0 2px rgba(0,0,0,0.1); }

        /* --- TÁBLÁZAT GOMBOK (AJÁNLATKÉRÉS) --- */
        .table-btn {
            margin: 5px 0 10px 0 !important;
            padding: 12px 15px !important;
            font-size: 0.9rem !important;
            width: 90%;
            border-radius: 6px !important;
        }
        .outline-btn {
            background-color: var(--white-bg) !important;
            color: var(--ocean-top) !important;
            border: 2px solid var(--ocean-top) !important;
        }
        .outline-btn:hover {
            background-color: var(--ocean-top) !important;
            color: var(--white-bg) !important;
        }

        /* --- AJÁNLATKÉRŐ MODAL (ŰRLAP) --- */
        .ajanlat-overlay {
            display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 999998;
        }
        .ajanlat-modal {
            display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
            background: #ffffff; padding: 30px; border-radius: 10px; box-shadow: 0 15px 35px rgba(0,0,0,0.3);
            z-index: 999999; width: 90%; max-width: 450px;
        }
        .modal-close-btn {
            position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 2rem;
            cursor: pointer; color: var(--ocean-top); line-height: 1; transition: color 0.3s;
        }
        .modal-close-btn:hover { color: var(--electric); }
        .form-group { margin-bottom: 15px; text-align: left; }
        .form-group label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 5px; color: var(--ocean-top); }
        .form-group input, .form-group select, .form-group textarea {
            width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 5px; font-family: inherit; font-size: 0.95rem; color: #333;
        }



/* =========================================
           LÉGIES ÜGYFÉLVÉLEMÉNYEK SZEKCIÓ
           ========================================= */
        
        .airy-testimonials {
            width: 100%;
            max-width: 1100px; /* Keskenyebb tároló a szellős, könnyű olvashatóságért */
            margin: 60px auto;
            padding: 0 4%;
        }

        .testimonials-list {
            display: flex;
            flex-direction: column;
        }

        .testimonial-item {
            padding: 40px 0; /* Bőséges üres tér az idézetek alatt és felett */
            position: relative;
            text-align: center; /* Középre zárt, ami nagyon elegáns hatást kelt */
        }

        
        .testimonial-item::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%); 
            width: 620px; 
            height: 1px; 
            background-color: var(--electric); 
        }

        .testimonial-item:last-child::after {
            display: none;
        }

        .testimonial-item:last-child {
            padding-bottom: 0;
        }

        .testimonial-quote {
            color: var(--ocean-top);
            font-size: 1.15rem;            
            line-height: 1.7;
            margin-bottom: 20px;
        }

        .testimonial-author {
            color: var(--ocean-top);
            font-size: 0.95rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            opacity: 0.8; 
            margin: 0;
        }


/* =========================================
           GYIK (FAQ) SZEKCIÓ - Letisztult, "semmi csicsa"
           ========================================= */
        
        .faq-section {
            width: 100%;
            max-width: 1000px; /* Ne legyen túl széles, hogy jól olvasható maradjon */
            margin: 40px auto 60px auto;
            padding: 0 4%;
        }

        .faq-container {
            border-top: 2px solid #000000; /* Egy határozott fekete vonal a lista tetején */
        }

        .faq-item {
            border-bottom: 1px solid #dddddd; /* Finom elválasztóvonal a kérdések között */
        }

	/* A GYIK válaszokban lévő linkek stílusa */
        .faq-link {
            color: var(--electric);
            font-weight: 800; /* Kiemelt, vastag betű (bold) */
            text-decoration: none; /* Nincs aláhúzás */
            transition: color 0.3s ease;
        }

        /* Hover (egérráhúzás) esetén egy picit besötétedik, hogy interaktívnak hasson */
        .faq-link:hover {
            color: var(--ocean-top);
        }

        /* A kérdés sora (Gomb) */
        .faq-question {
            width: 100%;
            text-align: left;
            background: none;
            border: none;
            padding: 20px 0;
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--ocean-top)
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: 'Montserrat', sans-serif;
            transition: opacity 0.3s;
        }

        .faq-question:hover {
            color: var(--electric); 
        }

        /* A lenyíló nyíl ikon */
        .faq-question i {
            color: #000000; /* Fekete nyíl */
            font-size: 1rem;
            transition: transform 0.3s ease;
        }

        /* Ha a kérdés nyitva van, a nyíl megfordul */
        .faq-question.active i {
            transform: rotate(180deg);
        }

        /* A válasz tárolója (alapból rejtve van a max-height: 0 miatt) */
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out; /* Folyékony lenyíló animáció */
        }

        /* A válasz szövege */
        .faq-answer p {
            padding-bottom: 20px;
            color: #000000; /* Szigorúan fekete szöveg */
            font-size: 1rem;
            line-height: 1.6;
            margin: 0;
            font-weight: 400;
        }



        .nav-buttons-row {
            display: flex;
            gap: 15px; /* Távolság a két gomb között */
            justify-content: center;
            width: 100%;
            max-width: 380px; 
            margin: 0 auto;
        }

        .small-nav-btn {
            position: relative;
		max-width: none !important; 
	    min-height: 100px;
            flex: 1; 
            padding: 10px 5px 25px 5px !important; /* Vékonyabb gombok */
            font-size: 1rem !important; /* Kisebb betűméret, hogy a szöveg kiférjen */
            margin: 0 !important;
        }

	
       /* =========================================
           VISSZA A FŐOLDALRA GOMB (HERO SZEKCIÓ)
           ========================================= */
        .back-home-btn {
            position: absolute;
            bottom: 15px;
            left: 5%; 
            text-decoration: none;
            color: var(--electric);
            font-weight: 500;
            font-size: 0.9rem;
            text-transform: none;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .back-home-btn:hover {
            opacity: 1;
            text-shadow: 0 0 8px rgba(76, 201, 240, 0.6);
            
        }


/* ==========================================================================
   MOBIL ÉS TABLET OPTIMALIZÁLÁS (RESZPONSZIVITÁS) - JAVÍTOTT VERZIÓ
   ========================================================================== */

/* --- 1. TABLET NÉZET (1050px alatt) --- */
@media (max-width: 1050px) {
    .orvosi-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 20px 5%;
        min-height: auto;
    }

    .outline-action-btn, 
    .ocean-action-btn, 
    .yellow-scroll-tile {
        max-width: 100%;
    }

    /* 2. HIBA JAVÍTÁSA: A kis navigációs gombok tárolójának feloldása */
    .nav-buttons-row {
        max-width: 100%;
    }
}

/* --- 2. TÁBLÁZAT ÉS VISSZA GOMB KÖZÉPRE IGAZÍTÁSA (950px alatt) --- */
@media (max-width: 950px) {
    
    /* 1. HIBA JAVÍTÁSA: Vissza a főoldalra gomb hajszálpontos középre igazítása */
    .back-home-btn {
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: auto;
        text-align: center;
        bottom: 12px;
    }
    .back-home-btn:hover {
        transform: translateX(-50%) translateY(-2px) !important;
    }

    /* 4. HIBA JAVÍTÁSA: A jobb oldali fehér sáv megszüntetése (Overflow javítás) */
    .compact-table-container {
        width: 100%;
        margin-left: 0;
        padding: 25px 0 20px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Sima görgetés iOS-en */
    }

    /* 3. HIBA JAVÍTÁSA: 50%-50% arányú táblázat (Fix bal, és görgethető jobb oszlopok) */
    .compact-table {
        width: max-content; /* Engedjük, hogy az oszlopok szabják meg a szélességet */
        min-width: 100%;
        table-layout: fixed;
    }

    /* A LEGELSŐ OSZLOP (Szolgáltatások) - Pontosan a képernyő 50%-a */
    .compact-table th:first-child,
    .compact-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        background-color: var(--white-bg);
        box-shadow: 3px 0 8px rgba(0,0,0,0.08); /* Térbeli hatást ad az elcsúszó elemek felett */
        width: 50vw !important; 
        min-width: 50vw;
        max-width: 50vw;
        white-space: normal; /* Ha hosszú a szöveg, törjön több sorba */
    }

    /* A bal felső sarok maradjon sötétkék */
    .compact-table th:first-child {
        background-color: var(--ocean-top);
        z-index: 3; 
    }

    /* A Csomagok (Jobb oldali oszlopok) - Egyenként 45%-ot foglalnak el, így mindig kilóg egy pici a következőből */
    .compact-table th:nth-child(n+2),
    .compact-table td:nth-child(n+2) {
        width: 45vw !important;
        min-width: 45vw;
        max-width: 45vw;
    }
    
    .compact-table th { font-size: 0.9rem; padding: 12px 8px; }
    .compact-table td { font-size: 0.85rem; padding: 12px 8px; }
    .compact-table .price-row td { font-size: 1.1rem; }
    .table-btn { font-size: 0.8rem !important; padding: 10px !important; width: 100%; }
}

/* --- 3. MOBILTELEFON NÉZET (600px alatt) --- */
@media (max-width: 600px) {
    
    /* Vonal igazítása a véleményeknél */
    .testimonial-item::after {
        width: 80%; 
    }
    
    .testimonial-quote {
        font-size: 1rem; 
        line-height: 1.5;
        padding: 0 10px;
    }

    /* 2. HIBA JAVÍTÁSA: A két kis gomb egymás alatt 100%-os szélességet kapjon */
    .nav-buttons-row {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .small-nav-btn {
        min-height: 60px;
        width: 100%; 
        padding-bottom: 25px !important; 
    }

    /* Az ajánlatkérő űrlap védelme kis kijelzőkön */
    .ajanlat-modal {
        padding: 20px;
        max-height: 90vh; 
        overflow-y: auto; 
    }
    .modal-close-btn {
        top: 10px; 
        right: 15px;
    }

    .hero-electric-title {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }
}


/* =========================================
   LEGAL TECH ALOLDAL STÍLUSAI (lt- prefix)
   ========================================= */

/* --- SHARED: Newsletter (Körlevél) Grid --- */
.lt-newsletter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.lt-newsletter-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.2rem 1rem;
    transition: all 0.3s ease;
    cursor: default;
    border-radius: 6px;
    min-height: auto;
    background-color: transparent;
    border: none;
    color: var(--ocean-top);
}

.lt-newsletter-card:hover {
    transform: none;
}

.lt-newsletter-card .tile-title {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.lt-newsletter-card .tile-subtitle {
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.85;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.lt-newsletter-card .outline-action-btn {
    max-width: 260px;
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* --- SHARED: Use Case Sections --- */
.lt-usecase-section {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 4%;
}

.lt-usecase-section .section-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ocean-top);
    margin-bottom: 1.5rem;
}

.lt-usecase-section .section-title i {
    margin-right: 12px;
    color: var(--electric);
}

.lt-usecase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.lt-usecase-grid.reversed {
    direction: rtl;
}

.lt-usecase-grid.reversed > * {
    direction: ltr;
}

.lt-usecase-text p {
    font-size: 1.1rem;
    color: var(--ocean-top);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* --- SHARED: Video & Screenshot Placeholders --- */
.lt-video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #e8e8e8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.lt-video-placeholder::after {
    content: 'Video placeholder';
    position: absolute;
    bottom: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.lt-screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

/* --- SHARED: Latte Spotlight --- */
.lt-latte-spotlight {
    width: 100%;
    background: linear-gradient(135deg, var(--ocean-bot), var(--ocean-top));
    padding: 60px 4%;
    margin: 40px 0 0 0;
    color: white;
    text-align: center;
}

.lt-latte-spotlight .lt-latte-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.2rem;
}

.lt-latte-spotlight .lt-latte-tagline {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.85;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.lt-latte-spotlight .lt-latte-desc {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 1rem auto;
    opacity: 0.9;
    text-align: justify;
}

.lt-latte-spotlight .lt-latte-features {
    list-style: disc;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    text-align: left;
    padding-left: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.lt-latte-spotlight .lt-video-placeholder {
    max-width: 800px;
    margin: 0 auto 30px auto;
    background-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
}

.lt-latte-spotlight .lt-video-placeholder::after {
    color: rgba(255,255,255,0.4);
}

/* --- Latte Carousel --- */
.lt-carousel {
    max-width: 800px;
    margin: 0 auto 30px auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lt-carousel-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    overflow: hidden;
    flex: 1;
}

.lt-carousel-item {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: none;
}

.lt-carousel-item.visible {
    display: block;
}

.lt-carousel-item:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.lt-carousel-video {
    position: relative;
    height: 180px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lt-carousel-video:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.lt-carousel-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lt-carousel-video-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgba(255,255,255,0.85);
    background: rgba(0,0,0,0.25);
    pointer-events: none;
}

.lt-carousel-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 4px;
    transition: background 0.2s;
    flex-shrink: 0;
}

.lt-carousel-btn:hover {
    background: rgba(255,255,255,0.3);
}

.lt-carousel-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.lt-latte-logo {
    height: 1em;
    width: auto;
    vertical-align: -0.1em;
    display: inline-block;
}

.lt-latte-title .lt-latte-logo {
    height: 1.2em;
    vertical-align: -0.15em;
}


.lt-latte-spotlight .hero-center-btn {
    margin-top: 30px;
}

/* --- Latte Video & Screenshots (valódi média) --- */
.lt-video-container {
    max-width: 620px;
    margin: 0 auto 30px auto;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    background-color: var(--ocean-top);
}

.lt-video-container:hover .lt-video-play-overlay {
    background: rgba(0,0,0,0.5);
}

.lt-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.lt-video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,0.85);
    background: rgba(0,0,0,0.3);
    transition: background 0.3s ease;
    pointer-events: none;
}


/* --- Lightbox galéria --- */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10002;
    line-height: 1;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: var(--electric);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: white;
    background: rgba(255,255,255,0.1);
    border: none;
    cursor: pointer;
    z-index: 10002;
    padding: 12px 18px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.lightbox-prev { left: 15px; }
.lightbox-next { right: 15px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.25);
    color: var(--electric);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
}

.lightbox-content video {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 6px;
    outline: none;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
}

/* --- SHARED: Legal Tech Package Cards --- */
.lt-packages-section {
    width: 100%;
    max-width: 1400px;
    margin: 50px auto;
    padding: 0 4%;
}

.lt-packages-section .section-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--ocean-top);
    text-align: center;
    margin-bottom: 40px;
}

.lt-package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.lt-package-card {
    background: var(--white-bg);
    border: 2px dashed var(--ocean-top);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s, border 0.3s;
}

.lt-package-card:hover {
    transform: scale(1.03);
    border-style: solid;
}

.lt-package-header {
    margin-bottom: 1.5rem;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lt-package-header i {
    font-size: 2rem;
    color: var(--electric);
    display: block;
    margin-bottom: 0.5rem;
}

.lt-package-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ocean-top);
    margin-bottom: 0.3rem;
    white-space: nowrap;
}

.lt-package-subtitle {
    font-size: 0.85rem;
    opacity: 0.7;
    font-weight: 500;
}

.lt-package-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
    flex-grow: 1;
}

.lt-package-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 48, 73, 0.1);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ocean-top);
}

.lt-package-list li:last-child {
    border-bottom: none;
}

.lt-package-list li i {
    width: 25px;
    color: var(--electric);
    margin-right: 8px;
}

.lt-package-card .sajat-gomb-osztaly {
    margin-top: auto;
}

.lt-package-card.featured {
    border: 2px solid var(--honey-yellow);
    position: relative;
}

.lt-package-card.featured::before {
    content: 'Ajánlott';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--honey-yellow);
    color: var(--ocean-bot);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 14px;
    border-radius: 10px;
}

.lt-package-card.featured .sajat-gomb-osztaly {
    background-color: var(--honey-yellow);
    color: var(--ocean-top);
    border-color: var(--honey-yellow);
}

.lt-package-card.featured .sajat-gomb-osztaly:hover {
    background-color: var(--electric);
    border-color: var(--electric);
}

@media (max-width: 900px) {
    .lt-package-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
}

/* --- LAYOUT C: Tabs --- */
.lt-tab-bar {
    display: flex;
    justify-content: center;
    gap: 0;
    width: 100%;
    margin: 30px 0 0 0;
    border-bottom: 2px solid var(--ocean-top);
}

.lt-tab-btn {
    padding: 14px 30px;
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ocean-top);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0.6;
}

.lt-tab-btn:hover {
    opacity: 1;
    color: var(--electric);
}

.lt-tab-btn.active {
    opacity: 1;
    color: var(--ocean-top);
}

.lt-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--electric);
}

.lt-tab-panel {
    display: none;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 4%;
}

.lt-tab-panel.active {
    display: block;
}

/* --- LAYOUT D: Hero Product --- */
.lt-hero-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 4%;
    align-items: center;
}

.lt-hero-product .lt-video-placeholder {
    background-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.4);
}

.lt-hero-product .lt-video-placeholder::after {
    color: rgba(255,255,255,0.3);
}

/* --- LAYOUT E: Sidebar Layout --- */
.lt-sidebar-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 4%;
    align-items: start;
}

.lt-main-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.lt-sidebar {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lt-sidebar .lt-newsletter-card {
    min-height: auto;
    padding: 1.2rem 1rem;
}

.lt-sidebar .lt-newsletter-card .tile-title {
    font-size: 0.95rem;
}

.lt-sidebar .lt-newsletter-card .tile-subtitle {
    font-size: 0.85rem;
}

.lt-sidebar .ocean-action-btn {
    width: 100%;
    text-align: center;
}

/* --- LAYOUT F: Bento Grid --- */
.lt-bento-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 4%;
}

.lt-bento-large {
    grid-row: 1 / 3;
    background: linear-gradient(135deg, var(--ocean-bot), var(--ocean-top));
    border-radius: 12px;
    padding: 2.5rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
}

.lt-bento-large .lt-latte-title {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.lt-bento-large .lt-latte-tagline {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.lt-bento-large .lt-video-placeholder {
    background-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    margin-bottom: 15px;
}

.lt-bento-large .lt-video-placeholder::after {
    color: rgba(255,255,255,0.3);
}

.lt-bento-large .lt-screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 15px;
}

.lt-bento-large .lt-screenshot-placeholder {
    background-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
}

.lt-bento-medium {
    background-color: var(--white-bg);
    border: 2px dashed var(--ocean-top);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.lt-bento-medium:hover {
    border-style: solid;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.lt-bento-medium .section-title {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.lt-bento-medium .section-title i {
    color: var(--electric);
    margin-right: 8px;
}

.lt-bento-medium p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: var(--ocean-top);
}

.lt-bento-medium .lt-screenshot-placeholder {
    aspect-ratio: 16 / 9;
    margin-bottom: 1rem;
}

/* --- LAYOUT G: Problem → Solution --- */
.lt-problem-section {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 4%;
    text-align: center;
}

.lt-problem-section .lt-problem-title {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ocean-top);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.lt-problem-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--ocean-top);
    max-width: 750px;
    margin: 0 auto;
}

.lt-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 4%;
}

.lt-solution-card {
    background-color: var(--white-bg);
    border: 2px dashed var(--ocean-top);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lt-solution-card:hover {
    transform: scale(1.04);
    border-style: solid;
}

.lt-solution-card.lt-latte-card {
    border-color: var(--honey-yellow);
    border-width: 3px;
}

.lt-solution-card .lt-card-icon {
    font-size: 2.5rem;
    color: var(--electric);
    margin-bottom: 1rem;
}

.lt-solution-card.lt-latte-card .lt-card-icon {
    color: var(--honey-yellow);
}

.lt-solution-card .tile-title {
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--ocean-top);
}

.lt-solution-card .tile-subtitle {
    font-size: 0.95rem;
    color: var(--ocean-top);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.lt-solution-card .lt-expand-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--electric);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.lt-solution-card .lt-expand-label i {
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.lt-solution-card.expanded .lt-expand-label i {
    transform: rotate(180deg);
}

.lt-expanded-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
}

.lt-expanded-content.active {
    max-height: 1500px;
}

.lt-expanded-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px 0;
    align-items: center;
}

.lt-expanded-inner p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--ocean-top);
    margin-bottom: 1.5rem;
}

/* --- LAYOUT H: Fullscreen Slides --- */
.lt-slides-container {
    scroll-snap-type: y mandatory;
    overflow-y: auto;
    height: 100vh;
}

.lt-slide {
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 4%;
    position: relative;
}

.lt-slide:nth-child(odd) {
    background-color: var(--white-bg);
}

.lt-slide:nth-child(even) {
    background-color: #f8f9fa;
}

.lt-slide .lt-slide-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    align-items: center;
}

.lt-slide .lt-slide-inner.reversed {
    direction: rtl;
}

.lt-slide .lt-slide-inner.reversed > * {
    direction: ltr;
}

.lt-slide .lt-slide-inner.centered {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 900px;
}

.lt-slide .section-title {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ocean-top);
    margin-bottom: 1rem;
}

.lt-slide .section-title i {
    color: var(--electric);
    margin-right: 10px;
}

.lt-slide-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--ocean-top);
    opacity: 0.4;
    font-size: 0.85rem;
    text-align: center;
    letter-spacing: 1px;
}

.lt-slide-scroll-hint i {
    display: block;
    font-size: 1.2rem;
    margin-top: 5px;
    animation: bounce 2s infinite;
}

/* --- SHARED: Table of Contents Navigation --- */
.lt-toc-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    max-width: 1200px;
    margin: 35px auto;
    padding: 0 4%;
}

.lt-toc-btn {
    display: inline-block;
    padding: 16px 36px;
    background-color: var(--ocean-top);
    border: 2px solid var(--ocean-top);
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--white-bg);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.lt-toc-btn:hover {
    background-color: var(--electric);
    color: var(--ocean-top);
    border-color: var(--electric);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.lt-toc-btn i {
    margin-right: 8px;
    color: var(--electric);
}

.lt-toc-btn:hover i {
    color: var(--ocean-top);
}

.lt-toc-btn.highlight {
    background-color: var(--honey-yellow);
    border-color: var(--honey-yellow);
    color: var(--ocean-top);
}

.lt-toc-btn.highlight i {
    color: var(--ocean-top);
}

.lt-toc-btn.highlight:hover {
    background-color: var(--electric);
    border-color: var(--electric);
}

/* --- SHARED: Service Groups (3-group structure) --- */
.lt-service-group {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 4%;
}

.lt-service-group-header {
    text-align: center;
    margin-bottom: 2rem;
}

.lt-service-group-header i {
    font-size: 2.5rem;
    color: var(--electric);
    margin-bottom: 0.5rem;
    display: block;
}

.lt-service-group-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ocean-top);
    margin-bottom: 0.3rem;
}

.lt-service-group-header p {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--ocean-top);
    opacity: 0.7;
    font-style: italic;
}

.lt-service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.lt-service-card {
    background-color: var(--white-bg);
    border: 2px dashed var(--ocean-top);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.lt-service-card:hover {
    transform: scale(1.04);
    border-style: solid;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.lt-service-card .lt-card-icon {
    font-size: 2rem;
    color: var(--electric);
    margin-bottom: 0.8rem;
}

.lt-service-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ocean-top);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.lt-service-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--ocean-top);
    opacity: 0.85;
}

.lt-service-card .lt-bullets {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.lt-service-card .lt-bullets li {
    font-size: 0.9rem;
    color: var(--ocean-top);
    padding: 6px 0 6px 24px;
    position: relative;
    line-height: 1.4;
    opacity: 0.8;
    border-bottom: 1px solid rgba(0,48,73,0.08);
}

.lt-service-card .lt-bullets li:last-child {
    border-bottom: none;
}

.lt-service-card .lt-bullets li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--electric);
    font-size: 0.8rem;
}

/* --- LEGAL TECH: Responsive --- */
@media (max-width: 1050px) {
    .lt-sidebar-layout {
        grid-template-columns: 1fr;
    }
    .lt-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .lt-sidebar .ocean-action-btn {
        grid-column: 1 / -1;
    }
    .lt-bento-grid {
        grid-template-columns: 1fr;
    }
    .lt-bento-large {
        grid-row: auto;
        min-height: auto;
    }
    .lt-hero-product {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .lt-newsletter-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .lt-usecase-grid,
    .lt-usecase-grid.reversed {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    .lt-solutions-grid {
        grid-template-columns: 1fr;
    }
    .lt-expanded-inner {
        grid-template-columns: 1fr;
    }
    .lt-slide .lt-slide-inner,
    .lt-slide .lt-slide-inner.reversed {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    .lt-tab-bar {
        flex-wrap: wrap;
    }
    .lt-tab-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    .lt-sidebar {
        grid-template-columns: 1fr;
    }
    .lt-service-cards {
        grid-template-columns: 1fr;
    }
    .lt-service-group-header h2 {
        font-size: 1.4rem;
    }
    .lt-toc-nav {
        gap: 8px;
    }
    .lt-toc-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 600px) {
    .lt-screenshot-grid {
        grid-template-columns: 1fr;
    }
    .lt-carousel-track {
        grid-template-columns: 1fr;
    }
    .lt-carousel-item,
    .lt-carousel-video {
        height: 140px;
    }
    .lt-bento-large .lt-screenshot-grid {
        grid-template-columns: 1fr;
    }
    .lt-latte-spotlight .lt-latte-title,
    .lt-bento-large .lt-latte-title {
        font-size: 1.6rem;
    }
    .lt-problem-section .lt-problem-title {
        font-size: 1.4rem;
    }
    .lt-slide {
        min-height: auto;
        padding: 60px 4%;
        scroll-snap-align: none;
    }
    .lt-slides-container {
        scroll-snap-type: none;
    }
}

/* --- MOZI SZEKCIÓ INTERAKTÍV GALÉRIA --- */
.mozi-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: 100%;
}

.mozi-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--ocean-bot);
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.mozi-thumb:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Az éppen kiválasztott bélyegkép stílusa */
.mozi-thumb.active {
    opacity: 1;
    border-color: var(--honey-yellow);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.mozi-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* A videó bélyegképen lévő lejátszás ikon */
.mozi-thumb .video-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    color: var(--honey-yellow);
    opacity: 0.9;
    z-index: 2;
    pointer-events: none;
}

/* Mobilon a bélyegképek 2 oszlopba rendeződnek, hogy ne legyenek túl aprók */
@media (max-width: 600px) {
    .mozi-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================
   LATTE SPECIFIKUS RESPONSIVE JAVÍTÁSOK
   ========================================= */

/* 1-2. Modal ablakok görgethetősége és méretkorlátja */
.ajanlat-modal, #siker-modal {
    max-height: 90vh !important; /* Maximum a képernyő 90%-át foglalhatja el */
    overflow-y: auto !important; /* Ha túllóg, automatikusan görgethető lesz */
}

/* 3. Hero szekció címkéje */
.latte-hero-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: 5.5rem;
    color: var(--ocean-top);
    text-shadow: none;
    z-index: 1;
    white-space: nowrap; /* Megakadályozza az indokolatlan sortörést */
}

/* 1535px alatt a Latte 1.0 felirat jobbra tolódik */
@media (max-width: 1535px) {
    .latte-hero-title {
        left: auto;
        right: 5%;
        transform: translateY(-50%);
    }
}

/* 1000px alatt minden átrendeződik */
@media (max-width: 1000px) {
    
    /* A header rugalmas oszloppá alakítása */
    .latte-sub-hero {
        display: flex;
        flex-direction: column;
        align-items: flex-start !important;
        justify-content: center !important;
        padding: 40px 5% !important;
        gap: 20px;
    }
    
    /* A cím a bal oldalra kerül, a többi elem alá */
    .latte-hero-title {
        position: static;
        transform: none;
        font-size: 4rem; 
    }
    
    /* Vissza gomb pozíciójának felülírása a Hero-ban */
    .latte-sub-hero .back-home-btn {
        position: static !important;
        transform: none !important;
        margin-bottom: 10px;
        text-align: left;
    }

    /* 4. Gombok egymás alá rendezése a Hero-ban */
    .latte-hero-buttons {
        flex-direction: column;
        align-items: stretch !important;
        gap: 15px !important;
    }
    
    .latte-hero-buttons a {
        width: 100% !important;
        justify-content: center;
    }

    /* 5. Tovább gomb cseréje (A bal oldali eltűnik, az alsó megjelenik) */
    .desktop-tovabb-btn {
        display: none !important;
    }
    
    .mobile-tovabb-btn {
        display: flex !important;
        padding-bottom: 30px;
        justify-content: center;
    }
}

/* Asztali nézetben a mobilos Tovább gomb legyen rejtve */
@media (min-width: 1001px) {
    .mobile-tovabb-btn {
        display: none !important;
    }
}

/* Kisebb mobilokon picit kisebb cím */
@media (max-width: 600px) {
    .latte-hero-title {
        font-size: 3rem; 
    }
}

/* =========================================
   EXTRA KIS MOBIL KÉPERNYŐK OPTIMALIZÁLÁSA
   ========================================= */

@media (max-width: 500px) {
    
    /* 1. FUN Legal Tech címke kicsinyítése, hogy ne törjön be két sorba */
    .latte-hero-badge {
        font-size: 1.4rem !important;
        padding: 6px 20px !important;
    }

    /* Visszalépés felirat méretének csökkentése */
    .latte-sub-hero .back-home-btn {
        font-size: 0.75rem !important;
        margin-bottom: 5px !important;
    }

    /* ÚJ: A teljes felső fejléc (Hero) összenyomása és a HATALMAS ŰR eltüntetése */
    .latte-sub-hero {
        min-height: auto !important; /* <--- Ez a sor tünteti el a nagy hézagot! */
        padding-top: 15px !important;
        padding-bottom: 15px !important;
        gap: 10px !important;
    }

    /* 2. Latte 1.0 felirat középre igazítása és térközök minimalizálása */
    .latte-hero-title {
        align-self: center !important;
        text-align: center !important;
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }

    /* Írj szerződést... alatti térköz csökkentése kb. egy sornyira */
    .latte-main-headline {
        margin-bottom: 10px !important;
    }

    /* ÚJ: A bevezető "Felejtsd el..." szöveg méretének csökkentése, hogy kevesebb helyet foglaljon */
    .latte-hero-desc {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
    }

    /* 4. Keress az adatbázisban... felirat kicsinyítése */
    .mozi-main-headline {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
    }

    /* 5. Windows címke egy sorba préselése */
    .windows-only-badge {
        font-size: 0.75rem !important;
        padding: 8px 10px !important;
        white-space: nowrap !important;
        justify-content: center !important;
        letter-spacing: -0.3px;
    }

	/* A Latte felirat alatti hatalmas űr eltüntetése (a következő szekció felső távolságainak csökkentése) */
    .orvosi-hero-grid {
        margin-top: 0 !important;
        padding-top: 5px !important;
    }
    
    .windows-icon {
        margin-right: 10px !important;
        font-size: 1rem !important;
    }

    /* A Latte logó méretének drasztikus csökkentése és középre igazítása */
    .latte-hero-logo {
        max-width: 120px !important;
        margin: 0 auto !important;
        display: block !important;
    }
}
@media (max-width: 431px) {
    
    /* 3. Írj szerződést 3x gyorsabban! felirat kicsinyítése, hogy maximum 2 sor legyen */
    .latte-main-headline {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        text-align: center !important; /* Mobilon szebb, ha középre van zárva a sorkizárt helyett */
    }
}