/**
 * Page Overrides CSS
 * Common styles extracted from inline HTML styles
 * This file should be linked after combined.min.css
 */

/* ===================================
   CSS Variables (Theme Colors)
   =================================== */
:root {
    --color-menu-bg: #ffffff;
    --color-menu-text: #2c3e50;
    --color-highlight: #e74c3c;
    --color-link: #c0392b;
    --color-cta-bg: #f1c40f;
    --color-cta-hover-bg: #f39c12;
    --color-cta-text: #1a1a1a;
    --logo-width: 100px;
    --logo-width-mobile: 50px;
    --leader-height: 50vh;
    --leader-height: 50dvh;
    --header-bg: #ffffff;
    --footer-bg: #ffffff;
    --footer-color: #2c3e50;
    --menu-color: #2c3e50;
    --menu-dropdown-bg: #ffffff;
    --menu-dropdown-bg-mobile: #ffffff;
    --menu-dropdown-color: #2c3e50;
    --color-brand: #ffffff;
}

/* ===================================
   Hero Section (Leader)
   =================================== */
.leader {
    min-height: var(--leader-height);
    height: var(--leader-height);
    max-height: none;
}

.leader figure {
    height: 100%;
    position: relative;
}

.leader figure::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    pointer-events: none;
}

.leader figure img {
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
    min-height: var(--leader-height);
}

.leader-text {
    top: auto;
    bottom: 15%;
    transform: none;
}

.leader-text-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
}

/* ===================================
   Header / Branding
   =================================== */
.header {
    padding: 0.5rem 1rem;
}

.branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Logo fix - prevent stretching */
img.logo {
    width: auto;
    max-width: var(--logo-width-mobile, 50px);
    max-height: 40px;
    height: auto;
    object-fit: contain;
}

@media screen and (min-width: 72rem) {
    img.logo {
        max-width: var(--logo-width, 100px);
        max-height: 80px;
    }
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-menu-text);
    line-height: 1.2;
}

/* ===================================
   Links and Buttons
   =================================== */
.prose a {
    color: #2980b9;
    text-decoration: underline;
    text-decoration-color: #f1c40f;
    text-underline-offset: 3px;
}

.prose a:hover {
    color: #1a5276;
}

.btn--secondary {
    background-color: #2980b9;
    color: #ffffff !important;
    text-decoration: none;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 900;
}

.btn--secondary:hover {
    background-color: #1a5276;
    color: #ffffff !important;
}

/* ===================================
   Sidebar
   =================================== */
.sidebar-offer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #f1c40f;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.sidebar-offer h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-menu-text);
}

.sidebar-offer p {
    margin-bottom: 0.75rem;
    color: #555;
}

.sidebar-offer .btn {
    margin-top: 1rem;
}

/* ===================================
   Contact Form
   =================================== */
.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--color-cta-bg);
    outline: none;
}

/* ===================================
   Cookie Consent Modal
   =================================== */
#cookieConsentModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

#cookieConsentBox {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

#cookieConsentBox h2 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: #333;
}

#cookieConsentBox p {
    margin: 0 0 20px 0;
    line-height: 1.6;
    color: #666;
    font-size: 14px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
}

.cookie-btn-primary {
    background: #1e8449;
    color: #ffffff;
    font-size: 15px;
}

.cookie-btn-primary:hover {
    background: #229954;
}

.cookie-btn-secondary {
    background: #ecf0f1;
    color: #333;
}

.cookie-btn-secondary:hover {
    background: #d5d8dc;
}

#cookieSettingsBtn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #1e8449;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: all 0.3s ease;
}

#cookieSettingsBtn:hover {
    background: #229954;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
    #cookieConsentBox {
        padding: 20px;
    }
    .cookie-buttons {
        flex-direction: column;
    }
    .cookie-btn {
        width: 100%;
    }
}

/* ===================================
   Mobile Responsive
   =================================== */
@media (max-width: 768px) {
    :root {
        --leader-height: 40vh;
        --leader-height: 40dvh;
    }
    
    .leader {
        min-height: var(--leader-height);
        height: var(--leader-height);
    }
    
    .leader figure img {
        min-height: var(--leader-height);
        object-position: center 30%;
    }
    
    .leader-text {
        bottom: 8%;
        padding: 0 1rem;
    }
    
    .leader-text h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .leader-text h3 {
        font-size: 1rem;
    }
    
    .brand-name {
        display: none;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* Landscape mode fix */
@media (max-width: 768px) and (orientation: landscape) {
    :root {
        --leader-height: auto;
    }
    
    .leader {
        min-height: 350px;
        height: auto;
    }
}

/* ===================================
   Mobile Submenu Fix
   =================================== */
@media (max-width: 1024px) {
    /* Show submenu when parent has .submenu-open class */
    .menu-item.submenu-open > ul.submenu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
        background: #f8f9fa;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
        border-radius: 8px;
    }
    
    .menu-item.submenu-open > ul.submenu li {
        padding: 0.25rem 1rem;
    }
    
    .menu-item.submenu-open > ul.submenu li a {
        display: block;
        padding: 0.5rem 0;
        color: #2c3e50;
    }
    
    /* Arrow rotation when open */
    .menu-item.submenu-open > a.hasSubmenu:after {
        content: "\25B4";
    }
}

/* ===================================
   Why Us Section
   =================================== */
.why-us {
    background: #f8f9fa;
    padding: var(--spacing-20) 0;
}

.why-us h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: var(--spacing-12);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-6);
    max-width: var(--container-prose);
    margin: 0 auto;
}

