/*
 * beauty.css – Vizuális fejlesztések
 * Lelked szabad tánca
 */

/* ============================================================
   BETŰTÍPUS – Playfair Display elegáns serif a címekhez
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&display=swap');

h1, h2, h3, h4,
.section-heading h4,
.section-heading h5,
section.simple-cta h5,
section.simple-cta h4 {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: 0.01em;
}

/* ============================================================
   SZÖVEG – jobb olvashatóság
   ============================================================ */
p {
    line-height: 1.85 !important;
    font-weight: 500 !important; /* 650 érvénytelen – javítva */
}

.more-info .container .row .small-font p,
.puppet .container .row .small-font p {
    font-weight: 500 !important;
    line-height: 1.75 !important;
}

/* ============================================================
   NAVBAR – csúszás megakadályozása
   ============================================================ */

/* Asztali nav (≥992px): flex, no-wrap, kisebb padding */
@media (min-width: 992px) {
    .header-area .main-nav .nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center;
    }

    .header-area .main-nav .menu-trigger {
        display: none !important;
    }

    .header-area .main-nav .nav li {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .header-area .main-nav .nav li a {
        font-size: 13px !important;
        letter-spacing: 0.5px !important;
    }
}

/* Hamburger + összecsukott nav (≤991px) */
@media (max-width: 991px) {
    /* Hamburger látszik */
    .header-area .main-nav .menu-trigger {
        display: block !important;
        top: 23px;
    }

    /* Nav konténer: relatív pozíció, hogy a dropdown jól helyezkedjen el */
    .header-area .main-nav {
        overflow: visible !important;
        position: relative;
    }

    /* Nav alapból rejtve, abszolút pozícióban a fejléc alatt */
    .header-area .main-nav .nav {
        position: absolute !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        display: none;
        margin: 0 !important;
        float: none !important;
        background: #fff !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
        border-radius: 0 0 16px 16px !important;
        z-index: 999 !important;
    }

    /* Nav elemek */
    .header-area .main-nav .nav li {
        width: 100% !important;
        background: transparent !important;
        border-bottom: 1px solid rgba(247, 131, 143, 0.2) !important;
        padding: 0 !important;
    }

    .header-area .main-nav .nav li a {
        display: block !important;
        height: 48px !important;
        line-height: 48px !important;
        padding: 0 20px !important;
        color: #2a1a2e !important;
        font-size: 14px !important;
        letter-spacing: 0 !important;
        background: transparent !important;
        border: none !important;
        text-indent: 0 !important;
    }

    .header-area .main-nav .nav li a:hover {
        background: rgba(247, 131, 143, 0.1) !important;
        color: #d94060 !important;
    }

    /* hide-nav-element: megjelenik a kinyílt menüben */
    .header-area .main-nav .nav li.hide-nav-element {
        display: block !important;
    }

    /* Továbbiak dropdown felesleges – elemek egyenként látszódnak */
    .header-area .main-nav .nav li.no-show {
        display: none !important;
    }

    /* Submenu – JS vezérli, nem !important a display-en */
    .header-area .main-nav .nav li.has-sub ul.sub-menu {
        position: relative !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1 !important;
        transform: none !important;
        top: 0 !important;
        width: 100% !important;
        box-shadow: none !important;
        height: auto !important;
        transition: none !important;
        display: none;
        background: rgba(247, 131, 143, 0.06) !important;
    }

    .header-area .main-nav .nav li.has-sub ul.sub-menu li a {
        padding-left: 36px !important;
        height: 44px !important;
        line-height: 44px !important;
        font-size: 13px !important;
        color: #4a2a3e !important;
    }

    /* has-sub nyíl eltávolítása */
    .header-area .main-nav .nav li.has-sub:after {
        display: none !important;
    }

    .header-area .main-nav .nav li.has-sub {
        padding-right: 0 !important;
    }
}

/* Logo bal igazítás kis képernyőn */
@media (max-width: 991px) {
    .header-area {
        text-align: left !important;
    }

    .header-area .main-nav .logo {
        float: left !important;
        margin-left: 15px;
    }
}

/* ============================================================
   FEJLÉC – finomabb árnyék, jobb gradient
   ============================================================ */
