/* ===================================
   STAVBAHUB - MODERN DESIGN SYSTEM
   =================================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --primary-blue-light: #3b82f6;
    --secondary-gray: #64748b;
    --background-light: #f8fafc;
    --background-white: #ffffff;
    --text-dark: #1e293b;
    --text-gray: #475569;
    --border-color: #e2e8f0;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --error-red: #ef4444;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header & Navigation */
.header {
    background-color: var(--background-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--primary-blue-dark);
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
}

.nav-link:hover {
    color: var(--primary-blue);
    background-color: var(--background-light);
}

.mobile-nav-toggle {
    display: none;
    border: 1px solid var(--border-color);
    background: var(--background-white);
    border-radius: var(--radius-md);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mobile-nav-toggle:hover {
    border-color: var(--primary-blue);
}

.mobile-nav-toggle:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.mobile-nav-toggle-line {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--text-dark);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav-toggle.open .mobile-nav-toggle-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-nav-toggle.open .mobile-nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open .mobile-nav-toggle-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-base);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--background-white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-gray);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* Cards */
.card {
    background-color: var(--background-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.card-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.card-text {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: white;
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.hero h1 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.hero p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

/* Search Bar */
.search-bar {
    background-color: var(--background-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-xl);
    max-width: 800px;
    margin: 0 auto;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: var(--spacing-md);
}

/* Homepage — O nás teaser (below hero search) */
.home-about-teaser {
    background-color: var(--background-white);
    padding: var(--spacing-xl) 0;
}

.home-about-teaser__inner {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
}

.home-about-teaser__title {
    margin: 0 0 var(--spacing-md);
    font-size: clamp(1.35rem, 2.5vw, var(--font-size-2xl));
    font-weight: 700;
    color: var(--text-dark);
}

.home-about-teaser__text {
    margin: 0 auto var(--spacing-lg);
    line-height: 1.7;
    color: var(--text-gray);
}

/* About page — /o-nas */
.about-page {
    background: linear-gradient(180deg, #f8fafc 0%, var(--background-white) 12rem);
}

.about-page__hero {
    max-width: 42rem;
    margin: 0 auto var(--spacing-xl);
    text-align: center;
}

.about-page__title {
    margin: 0 0 var(--spacing-md);
    font-size: clamp(1.75rem, 4vw, var(--font-size-4xl));
    font-weight: 800;
    color: var(--primary-blue-dark);
    letter-spacing: -0.02em;
}

.about-page__subtitle {
    margin: 0;
    font-size: var(--font-size-lg);
    line-height: 1.5;
    color: var(--text-gray);
}

.about-page__content {
    max-width: 52rem;
    margin: 0 auto var(--spacing-xl);
}

.about-page__content .card-text {
    margin-bottom: var(--spacing-md);
    line-height: 1.75;
    color: var(--text-gray);
}

.about-page__content .card-text:last-child {
    margin-bottom: 0;
}

.about-page__lead {
    font-size: var(--font-size-lg);
    color: var(--text-dark);
    font-weight: 500;
}

.about-page__benefits {
    max-width: 56rem;
    margin: 0 auto var(--spacing-xl);
}

.about-page__card {
    height: 100%;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.about-page__card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.about-page__card-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--primary-blue-dark);
}

.about-page__firms {
    max-width: 56rem;
    margin: 0 auto var(--spacing-xl);
    text-align: center;
}

.about-page__section-title {
    margin: 0 0 var(--spacing-sm);
    font-size: clamp(1.35rem, 3vw, var(--font-size-2xl));
    font-weight: 700;
    color: var(--primary-blue-dark);
}

.about-page__section-subtitle {
    margin: 0 auto var(--spacing-lg);
    max-width: 36rem;
    font-size: var(--font-size-base);
    line-height: 1.65;
    color: var(--text-gray);
}

.about-page__link-cards {
    text-align: center;
}

.about-page__card--link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-page__card--link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.35);
}

.about-page__card--link:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.about-page__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    max-width: 32rem;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .home-about-teaser {
        padding: var(--spacing-lg) 0;
    }

    .home-about-teaser__inner .btn {
        width: 100%;
        max-width: 20rem;
    }

    .about-page__content {
        margin-bottom: var(--spacing-lg);
    }

    .about-page__cta {
        flex-direction: column;
        width: 100%;
    }

    .about-page__cta .btn {
        width: 100%;
        max-width: 20rem;
        text-align: center;
    }
}

/* Homepage — SEO internal links (below hero) */
.home-seo-links {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, #0c1929 0%, #132a4a 50%, #0f172a 100%);
}

.home-seo-links__title {
    margin: 0 0 var(--spacing-xl);
    font-size: clamp(1.35rem, 2.5vw, var(--font-size-2xl));
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    color: #f1f5f9;
}

.home-seo-links__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.home-seo-links__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    min-height: 3.75rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.55);
    color: #e2e8f0;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.home-seo-links__card:hover {
    transform: translateY(-3px);
    border-color: rgba(96, 165, 250, 0.55);
    color: #ffffff;
    box-shadow:
        0 10px 36px rgba(37, 99, 235, 0.32),
        0 0 24px rgba(59, 130, 246, 0.18);
}

.home-seo-links__card:focus-visible {
    outline: 2px solid var(--primary-blue-light);
    outline-offset: 3px;
}

.home-seo-links__card-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 1.35;
}

