/* ═══════════════════════════════════════════
   FÉMHÁZ.HU — Kiegészítő stílusok
   Ez a fájl a style.css UTÁN töltődik be.
   Csak az új elemek stílusait tartalmazza.
   ═══════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   AKADÁLYMENTESÍTÉS – WCAG 2.1 AA
   ═══════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   SZÖVEGKIEMELÉS – blogposzt highlight
   ═══════════════════════════════════════════ */

.kiemeles {
    background-color: rgba(46, 96, 80, 0.12);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
}

/* ═══════════════════════════════════════════
   AKADÁLYMENTESÍTÉS – WCAG 2.1 AA
   ═══════════════════════════════════════════ */

*:focus-visible {
    outline: 3px solid #2e6050;
    outline-offset: 3px;
    border-radius: 3px;
}

.btn:focus-visible,
button:focus-visible {
    outline: 3px solid #2e6050;
    outline-offset: 4px;
    box-shadow: 0 0 0 6px rgba(46, 96, 80, 0.18);
}

.hamburger:focus-visible {
    outline: 3px solid #7ecab0;
    outline-offset: 4px;
    border-radius: 4px;
}

.form-control:focus-visible {
    outline: 2px solid #2e6050;
    outline-offset: 0;
}

/* Nav logo link fix */
.nav-logo a {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.nav-logo a img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Scroll to Top gomb */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #2e6050;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #245040;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.scroll-to-top:active {
    transform: translateY(0);
}

.scroll-to-top svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 42px;
        height: 42px;
    }

    .scroll-to-top svg {
        width: 18px;
        height: 18px;
    }
}

/* ═══════════════════════════════════════════
   FÉMHÁZ.HU — Belső oldalak stílusai
   ═══════════════════════════════════════════ */

/* Skip Link (akadálymentesítés) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: #2e6050;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0 0 0.5rem 0.5rem;
    font-weight: 700;
    z-index: 99999;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a3a2e;
    color: #f5f5f5;
    z-index: 99998;
    padding: 1rem;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.cookie-consent.visible {
    transform: translateY(0);
    opacity: 1;
}
.cookie-consent-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: space-between;
}
.cookie-consent-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e0e0e0;
}
.cookie-consent-text a {
    color: #7ecab0;
    text-decoration: underline;
}
.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}
.btn-cookie {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        gap: 1rem;
    }
    .cookie-consent-buttons {
        width: 100%;
    }
    .btn-cookie {
        flex: 1;
        text-align: center;
    }
}

/* Breadcrumb */
.breadcrumb-nav {
    background: #f8faf9;
    border-bottom: 1px solid #e8f0ec;
    padding: 0.75rem 0;
}
.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
    font-size: 0.875rem;
}
.breadcrumb li {
    display: flex;
    align-items: center;
    color: hsl(0,0%,45%);
}
.breadcrumb li + li::before {
    content: '›';
    margin-right: 0.25rem;
    color: hsl(0,0%,70%);
}
.breadcrumb a {
    color: #2e6050;
    text-decoration: none;
    transition: opacity 0.2s;
}
.breadcrumb a:hover {
    opacity: 0.8;
    text-decoration: underline;
}
.breadcrumb li[aria-current="page"] {
    color: hsl(0,0%,30%);
    font-weight: 600;
}

/* Page Hero (belső oldalak) */
.page-hero {
    background: linear-gradient(135deg, #2e6050 0%, #1a3a2e 100%);
    color: #fff;
    padding: 3rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/tapeta2-2.jpg') center/cover no-repeat;
    opacity: 0.08;
}
.page-hero .container {
    position: relative;
    z-index: 1;
}
.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    color: #fff;
}
.page-hero p.lead {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.85);
    max-width: 48rem;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .page-hero { padding: 2rem 0 1.5rem; }
    .page-hero h1 { font-size: 1.75rem; }
    .page-hero p.lead { font-size: 1rem; }
}

