/* =================================================================
   COMPONENTS.CSS — Header · Nav · Footer · Cards · Cookie Banner
   ================================================================= */

/* -----------------------------------------------------------------
   Loading screen
   ----------------------------------------------------------------- */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Reverted to dark gradient per user request */
    background-color: rgba(15, 23, 42, 0.96);
    background-image: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    background-blend-mode: normal;
    /* subtle backdrop blur retained */
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.25s ease, backdrop-filter 0.25s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

[data-theme="dark"] .loading-overlay {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

h6 {
    color: #ffffff;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #E8D4BC;
    border-top: 3px solid #3A8690;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* -----------------------------------------------------------------
   Header (sticky) — restored
   ----------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-fixed);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition-normal);
    padding: var(--space-sm) 0;
}


.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    padding: var(--space-xs) 0;
}

[data-theme="dark"] .header {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: var(--gray-700);
}

[data-theme="dark"] .header.scrolled {
    background: rgba(15, 23, 42, 0.98);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: var(--space-md) 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 50px;
}

.site-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Prevent very long words from overflowing labels/buttons — allow wrapping
   and optional hyphenation where supported. Applies to nav buttons, language
   selectors, and common headings used on the business page. */
.nav-dropdown-toggle,
.language-toggle,
.language-btn span,
.hero-title-service,
.service-card h3,
.section-title {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    white-space: normal;
}

/* Hyphenation only for card content when the card's `lang` is Hungarian. */
.service-card:lang(hu) h3,
.service-card:lang(hu) p,
.feature-card:lang(hu) h3,
.feature-card:lang(hu) p {
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: normal;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* -----------------------------------------------------------------
   Navigation
   ----------------------------------------------------------------- */
.nav-menu {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    align-items: center;
}

.nav-menu a {
    position: relative;
    padding: var(--space-sm) var(--space-md);
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 80%;
}

/* Desktop dropdowns */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: var(--space-sm) var(--space-md);
    background: none;
    border: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-radius: var(--radius-md);
    white-space: nowrap;
    height: auto;
}

.nav-dropdown-toggle i {
    font-size: 0.65rem;
    transition: transform var(--transition-normal);
    display: inline-block;
}

.nav-dropdown-toggle .icon {
    width: 0.7em;
    height: 0.7em;
}

.nav-dropdown-toggle:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
}

.nav-dropdown-toggle:hover i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition-normal);
    z-index: var(--z-dropdown);
    margin-top: 0.25rem;
    padding: 0.5rem 0;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
    border-radius: 0;
}

.nav-dropdown-menu a:hover {
    background: var(--primary);
    color: white;
}

.nav-dropdown:hover .nav-dropdown-toggle {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
}

.nav-dropdown:hover .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

[data-theme="dark"] .nav-dropdown-menu {
    background: var(--gray-800);
    border-color: var(--border);
}

[data-theme="dark"] .nav-dropdown-menu a {
    color: var(--text-primary);
}

[data-theme="dark"] .nav-dropdown-menu a:hover {
    background: var(--primary);
    color: white;
}

/* -----------------------------------------------------------------
   Hamburger button
   ----------------------------------------------------------------- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: calc(var(--z-fixed) + 10);
    order: 3;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    margin: 2px 0;
    transition: all var(--transition-normal);
    border-radius: var(--radius-full);
    display: block;
}

[data-theme="dark"] .hamburger-line {
    background: var(--text-primary);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* -----------------------------------------------------------------
   Theme toggle
   ----------------------------------------------------------------- */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-left: var(--space-md);
}

.theme-toggle:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: transparent;
    transform: rotate(180deg) scale(1.02);
}