.home-seo-links__card-arrow {
    flex-shrink: 0;
    font-size: 1.125rem;
    line-height: 1;
    color: rgba(147, 197, 253, 0.85);
    transition: transform 0.25s ease, color 0.25s ease;
}

.home-seo-links__card:hover .home-seo-links__card-arrow {
    transform: translateX(3px);
    color: #93c5fd;
}

@media (max-width: 640px) {
    .home-seo-links__grid {
        grid-template-columns: 1fr;
    }
}

.home-seo-links--promoted {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-2xl);
}

/* Homepage — featured provider rows (Airbnb-style horizontal scroll) */
.home-featured-services {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.home-featured-services__loading,
.home-featured-services__error {
    margin: 0;
    text-align: center;
    color: rgba(226, 232, 240, 0.85);
    font-size: var(--font-size-base);
}

.home-featured-row__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.home-featured-row__title {
    margin: 0;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #f1f5f9;
}

.home-featured-row__nav {
    display: none;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.home-featured-row__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
    color: #e2e8f0;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.home-featured-row__arrow:hover {
    border-color: rgba(147, 197, 253, 0.75);
    background: rgba(30, 58, 95, 0.85);
    color: #ffffff;
}

.home-featured-row__arrow:focus-visible {
    outline: 2px solid var(--primary-blue-light);
    outline-offset: 2px;
}

.home-featured-row__track-wrap {
    position: relative;
}

.home-featured-row__track {
    display: flex;
    align-items: stretch;
    gap: var(--spacing-md);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0.25rem 0.125rem 0.75rem;
    margin: 0 -0.125rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-featured-row__track::-webkit-scrollbar {
    display: none;
}

/* Compact search-style provider preview cards (homepage only) */
.home-featured-card.provider-card--home-preview {
    flex: 0 0 14.25rem;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 4px 12px rgba(37, 99, 235, 0.06);
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition:
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.home-featured-card.provider-card--home-preview:hover {
    border-color: #bfdbfe;
    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.06),
        0 8px 18px rgba(37, 99, 235, 0.1);
    transform: translateY(-3px);
}

.home-featured-card.provider-card--home-preview:focus-visible {
    outline: 2px solid var(--primary-blue-light);
    outline-offset: 3px;
}

.home-featured-card__media {
    position: relative;
    flex-shrink: 0;
    height: 7.25rem;
    min-height: 7.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.75rem;
    overflow: hidden;
    background: linear-gradient(145deg, #eef4ff 0%, #e8f0fa 55%, #dbeafe 100%);
    border-bottom: 1px solid #eef2f7;
}

.home-featured-card__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    background: transparent;
}

.home-seo-links .home-featured-card.provider-card:hover {
    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.06),
        0 8px 18px rgba(37, 99, 235, 0.1);
    transform: translateY(-3px);
}

.home-featured-card__img-fallback {
    font-size: 1.75rem;
    line-height: 1;
}

.home-featured-card__img-fallback[hidden] {
    display: none;
}

.home-featured-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.7rem 0.85rem 0.85rem;
    flex: 1 1 auto;
    min-height: 0;
}

.home-featured-card__name {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-featured-card__subtitle {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.35;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-featured-card__location {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--text-gray);
}

.home-featured-card__rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.4rem;
    margin-top: 0.1rem;
    font-size: 0.8rem;
}

.home-featured-card__stars {
    letter-spacing: 0.04em;
    line-height: 1;
}

.home-featured-card__rating-text {
    font-weight: 600;
    color: var(--text-dark);
}

.home-featured-card--view-all {
    justify-content: center;
    align-items: center;
    align-self: stretch;
    min-height: 100%;
    flex: 0 0 14.25rem;
    scroll-snap-align: start;
    border: 1px dashed rgba(96, 165, 250, 0.45);
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.35);
    color: #e2e8f0;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.home-featured-card--view-all:hover {
    transform: translateY(-3px);
    border-color: rgba(147, 197, 253, 0.75);
    color: #ffffff;
    box-shadow:
        0 10px 36px rgba(37, 99, 235, 0.28),
        0 0 24px rgba(59, 130, 246, 0.14);
}

.home-featured-card--view-all:focus-visible {
    outline: 2px solid var(--primary-blue-light);
    outline-offset: 3px;
}

.home-featured-card__view-all-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.5rem 1rem;
    text-align: center;
    min-height: 10.5rem;
}

.home-featured-card__view-all-text {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: #f1f5f9;
}

.home-featured-card__view-all-arrow {
    font-size: 1.35rem;
    color: rgba(147, 197, 253, 0.9);
    transition: transform 0.25s ease;
}

.home-featured-card--view-all:hover .home-featured-card__view-all-arrow {
    transform: translateX(3px);
}

.home-featured-row__empty {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-md);
}

.home-featured-row__empty p {
    margin: 0;
    color: rgba(203, 213, 225, 0.9);
}

@media (min-width: 641px) {
    .home-featured-row__nav {
        display: flex;
    }

    .home-featured-card.provider-card--home-preview,
    .home-featured-card--view-all {
        flex-basis: 15.5rem;
    }

    .home-featured-card__media {
        height: 7.75rem;
        min-height: 7.75rem;
    }
}

@media (max-width: 640px) {
    .home-featured-card.provider-card--home-preview,
    .home-featured-card--view-all {
        flex-basis: 13.25rem;
    }

    .home-featured-card__media {
        height: 6.75rem;
        min-height: 6.75rem;
        padding: 0.5rem 0.65rem;
    }

    .home-featured-card__view-all-inner {
        min-height: 9.5rem;
    }
}