.background-header {
    background: linear-gradient(-145deg, rgb(220, 55, 90) 0%, rgb(255, 180, 195) 100%) !important;
    box-shadow: 0 3px 25px rgba(150, 20, 50, 0.25) !important;
    backdrop-filter: blur(4px);
}

/* ============================================================
   HERO BANNER – megjelenés javítása
   ============================================================ */
.main-banner {
    background: linear-gradient(135deg, #fde8ed 0%, #f5d9e8 40%, #ecdff5 100%);
    min-height: 82vh;
    display: flex;
    align-items: center;
    border-radius: 0 0 32px 32px;
}

.main-banner .header-text h2 {
    font-size: 52px;
    line-height: 1.25;
    color: #2a1a2e;
    letter-spacing: -0.01em;
}

.main-banner .header-text h2 em {
    color: #d94060;
    font-style: italic;
}

.main-banner .header-text h6 {
    font-size: 26px;
    font-weight: 600;
    color: #5a3560;
    letter-spacing: 0.03em;
}

.main-banner .header-text h3 {
    font-size: 17px;
    color: #7a5080;
    font-weight: 400;
    letter-spacing: 0.04em;
}

/* Névkártya a hero-ban */
.main-banner .main-button-gradient {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 22px 32px;
    display: inline-block;
    box-shadow: 0 6px 28px rgba(200, 80, 110, 0.18);
    border: 1px solid rgba(247, 131, 143, 0.35);
}

/* ============================================================
   SECTION HEADING – dekoratív vonal
   ============================================================ */
.section-heading h4 {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 12px;
}

.section-heading h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 3px;
    background: linear-gradient(-90deg, rgb(243, 78, 106), rgb(255, 190, 200));
    border-radius: 2px;
}

section.get-info .section-heading h4::after {
    display: none;
}

section.get-info .section-heading h4 {
    margin-bottom: 6px;
    line-height: 1.3;
}

section.get-info .left-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

section.get-info .left-image img {
    width: 100%;
    object-fit: cover;
    border-radius: 0 22px 22px 0;
}

section.get-info .col-lg-8 .section-heading {
    height: 100%;
    box-sizing: border-box;
    border-radius: 22px 0 0 22px;
}

@media (min-width: 1400px) {
    section.get-info .row > .col-lg-8 {
        padding-right: 0;
    }
    section.get-info .row > .col-lg-4 {
        padding-left: 0;
    }
}

@media (max-width: 1399px) {
    section.get-info .col-lg-4 {
        display: none;
    }
    section.get-info .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    section.get-info .col-lg-8 .section-heading {
        border-radius: 22px !important;
    }
}

/* Bal igazított headings – bal oldali vonal */
section.puppet .section-heading h4::after,
section.more-info.prices-page .section-heading h4::after,
.text-align-left .section-heading h4::after {
    left: 0;
    transform: none;
}

/* h5, h6 alfejlécek kisebb margóval */
.section-heading:has(h5),
.section-heading:has(h6) {
    margin-bottom: 12px;
    padding-top: 10px;
}

/* ============================================================
   MIBEN SEGÍT SZEKCIÓ – tab gombok és tartalom
   ============================================================ */
section.our-courses {
    background: linear-gradient(135deg, #fde8ed 0%, #f5d9e8 40%, #ecdff5 100%);
    border-radius: 32px 32px 0 0;
    padding: 60px 20px 90px 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
    margin-top: 100px !important;
}

section.our-courses .naccs .menu div {
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid rgba(180, 180, 180, 0.4);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.35s ease;
}

section.our-courses .naccs .menu div:hover {
    border-color: #f7838f;
    box-shadow: 0 4px 18px rgba(247, 131, 143, 0.25);
    transform: translateY(-2px);
}

section.our-courses .naccs .menu div.active {
    background: linear-gradient(135deg, rgba(247, 131, 143, 0.12), rgba(255, 200, 210, 0.18));
    border-color: #f7838f;
    box-shadow: 0 5px 22px rgba(247, 131, 143, 0.28);
}

section.our-courses ul.nacc li {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.09);
}

/* ============================================================
   MIBEN SEGÍT GYERMEKEDNEK – alszekció
   ============================================================ */
section.more-info {
    background: linear-gradient(135deg, rgba(255,255,255,0.75) 0%, rgba(255,235,240,0.5) 100%);
    border-radius: 32px;
    padding: 60px 40px 160px 40px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
}