.why-us-item h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-2);
    color: var(--color-menu-text);
}

.why-us-item p {
    color: var(--color-gray-700);
}

@media screen and (min-width: 40rem) {
    .why-us-grid {
        grid-template-columns: 1fr 1fr;
        max-width: var(--container);
    }
}

@media screen and (min-width: 72rem) {
    .why-us-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    background: #fff;
    padding: var(--spacing-20) 0;
}

.testimonials h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: var(--spacing-12);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-8);
}

.testimonial-card blockquote {
    background: #f8f9fa;
    border-left: 4px solid var(--color-cta-bg);
    padding: var(--spacing-8);
    border-radius: 0 8px 8px 0;
    margin: 0;
}

.testimonial-card blockquote p {
    font-size: var(--text-lg);
    line-height: var(--leading-normal);
    color: var(--color-gray-800);
    margin-bottom: var(--spacing-4);
    font-style: italic;
}

.testimonial-card blockquote cite {
    font-style: normal;
    font-weight: var(--font-semibold);
    color: var(--color-gray-700);
}

@media screen and (min-width: 72rem) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* ===================================
   Service Areas Summary Section
   =================================== */
.service-areas-summary {
    background: var(--color-gray-100);
    padding: var(--spacing-20) 0;
    text-align: center;
}

.service-areas-summary h2 {
    margin-top: 0;
    margin-bottom: var(--spacing-8);
}

.service-areas-summary p {
    max-width: var(--container-prose);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-6);
    color: var(--color-gray-800);
}

.service-areas-summary .areas-list {
    font-weight: var(--font-semibold);
    color: var(--color-gray-900);
}

.service-areas-summary .btn {
    margin-top: var(--spacing-4);
}

/* ===================================
   Service Cards
   =================================== */
.service-card {
    margin-top: 2rem;
}

.service-card > a:last-child {
    background-color: #2980b9;
    color: #ffffff !important;
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-size: var(--text-lg);
    margin-top: 1rem;
}

.service-card > a:last-child:hover {
    background-color: #1a5276;
    color: #ffffff !important;
}