/* Providers page — indexable SEO city links for active filter */
.providers-seo-cities {
    margin: var(--spacing-lg) 0 var(--spacing-xl);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    background: #f8fafc;
    border: 1px solid var(--border-color);
}

.providers-seo-cities__title {
    margin: 0 0 var(--spacing-md);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
}

.providers-seo-cities__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
}

.providers-seo-cities__link {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.providers-seo-cities__link:hover {
    border-color: var(--primary-color);
    background: #eff6ff;
}

/* Providers page — crawlable SEO landing destinations (SSR) */
.providers-seo-destinations {
    margin-top: 0.5rem;
    padding: 1.75rem 0 2.25rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 0%, transparent 100%);
}

.providers-seo-destinations__title {
    margin: 0 0 0.35rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #334155;
    letter-spacing: -0.01em;
}

.providers-seo-destinations__intro {
    margin: 0 0 1.15rem;
    max-width: 38rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #64748b;
}

.providers-seo-destinations__group {
    margin-bottom: 1rem;
}

.providers-seo-destinations__group:last-child {
    margin-bottom: 0;
}

.providers-seo-destinations__group-title {
    margin: 0 0 0.45rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.01em;
    text-transform: none;
}

.providers-seo-destinations__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.55rem;
}

.providers-seo-destinations__link {
    display: inline-block;
    padding: 0.15rem 0;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.45;
    color: #475569;
    text-decoration: none;
    transition: color 0.15s ease;
}

.providers-seo-destinations__link:hover {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (min-width: 900px) {
    .providers-seo-destinations .container {
        column-count: 1;
    }

    .providers-seo-destinations__group {
        break-inside: avoid;
    }
}

@media (max-width: 640px) {
    .providers-seo-destinations {
        padding: 1.35rem 0 1.75rem;
    }

    .providers-seo-destinations__links {
        gap: 0.25rem 0.45rem;
    }
}

@media (max-width: 640px) {
    .home-seo-links {
        padding: var(--spacing-xl) 0;
    }

    .home-seo-links__grid {
        grid-template-columns: 1fr;
    }
}

/* Form Elements */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Category Cards */
.category-card {
    background-color: var(--background-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.category-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

/* Provider Cards */
.provider-card.provider-card--linked {
    position: relative;
}

.provider-card__stretched-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.provider-card__stretched-link:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.provider-card--linked .provider-card-premium__cta,
.provider-card--linked .btn,
.provider-card--linked a.provider-card-premium__web-link,
.provider-card--linked a.provider-card-pro__web-link,
.provider-card--linked .provider-card-premium__mini-gallery-img--interactive {
    position: relative;
    z-index: 2;
}

.provider-card {
    background-color: var(--background-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.provider-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.provider-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.provider-name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.provider-category {
    color: var(--text-gray);
    font-size: var(--font-size-sm);
}

.provider-body {
    padding: var(--spacing-lg);
}

.provider-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.badge-pro {
    background-color: #dbeafe;
    color: var(--primary-blue);
}

.badge-pro-plus {
    background-color: #fef3c7;
    color: var(--warning-orange);
}

/* PRO+ premium callouts (partners feature) */
.pro-plus-premium-callout {
    text-align: left;
    background: linear-gradient(135deg, #f8fbff 0%, #eff6ff 48%, #fefce8 100%);
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: var(--radius-lg);
    padding: 1rem 1.15rem;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.08);
}

.pro-plus-premium-callout__inner {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.pro-plus-premium-callout__icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-md);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.pro-plus-premium-callout__body {
    flex: 1;
    min-width: 0;
}

.pro-plus-premium-callout__badge {
    display: inline-block;
    margin-bottom: 0.45rem;
    padding: 0.2rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #92400e;
    background: #fef3c7;
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: var(--radius-sm);
}

.pro-plus-premium-callout__title {
    margin: 0 0 0.35rem;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-dark);
}

.pro-plus-premium-callout__text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #334155;
}

.pro-plus-premium-callout__actions {
    margin-top: 0.85rem;
}

.pro-plus-premium-callout--pricing {
    margin: 1rem 0 1.25rem;
    text-align: center;
}

.pro-plus-premium-callout--pricing .pro-plus-premium-callout__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pro-plus-premium-callout--pricing .pro-plus-premium-callout__title {
    font-size: 1.05rem;
}

.pricing-card--pro-plus {
    border: 2px solid rgba(59, 130, 246, 0.22);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.1);
}

.pricing-features .pricing-feature-pro-plus {
    font-weight: 600;
    color: #1e3a8a;
}

/* PRO+ visibility marketing — /for-providers.html */
.pro-plus-visibility {
    padding-top: 0;
    padding-bottom: var(--spacing-xl);
}

.pro-plus-visibility__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: stretch;
    max-width: 960px;
    margin: 0 auto;
}

@media (min-width: 860px) {
    .pro-plus-visibility__layout {
        grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
        gap: 2rem 2.25rem;
        align-items: start;
    }
}

.pro-plus-visibility__copy {
    min-width: 0;
}

.pro-plus-visibility__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-blue, #2563eb);
}

