/* =========================================================================
   TÁRSASHÁZI SZOLGÁLTATÓK — egyesített stíluslap
   A három prototípus stílusaiból deduplikálva, hibák javítva,
   fejlesztői (WordPress/Elementor) állványzat eltávolítva.
   ========================================================================= */

/* --- ARCULATI DESIGN TOKENEK --- */
:root {
    --primary-dark: #090D1A;
    --primary-navy: #0F172A;
    --brand-blue: #2563EB;
    --brand-cyan: #06B6D4;
    --brand-gold: #F59E0B;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --bg-base: #F8FAFC;
    --bg-card: #FFFFFF;
    --border-color: #E2E8F0;
    --success-green: #10B981;
    --container-width: 1200px;
    --border-radius-xl: 24px;
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-smooth: all 0.3s ease;
    --font-family: 'Plus Jakarta Sans', sans-serif;
}

/* --- ALAP BEÁLLÍTÁSOK --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    display: block;
}

/* --- TIPOGRÁFIA --- */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-navy);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 5.2vw, 3.8rem); }

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
    text-align: center;
}

p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

/* --- MODERN GOMBOK --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    font-weight: 700;
    font-size: 1rem;
    font-family: inherit;
    border-radius: var(--border-radius-md);
    transition: var(--transition-bounce);
    cursor: pointer;
    border: none;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--primary-navy);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    transform: translateY(-3px);
}

/* --- FEJLÉC ÉS NAVIGÁCIÓ --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 1.1rem 0;
    transition: var(--transition-smooth);
}

.header-wrap {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-symbol {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
    background-color: var(--brand-blue);
    background-image:
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='3.4' y='10' width='7' height='11.2' rx='1.1' fill='white'/><rect x='12.8' y='5.6' width='7.8' height='15.6' rx='1.1' fill='white'/><g fill='%230F172A'><rect x='4.9' y='12' width='1.5' height='1.5' rx='.3'/><rect x='7.4' y='12' width='1.5' height='1.5' rx='.3'/><rect x='4.9' y='14.8' width='1.5' height='1.5' rx='.3'/><rect x='7.4' y='14.8' width='1.5' height='1.5' rx='.3'/><rect x='4.9' y='17.6' width='1.5' height='1.5' rx='.3'/><rect x='7.4' y='17.6' width='1.5' height='1.5' rx='.3'/><rect x='14.3' y='8' width='1.6' height='1.6' rx='.3'/><rect x='17.1' y='8' width='1.6' height='1.6' rx='.3'/><rect x='14.3' y='11' width='1.6' height='1.6' rx='.3'/><rect x='17.1' y='11' width='1.6' height='1.6' rx='.3'/><rect x='14.3' y='14' width='1.6' height='1.6' rx='.3'/><rect x='17.1' y='14' width='1.6' height='1.6' rx='.3'/></g></svg>"),
        linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-cyan) 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    background-size: 28px 28px, cover;
}

.logo-brand-text {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary-navy);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.logo-brand-text span {
    color: var(--brand-blue);
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
    position: relative;
    cursor: pointer;
}

.nav-link.active {
    color: var(--brand-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-blue);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--brand-blue);
}

/* --- SZEKCIÓ ALAPOK --- */
.section {
    padding: 6rem 1.5rem;
    position: relative;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: center;
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--brand-blue);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.section-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem auto;
}

/* --- HERO SZEKCIÓ --- */
.hero {
    padding: 7rem 1.5rem 6rem 1.5rem;
    background:
        radial-gradient(circle at 10% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 40%),
        #ffffff;
}

.hero-columns {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
    align-items: center;
}

.hero-left { text-align: left; }

.hero-title {
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-title span {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero-visual { position: relative; }

.matchmaker {
    background-color: var(--primary-dark);
    border-radius: var(--border-radius-xl);
    padding: 2.5rem;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.matchmaker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.matchmaker-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #94A3B8;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.matchmaker-dot {
    width: 10px;
    height: 10px;
    background-color: var(--brand-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-cyan);
    animation: pulse-cyan 2s infinite;
}

.matchmaker-step {
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-md);
    padding: 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: 15px;
    align-items: center;
    transition: var(--transition-smooth);
}

.matchmaker-step:last-child { margin-bottom: 0; }

.matchmaker-step.active {
    background-color: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.4);
    transform: scale(1.02);
}