/* ===================================
   Blog Cards
   =================================== */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.blog-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    overflow: hidden;
    transition: transform 0.2s;
}
.blog-card:hover { transform: translateY(-3px); }
.blog-card-img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #2c3e50, #e74c3c);
}
.blog-card-img svg {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px;
    max-height: 48px;
    flex-shrink: 0;
    color: #fff;
    opacity: 0.7;
}
.blog-card-body { padding: 20px; }
.blog-card-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.blog-card-body h3 { font-size: 1rem; margin-bottom: 8px; }
.blog-card-body p { font-size: 0.85rem; color: #666; margin-bottom: 12px; }

/* ===================================
   Article
   =================================== */
.article-lead { font-size: 1.1rem; line-height: 1.8; color: #666; margin-bottom: 2rem; }
.article-toc { background: #f5f5f5; border-radius: 12px; padding: 1.5rem 2rem; margin-bottom: 2rem; }
.article-toc h2 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.article-toc ol { list-style: decimal; padding-left: 1.25rem; margin: 0; }
.article-toc ol li { margin-bottom: 0.4rem; }
.article-toc ol li a { font-size: 0.95rem; }
article h2 { margin-top: 2rem; margin-bottom: 0.75rem; }
article p { margin-bottom: 1rem; line-height: 1.8; }
article ul, article ol { margin-bottom: 1.5rem; padding-left: 1.25rem; }
article ul li, article ol li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-related { border-top: 1px solid #e0e0e0; padding-top: 1.5rem; margin-top: 2rem; }

/* --- Blog card flex layout (Olvasom align bottom) --- */
.blog-card {
    display: flex;
    flex-direction: column;
}
.blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card-body .blog-card-link,
.blog-card-body .service-link {
    margin-top: auto;
}

@media screen and (min-width: 600px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (min-width: 900px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Footer white gap fix --- */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main, .container.grid {
    flex: 1;
}

/* --- CTA-footer spacing --- */
footer {
    margin-top: 2rem;
}

/* --- Mobile footer accordion --- */
@media (max-width: 767px) {
    .footer h3 {
        cursor: pointer;
        user-select: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .footer h3::after {
        content: '+';
        font-size: 1.3rem;
        font-weight: 400;
        opacity: 0.5;
        transition: transform 0.3s ease;
    }

    .footer h3.open::after {
        content: '\2212';
    }

    .footer .footer-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .footer h3.open + .footer-menu {
        max-height: 500px;
    }
}

/* =====================================================================
   REDESIGN 2026-09-17 — csak megjelenés.
   Semmilyen szöveg, link, meta, JSON-LD vagy űrlapmező nem változik.
   A blokk a fájl VÉGÉN van, hogy a kaszkádban nyerjen.
   ===================================================================== */

:root {
    --rd-navy: #14395c;
    --rd-navy-deep: #0f2a44;
    --rd-gold: #f1c40f;
    --rd-gold-deep: #d4a900;
    --rd-cream: #faf7f2;
    --rd-paper: #ffffff;
    --rd-ink: #1c2530;
    --rd-muted: #58636f;
    --rd-line: #e6e0d6;
    --rd-radius: 14px;
    --rd-radius-lg: 22px;
    --rd-pill: 999px;
    --rd-shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
    --rd-shadow: 0 2px 4px rgba(16, 24, 40, .04), 0 12px 28px rgba(16, 24, 40, .07);
    --rd-shadow-lg: 0 8px 20px rgba(16, 24, 40, .08), 0 24px 56px rgba(16, 24, 40, .10);
    --rd-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --rd-section-y: clamp(2.5rem, 6vw, 4.5rem);
}

/* ---------------------------------------------------------------------
   1. FEJLÉC — a mobil fő hibája.
   A body flex-oszlop (lásd „Footer white gap fix”), és a header
   margin:0 auto miatt flex-elemként ÖSSZEHÚZÓDOTT 72px-re, középre
   ugrott, és sticky fehér dobozként a tartalomra úszott. A hamburger
   is ebbe a 72px-be szorult, így mobilon gyakorlatilag NEM VOLT menü.
   --------------------------------------------------------------------- */
body > header {
    align-self: stretch;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    background: var(--rd-paper);
    box-shadow: 0 1px 0 var(--rd-line), 0 6px 20px rgba(16, 24, 40, .05);
    padding: 0;
}

.header {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: .75rem;
    width: 100%;
    max-width: var(--container, 82rem);
    margin: 0 auto;
    padding: .55rem 1rem;
}

.branding {
    display: flex;
    align-items: center;
    gap: .6rem;
    min-width: 0;
}

.branding a {
    display: inline-flex;
    align-items: center;
}

img.logo,
.logo {
    width: auto;
    max-width: 46px;
    max-height: 46px;
    height: auto;
    object-fit: contain;
}

.brand-name {
    display: block;
    font-family: var(--rd-display);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.15;
    color: var(--rd-navy);
    letter-spacing: .01em;
}

/* hamburger: kikerül az abszolút pozícióból a rácsba.
   FONTOS: csak a mobil sávban kap display:flex-et — desktopon a
   combined.min.css @media(min-width:72rem) rejti el, és ezt a blokk
   későbbi helye a kaszkádban felül tudná írni. */
@media screen and (max-width: 71.99rem) {
    .menuToggle {
        position: static;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        grid-row: 1;
        grid-column: 2;
    }

    .branding {
        grid-row: 1;
        grid-column: 1;
    }

    .menu {
        grid-row: 2;
    }
}

@media screen and (min-width: 72rem) {
    .menuToggle {
        display: none;
    }

    .header {
        grid-template-columns: auto 1fr;
        padding: .6rem 1.5rem;
    }

    img.logo,
    .logo {
        max-width: 64px;
        max-height: 64px;
    }

    .brand-name {
        font-size: 1.15rem;
    }

    .menu {
        justify-self: end;
    }
}

.hamburger {
    position: static;
    padding: .55rem;
    margin: 0;
    border-radius: 10px;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hamburger:hover {
    background: var(--rd-cream);
}

/* ---------------------------------------------------------------------
   2. MOBIL MENÜ — a lenyíló panel
   --------------------------------------------------------------------- */
@media screen and (max-width: 71.99rem) {
    .menu {
        grid-column: 1 / -1;
    }

    .menu.show {
        border-top: 1px solid var(--rd-line);
        margin-top: .5rem;
        padding-top: .25rem;
        max-height: min(70vh, 34rem);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .menu.show > ul > li.menu-item {
        border-bottom: 1px solid var(--rd-line);
    }

    .menu.show > ul > li.menu-item:last-child {
        border-bottom: 0;
        padding-top: .75rem;
    }

    .menu.show a {
        display: block;
        padding: .85rem .25rem;
        font-size: 1.02rem;
        font-weight: 500;
        color: var(--rd-navy);
        min-height: 44px;
    }

    .menu.show a.btn {
        text-align: center;
        padding: .9rem 1.25rem;
    }

    .menu.show .submenu a {
        font-size: .95rem;
        font-weight: 400;
        color: var(--rd-muted);
        padding: .6rem .25rem .6rem 1rem;
    }
}

/* ---------------------------------------------------------------------
   3. HERO
   --------------------------------------------------------------------- */
.leader {
    position: relative;
    background: var(--rd-navy-deep);
}

.leader figure::after {
    background: linear-gradient(180deg, rgba(10, 22, 36, .30) 0%, rgba(10, 22, 36, .55) 45%, rgba(10, 22, 36, .82) 100%);
}

.leader-text {
    max-width: 44rem;
}

.leader-text h1 {
    font-family: var(--rd-display);
    color: #fff;
    letter-spacing: -.01em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

.leader-text p {
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
}

.leader-text .btn--cta {
    margin-top: 1.1rem;
}

@media (max-width: 768px) {
    :root {
        --leader-height: 58vh;
        --leader-height: 58dvh;
    }

    .leader {
        min-height: 400px;
    }

    .leader figure img {
        min-height: 400px;
    }

    .leader-text {
        left: 0;
        right: 0;
        bottom: 7%;
        text-align: center;
        padding: 0 1.25rem;
    }

    .leader-text h1 {
        font-size: clamp(1.7rem, 7.6vw, 2.3rem);
        line-height: 1.15;
    }

    .leader-text p {
        font-size: 1.02rem;
        line-height: 1.5;
        margin-top: .5rem;
    }

    .leader-text .btn--cta {
        display: inline-flex;
        width: min(100%, 22rem);
    }
}

/* ---------------------------------------------------------------------
   4. TIPOGRÁFIA / RITMUS
   --------------------------------------------------------------------- */
.container.grid {
    padding-top: var(--rd-section-y);
    padding-bottom: var(--rd-section-y);
}

.prose {
    color: var(--rd-ink);
    font-size: 1.05rem;
    line-height: 1.72;
    max-width: 44rem;
}

.prose p {
    color: var(--rd-muted);
    margin-bottom: 1.05rem;
}

.prose h2 {
    font-family: var(--rd-display);
    font-size: clamp(1.45rem, 3.4vw, 2rem);
    line-height: 1.2;
    color: var(--rd-navy);
    margin: 2.4rem 0 .85rem;
    letter-spacing: -.01em;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose h3 {
    font-size: clamp(1.1rem, 2.4vw, 1.3rem);
    line-height: 1.3;
    color: var(--rd-ink);
    font-weight: 600;
    margin: 1.9rem 0 .6rem;
}

.prose ul,
.prose ol {
    margin: 0 0 1.2rem;
    padding-left: 0;
}

.prose ul li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: .45rem;
    color: var(--rd-muted);
}

.prose ul li::before {
    content: "";
    position: absolute;
    left: .25rem;
    top: .68em;
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: var(--rd-gold);
}

.prose a:not(.btn) {
    color: #1d5f96;
    text-decoration: underline;
    text-decoration-color: rgba(241, 196, 15, .85);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.prose a:not(.btn):hover {
    color: var(--rd-navy);
}

/* ---------------------------------------------------------------------
   5. GOMBOK — a .prose aláhúzás/betűtípus szivárgás javítása is
   --------------------------------------------------------------------- */
.btn,
.prose a.btn,
.prose p > a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: none !important;
    border-radius: var(--rd-pill);
    padding: .85rem 1.6rem !important;
    min-height: 48px;
    border: 0;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
    box-shadow: var(--rd-shadow-sm);
}

.btn:hover,
.prose a.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--rd-shadow);
}

.btn:active,
.prose a.btn:active {
    transform: translateY(0);
}

.btn--cta,
.prose a.btn--cta {
    background: var(--rd-gold);
    color: #1a1a1a;
}

.btn--cta:hover {
    background: var(--rd-gold-deep);
    color: #1a1a1a;
}

.btn--secondary,
.prose a.btn--secondary {
    background: var(--rd-navy);
    color: #fff;
}

.btn--secondary:hover {
    background: var(--rd-navy-deep);
    color: #fff;
}

.btn--menu {
    background: var(--rd-gold);
    color: #1a1a1a;
}

/* ---------------------------------------------------------------------
   6. KÁRTYÁK
   --------------------------------------------------------------------- */
.why-us,
.testimonials {
    background: var(--rd-cream);
    padding-top: var(--rd-section-y);
    padding-bottom: var(--rd-section-y);
}

.why-us h2,
.testimonials h2 {
    font-family: var(--rd-display);
    color: var(--rd-navy);
    font-size: clamp(1.45rem, 3.4vw, 2rem);
    line-height: 1.2;
}

.why-us-item,
.testimonial-item,
.blog-card,
.sidebar-offer {
    background: var(--rd-paper);
    border: 1px solid var(--rd-line);
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease;
}

.why-us-item:hover,
.testimonial-item:hover,
.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--rd-shadow);
}

.why-us-item {
    padding: 1.5rem;
}

.why-us-item h3 {
    color: var(--rd-navy);
    font-weight: 600;
}

/* ---------------------------------------------------------------------
   7. KAPCSOLAT / AJÁNLATKÉRŐ ŰRLAP
   (a .contact-form-on inline style van, ezért kell az !important)
   --------------------------------------------------------------------- */
.contact-form {
    background: var(--rd-paper) !important;
    border: 1px solid var(--rd-line);
    border-radius: var(--rd-radius-lg) !important;
    box-shadow: var(--rd-shadow);
    padding: clamp(1.25rem, 4vw, 2.25rem) !important;
}

.contact-form > h2 {
    font-family: var(--rd-display) !important;
    color: var(--rd-navy);
    font-size: clamp(1.35rem, 3.2vw, 1.75rem) !important;
    line-height: 1.2;
    margin-bottom: .35rem !important;
}

/* a combined.min.css sötétkék panelt fest a <form>-ra — itt semlegesítjük,
   a kártya maga a .contact-form */
.contact-form form {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    gap: 1rem 1.1rem;
}

.contact-form form > div {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.contact-form label,
.contact-form form label {
    display: block;
    margin-bottom: .4rem;
    font-size: .92rem;
    font-weight: 600;
    color: var(--rd-navy);
    letter-spacing: .01em;
}

.contact-form label.required::after,
.contact-form form label.required::after {
    content: " *";
    color: #c0392b;
    font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    margin-bottom: 0;
    padding: .8rem .95rem;
    min-height: 50px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--rd-ink);
    background: #fff;
    border: 1.5px solid #d8d2c8;
    border-radius: 12px;
    transition: border-color .15s ease, box-shadow .15s ease;
    appearance: none;
    -webkit-appearance: none;
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.6;
}

.contact-form select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2358636f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .9rem center;
    padding-right: 2.6rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9aa3ad;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
    border-color: #bdb5a8;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--rd-navy);
    box-shadow: 0 0 0 4px rgba(20, 57, 92, .12);
}

.contact-form input:user-invalid,
.contact-form textarea:user-invalid {
    border-color: #c0392b;
    box-shadow: 0 0 0 4px rgba(192, 57, 43, .10);
}

.contact-form button[type="submit"],
.contact-form .btn {
    width: 100%;
    margin-top: .35rem;
    font-size: 1.05rem;
    padding: 1rem 1.5rem !important;
    min-height: 54px;
}

/* bizalmi sor a küldés gomb alatt — tisztán CSS, nem új tartalom */
.contact-form form::after {
    content: "🔒 Adatait bizalmasan kezeljük, harmadik félnek nem adjuk ki.";
    grid-column: 1 / -1;
    display: block;
    margin-top: -.15rem;
    font-size: .85rem;
    line-height: 1.5;
    color: var(--rd-muted);
    text-align: center;
}

/* ---------------------------------------------------------------------
   8. MOBIL CTA SÁV
   --------------------------------------------------------------------- */
.mobile-cta-bar {
    padding: .6rem .85rem calc(.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(160%) blur(10px);
    box-shadow: 0 -1px 0 var(--rd-line), 0 -8px 24px rgba(16, 24, 40, .08);
    gap: .6rem;
}

.mobile-cta-bar .btn {
    min-height: 48px;
    padding: .75rem 1rem !important;
    border-radius: var(--rd-pill);
    font-size: .98rem;
    box-shadow: none;
}

.mobile-cta-bar .btn-phone {
    background: var(--rd-navy);
    color: #fff;
}

.mobile-cta-bar .btn-primary {
    background: var(--rd-gold);
    color: #1a1a1a;
}

/* ---------------------------------------------------------------------
   9. SÜTI SÁV — ne takarja el a CTA-t
   --------------------------------------------------------------------- */
.cookie-btn {
    border-radius: var(--rd-pill);
    min-height: 44px;
}

/* ---------------------------------------------------------------------
   10. TÚLCSORDULÁS ELLENI ŐR + FÓKUSZ + KÉPEK
   --------------------------------------------------------------------- */
html,
body {
    max-width: 100%;
}

img,
video,
iframe,
table {
    max-width: 100%;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--rd-gold);
    outline-offset: 2px;
    border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {

    .btn,
    .why-us-item,
    .testimonial-item,
    .blog-card {
        transition: none;
    }
}

/* ---------------------------------------------------------------------
   11. FINOMHANGOLÁS (mért hibák a második körből)
   --------------------------------------------------------------------- */

/* a hero-sötétítés eddig csak az alsó 50%-ot fedte -> látható vízszintes
   varrat volt a képen */
.leader figure::after {
    top: 0;
    height: 100%;
}

/* címsorban lévő link ne kapja meg a törzsszöveg aláhúzását
   (a combined.min.css-ben ez benne van, de a mi blokkunk később jön) */
.prose h1 a,
.prose h2 a,
.prose h3 a,
.prose h4 a,
.prose h5 a,
.prose h6 a {
    color: inherit;
    text-decoration: none;
}

.prose h3 a:hover {
    color: var(--rd-navy);
}

/* szolgáltatás-kártyák a főoldalon */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
    margin: 1.5rem 0 2rem;
}

@media screen and (min-width: 40rem) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 64rem) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    padding: 1.35rem 1.35rem 1.45rem;
    background: var(--rd-paper);
    border: 1px solid var(--rd-line);
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--rd-shadow);
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: .5rem;
}

.service-card ul {
    margin-bottom: 1rem;
}

.service-card > a:last-child {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .7rem 1.4rem;
    background-color: var(--rd-navy);
    color: #fff !important;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--rd-pill);
    text-decoration: none !important;
    box-shadow: var(--rd-shadow-sm);
    transition: background-color .15s ease, transform .15s ease;
}

.service-card > a:last-child:hover {
    background-color: var(--rd-navy-deep);
    transform: translateY(-1px);
}

/* űrlapkártya címsora ne lökjön felül nagy üres sávot */
.contact-form > h2 {
    margin-top: 0 !important;
}

/* a lebegő süti-gomb ne üljön rá a mobil CTA sávra */
@media (max-width: 768px) {
    #cookieSettingsBtn {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* ---------------------------------------------------------------------
   12. FINOMHANGOLÁS (harmadik kör)
   --------------------------------------------------------------------- */

/* a .prose a:not(.btn) erősebb volt, mint a .prose h3 a -> a címsor-linkek
   aláhúzva maradtak */
.prose h1 a:not(.btn),
.prose h2 a:not(.btn),
.prose h3 a:not(.btn),
.prose h4 a:not(.btn),
.prose h5 a:not(.btn),
.prose h6 a:not(.btn) {
    color: inherit;
    text-decoration: none;
}

.prose h2 a:not(.btn):hover,
.prose h3 a:not(.btn):hover {
    color: var(--rd-navy);
    text-decoration: none;
}

/* dupla felsorolásjel: az eredeti list-style marker MELLÉ került a saját
   arany pöttyünk */
.prose ul {
    list-style: none;
}

.prose ul > li::marker {
    content: "";
}

/* a szolgáltatás-kártyák oldalsáv mellett 3 oszlopban túl keskenyek
   lettek (minden második szó új sorba tört) */
@media screen and (min-width: 64rem) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 90rem) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* a lebegő süti-gomb mobilon ráült a szövegre — diszkrét ikon-gombbá
   zsugorítjuk, a CTA sáv fölé */
@media (max-width: 768px) {
    #cookieSettingsBtn {
        left: 12px;
        padding: 0 !important;
        width: 40px;
        height: 40px;
        font-size: 0 !important;
        line-height: 0;
        opacity: .55;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    }

    #cookieSettingsBtn::before {
        content: "🍪";
        font-size: 19px;
        line-height: 1;
    }

    #cookieSettingsBtn:hover,
    #cookieSettingsBtn:focus-visible {
        opacity: 1;
    }
}