.pro-plus-visibility__title {
    margin: 0 0 1rem;
    font-size: clamp(1.45rem, 3.8vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--primary-blue-dark, #1e3a5f);
}

.pro-plus-visibility__lead {
    margin: 0 0 1.15rem;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-gray, #475569);
}

.pro-plus-visibility__intro {
    margin: 0 0 0.65rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark, #334155);
}

.pro-plus-visibility__factors {
    margin: 0 0 1.15rem;
    padding-left: 1.25rem;
    color: var(--text-gray, #475569);
    line-height: 1.65;
    font-size: 0.9875rem;
}

.pro-plus-visibility__factors li {
    margin-bottom: 0.35rem;
}

.pro-plus-visibility__factors li:last-child {
    margin-bottom: 0;
}

.pro-plus-visibility__note {
    margin: 0 0 0.85rem;
    font-size: 0.9875rem;
    line-height: 1.65;
    color: var(--text-gray, #64748b);
}

.pro-plus-visibility__note--last {
    margin-bottom: 0;
}

.pro-plus-visibility__card {
    position: relative;
    min-width: 0;
}

.pro-plus-visibility__card-glow {
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-lg, 12px) + 2px);
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 45%, #f59e0b 100%);
    opacity: 0.55;
    filter: blur(0.5px);
}

.pro-plus-visibility__card-inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.35rem 1.35rem;
    background: linear-gradient(165deg, #ffffff 0%, #f8fbff 42%, #fffbeb 100%);
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: var(--radius-lg, 12px);
    box-shadow:
        0 12px 40px rgba(37, 99, 235, 0.14),
        0 2px 8px rgba(15, 23, 42, 0.06);
}

.pro-plus-visibility__card-badge {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 0.65rem;
    padding: 0.25rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #92400e;
    background: linear-gradient(180deg, #fef9c3 0%, #fef3c7 100%);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: var(--radius-sm, 6px);
}

.pro-plus-visibility__card-title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark, #0f172a);
}

.pro-plus-visibility__benefits {
    list-style: none;
    margin: 0 0 1.35rem;
    padding: 0;
    flex: 1;
}

.pro-plus-visibility__benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.65rem;
    font-size: 0.9375rem;
    line-height: 1.45;
    font-weight: 500;
    color: #334155;
}

.pro-plus-visibility__benefits li:last-child {
    margin-bottom: 0;
}

.pro-plus-visibility__check {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    margin-top: 0.1rem;
}

.pro-plus-visibility__cta {
    width: 100%;
    text-align: center;
    font-weight: 700;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.pro-plus-visibility__cta:hover {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.42);
}

@media (max-width: 859px) {
    .pro-plus-visibility__card-inner {
        padding: 1.25rem 1.15rem 1.15rem;
    }
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-delete-btn {
    position: absolute;
    top: var(--spacing-xs);
    right: var(--spacing-xs);
    background-color: var(--error-red);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-delete-btn {
    opacity: 1;
}

/* Pricing Cards */
.pricing-card {
    background-color: var(--background-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

.pricing-card.featured {
    border: 3px solid var(--primary-blue);
    transform: scale(1.05);
}

.pricing-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.pricing-price {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.pricing-tagline {
    font-size: var(--font-size-base);
    color: var(--text-gray);
    line-height: 1.5;
    margin: 0 0 var(--spacing-md);
}

.pricing-subtitle {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--text-gray);
    margin: 0 0 var(--spacing-lg);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.pricing-features li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-2xl);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.625rem;
}

.footer-logo {
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    line-height: 1;
    white-space: nowrap;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #f8fafc;
}

.footer-logo-text {
    display: inline-block;
    line-height: 1.1;
}

.footer-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
}

.footer-logo-img {
    display: block;
    height: 32px;
    width: auto;
    max-width: 40px;
    object-fit: contain;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    flex: 0 0 auto;
}

/* JPG logo fallback: hide white matte on dark footer */
.footer-logo-img--matte {
    mix-blend-mode: multiply;
}

.copyright {
    color: var(--secondary-gray);
    font-size: var(--font-size-sm);
    margin: 0;
}

.footer-content .copyright {
    margin-top: 0.125rem;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    color: rgba(226, 232, 240, 0.72);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-decoration: none;
    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.footer-link:hover {
    color: #f8fafc;
}

.footer-contact-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0;
    align-items: center;
}

.footer-instagram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-instagram-link svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.footer-legal-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.45rem 1.1rem;
    width: 100%;
    max-width: 52rem;
    margin: 0.65rem auto 0.5rem;
    padding: 0 0.25rem;
}

.footer-legal-nav .footer-link {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .footer-legal-nav {
        gap: 0.4rem 0.75rem;
    }

    .footer-legal-nav .footer-link {
        font-size: 0.75rem;
    }
}

.review-truth-check {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-gray, #475569);
    cursor: pointer;
}

.review-truth-check input[type="checkbox"] {
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--primary-blue, #2563eb);
    cursor: pointer;
}

.review-truth-check a {
    color: var(--primary-blue, #2563eb);
    text-decoration: none;
}

.review-truth-check a:hover {
    text-decoration: underline;
}

/* Sections */
.section {
    padding: var(--spacing-2xl) 0;
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
}

/* Server-rendered SEO landing (e.g. /elektrikari/zilinsky-kraj) */
.seo-landing-hero {
    position: relative;
    width: 100%;
    min-height: clamp(12.5rem, 38vw, 22rem);
    max-height: min(52vh, 26rem);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
}

.seo-landing-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    max-height: inherit;
}

.seo-landing-hero__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.seo-landing-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.45) 0%,
        rgba(15, 23, 42, 0.68) 55%,
        rgba(15, 23, 42, 0.78) 100%
    );
    pointer-events: none;
}