section.more-info:not(.prices-page) {
    border-radius: 0 0 32px 32px;
    margin-top: 0 !important;
}

section.more-info.prices-page {
    margin-top: 0 !important;
    padding-top: 120px;
    min-height: 100vh;
    border-radius: 0;
}

section.more-info .right-image img {
    border-radius: 22px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

section.more-info .right-image img:hover {
    transform: scale(1.025);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
}

/* ============================================================
   RÓLAM SZEKCIÓ
   ============================================================ */
section.simple-cta {
    margin-top: -120px !important;
    position: relative;
    z-index: 2;
}

section.simple-cta h5 {
    font-size: 38px;
    margin-bottom: 22px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

section.simple-cta .col-lg-6 {
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 40px 44px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

section.simple-cta p {
    font-size: 15px !important;
    line-height: 1.85 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    margin-bottom: 12px !important;
}

.rounded-image {
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    width: 120%;
    max-width: 120%;
}

.rounded-image:hover {
    transform: scale(1.02);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   VÉLEMÉNYEK – kártyák
   ============================================================ */
.testimonials .item {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.07);
    border-top: 3px solid #f7838f;
    transition: all 0.35s ease;
}

.testimonials .item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.11);
}

.testimonials .item p {
    color: #4a4a4a;
    line-height: 1.8;
    font-size: 15px !important;
}

.testimonials .item h4 {
    color: #2a1a2e;
}

/* ============================================================
   ELÉRHETŐSÉGEK – kártyák
   ============================================================ */
section.services-contact-us {
    margin-top: 0 !important;
}

section.contact-us .contact-info,
section.services-contact-us .contact-info {
    transition: all 0.35s ease;
    border-bottom: 3px solid transparent;
    margin-top: -20px;
}

section.contact-us .contact-info:hover,
section.services-contact-us .contact-info:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #f7838f;
}

section.contact-us ul.social-icons li a,
section.services-contact-us ul.social-icons li a {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.35s ease;
}

section.contact-us ul.social-icons li a:hover,
section.services-contact-us ul.social-icons li a:hover {
    transform: translateY(-4px);
    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.16);
}

/* ============================================================
   SZOLGÁLTATÁSOK OLDAL
   ============================================================ */
section.get-info .section-heading {
    padding: 28px 36px;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 22px;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.055);
    backdrop-filter: blur(6px);
    border-left: 4px solid #f7838f;
}

/* h4 alcímek az about-kinesiology oldalon belül */
section.get-info .section-heading h4 + p,
section.get-info .section-heading h4 ~ h4 {
    margin-top: 22px;
}

section.get-info .section-heading h4 ~ h4 {
    padding-top: 18px;
    border-top: 1px solid rgba(247, 131, 143, 0.2);
}

/* Idézetek a szolgáltatás kártyákban */
.about-kineziology-quote {
    font-style: italic !important;
    color: #c53060 !important;
    font-size: 15.5px !important;
    font-weight: 400 !important;
    margin: 10px 0 18px 0 !important;
    padding: 10px 16px;
    border-left: 3px solid #f7838f;
    background: rgba(247, 131, 143, 0.07);
    border-radius: 0 10px 10px 0;
    line-height: 1.6 !important;
    display: block;
}

section.get-info .row img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

section.get-info .row img:hover {
    transform: scale(1.018);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12) !important;
}

/* ============================================================
   BÁBÁLLÍTÁS OLDAL
   ============================================================ */
section.puppet {
    background: linear-gradient(135deg, #fde8ed 0%, #f5d9e8 40%, #ecdff5 100%);
    border-radius: 0;
    padding: 140px 40px 60px 40px;
    margin-top: 0 !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

section.puppet .section-heading h4,
section.puppet .section-heading h5 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    line-height: 40px;
    color: #111;
    font-weight: 600;
}

.puppet-image {
    border-radius: 22px !important;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.puppet-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.14);
}

.puppet-blocks {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(247, 131, 143, 0.25);
}

.puppet-blocks .section-heading:not(:first-child) {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(247, 131, 143, 0.15);
}

.puppet-bullet-group {
    border-left: 3px solid rgba(247, 131, 143, 0.5);
    padding-left: 18px;
    margin: 12px 0 24px 0;
}

