/* 
   Premium Law Firm Design System 
   Colors: Dark Blue, Gold/Bronze Accent, White/Light Grey Backgrounds
*/

:root {
    --primary-color: #1a3a5c;
    /* Deep Navy Blue */
    --primary-light: #2a4a6c;
    --primary-dark: #0a2a4c;
    --accent-color: #c9a227;
    /* Premium Gold */
    --accent-hover: #a98a17;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --surface-color: #FFFFFF;
    --heading-color: #0B192C;
    --success: #28a745;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-white);
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.2;
    transition: color 0.4s ease;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

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

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-accent {
    background-color: var(--accent-color);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(212, 175, 55, 0.4);
}

.btn-block {
    width: 100%;
}

.btn-glow {
    animation: pulsate 2s infinite;
}

@keyframes pulsate {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #12293f 55%, #0d1f30 100%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    padding: 8px 0;
    position: relative;
}

.top-bar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.9);
    margin-right: 15px;
}

.contact-info a:hover {
    color: var(--accent-color);
}

.urgent-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.urgent-contact span {
    color: var(--accent-color);
    font-weight: 600;
}

.urgent-contact .phone-number {
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-mark {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 5px 10px;
    line-height: 1;
}

.logo-text h1 {
    font-size: 1.2rem;
    margin: 0;
}

.logo-text h1 span {
    color: var(--accent-color);
}

.logo-text p {
    font-size: 0.75rem;
    margin: 0;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Desktop: header shows booking CTA; the call button is mobile-only */
.header-actions .btn.header-call {
    display: none;
}

/* Header consultation CTA: compact so it fits the top strip */
.header-actions .btn.header-book {
    padding: 9px 16px;
    font-size: 0.8rem;
    gap: 6px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0;
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(11, 25, 44, 0.45), rgba(11, 25, 44, 0.55)), url('assets/photo4.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge.urgent {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: blink 2s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 1;
    }
}

.hero-title {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.hero-features i {
    color: var(--accent-color);
}

.form-card {
    background-color: rgba(255, 255, 255, 0.65);
    /* Áttetszőbb fehér a jobb üveghatásért */
    backdrop-filter: blur(16px);
    /* Intenzívebb háttérelmosás */
    -webkit-backdrop-filter: blur(16px);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    color: var(--text-main);
    max-width: 420px;
    /* Kisebb űrlap szélesség */
    margin-left: auto;
    /* Jobbra igazítás a grid cellában */
}

.form-card h3 {
    color: var(--primary-color);
}

.form-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color, #ddd);
    background-color: var(--bg-white);
    color: var(--text-main);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-note {
    font-size: 0.75rem !important;
    margin-top: 15px;
    margin-bottom: 0 !important;
    text-align: center;
}

.form-note i {
    color: var(--success);
}

/* Trust Stats */
.trust-stats {
    background: linear-gradient(135deg, var(--primary-color) 0%, #12293f 55%, #0d1f30 100%);
    color: white;
    padding: 50px 0;
    position: relative;
}

.trust-stats::before,
.trust-stats::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.trust-stats::before { top: 0; }
.trust-stats::after { bottom: 0; }

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Practice Areas */
.section-header {
    max-width: 700px;
    margin: 0 auto 50px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.practice-card {
    background: var(--surface-color);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.practice-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--accent-color);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    margin-top: 15px;
    color: var(--primary-light);
}

.practice-card:hover .read-more {
    color: var(--accent-color);
}

/* Why Me */
.why-me-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-me-image {
    position: relative;
}

.photo-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background-color: var(--bg-light);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    border: 1px dashed #ccc;
    box-shadow: var(--shadow-md);
}

.photo-placeholder i {
    font-size: 4rem;
    margin-bottom: 10px;
    color: #ccc;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--accent-color);
    color: white;
    padding: 20px;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-md);
    font-size: 0.9rem;
    line-height: 1.2;
}

.experience-badge span {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.benefit-text h4 {
    margin-bottom: 5px;
}

.benefit-text p {
    margin-bottom: 0;
    color: var(--text-muted);
}

/* Reviews */
.google-rating {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--surface-color);
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    margin-top: 20px;
}

.rating-score {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
}

.google-rating .stars {
    color: #fbbc05;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--surface-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    background-color: var(--primary-light);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 15px;
}

.reviewer-info h4 {
    margin-bottom: 0;
    font-family: var(--font-body);
    font-size: 1rem;
}

.reviewer-info .stars {
    color: #fbbc05;
    font-size: 0.8rem;
}

.google-icon {
    position: absolute;
    right: 0;
    top: 0;
    color: #4285F4;
    font-size: 1.5rem;
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
}

/* Media Section */
.media-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.logo-box {
    padding: 15px 30px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.logo-box:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.media-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

@media (min-width: 1200px) {
    .media-videos {
        grid-template-columns: repeat(3, 1fr);
    }

    .media-videos .video-card p {
        font-size: 0.85rem;
    }
}

.video-card {
    background: var(--surface-color);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    padding: 0 20px 18px;
    color: var(--text-main);
    font-weight: 600;
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

.video-placeholder {
    background-color: var(--bg-light);
    aspect-ratio: 16/9;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid #eee;
}

.video-placeholder:hover {
    background-color: #eee;
}

.video-placeholder i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* Lead Magnet */
.lead-magnet {
    background-color: var(--accent-color);
    color: white;
    padding: 60px 0;
}

.lead-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.lead-content h2 {
    color: white;
    font-size: 2rem;
}

.lead-content span {
    color: var(--primary-color);
}

.lead-content ul {
    list-style: none;
    margin-top: 20px;
}

.lead-content li {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}

.lead-form-box {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 8px;
}

.lead-form input {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color, #ddd);
    background: var(--bg-white);
    color: var(--text-main);
    border-radius: 4px;
    margin-bottom: 15px;
}

.lead-form button {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.lead-form small {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-align: center;
    display: block;
}

.lead-form a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #12293f 55%, #0d1f30 100%);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo .logo-mark {
    color: white;
    border-color: white;
    font-size: 1.5rem;
}

.footer-logo .logo-text {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-links a:hover {
    background-color: var(--accent-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-col li {
    margin-bottom: 12px;
    transition: var(--transition);
}

.contact-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-list i {
    color: var(--accent-color);
    margin-top: 5px;
}

.map-placeholder {
    width: 100%;
    height: 150px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.map-placeholder i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.map-note {
    font-size: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    font-size: 0.85rem;
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.legal-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legal-info a {
    color: rgba(255, 255, 255, 0.7);
}

/* Floating Buttons */
.floating-call-btn,
.floating-wa-btn {
    position: fixed;
    bottom: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
}

.floating-call-btn {
    right: 20px;
    background-color: var(--accent-color);
}

.floating-wa-btn {
    right: 90px;
    background-color: #25D366;
    /* WhatsApp Green */
}

.floating-call-btn:hover,
.floating-wa-btn:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {

    /* header: use the compact mobile variant on tablets as well */
    .top-bar {
        display: none;
    }

    .main-nav,
    .header-actions .btn {
        display: none;
    }

    .header-actions .btn.header-call {
        display: inline-flex;
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .mobile-menu-btn {
        display: block;
    }



    .hero-container,
    .why-me-container,
    .lead-container {
        grid-template-columns: 1fr;
    }

    .hero {
        text-align: center;
        padding: 60px 0;
    }

    .hero-features {
        justify-content: center;
    }

    .form-card {
        margin-top: 30px;
        text-align: left;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
        bottom: -10px;
        right: -10px;
    }

    .experience-badge span {
        font-size: 1.8rem;
    }

    .lead-content {
        text-align: center;
    }

    .lead-content li {
        justify-content: center;
    }
}

/* New Sections Formatting */
.topics-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.topic-pill {
    background: var(--bg-white);
    border: 1px solid var(--accent-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
}

.topic-pill:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--surface-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 3px solid var(--accent-color);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-card h4 {
    margin-bottom: 15px;
}

.news-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: var(--surface-color);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .main-nav,
    .header-actions .btn {
        display: none;
    }

    /* mobile: keep the call button visible in the header */
    .header-actions .btn.header-call {
        display: inline-flex;
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 50px 0;
    }

    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .footer-col {
        padding-left: 0 !important;
    }
}

/* =========================================
   Marquee Animation 
   ========================================= */

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    /* Fade edges for a seamless loop appearance */
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: marquee 35s linear infinite;
    gap: 30px;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 500;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
    }
}

/* =========================================
   Scroll Animations 
   ========================================= */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Dropdown Menu 
   ========================================= */

.main-nav .dropdown {
    position: relative;
    cursor: pointer;
}

.main-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: block !important;
    /* Felülírja az örökölt flex elrendezést */
    background: var(--surface-color);
    box-shadow: var(--shadow-md);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
    max-height: 60vh;
    overflow-y: auto;
}

.main-nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .dropdown-menu li {
    width: 100%;
}

.main-nav .dropdown-menu a {
    display: block;
    padding: 12px 15px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.85rem;
    line-height: 1.4;
    transition: var(--transition);
    border-radius: 4px;
}

.main-nav .dropdown-menu a:hover {
    color: var(--accent-color);
    background: var(--bg-light);
}

@media (max-width: 991px) {
    .main-nav .dropdown-menu {
        position: static;
        box-shadow: none;
        background: transparent;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 15px;
        display: none;
    }

    .main-nav .dropdown:hover .dropdown-menu {
        display: block;
    }
}
/* ==========================================================================
   About Page ("Rólam")
   ========================================================================== */

.about-intro-container {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 60px;
    align-items: start;
}

.about-photo {
    position: relative;
}

.about-photo img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-photo .experience-badge {
    bottom: -35px;
    right: -20px;
}

.about-bio h2 {
    position: relative;
    padding-bottom: 15px;
}

.about-bio h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.about-highlights {
    list-style: none;
    margin: 25px 0 0;
    padding: 0;
}

.about-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.about-highlights i {
    color: var(--accent-color);
    margin-top: 4px;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 30px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background-color: rgba(201, 162, 39, 0.35);
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    margin-left: -25px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.15rem;
    box-shadow: var(--shadow-sm);
}

.timeline-card {
    background: var(--surface-color);
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--accent-color);
    flex: 1;
}

.timeline-year {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.timeline-card h4 {
    margin-bottom: 8px;
}

.timeline-card p {
    margin-bottom: 0;
    color: var(--text-muted);
}

/* CTA Band */
.cta-band {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    padding: 55px 0;
}

/* Five practice cards in one row on wide (FHD) screens */
@media (min-width: 1200px) {
    .cards-grid-five {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }

    .cards-grid-five .practice-card {
        padding: 30px 18px;
    }

    .cards-grid-five .practice-card h3 {
        font-size: 1.15rem;
    }

    .cards-grid-five .practice-card p {
        font-size: 0.85rem;
    }

    .cards-grid-five .card-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .cards-grid-five {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Media page: featured RTL video frame */
.media-video-frame {
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #000;
}

/* Contact page: info boxes + large map */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.info-box {
    background: var(--surface-color);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--accent-color);
    padding: 30px 25px;
    text-align: center;
}

.info-box .info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background-color: rgba(201, 162, 39, 0.1);
    color: var(--accent-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.info-box h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-box a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
}

.info-box a:hover {
    color: var(--accent-color);
}

.big-map {
    height: 480px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .big-map {
        height: 320px;
    }
}

@media (max-width: 992px) {
    .about-intro-container {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .about-photo {
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .cta-band .container {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Homepage: intro CTA box, service chips + frosted-glass modal
   ========================================================================== */

.intro-cta-box {
    background: var(--surface-color);
    border-left: 5px solid var(--accent-color);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    padding: 40px 45px;
    max-width: 980px;
    margin: 0 auto;
    color: var(--text-main);
    line-height: 1.8;
}

.service-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-light);
    border: 1px solid rgba(26, 58, 92, 0.15);
    border-radius: 50px;
    padding: 12px 22px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.service-chip i {
    color: var(--accent-color);
}

.service-chip:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.service-chip:hover i {
    color: var(--accent-color);
}

/* Frosted glass modal */
.service-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(11, 25, 44, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.service-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.service-modal {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 45px 40px 35px;
    text-align: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 60px rgba(11, 25, 44, 0.35);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-modal-overlay.open .service-modal {
    transform: translateY(0) scale(1);
}

.service-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(26, 58, 92, 0.08);
    color: var(--primary-color);
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
}

.service-modal-close:hover {
    background: var(--accent-color);
    color: #fff;
}

.service-modal-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.12);
    color: var(--accent-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
}

.service-modal h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-modal p {
    text-align: left;
    color: var(--text-main);
    line-height: 1.75;
    font-size: 0.98rem;
}

@media (max-width: 768px) {
    .intro-cta-box {
        padding: 30px 25px;
    }

    .service-modal {
        padding: 40px 25px 25px;
    }
}

/* Mobile dropdown panel for the header nav */
@media (max-width: 992px) {
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface-color);
        box-shadow: var(--shadow-md);
        display: none;
        padding: 10px 0;
        z-index: 999;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        display: block;
        padding: 12px 24px;
        color: var(--primary-color);
    }

    .main-nav a::after {
        display: none;
    }

    .main-header {
        position: relative;
    }

    /* dropdown expands inline instead of overlay */
    .main-nav .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        min-width: 0;
        max-height: none;
        padding: 0 0 0 20px;
    }
}

/* KA logo image (replaces the text [KA] mark) */
.logo-mark-img {
    height: 54px;
    width: auto;
    display: block;
}

.footer-logo .logo-mark-img {
    height: 46px;
}

/* Decoratív sáv a Szolgáltatások és a Rólam között */
.divider-band {
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #12293f 55%, #0d1f30 100%);
    position: relative;
    overflow: hidden;
}

.divider-band::before,
.divider-band::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.divider-band::before { top: 0; }
.divider-band::after { bottom: 0; }

@media (max-width: 768px) {
    .divider-band { height: 60px; }
}