.seo-landing-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: clamp(2rem, 6vw, 3.5rem) var(--spacing-md);
    text-align: center;
}

.seo-landing-hero__title {
    margin: 0 0 var(--spacing-sm);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.seo-landing-hero__subtitle {
    margin: 0 auto;
    max-width: 42rem;
    font-size: clamp(1rem, 2.6vw, 1.125rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.seo-landing-page--with-hero.section {
    padding-top: var(--spacing-lg);
}

.seo-landing-page.section {
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-xl);
}

.seo-landing-page__title.section-title {
    margin-bottom: var(--spacing-md);
    font-size: clamp(1.5rem, 4vw, var(--font-size-3xl));
}

.seo-landing-intro {
    max-width: 42rem;
    margin: 0 auto var(--spacing-lg);
    padding: var(--spacing-md) var(--spacing-md);
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-gray);
    font-size: var(--font-size-base);
    line-height: 1.75;
    text-align: left;
}

.seo-landing-intro p {
    margin: 0 0 var(--spacing-md);
}

.seo-landing-intro p:last-child {
    margin-bottom: 0;
}

.seo-landing-intro__heading {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin: var(--spacing-md) 0 var(--spacing-sm);
}

.seo-landing-intro ul {
    margin: 0 0 var(--spacing-md);
    padding-left: 1.35rem;
}

.seo-landing-intro li {
    margin-bottom: 0.4rem;
}

.seo-landing-intro li:last-child {
    margin-bottom: 0;
}

.seo-landing-listing {
    margin-top: var(--spacing-md);
}

.seo-landing-listing .seo-landing-listing__meta {
    max-width: 42rem;
    margin: 0 auto var(--spacing-md);
    text-align: center;
    color: var(--text-gray);
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.seo-landing-listing .seo-landing-listing__actions {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.seo-landing-grid.providers-results-grid {
    margin-top: var(--spacing-md);
}

.provider-card__thumb-img,
#provider-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: transparent;
}

.provider-card__thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.provider-card__thumb-fallback[hidden] {
    display: none;
}

.provider-card-premium__hero-img[hidden] + .provider-card-premium__hero-placeholder[hidden] {
    display: none;
}

.provider-card-premium__hero-placeholder:not([hidden]) {
    display: flex;
}

.seo-landing-related.section {
    padding-top: 0;
    padding-bottom: var(--spacing-xl);
}

.seo-landing-related__title {
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.seo-landing-related__list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 20rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.seo-landing-related__list a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.seo-landing-related__list a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .seo-landing-hero {
        min-height: clamp(11rem, 52vw, 18rem);
        max-height: min(46vh, 20rem);
    }

    .seo-landing-hero__inner {
        padding: clamp(1.5rem, 8vw, 2.25rem) var(--spacing-md);
    }

    .seo-landing-hero__subtitle {
        font-size: 0.975rem;
        line-height: 1.55;
    }

    .seo-landing-page--with-hero.section {
        padding-top: var(--spacing-md);
    }

    .seo-landing-intro {
        padding: var(--spacing-sm) var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }

    .seo-landing-page.section {
        padding-top: var(--spacing-sm);
    }
}

/* Alerts */
.alert {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--success-green);
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--error-red);
}

.alert-info {
    background-color: #dbeafe;
    color: #1e40af;
    border-left: 4px solid var(--primary-blue);
}

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

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .header-content {
        position: relative;
    }

    .mobile-nav-toggle {
        display: inline-flex;
    }

    .main-nav-wrap {
        position: relative;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: min(280px, calc(100vw - 2rem));
        background: var(--background-white);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        padding: 0.5rem;
        flex-direction: column;
        gap: 0.25rem;
        z-index: 1100;
    }

    .nav-list.open {
        display: flex;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 0.65rem 0.75rem;
        border-radius: var(--radius-md);
    }

    .hero h1 {
        font-size: var(--font-size-3xl);
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: var(--spacing-xs);
}

.mt-2 {
    margin-top: var(--spacing-sm);
}

.mt-3 {
    margin-top: var(--spacing-md);
}

.mt-4 {
    margin-top: var(--spacing-lg);
}

.mt-5 {
    margin-top: var(--spacing-xl);
}

.mb-1 {
    margin-bottom: var(--spacing-xs);
}

.mb-2 {
    margin-bottom: var(--spacing-sm);
}

.mb-3 {
    margin-bottom: var(--spacing-md);
}

.mb-4 {
    margin-bottom: var(--spacing-lg);
}

.mb-5 {
    margin-bottom: var(--spacing-xl);
}

/* Back Button */
.back-button-container {
    padding-top: var(--spacing-md);
    padding-bottom: 0;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: var(--font-size-sm);
}

.back-button:hover {
    color: var(--primary-blue);
    transform: translateX(-4px);
}

.back-button svg {
    width: 20px;
    height: 20px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .back-button {
        padding: 0.75rem 0;
        /* Larger touch area */
    }

    .footer-logo {
        font-size: 1.0625rem;
        gap: 0.5rem;
    }

    .footer-logo-img {
        height: 28px;
        max-width: 34px;
    }

    .footer-content {
        gap: 0.5rem;
    }

    .filters-container {
        grid-template-columns: 1fr;
    }

    .providers-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   MARKETPLACE SECTION STYLES
   =================================== */

/* Marketplace Section */
.marketplace-section {
    background-color: var(--background-white);
}

/* Filters Container */
.filters-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    background-color: var(--background-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-sm);
}