/* ---------------------------------------------------------------------
   13. UX/UI TESZTKÖR LELETEI (mérve 320/390/768/1024/1366/1920-on)
   --------------------------------------------------------------------- */

/* 13a. LÁTHATATLAN CÍMSOR az Árak és a Kalkulátor oldal CTA-sávjában.
   A .cta-section color:#fff-et örökít, de egy globális h2{color:#2c3e50}
   erősebb az öröklésnél -> a h2 pontosan a saját háttérszínét kapta
   (1.00:1 kontraszt). Ez ÉLESBEN IS ÍGY VAN, nem a redesign hozta. */
.cta-section h2,
.cta-section h3 {
    color: #fff;
}

.cta-section p {
    color: rgba(255, 255, 255, .92);
}

/* 13b. LÁBLÉC-LINKEK: 42×19 px-esek voltak, ujjal alig találhatók el.
   Mobilon 44px-es magasságra nyitjuk őket. */
@media (max-width: 1023px) {

    footer a,
    .footer a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: .2rem 0;
    }

    footer li,
    .footer li {
        line-height: 1.35;
    }

    /* telefonszám a láblécben: külön kiemelt találati felület */
    footer a[href^="tel:"],
    .footer a[href^="tel:"] {
        font-weight: 600;
        min-height: 48px;
    }
}