/* Blog Preview Section (főoldal) */
.blog-preview-section {
    padding: 5rem 0;
    background: #f8faf9;
}
.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.blog-preview-card {
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid hsl(0,0%,90%);
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.blog-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(46,96,80,0.15);
    border-color: #2e6050;
}
.blog-preview-img {
    overflow: hidden;
    aspect-ratio: 16/9;
}
.blog-preview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-preview-card:hover .blog-preview-img img {
    transform: scale(1.05);
}
.blog-preview-content {
    padding: 1.25rem;
}
.blog-date {
    font-size: 0.8rem;
    color: hsl(0,0%,55%);
    display: block;
    margin-bottom: 0.5rem;
}
.blog-preview-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: hsl(0,0%,15%);
}
.blog-preview-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.blog-preview-content h3 a:hover { color: #2e6050; }
.blog-preview-content p {
    font-size: 0.875rem;
    color: hsl(0,0%,50%);
    line-height: 1.6;
    margin: 0;
}
@media (max-width: 1024px) { .blog-preview-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .blog-preview-grid { grid-template-columns: 1fr; } }

/* Blog Listing */
.blog-listing-section {
    padding: 4rem 0;
    background: #fff;
}
.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.blog-card {
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid hsl(0,0%,90%);
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(46,96,80,0.15);
    border-color: #2e6050;
}
.blog-card-img {
    overflow: hidden;
    aspect-ratio: 16/9;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.category-badge {
    display: inline-block;
    background: rgba(46,96,80,0.1);
    color: #2e6050;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.blog-card-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: hsl(0,0%,15%);
    flex: 1;
}
.blog-card-content h3 a { color: inherit; text-decoration: none; transition: color 0.2s; }
.blog-card-content h3 a:hover { color: #2e6050; }
.blog-card-content p {
    font-size: 0.875rem;
    color: hsl(0,0%,50%);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    font-size: 0.8rem;
    color: hsl(0,0%,55%);
}
.blog-card-footer a {
    color: #2e6050;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
    transition: opacity 0.2s;
}
.blog-card-footer a:hover { opacity: 0.8; }
@media (max-width: 1024px) { .blog-cards-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .blog-cards-grid { grid-template-columns: 1fr; } }

/* Blog Post Layout */
.blog-post-section { padding: 3rem 0 5rem; background: #fff; }
.blog-post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: hsl(0,0%,50%);
}
.post-meta .category-badge { margin-bottom: 0; }
.post-author { font-weight: 600; color: hsl(0,0%,30%); }
.post-featured-img {
    width: 100%;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 2rem;
    aspect-ratio: 16/9;
}
.post-featured-img img { width: 100%; height: 100%; object-fit: cover; }

/* Table of Contents */
.toc {
    background: #f8faf9;
    border: 1px solid #e0ece6;
    border-left: 4px solid #2e6050;
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
}
.toc h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; color: hsl(0,0%,15%); }
.toc ol { padding-left: 1.25rem; margin: 0; }
.toc li { margin-bottom: 0.35rem; font-size: 0.875rem; line-height: 1.5; }
.toc a { color: #2e6050; text-decoration: none; transition: opacity 0.2s; }
.toc a:hover { opacity: 0.7; text-decoration: underline; }

/* Blog Post Content */
.blog-post-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: hsl(0,0%,10%);
    margin: 2.5rem 0 1rem;
    padding-top: 0.5rem;
    border-top: 2px solid #e8f0ec;
}
.blog-post-content h2:first-child { border-top: none; margin-top: 0; }
.blog-post-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: hsl(0,0%,15%);
    margin: 1.75rem 0 0.75rem;
}
.blog-post-content p {
    color: hsl(0,0%,20%);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}
.blog-post-content ul,
.blog-post-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.blog-post-content li { color: hsl(0,0%,20%); line-height: 1.8; margin-bottom: 0.35rem; }
.blog-post-content a { color: #2e6050; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.blog-post-content a:hover { opacity: 0.8; }
.blog-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
.blog-post-content table th {
    background: #2e6050;
    color: #fff;
    padding: 0.6rem 1rem;
    text-align: left;
    font-weight: 600;
}
.blog-post-content table td {
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #e8f0ec;
    color: hsl(0,0%,20%);
}
.blog-post-content table tr:nth-child(even) td { background: #f8faf9; }
.blog-post-content .highlight-box {
    background: #f0f9f4;
    border: 1px solid #c0dfd1;
    border-left: 4px solid #2e6050;
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}
.blog-post-content .highlight-box p { margin: 0; font-weight: 600; color: #1a4a38; }
.blog-post-content img { max-width: 100%; border-radius: 0.5rem; margin: 1.5rem 0; }
.blog-post-content figure { margin: 1.5rem 0; }
.blog-post-content figcaption {
    font-size: 0.8rem;
    color: hsl(0,0%,55%);
    text-align: center;
    margin-top: 0.4rem;
    font-style: italic;
}

/* Blog Sidebar */
.blog-sidebar { position: sticky; top: 2rem; }
.sidebar-widget {
    background: #f8faf9;
    border: 1px solid #e0ece6;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.sidebar-widget h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(0,0%,15%);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2e6050;
}
.sidebar-cta { background: linear-gradient(135deg, #2e6050, #1a3a2e); color: #fff; }
.sidebar-cta h4 { color: #fff; border-bottom-color: rgba(255,255,255,0.3); }
.sidebar-cta p { font-size: 0.875rem; color: rgba(255,255,255,0.85); margin-bottom: 1rem; line-height: 1.6; }
.sidebar-cta .btn-primary { width: 100%; text-align: center; background: #fff; color: #2e6050; }
.sidebar-cta .btn-primary:hover { background: #f0f9f4; }
.sidebar-links { list-style: none; padding: 0; margin: 0; }
.sidebar-links li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e8f0ec;
    font-size: 0.875rem;
}
.sidebar-links li:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-links a {
    color: #2e6050;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.sidebar-links a::before { content: '→'; font-size: 0.8rem; flex-shrink: 0; }
.sidebar-links a:hover { opacity: 0.75; }

/* Related Posts */
.related-posts-section {
    padding: 3rem 0 4rem;
    background: #f8faf9;
    border-top: 1px solid #e0ece6;
}
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.related-post-card {
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid hsl(0,0%,90%);
    transition: all 0.3s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.related-post-card:hover { box-shadow: 0 6px 16px rgba(46,96,80,0.12); border-color: #2e6050; }
.related-post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.related-post-card-content { padding: 1rem; }
.related-post-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; line-height: 1.4; }
.related-post-card h4 a { color: hsl(0,0%,15%); text-decoration: none; transition: color 0.2s; }
.related-post-card h4 a:hover { color: #2e6050; }
.related-post-card p { font-size: 0.8rem; color: hsl(0,0%,50%); margin: 0; }

/* Blog Post CTA Box */
.post-cta-box {
    background: linear-gradient(135deg, #2e6050, #1a3a2e);
    color: #fff;
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    margin: 3rem 0;
}
.post-cta-box h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; color: #fff; }
.post-cta-box p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; font-size: 1rem; }
.post-cta-box .btn-primary { background: #fff; color: #2e6050; font-size: 1.05rem; padding: 0.875rem 2.5rem; }
.post-cta-box .btn-primary:hover { background: #f0f9f4; transform: translateY(-2px); }

/* Blog Post FAQ */
.post-faq-section {
    margin: 2rem 0;
    padding: 2rem;
    background: #f8faf9;
    border-radius: 0.75rem;
    border: 1px solid #e0ece6;
}
.post-faq-section h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 1.25rem; color: hsl(0,0%,15%); }

@media (max-width: 1024px) {
    .blog-post-layout { grid-template-columns: 1fr; }
    .blog-sidebar { position: static; }
    .related-posts-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
    .related-posts-grid { grid-template-columns: 1fr; }
    .blog-post-content h2 { font-size: 1.4rem; }
    .blog-post-content h3 { font-size: 1.15rem; }
}

/* Contact Form */
.contact-section { padding: 4rem 0; background: #fff; }
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    align-items: start;
}
.contact-form-wrapper {
    background: #f8faf9;
    border: 1px solid #e0ece6;
    border-radius: 1rem;
    padding: 2.5rem;
}
.contact-form-wrapper h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; color: hsl(0,0%,10%); }
.contact-form-wrapper p.form-lead { color: hsl(0,0%,45%); margin-bottom: 2rem; font-size: 0.95rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.9rem; color: hsl(0,0%,20%); }
.form-group label .req { color: #c0392b; margin-left: 2px; }
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid hsl(0,0%,85%);
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: hsl(0,0%,15%);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus { outline: none; border-color: #2e6050; box-shadow: 0 0 0 3px rgba(46,96,80,0.12); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.5rem; }
.form-checkbox input[type="checkbox"] { width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; flex-shrink: 0; accent-color: #2e6050; }
.form-checkbox label { font-size: 0.85rem; color: hsl(0,0%,35%); line-height: 1.5; }
.form-checkbox label a { color: #2e6050; text-decoration: underline; }
.form-success {
    background: #f0f9f4;
    border: 1px solid #2e6050;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
    color: #1a4a38;
    font-weight: 600;
    font-size: 0.95rem;
    display: none;
    margin-top: 1rem;
}
.contact-info-box {
    background: linear-gradient(135deg, #2e6050, #1a3a2e);
    color: #fff;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
}
.contact-info-box h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.25rem; color: #fff; }
.contact-info-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.95rem; }
.contact-info-item svg { flex-shrink: 0; margin-top: 0.1rem; color: #7ecab0; }
.contact-info-item a { color: #fff; text-decoration: none; font-weight: 600; transition: opacity 0.2s; }
.contact-info-item a:hover { opacity: 0.8; }
.contact-info-item span { color: rgba(255,255,255,0.85); }
.contact-hours { background: rgba(255,255,255,0.08); border-radius: 0.5rem; padding: 0.75rem 1rem; margin-top: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.85); }
.map-wrapper { border-radius: 0.75rem; overflow: hidden; border: 1px solid #e0ece6; }
.map-wrapper iframe { display: block; width: 100%; height: 650px; }
@media (max-width: 1024px) { .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; } }

/* Contact team section */
.contact-team-section { padding: 4rem 0; background: #f8faf9; }
.contact-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.contact-person-card {
    background: #fff;
    border: 1px solid #e0ece6;
    border-radius: 1rem;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.contact-person-card:hover { box-shadow: 0 4px 16px rgba(46,96,80,0.1); border-color: #2e6050; }
.contact-person-card__avatar {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #2e6050, #7ecab0);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-person-card__name { font-weight: 700; font-size: 1rem; color: hsl(0,0%,10%); margin-bottom: 0.15rem; }
.contact-person-card__role { font-size: 0.825rem; color: #2e6050; font-weight: 600; margin-bottom: 0.5rem; }
.contact-person-card__phone { font-size: 0.9rem; font-weight: 600; color: hsl(0,0%,25%); text-decoration: none; display: flex; align-items: center; gap: 0.3rem; }
.contact-person-card__phone::before { content: '📞'; font-size: 0.8rem; }
.contact-person-card__phone:hover { color: #2e6050; }
@media (max-width: 768px) { .contact-team-grid { grid-template-columns: 1fr; } }

/* Partner logos section */
.partner-logos-section { padding: 3rem 0; background: #fff; border-top: 1px solid #e0ece6; border-bottom: 1px solid #e0ece6; }
.partner-logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}
.partner-logo-item { display: flex; align-items: center; justify-content: center; }
.partner-logo-item img { max-height: 60px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: 0.55; transition: filter 0.3s ease, opacity 0.3s ease; }
.partner-logo-item img:hover { filter: grayscale(0%); opacity: 1; }

/* Gallery */
.gallery-section { padding: 4rem 0; background: #fff; }

/* Gallery filter buttons */
.gallery-filter {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.filter-btn {
    padding: 0.5rem 1.25rem;
    border: 2px solid #e0ece6;
    border-radius: 2rem;
    background: #fff;
    color: hsl(0,0%,35%);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.filter-btn:hover {
    border-color: #2e6050;
    color: #2e6050;
}
.filter-btn--active {
    background: #2e6050;
    border-color: #2e6050;
    color: #fff;
}
.filter-btn--video {
    background: #fff;
    border-color: #2e6050;
    color: #2e6050;
    font-weight: 700;
    letter-spacing: 0.04em;
    animation: video-glow 2s ease-in-out infinite;
}
.filter-btn--video:hover {
    background: #2e6050;
    border-color: #2e6050;
    color: #fff;
    animation: none;
}
@keyframes video-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(46, 96, 80, 0.55); }
    50%       { box-shadow: 0 0 0 7px rgba(46, 96, 80, 0); }
}
.gallery-item.hidden { display: none; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.gallery-item {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
}
.gallery-item:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.15); transform: translateY(-2px); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay p { color: #fff; font-size: 0.875rem; font-weight: 600; margin: 0; }
.gallery-item-zoom {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2e6050;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item-zoom { opacity: 1; }

/* Videó galériaelem */
.gallery-item--video {
    aspect-ratio: auto;
    cursor: default;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    transform: none !important;
}
.gallery-item--video:hover {
    box-shadow: none;
    transform: none;
}
.gallery-item--video video {
    border-radius: 0.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
}
.gallery-video-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.25rem 0;
}
.gallery-video-title p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 99990;
    display: none;
    align-items: center;
    justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-content { max-width: 90vw; max-height: 90vh; position: relative; }
.lightbox-content img { max-width: 100%; max-height: 85vh; border-radius: 0.5rem; object-fit: contain; }
.lightbox-close { position: absolute; top: -2.5rem; right: 0; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

/* Reference Projects */
.reference-project {
    background: #f8faf9;
    border: 1px solid #e0ece6;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.reference-project-images { overflow: hidden; }
.reference-project-images img { width: 100%; height: 280px; object-fit: cover; display: block; }
.reference-project-info { padding: 2rem; display: flex; flex-direction: column; justify-content: flex-start; }
.reference-project-info h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.75rem; color: hsl(0,0%,10%); }
.reference-project-info p { color: hsl(0,0%,35%); line-height: 1.7; margin-bottom: 1rem; font-size: 0.95rem; }
.reference-specs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.spec-tag { background: rgba(46,96,80,0.1); color: #2e6050; font-size: 0.8rem; font-weight: 600; padding: 0.2rem 0.7rem; border-radius: 1rem; }
.review-quote { background: #fff; border-left: 4px solid #2e6050; border-radius: 0 0.5rem 0.5rem 0; padding: 0.875rem 1rem; font-style: italic; font-size: 0.875rem; color: hsl(0,0%,30%); }
.review-author { font-style: normal; font-weight: 700; display: block; margin-top: 0.4rem; font-size: 0.8rem; color: #2e6050; }
@media (max-width: 768px) {
    .reference-project { grid-template-columns: 1fr; }
    .reference-project-images { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
    .reference-project-images img { height: 150px; }
}

/* Team */
.team-section { padding: 4rem 0; background: #f8faf9; }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.team-card { background: #fff; border-radius: 1rem; overflow: hidden; border: 1px solid hsl(0,0%,90%); transition: all 0.3s; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.team-card:hover { box-shadow: 0 8px 20px rgba(46,96,80,0.12); transform: translateY(-4px); border-color: #2e6050; }
.team-card-img { overflow: hidden; width: 100%; aspect-ratio: 3/4; }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 0.4s ease; }
.team-card:hover .team-card-img img { transform: scale(1.04); }
.team-card-info { padding: 1.5rem; }
.team-card-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; color: hsl(0,0%,10%); }
.team-role { color: #2e6050; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.75rem; display: block; }
.team-card-info p { font-size: 0.875rem; color: hsl(0,0%,45%); line-height: 1.6; margin: 0; }
@media (max-width: 768px) { .team-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; } }

/* Stats */
.stats-section { padding: 4rem 0; background: #2e6050; color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
.stat-card { padding: 1.5rem 1rem; }
.stat-number { font-size: 3rem; font-weight: 800; line-height: 1; color: #fff; margin-bottom: 0.5rem; display: block; }
.stat-label { font-size: 0.95rem; color: rgba(255,255,255,0.8); line-height: 1.4; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2,1fr); } .stat-number { font-size: 2.25rem; } }

/* ═══════════════════════════════════════════
   SPECS TABLE – blogposzt / általános táblázatok
   NEM vonatkozik a .house-info .specs-table -re!
   ═══════════════════════════════════════════ */
.blog-post-content .specs-table,
.legal-content .specs-table,
.specs-table-wrapper .specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #e0ece6;
}
.blog-post-content .specs-table th,
.legal-content .specs-table th,
.specs-table-wrapper .specs-table th {
    background: #2e6050;
    color: #fff;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
}
.blog-post-content .specs-table td,
.legal-content .specs-table td,
.specs-table-wrapper .specs-table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #e0ece6;
    color: hsl(0,0%,20%);
}
.blog-post-content .specs-table tr:last-child td,
.legal-content .specs-table tr:last-child td,
.specs-table-wrapper .specs-table tr:last-child td {
    border-bottom: none;
}
.blog-post-content .specs-table tr:nth-child(even) td,
.legal-content .specs-table tr:nth-child(even) td,
.specs-table-wrapper .specs-table tr:nth-child(even) td {
    background: #f8faf9;
}
.blog-post-content .specs-table td:first-child,
.legal-content .specs-table td:first-child,
.specs-table-wrapper .specs-table td:first-child {
    font-weight: 600;
    color: hsl(0,0%,25%);
    width: 45%;
}

/* Document List */
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: #fff; border: 1px solid #e0ece6; border-radius: 0.5rem; margin-bottom: 0.75rem; transition: all 0.2s; }
.doc-item:hover { border-color: #2e6050; box-shadow: 0 2px 8px rgba(46,96,80,0.08); }
.doc-icon { width: 2.75rem; height: 2.75rem; background: rgba(46,96,80,0.1); border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; color: #2e6050; flex-shrink: 0; }
.doc-info { flex: 1; }
.doc-info h4 { font-size: 0.95rem; font-weight: 700; color: hsl(0,0%,15%); margin-bottom: 0.15rem; }
.doc-info p { font-size: 0.8rem; color: hsl(0,0%,50%); margin: 0; }
.doc-action a { color: #2e6050; font-weight: 700; font-size: 0.875rem; text-decoration: none; display: flex; align-items: center; gap: 0.3rem; transition: opacity 0.2s; }
.doc-action a:hover { opacity: 0.75; }
.doc-action a.btn-primary { color: hsl(0, 0%, 98%); }
.doc-action a.btn-primary:hover { opacity: 0.9; }


/* ═══════════════════════════════════════════
   HÁZTÍPUS RÉSZLETES OLDAL
   csaladi-hazak-reszlet.php
   ═══════════════════════════════════════════ */

/* Képgaléria szekció – 5 oszlopos desktopon */
.hazak-galeria-section {
    padding: 4rem 0;
    background: #f8faf9;
    background-image:
        repeating-linear-gradient(
            0deg,
            rgba(46,96,80,0.025) 0px,
            rgba(46,96,80,0.025) 1px,
            transparent 1px,
            transparent 40px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(46,96,80,0.025) 0px,
            rgba(46,96,80,0.025) 1px,
            transparent 1px,
            transparent 40px
        );
}

.hazak-galeria-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.hazak-galeria-item {
    display: block;
    position: relative;
    border-radius: 0.6rem;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e8f0ec;
    text-decoration: none;
}

.hazak-galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.hazak-galeria-item:hover img {
    transform: scale(1.05);
}

.hazak-galeria-overlay {
    position: absolute;
    inset: 0;
    background: rgba(46,96,80,0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
}

.hazak-galeria-item:hover .hazak-galeria-overlay {
    opacity: 1;
    background: rgba(46,96,80,0.45);
}

/* House Detail Layout – 2 oszlop desktopon */
.house-detail-section {
    padding: 2.5rem 0 3rem;
}

.house-detail-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

/* Képgaléria bal oszlop */
.house-image-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

.house-image-main {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.house-image-main img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.house-image-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.house-image-thumbs img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.house-image-thumbs img:hover {
    opacity: 0.85;
    transform: scale(1.03);
}

/* Info jobb oszlop */
.house-info {
    position: sticky;
    top: 2rem;
    min-width: 0;
}

.house-info h1 {
    font-size: 2rem;
    font-weight: 700;
    color: hsl(0, 0%, 12%);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.house-info > p {
    color: hsl(0, 0%, 40%);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Specs tábla a house-info-n belül – egyszerű stílus, NEM blog stílus */
.house-info .specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.house-info .specs-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid hsl(0, 0%, 92%);
    color: hsl(0, 0%, 40%);
}

.house-info .specs-table tr:last-child td {
    border-bottom: none;
}

.house-info .specs-table td:first-child {
    font-weight: 600;
    color: hsl(0, 0%, 25%);
    white-space: nowrap;
    width: 40%;
}

.house-info .specs-table tr:nth-child(even) {
    background: hsl(0, 0%, 98%);
}

.house-info .specs-table tr:nth-child(even) td {
    background: transparent;
}

/* Ár blokk */
.house-price-block {
    background: hsl(160, 15%, 96%);
    border: 1px solid hsl(160, 15%, 88%);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.house-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
}

.house-price-row + .house-price-row {
    border-top: 1px solid hsl(160, 15%, 88%);
}

.house-price-label {
    font-size: 0.9rem;
    color: hsl(0, 0%, 40%);
    font-weight: 500;
}

.house-price-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #2e6050;
}

/* Section label */
.section-label {
    display: inline-block;
    background: rgba(46, 96, 80, 0.1);
    color: #2e6050;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* Típusház kártya – thumbnail galéria */
.type-house-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.type-house-thumbs a {
    display: block;
    border-radius: 0.5rem;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    position: relative;
    text-decoration: none;
    background: #e8f0ec;
}
.type-house-thumbs a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, opacity 0.25s ease;
}
.type-house-thumbs a img[src=""],
.type-house-thumbs a img:not([src]) {
    display: none;
}
.type-house-thumbs a::after {
    content: '→';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46,96,80,0);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.25s, background 0.25s;
}
.type-house-thumbs a:hover img {
    transform: scale(1.06);
    opacity: 0.9;
}
.type-house-thumbs a:hover::after {
    opacity: 1;
    background: rgba(46,96,80,0.3);
}
.type-house-thumbs a:not(:has(img[src])),
.type-house-thumbs a:empty {
    border: 2px dashed #c0dfd1;
}
@media (max-width: 768px) {
    .type-house-thumbs {
        gap: 0.4rem;
    }
}

/* Wrapper: főkép + thumbs együtt */
.type-house-image-wrapper {
    display: flex;
    flex-direction: column;
}
.type-house-image-wrapper .type-house-image {
    height: auto;
    overflow: hidden;
}
.type-house-image-wrapper .type-house-thumbs {
    flex: 1;
}
.type-house-image-wrapper .type-house-thumbs a {
    aspect-ratio: unset;
    height: 100%;
    overflow: hidden;
}


/* ═══════════════════════════════════════════
   HÁZTÍPUS RÉSZLETES OLDAL – RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 1024px) {
    .hazak-galeria-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .house-detail-layout {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .house-info h1 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .house-detail-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .house-info {
        position: static;
    }

    .house-info h1 {
        font-size: 1.5rem;
    }

    .house-image-thumbs {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .house-price-value {
        font-size: 1.05rem;
    }

    .house-price-label {
        font-size: 0.85rem;
    }

    .house-info .specs-table td:first-child {
        width: auto;
    }

    .hazak-galeria-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .hazak-galeria-section {
        padding: 2rem 0 3rem;
    }
}

@media (max-width: 480px) {
    .house-detail-section {
        padding: 1rem 0 2rem;
    }

    .house-detail-layout {
        gap: 1.25rem;
    }

    .house-info h1 {
        font-size: 1.35rem;
    }

    .house-info > p {
        font-size: 0.9rem;
    }

    .house-image-main {
        border-radius: 0.5rem;
    }

    .house-image-thumbs {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }

    .house-image-thumbs img {
        border-radius: 0.35rem;
    }

    .house-info .specs-table {
        font-size: 0.825rem;
    }

    .house-info .specs-table td {
        padding: 0.5rem 0.5rem;
    }

    .house-info .specs-table td:first-child {
        white-space: normal;
    }

    .house-price-block {
        padding: 1rem;
    }

    .house-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
    }

    .house-price-value {
        font-size: 1.1rem;
    }

    .hazak-galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }

    .btn-primary.btn-full,
    .btn-outline-full {
        font-size: 0.95rem;
        padding: 0.85rem 1.5rem;
    }

    .house-detail-section h2 {
        font-size: 1.35rem;
    }

    .house-detail-section p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
}

/* Industrial Buildings */
.ipari-blocks { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin: 3rem 0; }
.ipari-block { background: #f8faf9; border-radius: 1rem; overflow: hidden; border: 1px solid #e0ece6; transition: all 0.3s; }
.ipari-block:hover { box-shadow: 0 8px 20px rgba(46,96,80,0.1); border-color: #2e6050; transform: translateY(-3px); }
.ipari-block-img { overflow: hidden; aspect-ratio: 16/10; }
.ipari-block-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ipari-block:hover .ipari-block-img img { transform: scale(1.05); }
.ipari-block-content { padding: 1.5rem; }
.ipari-block-content h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; color: hsl(0,0%,10%); }
.ipari-block-content p { font-size: 0.9rem; color: hsl(0,0%,40%); line-height: 1.7; margin-bottom: 1rem; }
.ipari-block-content ul { list-style: none; padding: 0; margin: 0; }
.ipari-block-content li { font-size: 0.875rem; color: hsl(0,0%,25%); padding: 0.3rem 0 0.3rem 1.25rem; position: relative; }
.ipari-block-content li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 0.4rem; height: 0.4rem; border-radius: 50%; background: #2e6050; }
@media (max-width: 768px) { .ipari-blocks { grid-template-columns: 1fr; } }

/* Legal Pages */
.legal-section { padding: 4rem 0; background: #fff; }
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(0,0%,10%);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0ece6;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: hsl(0,0%,15%);
    margin: 1.5rem 0 0.5rem;
}
.legal-content p { color: hsl(0,0%,25%); line-height: 1.8; margin-bottom: 1rem; font-size: 0.95rem; }
.legal-content ul, .legal-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { color: hsl(0,0%,25%); line-height: 1.8; margin-bottom: 0.3rem; font-size: 0.95rem; }
.legal-content a { color: #2e6050; text-decoration: underline; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.875rem; }
.legal-content table th { background: #2e6050; color: #fff; padding: 0.6rem 1rem; text-align: left; }
.legal-content table td { padding: 0.6rem 1rem; border-bottom: 1px solid #e0ece6; color: hsl(0,0%,25%); }
.legal-content table tr:nth-child(even) td { background: #f8faf9; }
.legal-info-box { background: #f0f9f4; border: 1px solid #c0dfd1; border-left: 4px solid #2e6050; border-radius: 0.5rem; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.legal-info-box p { font-size: 0.9rem; }

/* Nav active state */
.nav-menu a.active {
    color: #2e6050;
    border-bottom: 2px solid #2e6050;
    padding-bottom: 2px;
}

/* ═══════════════════════════════════════════
   VIZUÁLIS DESIGN FEJLESZTÉSEK
   ═══════════════════════════════════════════ */

.page-hero {
    background: linear-gradient(150deg, #16352a 0%, #2e6050 55%, #1e4a3c 100%);
    color: #fff;
    padding: 4.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.18;
}
.page-hero::after {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 420px;
    height: 420px;
    border: 2px solid rgba(126,202,176,0.15);
    border-radius: 50%;
    pointer-events: none;
}
.page-hero .container {
    position: relative;
    z-index: 2;
}
.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.page-hero p,
.page-hero p.lead {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.88);
    max-width: 52rem;
    line-height: 1.65;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.page-hero .breadcrumb-nav {
    background: transparent;
    border-bottom: none;
    padding: 0 0 1.5rem 0;
}
.page-hero .breadcrumb li,
.page-hero .breadcrumb li a {
    color: rgba(255,255,255,0.72);
}
.page-hero .breadcrumb li[aria-current="page"] {
    color: rgba(255,255,255,0.95);
    font-weight: 600;
}
.page-hero .breadcrumb li + li::before {
    color: rgba(255,255,255,0.45);
}

.blog-listing-section,
.legal-section,
.house-detail-section {
    background-color: #fafcfb;
    background-image:
        repeating-linear-gradient(
            0deg,
            rgba(46,96,80,0.025) 0px,
            rgba(46,96,80,0.025) 1px,
            transparent 1px,
            transparent 40px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(46,96,80,0.025) 0px,
            rgba(46,96,80,0.025) 1px,
            transparent 1px,
            transparent 40px
        );
}

.blog-post-section {
    background: #fff;
    position: relative;
}
.blog-post-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #2e6050, #7ecab0, transparent);
}

.contact-section {
    background: #fff;
    background-image:
        radial-gradient(circle at 90% 10%, rgba(46,96,80,0.07) 0%, transparent 55%),
        radial-gradient(circle at 10% 90%, rgba(126,202,176,0.06) 0%, transparent 50%);
}

.gallery-section {
    background: #f5f7f6;
    background-image:
        repeating-linear-gradient(
            -45deg,
            rgba(46,96,80,0.02) 0px,
            rgba(46,96,80,0.02) 1px,
            transparent 1px,
            transparent 8px
        );
}

.blog-card::before,
.blog-preview-card::before,
.ipari-block::before,
.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2e6050, #7ecab0);
    opacity: 0;
    transition: opacity 0.3s;
}
.blog-card,
.blog-preview-card,
.ipari-block,
.team-card {
    position: relative;
}
.blog-card:hover::before,
.blog-preview-card:hover::before,
.ipari-block:hover::before,
.team-card:hover::before {
    opacity: 1;
}

.legal-content h2 {
    position: relative;
    padding-left: 1rem;
}
.legal-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 4px;
    background: linear-gradient(to bottom, #2e6050, #7ecab0);
    border-radius: 2px;
}
.legal-footer-nav {
    background: #f0f7f4;
    border: 1px solid #c8e0d6;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    margin-top: 2rem;
}
.legal-footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}
.legal-footer-nav ul li a {
    display: inline-block;
    background: #2e6050;
    color: #fff;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.legal-footer-nav ul li a:hover {
    background: #1a4a38;
    transform: translateY(-1px);
}

/* Oldalspecifikus hero háttérképek */
.page-hero--csaladi::before { background-image: url('/images/bg-hero-csaladi.jpg'); opacity: 0.2; }
.page-hero--blog::before { background-image: url('/images/bg-hero-blog.jpg'); opacity: 0.2; }
.page-hero--ipari::before { background-image: url('/images/bg-hero-ipari.jpg'); opacity: 0.22; }
.page-hero--rolunk::before { background-image: url('/images/bg-hero-rolunk.jpg'); opacity: 0.2; }
.page-hero--kapcsolat::before { background-image: url('/images/bg-hero-kapcsolat.jpg'); opacity: 0.18; }

@media (max-width: 768px) {
    .page-hero {
        padding: 3rem 0 2.5rem;
    }
    .page-hero::after {
        display: none;
    }
    .legal-content h2 {
        padding-left: 0.875rem;
    }
    .legal-footer-nav ul {
        flex-direction: column;
    }
    .doc-item:hover {
        padding-left: 1.25rem;
    }
}

/* ═══════════════════════════════════════════
   SZEKCIÓ HÁTTÉRKÉPEK ÉS TAPÉTÁK
   ═══════════════════════════════════════════ */

.services-section {
    background-color: #f8faf9;
}

.process-section {
    position: relative;
    background-color: #f8faf9;
    background-image: url('/images/bg-tapeta-vonalhalo.jpg');
    background-size: 300px 300px;
    background-repeat: repeat;
}
.process-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(248, 250, 249, 0.91);
    pointer-events: none;
    z-index: 0;
}
.process-section > .container {
    position: relative;
    z-index: 1;
}

.faq-section {
    position: relative;
    background-color: #f9faf8;
    background-image: url('/images/bg-tapeta-vonalhalo.jpg');
    background-size: 500px 500px;
    background-repeat: repeat;
}
.faq-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(249, 250, 248, 0.90);
    pointer-events: none;
    z-index: 0;
}
.faq-section > .container {
    position: relative;
    z-index: 1;
}

.blog-listing-section {
    background-image: url('/images/bg-tapeta-pontok.png') !important;
    background-size: 200px 200px !important;
    background-color: #fafcfb;
    background-blend-mode: multiply;
}

.ipari-blocks { }
section:has(.ipari-blocks) {
    position: relative;
    background-color: #fff;
    background-image: url('/images/bg-tapeta-acellap.jpg');
    background-size: 400px 400px;
    background-repeat: repeat;
}
section:has(.ipari-blocks)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.93);
    pointer-events: none;
    z-index: 0;
}
section:has(.ipari-blocks) > .container {
    position: relative;
    z-index: 1;
}

.gallery-section {
    background-color: #f5f7f6;
    background-image: url('/images/bg-tapeta-sotetbeton.jpg');
    background-size: 600px 600px;
    background-repeat: repeat;
    background-blend-mode: luminosity;
}

.section-divider-angled {
    display: block;
    height: 48px;
    background: inherit;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 40%);
    margin-top: -1px;
    position: relative;
    z-index: 2;
}

.feature-strip {
    background: linear-gradient(135deg, #1e4a3c 0%, #2e6050 100%);
    color: #fff;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}
.feature-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            60deg,
            rgba(255,255,255,0.03) 0px,
            rgba(255,255,255,0.03) 1px,
            transparent 1px,
            transparent 30px
        );
    pointer-events: none;
}

.team-section {
    background-color: #f8faf9;
    background-image: url('/images/bg-tapeta-vaszon.jpg');
    background-size: 400px 400px;
    background-repeat: repeat;
}

.vaszon-fullwidth-band {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    min-height: 200px;
    background-image: url('/images/bg-tapeta-vaszon.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
.vaszon-fullwidth-band::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.certificates-section {
    background-color: #ffffff;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

.stats-section {
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            -55deg,
            rgba(255,255,255,0.04) 0px,
            rgba(255,255,255,0.04) 1px,
            transparent 1px,
            transparent 20px
        );
    pointer-events: none;
}

.documents-section,
section:has(.doc-list) {
    position: relative;
    background-color: #fff;
    background-image: url('/images/bg-tapeta-blueprint.png');
    background-size: 500px 500px;
    background-repeat: repeat;
}
section:has(.doc-list)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.93);
    pointer-events: none;
    z-index: 0;
}
section:has(.doc-list) > .container {
    position: relative;
    z-index: 1;
}

.contact-section {
    background-image:
        radial-gradient(circle at 90% 10%, rgba(46,96,80,0.07) 0%, transparent 55%),
        radial-gradient(circle at 10% 90%, rgba(126,202,176,0.06) 0%, transparent 50%),
        url('/images/bg-tapeta-topografikus.png') !important;
    background-size: auto, auto, 500px 500px;
    background-repeat: no-repeat, no-repeat, repeat;
}

.blog-post-section::before {
    background: linear-gradient(to bottom, #2e6050 0%, #7ecab0 40%, rgba(46,96,80,0.1) 100%);
}

.legal-section {
    background-color: #fafcfb;
    background-image:
        url('/images/bg-tapeta-vonalhalo.png'),
        linear-gradient(to bottom, #fff 0%, #f8faf9 100%) !important;
    background-size: 300px 300px, auto;
    background-repeat: repeat, no-repeat;
    background-blend-mode: multiply, normal;
}

.doc-item {
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}
.doc-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #2e6050, #7ecab0);
    opacity: 0;
    transition: opacity 0.25s;
}
.doc-item:hover::before {
    opacity: 1;
}
.doc-item:hover {
    padding-left: 1.5rem;
}

.stat-number {
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-card {
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    transition: background 0.3s;
}
.stat-card:hover {
    background: rgba(255,255,255,0.08);
}

.highlight-row {
    background: linear-gradient(135deg, #f0f9f4 0%, #e8f5ef 100%);
    border: 1px solid #c0dfd1;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════
   IDŐVONAL – Rólunk oldal
   ═══════════════════════════════════════════ */

.idovonal-wrapper {
    position: relative;
    padding: 0.5rem 0 1rem;
}

.idovonal-wrapper::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #2e6050 0%, #7ecab0 75%, transparent 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

.idovonal-elem {
    display: grid;
    grid-template-columns: 1fr 64px 1fr;
    align-items: flex-start;
    margin-bottom: 2.75rem;
}

.idovonal-tartalom {
    background: #fff;
    border: 1px solid #e0ece6;
    border-radius: 1rem;
    padding: 1.75rem 1.75rem 1.5rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.idovonal-tartalom:hover {
    box-shadow: 0 10px 32px rgba(46, 96, 80, 0.14);
    transform: translateY(-4px);
    border-color: #2e6050;
}

.idovonal-ev {
    display: inline-block;
    background: linear-gradient(135deg, #2e6050, #1a3a2e);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.28rem 0.85rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.idovonal-ev--aktiv {
    background: linear-gradient(135deg, #2e6050, #5aaa8a);
}

.idovonal-ikon-keret {
    width: 46px;
    height: 46px;
    background: rgba(46, 96, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2e6050;
    margin-bottom: 1rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.idovonal-tartalom:hover .idovonal-ikon-keret {
    background: #2e6050;
    color: #fff;
}

.idovonal-tartalom h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: hsl(0, 0%, 10%);
    margin-bottom: 0.55rem;
    line-height: 1.35;
}

.idovonal-tartalom p {
    font-size: 0.875rem;
    color: hsl(0, 0%, 38%);
    line-height: 1.75;
    margin: 0;
}

.idovonal-csomopont {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1.9rem;
    position: relative;
    z-index: 1;
}

.idovonal-pont {
    display: block;
    width: 20px;
    height: 20px;
    background: #2e6050;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #2e6050;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.idovonal-elem:hover .idovonal-pont {
    transform: scale(1.25);
}

.idovonal-pont--aktiv {
    background: linear-gradient(135deg, #2e6050, #7ecab0);
    box-shadow: 0 0 0 3px #2e6050;
    animation: idovonal-pulsz 2.8s ease-in-out infinite;
}

@keyframes idovonal-pulsz {
    0%, 100% { box-shadow: 0 0 0 3px #2e6050, 0 0 0 rgba(46, 96, 80, 0); }
    50%       { box-shadow: 0 0 0 3px #2e6050, 0 0 0 8px rgba(46, 96, 80, 0.2); }
}

.idovonal-tartalom--aktiv {
    background: linear-gradient(140deg, #f3faf7 0%, #eaf5f0 100%);
    border-color: rgba(46, 96, 80, 0.35);
    box-shadow: 0 6px 24px rgba(46, 96, 80, 0.12);
}

.idovonal-elem--bal .idovonal-tartalom::after {
    content: '';
    position: absolute;
    top: 1.85rem;
    right: -9px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-top: 1px solid #e0ece6;
    border-right: 1px solid #e0ece6;
    transform: rotate(45deg);
    border-radius: 2px;
}

.idovonal-elem--jobb .idovonal-tartalom::after {
    content: '';
    position: absolute;
    top: 1.85rem;
    left: -9px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-bottom: 1px solid #e0ece6;
    border-left: 1px solid #e0ece6;
    transform: rotate(45deg);
    border-radius: 2px;
}

.idovonal-tartalom--aktiv::after {
    background: #eaf5f0;
    border-color: rgba(46, 96, 80, 0.35);
}

.idovonal-ures { }

@media (max-width: 768px) {
    .idovonal-wrapper::before {
        left: 22px;
        transform: none;
    }

    .idovonal-elem {
        grid-template-columns: 44px 1fr;
        grid-template-rows: auto;
        margin-bottom: 2rem;
    }

    .idovonal-elem--bal .idovonal-tartalom,
    .idovonal-elem--jobb .idovonal-tartalom {
        grid-column: 2;
        grid-row: 1;
    }

    .idovonal-elem--bal .idovonal-csomopont,
    .idovonal-elem--jobb .idovonal-csomopont {
        grid-column: 1;
        grid-row: 1;
        padding-top: 1.9rem;
    }

    .idovonal-elem--bal .idovonal-ures,
    .idovonal-elem--jobb .idovonal-ures {
        display: none;
    }

    .idovonal-elem--bal .idovonal-tartalom::after,
    .idovonal-elem--jobb .idovonal-tartalom::after {
        display: none;
    }

    .idovonal-tartalom {
        padding: 1.35rem 1.25rem 1.2rem;
    }
}

/* Blog poszt inline kepek */
.post-inline-img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    display: block;
    margin: 2rem 0;
    aspect-ratio: 16/9;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

/* ═══════════════════════════════════════════
   RÓLUNK OLDAL – MOBIL JAVÍTÁSOK
   ═══════════════════════════════════════════ */

.filozofia-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.filozofia-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid hsl(0,0%,90%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.filozofia-ikon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.filozofia-cim {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2e6050;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .filozofia-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.specs-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -1rem;
    padding: 0 1rem;
}

.specs-table-wrapper .specs-table {
    min-width: 600px;
}

@media (max-width: 640px) {
    .specs-table-wrapper {
        margin: 0;
        padding: 0;
        overflow-x: visible;
    }

    .specs-table-wrapper .specs-table {
        min-width: 0;
    }

    .specs-table-wrapper .specs-table thead {
        display: none;
    }

    .specs-table-wrapper .specs-table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #e0ece6;
        border-radius: 0.5rem;
        overflow: hidden;
    }

    .specs-table-wrapper .specs-table tbody td {
        display: block;
        padding: 0.5rem 1rem;
        border-bottom: 1px solid #e0ece6;
        text-align: left;
        width: 100% !important;
    }

    .specs-table-wrapper .specs-table tbody td:last-child {
        border-bottom: none;
    }

    .specs-table-wrapper .specs-table tbody td::before {
        content: attr(data-label);
        display: block;
        font-weight: 700;
        font-size: 0.75rem;
        color: #2e6050;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        margin-bottom: 0.2rem;
    }

    .specs-table-wrapper .specs-table tbody td:first-child {
        background: #2e6050;
        color: #fff;
        font-weight: 600;
    }

    .specs-table-wrapper .specs-table tbody td:first-child::before {
        color: rgba(255,255,255,0.7);
    }

    .specs-table-wrapper .specs-table tbody tr:nth-child(even) td {
        background: transparent;
    }

    .specs-table-wrapper .specs-table tbody tr:nth-child(even) td:first-child {
        background: #2e6050;
    }
}

.szolgaltatas-lista {
    line-height: 2;
    margin: 1.5rem 0 1.5rem 1.5rem;
}

@media (max-width: 768px) {
    .szolgaltatas-lista {
        margin-left: 1rem;
        padding-left: 0.25rem;
    }
}

@media (max-width: 768px) {
    .vaszon-fullwidth-band {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .certificates-section {
        width: 100%;
        margin-left: 0;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

html, body {
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════
   IPARI ÉPÜLETEK – Kivitelezési folyamat timeline
   ═══════════════════════════════════════════ */

.ipari-folyamat-section {
    padding: 5rem 0;
    background: #fff;
    position: relative;
}

.ipari-folyamat-timeline {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding-left: 48px;
}

/* Függőleges vonal */
.ipari-folyamat-timeline::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #2e6050 0%, #7ecab0 70%, transparent 100%);
    border-radius: 2px;
}

/* Egy lépés */
.ipari-folyamat-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.ipari-folyamat-item:last-child {
    padding-bottom: 0;
}

/* Bal oldali marker (szám kör) */
.ipari-folyamat-marker {
    position: absolute;
    left: -48px;
    top: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.ipari-folyamat-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2e6050, #1a3a2e);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(46, 96, 80, 0.35);
    border: 3px solid #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ipari-folyamat-item:hover .ipari-folyamat-num {
    transform: scale(1.15);
    box-shadow: 0 4px 18px rgba(46, 96, 80, 0.45);
}

/* Kártya */
.ipari-folyamat-card {
    background: #f8faf9;
    border: 1px solid #e0ece6;
    border-radius: 1rem;
    padding: 1.75rem 1.75rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.ipari-folyamat-card:hover {
    border-color: #2e6050;
    box-shadow: 0 8px 28px rgba(46, 96, 80, 0.13);
    transform: translateY(-3px);
}

/* Nyíl a kártyán, az idővonalra mutat */
.ipari-folyamat-card::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 14px;
    width: 16px;
    height: 16px;
    background: #f8faf9;
    border-left: 1px solid #e0ece6;
    border-bottom: 1px solid #e0ece6;
    transform: rotate(45deg);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.ipari-folyamat-card:hover::before {
    border-color: #2e6050;
}

/* Ikon */
.ipari-folyamat-ikon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 0.65rem;
    background: rgba(46, 96, 80, 0.1);
    color: #2e6050;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.ipari-folyamat-card:hover .ipari-folyamat-ikon {
    background: #2e6050;
    color: #fff;
    transform: scale(1.08);
}

/* Szövegek */
.ipari-folyamat-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: hsl(0, 0%, 10%);
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.ipari-folyamat-card p {
    font-size: 0.9rem;
    color: hsl(0, 0%, 38%);
    line-height: 1.75;
    margin: 0;
}

.ipari-folyamat-card a {
    color: #2e6050;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ipari-folyamat-card a:hover {
    opacity: 0.75;
}

/* Utolsó elem – zöld kiemelés */
.ipari-folyamat-item:last-child .ipari-folyamat-card {
    background: linear-gradient(140deg, #f0f9f4 0%, #e8f5ef 100%);
    border-color: rgba(46, 96, 80, 0.3);
}

.ipari-folyamat-item:last-child .ipari-folyamat-card::before {
    background: #f0f9f4;
    border-color: rgba(46, 96, 80, 0.3);
}

.ipari-folyamat-item:last-child .ipari-folyamat-num {
    background: linear-gradient(135deg, #2e6050, #5aaa8a);
    animation: ipari-pulsz 2.8s ease-in-out infinite;
}

@keyframes ipari-pulsz {
    0%, 100% { box-shadow: 0 3px 12px rgba(46, 96, 80, 0.35); }
    50%       { box-shadow: 0 3px 12px rgba(46, 96, 80, 0.35), 0 0 0 8px rgba(46, 96, 80, 0.15); }
}

/* ── Tablet (max 1024px) ── */
@media (max-width: 1024px) {
    .ipari-folyamat-timeline {
        max-width: 100%;
    }
}

/* ── Mobil (max 768px) ── */
@media (max-width: 768px) {
    .ipari-folyamat-section {
        padding: 3.5rem 0;
    }

    .ipari-folyamat-timeline {
        padding-left: 40px;
    }

    .ipari-folyamat-timeline::before {
        left: 18px;
    }

    .ipari-folyamat-marker {
        left: -40px;
        width: 38px;
        height: 38px;
    }

    .ipari-folyamat-num {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        border-width: 2px;
    }

    .ipari-folyamat-card {
        padding: 1.35rem 1.25rem 1.2rem;
    }

    .ipari-folyamat-card::before {
        left: -8px;
        top: 10px;
        width: 14px;
        height: 14px;
    }

    .ipari-folyamat-ikon {
        width: 42px;
        height: 42px;
    }

    .ipari-folyamat-ikon svg {
        width: 22px;
        height: 22px;
    }

    .ipari-folyamat-card h3 {
        font-size: 1rem;
    }

    .ipari-folyamat-card p {
        font-size: 0.85rem;
    }

    .ipari-folyamat-item {
        padding-bottom: 2rem;
    }
}

/* ── Kis mobil (max 480px) ── */
@media (max-width: 480px) {
    .ipari-folyamat-section {
        padding: 2.5rem 0;
    }

    .ipari-folyamat-timeline {
        padding-left: 34px;
    }

    .ipari-folyamat-timeline::before {
        left: 15px;
        width: 2px;
    }

    .ipari-folyamat-marker {
        left: -34px;
        width: 32px;
        height: 32px;
    }

    .ipari-folyamat-num {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .ipari-folyamat-card {
        padding: 1.15rem 1rem 1rem;
        border-radius: 0.75rem;
    }

    .ipari-folyamat-card::before {
        display: none;
    }

    .ipari-folyamat-item {
        padding-bottom: 1.5rem;
    }
}