/* Providers Grid */
.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

/* Provider Card */
.provider-card {
    background-color: var(--background-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.provider-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: var(--primary-blue);
}

.provider-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.provider-name {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

/* Plan Badges */
.plan-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-badge.basic {
    background-color: #e5e7eb;
    color: #6b7280;
}

.plan-badge.pro {
    background-color: #dbeafe;
    color: #2563eb;
}

.plan-badge.pro-plus,
.plan-badge.pro_plus,
.plan-badge.proplus {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
}

/* Provider Info */
.provider-city {
    color: var(--text-gray);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-xs);
}

.provider-categories {
    color: var(--text-dark);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

/* Provider Footer */
.provider-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.provider-rating {
    font-weight: 600;
    color: var(--warning-orange);
    font-size: var(--font-size-sm);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background-color: #d1fae5;
    color: #065f46;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

/* Loading & Error States */
.loading,
.no-results,
.error-message {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-gray);
    font-size: var(--font-size-lg);
}

.error-message {
    color: var(--error-red);
    background-color: #fee2e2;
    border-radius: var(--radius-md);
}

.no-results {
    background-color: var(--background-light);
    border-radius: var(--radius-md);
}

/* PRO launch promo (first 100 — messaging only; checkout unchanged) */
.pro-promo-box {
    border: 1px solid rgba(37, 99, 235, 0.22);
    background: linear-gradient(135deg, var(--background-white) 0%, #eff6ff 100%);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.pro-promo-box p {
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--text-dark);
    font-size: var(--font-size-base);
    line-height: 1.55;
}

.pro-promo-box p:last-of-type {
    margin-bottom: 0;
}

.pro-promo-box .btn {
    margin-top: var(--spacing-xs);
}

.contact-section {
    padding: var(--spacing-2xl) 0;
}

.contact-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.contact-card h1 {
    margin-bottom: var(--spacing-md);
}

.contact-card p {
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
}

.contact-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.contact-link:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

@media (max-width: 640px) {
    .pro-promo-box {
        padding: var(--spacing-sm) var(--spacing-md);
    }
}

/* ===================================
   PROVIDERS SEARCH RESULTS GRID
   =================================== */

/* Search page — simple 3-column card grid */
#providers-container.providers-results-grid,
.seo-landing-grid.providers-results-grid,
.provider-related-grid.providers-results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-lg);
    align-items: start;
    width: 100%;
    max-width: 100%;
}

.provider-partners-grid.providers-results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-lg);
    align-items: start;
    width: 100%;
    max-width: 100%;
}

.providers-results-grid > .provider-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    align-self: start;
}

.providers-results-grid .provider-card-premium__desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 0 1 auto;
    min-height: 0;
}

.providers-results-grid > .provider-card > .provider-card-premium__cta,
.providers-results-grid .provider-card-pro__cta {
    margin-top: auto;
    flex-shrink: 0;
}

.providers-results-grid .provider-photos-preview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    height: 70px;
    max-height: 70px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.providers-results-grid .photo-preview-item {
    height: 70px;
    max-height: 70px;
    min-height: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.providers-results-grid .photo-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Provider detail — Partners (PRO+ public) */
.provider-partners-section {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.provider-partners-section__title {
    margin-bottom: 1.25rem;
}

.provider-partners-grid.providers-results-grid > .provider-card {
    height: 100%;
}

@media (max-width: 768px) {
    .provider-partners-grid.providers-results-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: var(--spacing-md);
        padding-bottom: 0.5rem;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .provider-partners-grid.providers-results-grid > .provider-card {
        flex: 0 0 min(88vw, 300px);
        scroll-snap-align: start;
    }
}

/* Provider dashboard — Partners editor (PRO+) */
.partners-edit-section__counter {
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1rem;
    color: #1e3a8a;
}

.partners-search-wrap {
    position: relative;
    margin-bottom: 1.5rem;
}

.partners-search-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 40;
    max-height: 320px;
    overflow-y: auto;
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.partners-search-dropdown[hidden] {
    display: none !important;
}

.partners-search-result {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.partners-search-result:last-child {
    border-bottom: none;
}

.partners-search-result__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: #f3f4f6;
    flex-shrink: 0;
}

.partners-search-result__body {
    flex: 1;
    min-width: 0;
}

.partners-search-result__name {
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0 0.15rem;
}

.partners-search-result__meta {
    font-size: 0.82rem;
    color: var(--text-gray);
    margin: 0;
}

.partners-current-section__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
}

.partners-current-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--spacing-md);
}

.partners-current-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid #e8edf2;
    border-radius: var(--radius-md);
    background: #fff;
}

.partners-current-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #f3f4f6;
    flex-shrink: 0;
}

.partners-current-card__info {
    flex: 1;
    min-width: 0;
}

.partners-current-card__name {
    font-weight: 600;
    font-size: 0.92rem;
    margin: 0 0 0.15rem;
}

.partners-current-card__meta {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin: 0;
}

.partners-current-card__remove {
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 0.4rem 0.65rem;
}