/* 13c. a kalkulátor lépésfeliratai 12px-esek voltak tableten */
.progress-label {
    font-size: max(13px, .8rem);
}

/* 13d. a süti-ikon gombnak maradjon értelmes fókuszjelzése is */
#cookieSettingsBtn:focus-visible {
    outline: 3px solid var(--rd-gold);
    outline-offset: 3px;
}

/* ---------------------------------------------------------------------
   14. ŰRLAPMEZŐK — két okból kellett erőszakosabb szabály (mérve):
   a) a combined.min.css `.contact-form input[type="email"]` (0,2,1), ill.
      `…:focus` (0,3,1) szelektorai erősebbek voltak az enyéimnél — a mezők
      2px barna (#8B7355) keretet és NARANCS (#FF6700) fókuszgyűrűt kaptak;
   b) az ingyenes-arajanlat.html minden mezőjén INLINE style van
      (`border:1px solid #ddd;border-radius:4px`), amit szelektorral
      egyáltalán nem lehet felülírni.
   Ezért itt az !important nem lustaság, hanem az egyetlen működő eszköz.
   --------------------------------------------------------------------- */
.contact-form form input,
.contact-form form select,
.contact-form form textarea {
    width: 100% !important;
    padding: .8rem .95rem !important;
    min-height: 50px !important;
    font-size: 1rem !important;
    font-family: inherit !important;
    line-height: 1.5 !important;
    color: var(--rd-ink) !important;
    background-color: #fff !important;
    border: 1.5px solid #d8d2c8 !important;
    border-radius: 12px !important;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.contact-form form textarea {
    min-height: 130px !important;
    line-height: 1.6 !important;
    resize: vertical !important;
}

.contact-form form input:hover,
.contact-form form select:hover,
.contact-form form textarea:hover {
    border-color: #bdb5a8 !important;
}

.contact-form form input:focus,
.contact-form form select:focus,
.contact-form form textarea:focus {
    outline: 0 !important;
    border-color: var(--rd-navy) !important;
    box-shadow: 0 0 0 4px rgba(20, 57, 92, .15) !important;
}

.contact-form form input:user-invalid,
.contact-form form textarea:user-invalid,
.contact-form form select:user-invalid {
    border-color: #c0392b !important;
    box-shadow: 0 0 0 4px rgba(192, 57, 43, .12) !important;
}

/* a select nyila az új paddinghoz */
.contact-form form select {
    padding-right: 2.6rem !important;
}

/* ---------------------------------------------------------------------
   15. MARADÉK TALÁLATI FELÜLETEK (a UX-kör harmadik menete)
   --------------------------------------------------------------------- */

/* kártyacím-link: 20px magas volt; a kártya elsődleges CTA-ja a „Bővebben”
   pill marad, de a cím is legyen ujjal elkapható */
.service-card h3 a {
    display: inline-block;
    padding: .35rem 0;
}

/* szövegközi telefon-/CTA-linkek: a sormagasság megtartásával növelt
   találati felület (negatív margó kompenzál, így nem mozdul a szedés) */
.prose a[href^="tel:"],
.question a[href^="tel:"],
.question p a {
    padding: .4rem .3rem;
    margin: -.4rem -.3rem;
}

/* a kapcsolat oldal kiemelt telefonszáma legyen valódi gomb-méretű */
.phone-highlight a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .35rem .6rem;
    margin-left: -.15rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 10px;
}