[data-theme="dark"] .theme-toggle {
    background: var(--gray-800);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

[data-theme="dark"] .theme-toggle:hover {
    background: linear-gradient(135deg, var(--primary-dark-bg), var(--primary-accent));
}

/* -----------------------------------------------------------------
   Language selector
   ----------------------------------------------------------------- */
.language-selector {
    position: relative;
    margin-right: var(--space-md);
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.language-toggle:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 160px;
    max-width: calc(100% - 2rem);
    box-sizing: border-box;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-height: 220px;
    overflow: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: var(--z-dropdown);
    margin-top: var(--space-xs);
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
    border-radius: var(--radius-md);
    margin: var(--space-xs);
}

.language-option:hover,
.language-option.active {
    background: var(--primary);
    color: white;
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
}

/* -----------------------------------------------------------------
   Mobile controls (inside hamburger menu)
   ----------------------------------------------------------------- */
.mobile-controls {
    display: none;
}

@media (max-width: 1050px) {

    .language-selector,
    .theme-toggle:not(.mobile) {
        display: none !important;
    }

    .mobile-controls {
        display: none;
    }

    .nav-menu.active .mobile-controls {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        margin-top: var(--space-2xl);
        margin-bottom: 250px;
        padding: 0 var(--space-xl) var(--space-xl);
        gap: var(--space-md);
    }

    .theme-toggle.mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-sm);
        width: 100%;
        height: clamp(48px, 6vw, 56px);
        background: var(--surface);
        border: 2px solid var(--border);
        border-radius: var(--radius-lg);
        color: var(--text-secondary);
        cursor: pointer;
        transition: all var(--transition-fast);
        font-size: clamp(0.8rem, 2.2vw, 1rem);
        font-weight: 600;
        margin: 0 auto var(--space-lg);
    }

    .theme-toggle.mobile:hover {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(30, 95, 242, 0.3);
    }

    .theme-toggle.mobile i {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
    }

    .mobile-language-section {
        width: 100%;
        padding-bottom: var(--space-2xl);
    }

    .mobile-language-section h4 {
        font-size: clamp(0.8rem, 2vw, 1rem);
        font-weight: 600;
        color: var(--text-primary);
        margin: 0 0 var(--space-md) 0;
        text-align: center;
    }

    .language-buttons {
        display: flex;
        gap: var(--space-sm);
        justify-content: space-between;
    }

    .language-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-xs);
        flex: 1;
        height: clamp(54px, 7vw, 66px);
        background: var(--surface);
        border: 2px solid var(--border);
        border-radius: var(--radius-lg);
        cursor: pointer;
        transition: all var(--transition-fast);
        font-size: clamp(0.7rem, 2vw, 0.9rem);
        font-weight: 600;
        color: var(--text-secondary);
    }

    .language-btn:hover {
        border-color: var(--primary);
        background: rgba(30, 95, 242, 0.05);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(30, 95, 242, 0.2);
    }

    .language-btn.active {
        background: var(--primary);
        border-color: var(--primary);
        color: white;
    }

    .language-btn .flag-icon {
        width: 20px;
        height: 15px;
        border-radius: 2px;
        object-fit: cover;
    }

    .language-btn span {
        font-size: 0.75rem;
        font-weight: 700;
        color: inherit;
    }

    /* Hamburger visible on mobile */
    .hamburger {
        display: flex;
    }

    /* Mobile nav panel */
    .nav-menu {
        position: fixed;
        top: var(--mobile-menu-top, 92px);
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--surface);
        width: 100%;
        height: calc(100dvh - var(--mobile-menu-top, 92px));
        display: block;
        z-index: 999;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        padding: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu ul {
        flex-direction: column;
        padding: var(--space-lg) var(--space-xl);
        gap: 0;
        width: 100%;
    }

    .nav-menu ul li {
        width: 100%;
    }

    .nav-menu ul li a {
        display: block;
        width: 100%;
        padding: var(--space-md) var(--space-lg);
        font-size: clamp(1rem, 2.8vw, 1.2rem);
        font-weight: 500;
        border-radius: var(--radius-lg);
        border: 1px solid var(--border);
        margin: var(--space-xs) 0;
        text-align: center;
        transition: all 0.3s ease;
        background: var(--surface);
        color: var(--text-primary);
        box-sizing: border-box;
    }

    .nav-menu ul li a:hover {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    /* Mobile dropdowns */
    .nav-dropdown {
        width: 100%;
        margin: var(--space-sm) 0;
        display: flex;
        flex-direction: column;
    }

    .nav-dropdown-toggle {
        width: 100%;

        display: block;
        padding: var(--space-md) var(--space-lg);
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        color: var(--text-primary);
        font-size: clamp(1rem, 2.5vw, 1.2rem);
        font-weight: 500;
        text-align: center;
        font-family: inherit;
        cursor: pointer;
        transition: all 0.3s ease;
        margin: var(--space-xs) 0;
        line-height: 1.4;
        box-sizing: border-box;
    }

    .nav-dropdown-toggle:hover,
    .nav-dropdown-toggle.active {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .nav-dropdown-toggle i {
        float: right;
        transition: transform var(--transition-normal);
        margin-left: auto;
        font-size: 0.7rem;
    }

    .nav-dropdown-toggle.active i {
        transform: rotate(180deg);
    }

    .nav-dropdown-menu {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: scaleY(0);
        transform-origin: top;
        transition: all var(--transition-normal);
        margin: 0;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .nav-dropdown-menu.active {
        opacity: 1;
        visibility: visible;
        transform: scaleY(1);
        max-height: 500px;
        padding: var(--space-md) 0;
    }

    .nav-dropdown-menu a {
        display: block;
        padding: var(--space-md) var(--space-lg);
        margin: var(--space-xs) 0;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        color: var(--text-primary);
        font-size: clamp(0.95rem, 2.5vw, 1.1rem);
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        line-height: 1.4;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    .nav-dropdown-menu a:hover {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    [data-theme="dark"] .nav-dropdown-toggle {
        background: var(--surface);
        border-color: var(--border);
        color: var(--text-primary);
    }

    [data-theme="dark"] .nav-dropdown-toggle:hover,
    [data-theme="dark"] .nav-dropdown-toggle.active {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

    [data-theme="dark"] .nav-dropdown-menu a {
        background: var(--surface);
        border-color: var(--border);
        color: var(--text-primary);
    }

    [data-theme="dark"] .nav-dropdown-menu a:hover {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }
}

/* -----------------------------------------------------------------
   Social links
   ----------------------------------------------------------------- */
.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    color: white;
    font-size: 1.25rem;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.social-link.instagram {
    background: linear-gradient(135deg, #E749CC, #833AB4);
}

.social-link.facebook {
    background: linear-gradient(135deg, var(--secondary), #1877F2);
}

.social-link.email {
    background: linear-gradient(135deg, var(--accent-orange), #FF6B35);
}

.social-link.whatsapp {
    background: linear-gradient(135deg, var(--primary), #25D366);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.social-icon {
    width: 1.2em;
    height: 1.2em;
    flex-shrink: 0;
    display: block;
}

/* Larger icon inside the service-icon-header box (60×60) */
.service-icon-header .service-icon-img {
    width: 2.2rem;
    height: 2.2rem;
}

/* -----------------------------------------------------------------
   Feature cards (service pages)
   ----------------------------------------------------------------- */
.feature-card {
    background: var(--surface);
    padding: var(--space-2xl);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
    transform-origin: left;
}

.feature-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    margin-bottom: var(--space-lg);
    position: relative;
}

.icon-bg {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all var(--transition-normal);
}

.feature-card:hover .icon-bg {
    transform: rotate(10deg) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.icon-bg i {
    font-size: clamp(1.1rem, 2.4vw, 1.8rem);
    color: white;
}

.feature-content h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    font-size: clamp(1rem, 1.8vw + 0.2rem, 1.4rem);
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-fast);
}

.feature-link:hover {
    gap: var(--space-md);
    color: var(--primary-dark);
}

.feature-link i {
    transition: transform var(--transition-fast);
}

.feature-link:hover i {
    transform: translateX(4px);
}

[data-theme="dark"] .feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: none;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .feature-card {
        padding: var(--space-xl);
        margin: 0 auto;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .feature-card {
        padding: var(--space-lg);
    }

    .icon-bg {
        width: 60px;
        height: 60px;
    }

    .icon-bg i {
        font-size: 1.2rem;
    }
}

/* -----------------------------------------------------------------
   Service cards
   ----------------------------------------------------------------- */
.service-icon-header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: var(--radius-xl);
    font-size: 1.5rem;
    margin: 0 auto var(--space-lg);
}

.pricinglist {
    background: var(--surface);
}

.pricinglist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: none;
    color: var(--text-primary);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

[data-theme="dark"] .service-card h3 {
    color: var(--primary-light);
}

/* Fixed-width pricing card variant */
.service-card-fixed {
    min-width: 320px;
    max-width: 320px;
    width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0 auto;
    gap: var(--space-md);
}

.service-card-fixed p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

@media (max-width: 480px) {
    .service-card-fixed {
        min-width: auto;
        max-width: 100%;
        width: 100%;
    }
}

/* -----------------------------------------------------------------
   Contact section
   ----------------------------------------------------------------- */
.contact {
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info-section h3 {
    margin-bottom: var(--space-lg);
}

.contact-info {
    margin: var(--space-xl) 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.contact-item:hover {
    background: rgba(0, 179, 85, 0.05);
    transform: translateX(5px);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: var(--radius-lg);
    font-size: 1.25rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.contact-value {
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-value:hover {
    color: var(--primary);
}

[data-theme="dark"] .contact {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: none;
    color: var(--text-primary);
}

/* Map embed */
.map-embed {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    flex: 1;
    min-height: 300px;
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 0;
}

.map-overlay {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 5;
    /* keep overlay above the hint so clicks open maps */
}

.contact-form-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* Align social links with the start of contact items in the contact column */
.contact-info-section .social-links {
    margin-top: var(--space-lg);
}

@media (max-width: 576px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .contact-form-column {
        height: auto;
        min-height: 320px;
    }

    .map-embed {
        min-height: 280px;
    }

    .map-embed iframe {
        min-height: 280px;
    }
}

/* -----------------------------------------------------------------
   Pricing table (shared)
   ----------------------------------------------------------------- */
.pricing-table-container {
    margin: var(--space-3xl) 0;
    overflow-x: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--border);
    background: var(--surface);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
}

.pricing-table th {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: var(--space-lg);
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.025em;
}

.pricing-table th:first-child {
    border-radius: var(--radius-lg) 0 0 0;
}

.pricing-table th:last-child {
    border-radius: 0 var(--radius-lg) 0 0;
}

.pricing-table td {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:last-child td:first-child {
    border-radius: 0 0 0 var(--radius-lg);
}

.pricing-table tr:last-child td:last-child {
    border-radius: 0 0 var(--radius-lg) 0;
}

.pricing-table tr:hover {
    background: rgba(0, 179, 85, 0.05);
}

.service-cell {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-weight: 600;
    color: var(--text-primary);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: var(--radius-lg);
    font-size: 1.125rem;
}

.price-cell {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary);
}

[data-theme="dark"] .pricing-table-container {
    background: var(--gray-800);
    box-shadow: none;
    border: 1px solid var(--border);
}

[data-theme="dark"] .pricing-table th {
    background: linear-gradient(135deg, var(--primary-dark-bg), #123852);
}

[data-theme="dark"] .pricing-table td {
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
}

[data-theme="dark"] .price-cell {
    color: var(--primary-accent);
}

@media (max-width: 576px) {
    .pricing-table-container {
        margin: var(--space-xl) 0;
    }

    .pricing-table th,
    .pricing-table td {
        padding: var(--space-sm);
        font-size: 0.875rem;
    }

    .service-cell {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .service-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

/* -----------------------------------------------------------------
   Cookie banner
   ----------------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: var(--z-modal);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
    gap: var(--space-lg);
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.9rem;
    color: var(--text-secondary);
    flex: 1;
}

.cookie-text i {
    font-size: 1.5rem;
    color: var(--accent-orange);
}

.cookie-actions {
    display: flex;
    gap: var(--space-md);
}

.cookie-btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
}

@media (max-width: 576px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

/* -----------------------------------------------------------------
   Footer
   ----------------------------------------------------------------- */
footer {
    background: linear-gradient(180deg, var(--primary-dark) 0%, #07203b 100%);
    color: var(--text-primary);
    padding: 60px 0 30px;
}

[data-theme="dark"] footer {
    background: linear-gradient(180deg, #12365e 0%, #164268 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    color: var(--text-primary);
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-col p {
    color: white;
    transition: color var(--transition-normal);
}

.footer-col p:hover {
    color: var(--text-primary);
}

/* Make h6 slightly larger on tablets and desktops for readability */
footer .footer-col h6 {
    margin: 0 0 4px;
    font-weight: 400;
    font-size: 0.8rem;
    line-height: 1.2;
    color: white;
    transition: color var(--transition-normal);
}

@media (min-width: 768px) {
    footer .footer-col h6 {
        font-size: 0.6rem;
    }
}

@media (min-width: 1024px) {
    footer .footer-col h6 {
        font-size: 0.8rem;
    }
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    transition: color var(--transition-normal), padding-left var(--transition-normal);
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

/* Social links in footer */
footer .social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition-normal);
}

footer .social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* -----------------------------------------------------------------
   ANPC logos (footer)
   ----------------------------------------------------------------- */
.anpc-link {
    display: inline-block;
    margin: 0;
    line-height: 1;
    padding: 0;
    text-decoration: none;
}

.anpc-img {
    display: inline-block;
    border: 0;
    width: 200px;
    margin: 5px;
}

/* -----------------------------------------------------------------
   Pricing label colour helpers
   ----------------------------------------------------------------- */
.label-ironing {
    color: var(--color-green);
}

.label-washing {
    color: var(--color-orange);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all var(--transition-normal);
    padding: var(--space-sm);
    border-radius: var(--radius-lg);
    margin-left: auto;
    margin-right: auto;
}

.scroll-indicator:hover {
    transform: translateX(-50%) scale(1.1);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .scroll-indicator:hover {
    background: rgba(30, 41, 59, 0.3);
}

.scroll-text {
    font-size: 0.875rem;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.scroll-arrow {
    color: var(--primary);
    font-size: 1.25rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-12px);
    }

    60% {
        transform: translateX(-50%) translateY(-6px);
    }
}

/* -----------------------------------------------------------------
   Map hint + responsive stacking for contact section
   ----------------------------------------------------------------- */
.map-embed .map-hint {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px 12px;
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    font-size: 0.95rem;
    z-index: 3;
    pointer-events: none;
    line-height: 1;
    text-align: center;
}

@media (max-width:480px) {
    .footer-col h4 {
        font-size: 1rem
    }

    .footer-col h6 {
        font-size: 0.9rem;
        font-weight: 600
    }
}

@media (max-width: 1000px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    /* Ensure info appears first, map below */
    .contact-info-section {
        order: 1;
    }

    .contact-form-column {
        order: 2;
    }

    .map-embed {
        min-height: 300px;
    }

    .map-embed iframe {
        position: relative;
        z-index: 1;
    }

    /* Keep the overlay clickable and above the iframe */
    .map-overlay {
        z-index: 5;
    }
}