.partners-search-empty {
    padding: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Provider detail — Podobní majstri (same cards as search; responsive columns) */
.provider-related-section {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.provider-related-section__title {
    margin-bottom: 1.25rem;
}

@media (min-width: 769px) and (max-width: 1023px) {
    #providers-container.providers-results-grid,
    .seo-landing-grid.providers-results-grid,
    .provider-related-grid.providers-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .provider-partners-grid.providers-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    #providers-container.providers-results-grid,
    .seo-landing-grid.providers-results-grid,
    .provider-related-grid.providers-results-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .providers-results-grid .provider-card-premium__hero {
        height: 160px;
        min-height: 160px;
        max-height: 160px;
    }

    .providers-results-grid > .provider-card:hover,
    .providers-results-grid > .provider-card.provider-card--pro:hover,
    .providers-results-grid > .provider-card.provider-card--standard:hover,
    .providers-results-grid > .provider-card.provider-card--premium:hover,
    .providers-results-grid > .provider-card.provider-card--pro-plus:hover {
        transform: none;
    }

    .provider-card-premium__mini-gallery-img {
        transition: opacity 1s ease-in-out;
    }
}

/* ===================================
   SEARCH LISTING — compact PRO cards
   =================================== */

.providers-results-grid > .provider-card.provider-card--pro,
.providers-results-grid > .provider-card.provider-card--standard {
    padding: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 4px 12px rgba(37, 99, 235, 0.06);
    overflow: hidden;
    transition:
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.providers-results-grid > .provider-card.provider-card--pro:hover,
.providers-results-grid > .provider-card.provider-card--standard:hover {
    border-color: #bfdbfe;
    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.06),
        0 8px 18px rgba(37, 99, 235, 0.1);
}

.provider-card-pro__top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem 0.55rem;
    min-height: 100px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border-bottom: 1px solid #eef2f7;
}

.provider-card-pro__avatar {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f5f9;
    border: 2px solid rgba(59, 130, 246, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.provider-card-pro__avatar .provider-card__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.provider-card-pro__avatar .provider-card__thumb-fallback {
    font-size: 1.75rem;
}

.provider-card-pro__intro {
    flex: 1 1 auto;
    min-width: 0;
}

.provider-card-pro__title {
    margin: 0 0 0.3rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

.provider-card-pro__location {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-gray);
    line-height: 1.35;
}

.provider-card-pro__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 0.45rem;
    padding: 0.65rem 0.9rem 0.9rem;
    min-height: 0;
}

.provider-card-pro__service {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.provider-card-pro__service strong {
    font-weight: 600;
    color: #475569;
}

.provider-card-pro__contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.45rem;
    font-size: 0.8rem;
    color: #4b5563;
}

.provider-card-pro__contact-dot {
    opacity: 0.45;
}

.provider-card-pro__web-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.provider-card-pro__web-link:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

.provider-card-pro__desc {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--text-gray);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 0 1 auto;
    min-height: 0;
}

.provider-card-pro__rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 0.5rem;
    font-size: 0.8rem;
    padding-top: 0.15rem;
}

.provider-card-pro__stars {
    letter-spacing: 0.04em;
}

.provider-card-pro__rating-text {
    font-weight: 600;
    color: var(--text-dark);
}

.provider-card-pro__cta {
    width: 100%;
    margin-top: auto;
    font-size: 0.86rem;
    padding: 0.5rem 0.75rem;
    border-color: #93c5fd;
    color: var(--primary-blue-dark);
}

.provider-card-pro__cta:hover {
    background: #eff6ff;
    border-color: var(--primary-blue);
    color: var(--primary-blue-dark);
}

.providers-results-grid > .provider-card.provider-card--pro {
    border-color: #dbeafe;
}

/* ===================================
   PRO+ PREMIUM PROVIDER CARDS (listings)
   =================================== */

.provider-card.provider-card--premium,
.provider-card.provider-card--pro-plus {
    position: relative;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(96, 165, 250, 0.28);
    background: linear-gradient(165deg, #f8fbff 0%, #ffffff 38%, #f0f7ff 100%);
    box-shadow:
        0 10px 28px -12px rgba(37, 99, 235, 0.14),
        0 4px 14px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    transition:
        box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.3s ease;
}

.provider-card.provider-card--premium:hover,
.provider-card.provider-card--pro-plus:hover {
    border-color: rgba(59, 130, 246, 0.42);
    box-shadow:
        0 16px 36px -14px rgba(37, 99, 235, 0.22),
        0 6px 18px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.providers-results-grid .provider-card.provider-card--premium:hover,
.providers-results-grid .provider-card.provider-card--pro-plus:hover {
    transform: none;
}

@media (max-width: 768px) {
    .provider-card-pro__avatar {
        width: 90px;
        height: 90px;
    }

    .provider-card-pro__top {
        min-height: 90px;
        padding: 0.75rem 0.8rem 0.5rem;
    }
}

.provider-card-premium__media {
    flex-shrink: 0;
    width: 100%;
}

.provider-card-premium__hero {
    height: 180px;
    min-height: 180px;
    max-height: 180px;
    overflow: hidden;
    background: linear-gradient(145deg, #eef4ff 0%, #e8f0fa 55%, #dbeafe 100%);
}

.provider-card-premium__hero--profile .provider-card-premium__hero-img,
.provider-card-premium__hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* PRO+ listing hero — full logo/image visible (no crop); PRO cards unchanged */
.provider-card.provider-card--pro-plus .provider-card-premium__hero {
    background: #fff;
}

.provider-card.provider-card--pro-plus .provider-card-premium__hero-placeholder {
    background: #fff;
}

.provider-card.provider-card--pro-plus .provider-card-premium__hero--profile .provider-card-premium__hero-img,
.provider-card.provider-card--pro-plus .provider-card-premium__hero-img {
    object-fit: contain;
    object-position: center;
    background: #fff;
}

.providers-results-grid .provider-card.provider-card--premium:hover .provider-card-premium__hero-img {
    transform: none;
}

.provider-card-premium__hero-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #f5f9ff 0%, #e8f0fe 100%);
}

.provider-card-premium__hero-icon {
    font-size: 2.75rem;
    opacity: 0.55;
}

.provider-card-premium__strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 6px 8px 8px;
    max-height: 56px;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0.97), #fff);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.provider-card-premium__thumb {
    aspect-ratio: 4 / 3;
    max-height: 44px;
    min-height: 0;
    border-radius: var(--radius-sm);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(226, 232, 240, 0.95);
}