.puppet-bullet-group p {
    margin-bottom: 8px !important;
}

.puppet-cta-line {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 17px !important;
    color: #c53060 !important;
    font-weight: 700 !important;
    margin-top: 6px !important;
}

.puppet-price-card {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 18px;
    padding: 22px 28px;
    margin-bottom: 20px;
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.055);
    border-left: 4px solid #f7838f;
    backdrop-filter: blur(6px);
}

.puppet-price-amount {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700 !important;
    font-size: 17px !important;
    color: #c53060 !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
}

section.puppet .section-heading h4::after {
    display: none;
}

section.puppet .section-heading h5 {
    color: #5a3560;
    padding-bottom: 10px;
}

/* ============================================================
   ESEMÉNYEK SZEKCIÓ
   ============================================================ */
.events-divider {
    border: none;
    border-top: 3px solid rgba(255, 255, 255, 0.8);
    margin: 50px 0 4px 0;
    width: 100%;
}
section.news-events {
    padding: 10px 0 20px 0;
    margin-top: 0 !important;
    position: relative;
}


/* Spotlight kártya – teljes szélességű vízszintes blokk */
a.event-spotlight {
    display: flex;
    align-items: stretch;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(180, 30, 60, 0.13);
    text-decoration: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background: #fff;
}

a.event-spotlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 55px rgba(180, 30, 60, 0.2);
    text-decoration: none;
}

/* Bal oldal – gradiens panel */
.event-spotlight-left {
    background: linear-gradient(-145deg, #c53060 0%, #f7838f 60%, #ffb4c2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 40px 36px;
    min-width: 160px;
    flex-shrink: 0;
}

.event-spotlight-icon {
    width: 62px;
    height: 62px;
    background: rgba(255,255,255,0.22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255,255,255,0.35);
}

.event-spotlight-site {
    color: rgba(255,255,255,0.92);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Jobb oldal – tartalom */
.event-spotlight-right {
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(rgba(255,255,255,0.75), rgba(255,255,255,0.75)), url('../images/moon-sun.png') center center / cover no-repeat;
    flex: 1;
}

.event-spotlight-tag {
    display: inline-block;
    background: rgba(247, 131, 143, 0.12);
    color: #c53060;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(247, 131, 143, 0.3);
    width: fit-content;
}

.event-spotlight-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.3;
}

.event-spotlight-right h6 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 400;
    font-style: italic;
    pointer-events: none;
    color: #000 !important;
    text-decoration: none;
}

.event-spotlight-desc {
    font-size: 15px !important;
    color: #000000 !important;
    line-height: 1.75 !important;
    font-weight: 700 !important;
    margin: 0 !important;
    max-width: 600px;
}

.event-spotlight-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.event-spotlight-chips span {
    background: rgba(197, 48, 96, 0.07);
    color: #c53060;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(197, 48, 96, 0.2);
    letter-spacing: 0.04em;
}

.event-spotlight-cta {
    display: inline-block;
    color: #c53060;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-top: 4px;
    transition: letter-spacing 0.2s ease;
}

a.event-spotlight:hover .event-spotlight-cta {
    letter-spacing: 0.08em;
}

/* Reszponzív */
@media (max-width: 767px) {
    a.event-spotlight {
        flex-direction: column;
        border-radius: 22px;
    }

    .event-spotlight-left {
        flex-direction: row;
        padding: 20px 24px;
        min-width: unset;
        gap: 16px;
    }

    .event-spotlight-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .event-spotlight-right {
        padding: 22px 22px 28px 22px;
    }

    .event-spotlight-tag {
        font-size: 13px;
    }

    .event-spotlight-title {
        font-size: 22px;
    }

    .event-spotlight-right h6 {
        font-size: 18px !important;
    }

    .event-spotlight-desc {
        font-size: 14px !important;
    }

    .event-spotlight-cta {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .event-spotlight-tag {
        font-size: 12px;
    }

    .event-spotlight-title {
        font-size: 19px;
    }

    .event-spotlight-right h6 {
        font-size: 16px !important;
    }

    .event-spotlight-desc {
        font-size: 13px !important;
    }

    .event-spotlight-cta {
        font-size: 15px;
    }
}

/* ============================================================
   ÁRAK OLDAL
   ============================================================ */
.price-image {
    border-radius: 22px !important;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
}

.price-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ársávok kiemelése */
section.more-info > .container > .row > .col-lg-7 p:has-text {
    line-height: 1.8;
}

/* ============================================================
   GOMBOK
   ============================================================ */
.main-button-gradient a {
    background: linear-gradient(-145deg, rgb(215, 50, 82) 0%, rgb(255, 155, 175) 100%) !important;
    box-shadow: 0 5px 18px rgba(220, 80, 110, 0.38);
    letter-spacing: 0.08em;
    transition: all 0.3s ease !important;
}

.main-button-gradient a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 80, 110, 0.48) !important;
    opacity: 1 !important;
}