.matchmaker-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--brand-cyan);
    flex-shrink: 0;
}

.matchmaker-step.active .matchmaker-step-icon {
    background-color: var(--brand-blue);
    color: #ffffff;
}

.matchmaker-step h5 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.matchmaker-step p {
    color: #94A3B8;
    font-size: 0.85rem;
}

.hero-decor {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--brand-cyan) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.25;
    z-index: 1;
    pointer-events: none;
}

/* --- SZEREPKÖR-VÁLTÓ SZEKCIÓ --- */
.roles-section {
    background-color: var(--bg-base);
    border-top: 1px solid var(--border-color);
}

.role-switch {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.role-switcher {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 6px;
    border-radius: 100px;
    display: flex;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    position: relative;
}

.role-btn {
    padding: 1rem 2.5rem;
    border-radius: 100px;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    z-index: 2;
}

.role-btn.active { color: #ffffff; }

.role-slider {
    position: absolute;
    top: 6px;
    left: 6px;
    width: calc(50% - 6px);
    height: calc(100% - 12px);
    background-color: var(--brand-blue);
    border-radius: 100px;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.role-panes { position: relative; min-height: 380px; }

.role-pane {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.role-pane.active {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}

.role-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.role-text h3 {
    font-size: 2.1rem;
    margin-bottom: 0.5rem;
}

.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.checklist li {
    position: relative;
    padding-left: 35px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-navy);
}

.checklist li svg {
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    color: var(--brand-cyan);
}

.role-visual {
    background-color: #ffffff;
    border-radius: var(--border-radius-xl);
    padding: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.03);
    position: relative;
}

.role-visual h4 { margin-bottom: 1rem; }

.role-quote {
    padding: 1rem;
    background-color: #F8FAFC;
    margin-top: 1.5rem;
}

.role-quote p {
    font-style: italic;
    font-size: 0.9rem;
    color: var(--text-main);
}

.role-quote cite {
    font-size: 0.8rem;
    font-weight: 700;
    display: block;
    margin-top: 6px;
    font-style: normal;
}

/* --- FOLYAMAT IDŐVONAL --- */
.process-section {
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.process-path {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
}

.process-path::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 12%;
    width: 76%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.process-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 4px solid var(--bg-base);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand-blue);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
    transition: var(--transition-bounce);
}

.process-step:hover .process-circle {
    transform: scale(1.12);
    border-color: var(--brand-blue);
    background-color: var(--brand-blue);
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.2);
}

.process-step h4 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.process-step p { font-size: 0.95rem; max-width: 280px; }

/* --- KATEGÓRIA MOZAIK --- */
.categories-section { background-color: var(--bg-base); }

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

.mosaic-card {
    background-color: #ffffff;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    color: inherit;
}

.mosaic-card:nth-child(2) {
    transform: translateY(-15px);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04);
}

.mosaic-card:hover {
    transform: translateY(-20px) scale(1.02);
    border-color: var(--brand-blue);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
}

.mosaic-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    background-color: rgba(37, 99, 235, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
}

.mosaic-card:hover .mosaic-icon {
    background-color: var(--brand-blue);
    color: #ffffff;
}

.mosaic-card h4 { font-size: 1.3rem; }

.mosaic-link {
    margin-top: auto;
    font-weight: 700;
    color: var(--brand-blue);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* --- ARCHÍVUM BANNER --- */
.archive-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #111827 100%);
    color: white;
    padding: 5.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.archive-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
}