.phone-highlight a:hover {
    background: var(--rd-cream);
}

/* morzsamenü linkjei 18px magasak voltak */
.breadcrumb-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 .15rem;
}

@media (max-width: 1023px) {
    .breadcrumb-nav a {
        min-height: 44px;
    }
}

/* ---------------------------------------------------------------------
   16. SÜTI-BEÁLLÍTÁSOK GOMB — diszkrét ikon MINDEN szélességen
   (eddig csak mobilon zsugorítottuk; desktopon a nagy zöld pill maradt)
   --------------------------------------------------------------------- */
#cookieSettingsBtn {
    bottom: 16px !important;
    left: 16px !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    border-radius: 50% !important;
    background: var(--rd-paper) !important;
    border: 1px solid var(--rd-line) !important;
    box-shadow: 0 1px 4px rgba(16, 24, 40, .14) !important;
    opacity: .5;
    transition: opacity .15s ease, transform .15s ease;
}

#cookieSettingsBtn::before {
    content: "🍪";
    font-size: 16px;
    line-height: 1;
}

#cookieSettingsBtn:hover,
#cookieSettingsBtn:focus-visible {
    opacity: 1;
    transform: scale(1.06);
    background: var(--rd-cream) !important;
}

@media (max-width: 768px) {
    #cookieSettingsBtn {
        left: 12px !important;
        bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* ---------------------------------------------------------------------
   17. EGY HASÁB — a tartalom melletti oldalsáv és a „Gyors árajánlatkérés”
   doboz kivezetve; a konverziós pont az oldal alján lévő kapcsolat-blokk.
   --------------------------------------------------------------------- */
.container.grid {
    grid-template-columns: 1fr;
    grid-gap: 0;
    gap: 0;
}

.sidebar,
.sidebar-offer,
aside.sticks {
    display: none !important;
}

.prose {
    max-width: 46rem;
    margin-inline: auto;
}

/* a kártyarács kihasználhatja az egész hasábot */
.services-grid {
    max-width: 46rem;
    margin-inline: auto;
}

@media screen and (min-width: 64rem) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 90rem) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------------------------------------------------------------------
   18. GYIK — natív <details> harmonika, JS nélkül
   --------------------------------------------------------------------- */