/* ============================================================
   KÉPEK általában
   ============================================================ */
.main-banner .right-image img {
    filter: drop-shadow(0 10px 30px rgba(150, 50, 80, 0.15));
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.mobile-only-image {
    display: none;
}

/* ============================================================
   RESZPONZÍV – TABLET (≤991px)
   ============================================================ */
@media (max-width: 991px) {

    body {
        background: #fde8ed;
    }

    /* Szekciók margócsökkentés */
    section {
        margin-top: 70px;
    }

    /* Banner – fix negatív margin és szövegméret */
    .main-banner .header-text {
        text-align: center;
        margin-bottom: 0 !important;
        padding-bottom: 10px;
    }

    .main-banner .header-text h2 {
        font-size: 38px !important;
        line-height: 1.3;
    }

    .main-banner .header-text h6 {
        font-size: 20px;
    }

    .main-banner .header-text h3 {
        font-size: 15px;
    }

    .main-banner .main-button-gradient {
        padding: 16px 22px;
        display: inline-block;
    }

    /* Banner kép tablet-en középre */
    .main-banner .right-image {
        display: flex !important;
        justify-content: center;
        margin-top: 20px;
    }

    .main-banner .right-image img {
        max-width: 65%;
        filter: drop-shadow(0 8px 20px rgba(150, 50, 80, 0.15));
    }

    /* Rólam – kép elrejtése, ha már nem fér a szöveg mellé */
    section.simple-cta .col-lg-5 {
        display: none;
    }

    section.simple-cta h5 {
        font-size: 30px;
        text-align: center;
    }

    section.simple-cta p {
        text-align: justify !important;
    }

    /* Miben segít – tab gombok vízszintes görgetés */
    section.our-courses .naccs .tabs > .row {
        flex-direction: column;
    }

    section.our-courses .naccs .menu {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 8px 4px 14px 4px;
        gap: 8px;
        scrollbar-width: thin;
        scrollbar-color: #f7838f rgba(0,0,0,0.08);
    }

    section.our-courses .naccs .menu::-webkit-scrollbar {
        height: 4px;
    }

    section.our-courses .naccs .menu::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.06);
        border-radius: 2px;
    }

    section.our-courses .naccs .menu::-webkit-scrollbar-thumb {
        background: #f7838f;
        border-radius: 2px;
    }

    section.our-courses .naccs .menu div {
        flex: 0 0 auto;
        white-space: nowrap;
        margin: 0 !important;
        padding: 10px 18px !important;
        font-size: 14px !important;
        border-radius: 25px !important;
    }

    section.our-courses ul.nacc {
        margin-left: 0 !important;
        margin-top: 16px !important;
    }

    /* Gyermekeknek szekció – kép tablet-en */
    .right-image,
    .left-image {
        display: block !important;
        margin-bottom: 24px;
    }

    section.more-info .right-image {
        display: flex !important;
        justify-content: center;
        margin-top: 24px;
    }

    section.more-info .right-image img {
        max-width: 55%;
        border-radius: 18px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

    /* Szolgáltatások – képek tablet-en */
    section.get-info .left-image,
    section.get-info .right-image {
        display: flex !important;
        justify-content: center;
        margin-bottom: 20px;
        margin-top: 10px;
    }

    section.get-info .row img {
        width: 78%;
        margin: 0 auto;
        display: block;
    }

    section.get-info .section-heading {
        padding: 22px 24px;
        margin-top: 10px;
    }

    /* Kép mindig a szöveg ELŐTT jelenjen meg mobilon –
       azokban a sorokban, ahol a DOM-ban a szöveg van előbb */
    section.get-info .row > .col-lg-6:first-child:has(.section-heading) {
        order: 2;
    }
    section.get-info .row > .col-lg-6:last-child:has(.left-image) {
        order: 1;
    }

    /* Section heading tab */
    .section-heading {
        margin-bottom: 30px !important;
    }

    .section-heading h4 {
        font-size: 26px;
    }

    /* Elérhetőségek kártyák */
    section.contact-us .contact-info,
    section.services-contact-us .contact-info {
        margin-top: 14px !important;
        margin-bottom: 14px;
    }

    section.more-info {
        padding: 40px 20px;
        border-radius: 24px;
    }
}