.provider-card-premium__thumb--empty {
    background: #f1f5f9;
    border-style: dashed;
    opacity: 0.55;
}

.provider-card-premium__body {
    padding: 1rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 0.5rem;
    min-height: 0;
    overflow: hidden;
}

.provider-card-premium__title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.02em;
}

.provider-card-premium__firm {
    margin: -0.25rem 0 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--secondary-gray);
}

.provider-card-premium__rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.6rem;
}

.provider-card-premium__stars {
    letter-spacing: 0.05em;
    font-size: 0.95rem;
}

.provider-card-premium__rating-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.provider-card-premium__location {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
}

.provider-card-premium__mini-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    max-width: 100%;
    height: 70px;
    max-height: 70px;
    min-height: 70px;
    margin: 0;
    overflow: hidden;
}

.provider-card-premium__mini-gallery-img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #f1f5f9;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.provider-card-premium__mini-gallery-img--interactive {
    cursor: pointer;
}

.provider-card-premium__mini-gallery-img.is-gallery-fading {
    opacity: 0;
    pointer-events: none;
}

.provider-card-premium__mini-gallery-img[hidden] {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .provider-card-premium__mini-gallery-img {
        transition: none;
    }
}

.provider-card-premium__service {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-dark);
    line-height: 1.45;
}

.provider-card-premium__service strong {
    font-weight: 600;
    color: var(--secondary-gray);
}

.provider-card-premium__desc {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-gray);
}

.provider-card-premium__contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.82rem;
    color: var(--secondary-gray);
}

.provider-card-premium__contact-dot {
    opacity: 0.45;
}

.provider-card-premium__web-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.provider-card-premium__web-link:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

.provider-card-premium__cta {
    margin-top: auto;
    width: 100%;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    border: none;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
    text-align: center;
    text-decoration: none;
    display: block;
}

.provider-card-premium__cta:hover {
    filter: brightness(1.05);
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.38);
    transform: translateY(-1px);
}

/* In-site provider gallery lightbox */
body.stavbahub-gallery-lightbox-open {
    overflow: hidden;
}

.stavbahub-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom)
        env(safe-area-inset-left);
}

.stavbahub-gallery-lightbox[hidden] {
    display: none !important;
}

.stavbahub-gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.88);
    cursor: pointer;
}

.stavbahub-gallery-lightbox__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(96vw, 1100px);
    max-height: 92vh;
    margin: 0 auto;
    pointer-events: none;
}

.stavbahub-gallery-lightbox__panel > * {
    pointer-events: auto;
}

.stavbahub-gallery-lightbox__stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-height: calc(92vh - 4rem);
    touch-action: pan-y pinch-zoom;
}

.stavbahub-gallery-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: calc(92vh - 4rem);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    user-select: none;
    -webkit-user-drag: none;
}

.stavbahub-gallery-lightbox__close {
    position: absolute;
    top: -0.25rem;
    right: 0;
    z-index: 3;
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.stavbahub-gallery-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.stavbahub-gallery-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.stavbahub-gallery-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.24);
}

.stavbahub-gallery-lightbox__nav--prev {
    left: 0.25rem;
}

.stavbahub-gallery-lightbox__nav--next {
    right: 0.25rem;
}

.stavbahub-gallery-lightbox__nav[hidden] {
    display: none;
}

.stavbahub-gallery-lightbox__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1rem;
    margin-top: 0.75rem;
    width: 100%;
    color: #e2e8f0;
    font-size: 0.9rem;
    text-align: center;
}

.stavbahub-gallery-lightbox__counter {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.stavbahub-gallery-lightbox__caption {
    opacity: 0.92;
}

@media (max-width: 640px) {
    .stavbahub-gallery-lightbox__nav {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.65rem;
    }

    .stavbahub-gallery-lightbox__nav--prev {
        left: 0;
    }

    .stavbahub-gallery-lightbox__nav--next {
        right: 0;
    }

    .stavbahub-gallery-lightbox__close {
        top: 0;
        right: 0;
    }
}

/* Provider multi-service selection (registration / profile edit) */
.provider-services-hint {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted, #64748b);
}

.provider-services-multiselect {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.provider-services-group {
    margin: 0;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 8px;
}

.provider-services-group__title {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0 0.25rem;
    margin-bottom: 0.5rem;
}

.provider-services-group__options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.35rem 0.75rem;
}

.provider-services-option {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    line-height: 1.35;
}

.provider-services-option__input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.provider-detail-services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.provider-detail-services-list__item {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: var(--bg-muted, #f1f5f9);
    font-size: 0.875rem;
}

@media (max-width: 640px) {
    .provider-services-group__options {
        grid-template-columns: 1fr;
    }
}