.faq-list,
.faq .faq-grid,
section.faq .container {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.faq-list {
    max-width: 46rem;
    margin: 1.5rem auto 0;
}

.question {
    background: var(--rd-paper);
    border: 1px solid var(--rd-line);
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow-sm);
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.question:hover {
    border-color: #d3c9b4;
}

.question:has(details[open]) {
    border-color: var(--rd-gold);
    box-shadow: var(--rd-shadow);
}

.question summary {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.05rem 1.15rem;
    cursor: pointer;
    list-style: none;
    min-height: 56px;
}

.question summary::-webkit-details-marker {
    display: none;
}

.question summary::after {
    content: "";
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: .15rem;
    border-radius: 50%;
    background: var(--rd-cream);
    border: 1px solid var(--rd-line);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2314395c' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform .2s ease, background-color .2s ease;
}

.question details[open] summary::after {
    transform: rotate(180deg);
    background-color: var(--rd-gold);
}

.question summary h3 {
    margin: 0;
    font-family: var(--rd-display);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--rd-navy);
    flex: 1 1 auto;
}

.question summary:focus-visible {
    outline: 3px solid var(--rd-gold);
    outline-offset: -3px;
}

.question details > p,
.question details > ul {
    margin: 0;
    padding: 0 1.15rem 1.15rem;
    color: var(--rd-muted);
    line-height: 1.7;
}

.question details > p a {
    color: #1d5f96;
    font-weight: 600;
}

.faq h2,
.prose h2 + .faq-list {
    margin-top: 0;
}

/* ---------------------------------------------------------------------
   19. KAPCSOLAT-BLOKK — bal oldali szövegsáv + kiemelt telefonszám
   --------------------------------------------------------------------- */
section.contact {
    padding-block: var(--rd-section-y);
}