.archive-meta {
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.breadcrumbs {
    font-size: 0.85rem;
    color: #94A3B8;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumbs a:hover { color: #38BDF8; }
.breadcrumbs .current { color: #38BDF8; }

.archive-badge {
    background-color: rgba(6, 182, 212, 0.15);
    color: var(--brand-cyan);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.archive-title {
    color: white;
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    margin-bottom: 1rem;
}

.archive-desc {
    color: #94A3B8;
    max-width: 680px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --- ARCHÍVUM ELRENDEZÉS: tartalom + sidebar --- */
.archive-layout {
    display: grid;
    grid-template-columns: 2.8fr 1.2fr;
    gap: 3rem;
    padding: 5rem 1.5rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.archive-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.archive-count { font-weight: 700; color: var(--primary-navy); }
.archive-sort { font-size: 0.9rem; color: var(--text-muted); }

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.widget {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.widget-title {
    font-size: 1.15rem;
    border-bottom: 2px solid var(--bg-base);
    padding-bottom: 0.75rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-list li {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list li:hover, .category-list li.active {
    background-color: rgba(37, 99, 235, 0.05);
    color: var(--brand-blue);
}

.category-count {
    background-color: var(--bg-base);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

.category-list li.active .category-count {
    background-color: var(--brand-blue);
    color: white;
}

.widget-info {
    background-color: #EFF6FF;
    border-color: #BFDBFE;
}

.widget-info .widget-title { color: var(--brand-blue); border-bottom-color: #DBEAFE; }
.widget-info p { font-size: 0.92rem; color: #1E3A8A; margin-bottom: 0.8rem; }
.widget-info p:last-child { margin-bottom: 0; }

/* --- LOOP GRID (kártyalista) --- */
.loop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

.provider-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.provider-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(15, 23, 42, 0.06);
    border-color: rgba(37, 99, 235, 0.2);
}

.card-cover {
    height: 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 1.25rem;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #1E293B 60%, var(--brand-blue) 160%);
    overflow: hidden;
}

.card-cover-name {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.provider-card:hover .card-cover { filter: brightness(1.08); }

.verified-ribbon {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: var(--success-green);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stars {
    color: var(--brand-gold);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-title { font-size: 1.25rem; color: var(--primary-navy); font-weight: 700; }
.card-title a:hover { color: var(--brand-blue); }

.card-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex-grow: 1;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.card-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-connect {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-blue);
    background-color: rgba(37, 99, 235, 0.06);
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-connect:hover {
    background-color: var(--brand-blue);
    color: white;
}

/* --- LAPOZÁS --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 3.5rem;
}

.page-num {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: white;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0 12px;
}

.page-num:hover, .page-num.active {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    background-color: rgba(37, 99, 235, 0.03);
}

.page-num.active {
    background-color: var(--brand-blue);
    color: white;
}

/* --- SZOLGÁLTATÓ PROFIL (Loop Item részletes kártya) --- */
.provider-profile {
    max-width: 950px;
    margin: 3.5rem auto;
    padding: 0 1.5rem;
}

.profile-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.profile-crumbs a { font-weight: 600; }
.profile-crumbs a:hover { color: var(--brand-blue); }

.profile-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.profile-back:hover { color: var(--brand-blue); }

.profile-card {
    width: 100%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    display: grid;
    grid-template-columns: 2.1fr 0.9fr;
    overflow: hidden;
}

.profile-info {
    padding: 2.5rem;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-name { font-size: 1.8rem; font-weight: 800; color: var(--primary-navy); }

.badge-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background-color: var(--success-green);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
}

.profile-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--bg-base);
    padding-bottom: 1rem;
    flex-wrap: wrap;
}

.profile-points {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--brand-gold);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.85rem;
}

.profile-block h6 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.location-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(245, 158, 11, 0.08);
    color: #D97706;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
}

.profile-about { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

.review-box {
    background-color: var(--bg-base);
    border-left: 3px solid var(--brand-blue);
    padding: 1rem 1.25rem;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.review-box p {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.review-box cite {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-blue);
    font-style: normal;
}

.profile-action {
    padding: 2.5rem;
    background-color: rgba(248, 250, 252, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    text-align: center;
}

.profile-frame {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-cyan) 100%);
    padding: 4px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
}

.profile-frame img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    background-color: var(--primary-navy);
}

.contact-actions { width: 100%; display: flex; flex-direction: column; gap: 10px; }

.action-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.btn-outline {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 10px 14px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    border-color: var(--brand-cyan);
    color: var(--brand-cyan);
    background-color: rgba(6, 182, 212, 0.02);
    transform: translateY(-2px);
}

.btn-solid {
    width: 100%;
    background: linear-gradient(135deg, var(--success-green) 0%, #059669 100%);
    color: #ffffff;
    border: none;
    padding: 12px 14px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.2);
    transition: var(--transition-bounce);
}

.btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
    filter: brightness(1.05);
}

/* --- JELENTKEZÉS SZEKCIÓ --- */
.apply-section {
    background-color: var(--bg-base);
    border-top: 1px solid var(--border-color);
}

.apply-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.apply-copy { display: flex; flex-direction: column; gap: 1.2rem; }
.apply-copy h2 { text-align: left; }

.apply-bullets {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1rem;
}

.apply-bullet { display: flex; gap: 1rem; align-items: flex-start; }

.apply-bullet-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.12);
    color: var(--success-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.apply-bullet-text h4 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.apply-bullet-text p { font-size: 0.92rem; }

.apply-form-card {
    background-color: white;
    border-radius: var(--border-radius-xl);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

.apply-form-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.apply-form-card > p { margin-bottom: 1.5rem; }

/* --- ŰRLAP ELEMEK (CF7 modal + jelentkezés) --- */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1.2rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    background-color: var(--bg-base);
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background-color: white;
}

textarea.form-input { height: 110px; resize: vertical; }

.form-submit {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #1d4ed8 100%);
    color: white;
    font-weight: 700;
    border: none;
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
    transition: var(--transition-bounce);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(37, 99, 235, 0.35);
}

/* --- MODAL DIALÓGUS --- */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(9, 13, 26, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 5000;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.modal-backdrop.open { display: flex; }

.modal {
    background-color: white;
    border-radius: var(--border-radius-xl);
    width: 100%;
    max-width: 550px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    position: relative;
    animation: modal-up 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.modal-header {
    background-color: var(--primary-dark);
    color: white;
    padding: 1.5rem 2rem;
    border-bottom: 4px solid var(--brand-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h4 { color: white; font-size: 1.2rem; }

.modal-close {
    background: none;
    border: none;
    color: #94A3B8;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover { color: white; }

.modal-body { padding: 2.5rem 2rem; }
.modal-body > p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; }

/* --- SIKER TOAST --- */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--success-green);
    color: white;
    padding: 1.2rem 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    z-index: 6000;
    transform: translateY(150px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: calc(100vw - 60px);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.error {
    background-color: #E11D48;
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.3);
}

/* Honeypot (spam-csapda) — vizuálisan rejtett */
.hp-field {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Csatlakozás-választó panelei */
.apply-pane { display: none; }
.apply-pane.active { display: block; }

/* --- LÁBLÉC --- */
.site-footer {
    background-color: var(--primary-dark);
    color: #ffffff;
    padding: 5rem 1.5rem 2.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-cols {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand { display: flex; flex-direction: column; gap: 1.2rem; }
.footer-brand p { color: #94A3B8; }

.footer-group { display: flex; flex-direction: column; gap: 0.8rem; }

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.footer-group a, .footer-group p { color: #94A3B8; font-size: 0.95rem; }
.footer-group a:hover { color: #ffffff; }

.footer-copyright {
    max-width: var(--container-width);
    margin: 2rem auto 0 auto;
    display: flex;
    justify-content: space-between;
    color: #64748B;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --- ANIMÁCIÓK --- */
@keyframes pulse-cyan {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(6, 182, 212, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

@keyframes modal-up {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-columns,
    .role-pane,
    .archive-layout,
    .apply-layout {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .hero-left, .apply-copy h2 { text-align: center; }
    .apply-copy { text-align: center; }
    .apply-bullet { text-align: left; }
    .hero-buttons { justify-content: center; }

    .process-path { grid-template-columns: 1fr; gap: 3rem; }
    .process-path::before { display: none; }

    .mosaic, .loop-grid { grid-template-columns: 1fr 1fr; }
    .mosaic-card:nth-child(2) { transform: none; }

    .header-wrap { flex-direction: column; gap: 1.2rem; }

    .profile-card { grid-template-columns: 1fr; }
    .profile-info { border-right: none; border-bottom: 1px solid var(--border-color); }
    .profile-action { background-color: #ffffff; }
}

@media (max-width: 768px) {
    .section { padding: 4.5rem 1.5rem; }
    .mosaic, .loop-grid, .footer-cols { grid-template-columns: 1fr; }
    .footer-cols { gap: 2.5rem; text-align: center; }
    .footer-brand .logo-area, .footer-copyright { justify-content: center; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 1.2rem; }
    .role-btn { padding: 0.9rem 1.6rem; font-size: 0.9rem; }
    .toast { left: 20px; right: 20px; bottom: 20px; }
}