/* ============================================================
   RESZPONZÍV – MOBIL (≤767px)
   ============================================================ */
@media (max-width: 767px) {

    body {
        background: #fde8ed;
    }

    /* Szekciók margó */
    section {
        margin-top: 50px !important;
    }

    section.main-banner {
        margin-top: 0 !important;
        padding-top: 95px;
        padding-bottom: 20px;
        min-height: auto;
    }

    section.get-info {
        margin-top: 90px !important;
    }

    section.puppet,
    section.more-info.prices-page {
        margin-top: 0 !important;
        padding-top: 110px !important;
    }

    /* Banner */
    .main-banner .header-text {
        text-align: center !important;
        margin-bottom: 0 !important;
    }

    .main-banner .header-text h2 {
        font-size: 26px !important;
        line-height: 1.35 !important;
        margin-bottom: 16px !important;
    }

    .main-banner .header-text h6 {
        font-size: 17px !important;
    }

    .main-banner .header-text h3 {
        font-size: 13px !important;
    }

    .main-banner .main-button-gradient {
        padding: 14px 18px;
        border-radius: 12px;
    }

    /* Banner kép mobilon – eredeti jobb oszlop elrejtve */
    .main-banner .col-lg-6:last-child .right-image {
        display: none !important;
    }

    /* Banner kép mobilon – másolat a szöveg között */
    .mobile-only-image {
        display: flex !important;
        justify-content: center;
        margin: 16px 0;
    }

    .mobile-only-image img {
        max-width: 70%;
    }

    /* Section headings */
    .section-heading h4 {
        font-size: 22px !important;
        line-height: 1.35;
        padding-bottom: 14px;
    }

    .section-heading h5 {
        font-size: 18px !important;
    }

    .section-heading h6 {
        font-size: 13px !important;
    }

    .section-heading {
        margin-bottom: 20px !important;
        text-align: center !important;
    }

    section.get-info .section-heading,
    section.more-info .section-heading,
    section.puppet .section-heading {
        text-align: left !important;
    }

    section.get-info .section-heading h4::after,
    section.puppet .section-heading h4::after {
        left: 0;
        transform: none;
    }

    /* Miben segít – tab gombok 2 oszlopos rács */
    section.our-courses .naccs .menu {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: visible;
        gap: 8px;
        padding-bottom: 0;
    }

    section.our-courses .naccs .menu div {
        flex: 0 0 calc(50% - 8px);
        width: calc(50% - 8px);
        white-space: normal;
        text-align: center;
        font-size: 13px !important;
        padding: 10px 8px !important;
        margin: 0 !important;
        border-radius: 12px !important;
        line-height: 1.3;
    }

    section.our-courses ul.nacc li .right-content {
        padding: 20px 16px;
    }

    section.our-courses ul.nacc li .right-content h4 {
        font-size: 17px;
    }

    section.our-courses ul.nacc li .right-content p {
        font-size: 14px;
        line-height: 1.7 !important;
    }

    section.our-courses {
        padding: 30px 10px;
        border-radius: 18px;
    }

    /* Gyermekednek szekció */
    section.more-info {
        padding: 28px 14px 160px 14px !important;
        border-radius: 18px !important;
    }

    section.more-info .right-image {
        display: none !important;
    }

    /* Rólam szekció */
    section.simple-cta {
        padding: 55px 0 110px 0 !important;
    }

    section.simple-cta .col-lg-6 {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
    }

    section.simple-cta h5 {
        font-size: 26px !important;
        text-align: center;
    }

    section.simple-cta p {
        font-size: 14px !important;
        line-height: 1.5 !important;
        text-align: justify !important;
    }


    /* Vélemények */
    .testimonials .item {
        margin: 6px;
        padding: 20px 16px;
    }

    .testimonials .item p {
        font-size: 14px !important;
    }

    /* Elérhetőségek – térkép magasság */
    section.contact-us #map iframe {
        height: 260px !important;
    }

    section.contact-us .contact-info,
    section.services-contact-us .contact-info {
        margin-top: 10px !important;
        margin-bottom: 10px;
        padding: 14px 16px;
    }

    section.contact-us .contact-info .icon i,
    section.services-contact-us .contact-info .icon i {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 14px;
    }

    section.contact-us .contact-info h4,
    section.services-contact-us .contact-info h4 {
        font-size: 14px;
    }

    section.contact-us .contact-info span,
    section.services-contact-us .contact-info span {
        font-size: 12px;
        word-break: break-all;
    }

    section.contact-us ul.social-icons,
    section.services-contact-us ul.social-icons {
        margin-top: 28px;
    }

    /* Szolgáltatások oldal */
    section.get-info .left-image,
    section.get-info .right-image {
        display: none !important;
    }

    section.get-info .section-heading {
        padding: 18px 16px !important;
        border-radius: 14px !important;
        margin-bottom: 0 !important;
    }

    section.get-info .section-heading h4 {
        font-size: 18px !important;
    }

    .about-kineziology-quote {
        font-size: 13.5px !important;
        padding: 8px 12px;
        margin: 8px 0 14px 0 !important;
    }

    /* Bábállítás oldal */
    section.puppet {
        padding: 110px 8px 40px 8px;
        border-radius: 0;
        margin-top: 0 !important;
        background: linear-gradient(135deg, #fde8ed 0%, #ecdff5 100%) !important;
        min-height: 100vh;
    }

    section.puppet .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }


    section.puppet .section-heading h4,
    section.puppet .section-heading h5 {
        font-size: 20px !important;
    }

    .puppet-blocks {
        margin-top: 30px;
        padding-top: 24px;
    }

    .puppet-blocks .section-heading:not(:first-child) {
        margin-top: 28px;
        padding-top: 22px;
    }

    .puppet-price-card {
        padding: 16px 18px;
    }

    .puppet-cta-line {
        font-size: 15px !important;
    }

    .puppet-image-container {
        display: flex;
        justify-content: center;
        margin-top: 18px;
    }

    .puppet-image {
        width: 80% !important;
        max-width: 300px;
        margin: 0 auto !important;
        display: block;
    }

    /* Árak oldal */
    .price-image-container {
        display: flex;
        justify-content: center;
        margin-top: 18px;
    }

    .price-image {
        width: 80% !important;
        max-width: 300px;
        display: block !important;
        margin: 0 auto;
    }

    /* Szöveg általánosan */
    p {
        font-size: 14px !important;
        line-height: 1.75 !important;
    }

    /* A kineziológiáról – oldalsó kép elrejtése */
    #about-kinesiology .col-lg-4 {
        display: none;
    }

    /* Section dekoratív vonal bal igazítva mobilon is */
    .section-heading h4::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
    }

    section.simple-cta h5::after {
        width: 60px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ============================================================
   RESZPONZÍV – KIS TELEFON (≤480px)
   ============================================================ */
@media (max-width: 480px) {

    .main-banner .header-text h2 {
        font-size: 22px !important;
    }

    .main-banner .header-text h6 {
        font-size: 15px !important;
    }

    section.our-courses .naccs .menu div {
        flex: 0 0 calc(50% - 6px);
        width: calc(50% - 6px);
        font-size: 12px !important;
        padding: 9px 6px !important;
    }

    section.get-info .section-heading h4 {
        font-size: 16px !important;
    }

    .section-heading h4 {
        font-size: 20px !important;
    }

    section.more-info {
        padding: 22px 10px 160px 10px !important;
    }

    section.contact-us .contact-info,
    section.services-contact-us .contact-info {
        padding: 12px 14px;
    }

    section.simple-cta {
        padding: 45px 0 95px 0 !important;
    }

    .price-image,
    .puppet-image {
        width: 90% !important;
    }

    section.testimonials .item {
        padding: 16px 14px;
    }
}