.contact-grid {
    align-items: start;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.contact-grid > div:first-child h2 {
    font-family: var(--rd-display);
    font-size: clamp(1.5rem, 3.6vw, 2.1rem);
    line-height: 1.15;
    color: var(--rd-navy);
    margin: 0 0 .6rem;
}

.contact-grid > div:first-child > p {
    color: var(--rd-muted);
    margin-bottom: 1.1rem;
}

.contact-phone {
    margin-top: 1.25rem;
    font-size: 1rem;
    color: var(--rd-muted);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.contact-phone a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 48px;
    padding: .4rem .95rem .4rem .8rem;
    font-family: var(--rd-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--rd-navy);
    background: var(--rd-paper);
    border: 1px solid var(--rd-line);
    border-radius: var(--rd-pill);
    text-decoration: none !important;
    box-shadow: var(--rd-shadow-sm);
}

.contact-phone a::before {
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314395c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.contact-phone a:hover {
    background: var(--rd-cream);
}

/* =====================================================================
   20. BETŰMÉRET-SKÁLA VISSZAVÉTELE + SZÉLESEBB HASÁB
   Mérve 1366/1920-on: a törzsszöveg 20px/30 volt, a kártyacím 20,8px —
   vagyis a szöveg és a címsor szinte azonos méretű, nincs hierarchia.
   A menüpontok 18px-esek, a logó 64px, a fejléc 83px magas.
   ===================================================================== */

/* --- tartalom-hasáb szélesítése (736px -> 896px) --- */
.prose,
.services-grid,
.faq-list {
    max-width: 56rem;
}

/* --- törzsszöveg --- */
.prose {
    font-size: 1.0625rem;
    line-height: 1.7;
}

.prose p,
.prose ul li,
.prose ol li,
.prose td,
.prose th {
    font-size: 1.0625rem;
    line-height: 1.7;
}

.prose h2 {
    font-size: clamp(1.3rem, 2.4vw, 1.75rem);
    margin: 2.1rem 0 .7rem;
}

.prose h3 {
    font-size: clamp(1.05rem, 1.7vw, 1.2rem);
    margin: 1.6rem 0 .5rem;
}

/* --- kártyák: a kártyaszöveg kisebb, mint a törzsszöveg --- */
.service-card h3,
.service-card h3 a {
    font-size: 1.15rem;
    line-height: 1.3;
}

.service-card p,
.service-card ul li,
.service-card li {
    font-size: 1rem;
    line-height: 1.6;
}

.service-card > a:last-child {
    font-size: .95rem;
    padding: .6rem 1.25rem;
    min-height: 42px;
}

/* --- hero --- */
.leader-text h1 {
    font-size: clamp(1.7rem, 4.2vw, 2.75rem);
    line-height: 1.12;
}

.leader-text p {
    font-size: clamp(.98rem, 1.5vw, 1.12rem);
}

/* --- fejléc: alacsonyabb, kisebb betűk --- */
@media screen and (min-width: 72rem) {

    img.logo,
    .logo {
        max-width: 46px;
        max-height: 46px;
    }

    .header {
        padding: .45rem 1.5rem;
    }

    .brand-name {
        font-size: .97rem;
    }

    .menu ul li a {
        font-size: .97rem;
    }

    .menu ul li a.btn {
        font-size: .95rem;
        padding: .7rem 1.25rem !important;
        min-height: 42px;
    }

    .menu ul li ul li a {
        font-size: .93rem;
    }
}

/* --- GYIK kérdés kicsit kisebb --- */
.question summary h3 {
    font-size: 1.02rem;
}

.question details > p {
    font-size: 1rem;
    line-height: 1.65;
}

/* --- kapcsolat-blokk --- */
.contact-grid > div:first-child > p {
    font-size: 1.0625rem;
}

.contact-form form input,
.contact-form form select,
.contact-form form textarea {
    font-size: .97rem !important;
    min-height: 46px !important;
}

.contact-form form textarea {
    min-height: 120px !important;
}

.contact-form label,
.contact-form form label {
    font-size: .88rem;
}

/* =====================================================================
   21. MORZSAMENÜ — halkabb és alacsonyabb
   A <nav>-on inline stílus van (sötétkék gradiens, 0.75rem padding),
   az <a>-kon inline fehér szín, ezért kell az !important.
   ===================================================================== */
.breadcrumb-nav {
    background: var(--rd-cream) !important;
    background-image: none !important;
    border-bottom: 1px solid var(--rd-line);
    padding: .15rem 0 !important;
    font-size: .8rem !important;
}

.breadcrumb-nav ol {
    gap: .35rem !important;
    font-size: .8rem;
}

.breadcrumb-nav li {
    color: #97907f !important;
}

.breadcrumb-nav a {
    color: var(--rd-muted) !important;
    min-height: 32px;
    padding: 0 .1rem;
    font-size: .8rem;
}

.breadcrumb-nav a:hover {
    color: var(--rd-navy) !important;
    text-decoration: underline;
}

/* az utolsó elem (az aktuális oldal) legyen a leghangsúlyosabb, de halkan */
.breadcrumb-nav li:last-child {
    color: var(--rd-ink) !important;
    font-weight: 500;
}

@media (max-width: 1023px) {
    .breadcrumb-nav a {
        min-height: 36px;
    }
}

/* =====================================================================
   22. MOBIL HERO — alacsonyabb, kevesebb holt képfelület
   Mérve 390×844-en: a hero 490px (58 dvh) volt, és a címsor fölött
   242px üres kép állt. A szöveg így a képernyő alsó harmadába szorult.
   ===================================================================== */
@media (max-width: 768px) {
    :root {
        --leader-height: 42vh;
        --leader-height: 42dvh;
    }

    .leader {
        min-height: 300px;
    }

    .leader figure img {
        min-height: 300px;
        object-position: center 38%;
    }

    .leader-text {
        bottom: 6%;
        padding: 0 1.15rem;
    }

    .leader-text h1 {
        font-size: clamp(1.55rem, 6.6vw, 2rem);
        line-height: 1.14;
    }

    .leader-text p {
        font-size: .97rem;
        line-height: 1.45;
        margin-top: .4rem;
    }

    .leader-text .btn--cta {
        margin-top: .85rem;
        min-height: 46px;
        padding: .7rem 1.35rem !important;
    }
}

/* alacsony, fekvő telefonon ne nyúljon szét */
@media (max-width: 768px) and (orientation: landscape) {
    .leader {
        min-height: 260px;
    }

    .leader figure img {
        min-height: 260px;
    }
}

/* --- a márkanév mostantól a logó linkjén belül van --- */
.branding a[rel="home"] {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
}

.branding a[rel="home"]:hover .brand-name {
    color: var(--rd-gold-deep);
}
