@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

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

:root {
    --primary-color: #5865F2;
    --primary-dark: #4752c4;
    --primary-soft: #eef0ff;
    --accent-color: #7c3aed;
    --accent-soft: #f3e8ff;
    --success-color: #16a34a;
    --danger-color: #dc2626;
    --warning-color: #d97706;
    --light-color: #f8fafc;
    --dark-color: #172033;
    --muted-color: #64748b;
    --surface-color: #ffffff;
    --surface-soft: #f1f5f9;
    --border-color: #dbe4ef;
    --border-radius: 8px;
    --box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    --box-shadow-soft: 0 6px 20px rgba(15, 23, 42, 0.06);
    --blurple: var(--primary-color);
    --black: #0f172a;
    --white: #ffffff;
    --button-black: #05070d;
    --button-black-hover: #111827;
    --site-font: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

body {
    font-family: var(--site-font);
    line-height: 1.6;
    color: var(--dark-color);
    background:
        linear-gradient(180deg, #f0f2ff 0%, #f8fafc 340px),
        #f8fafc;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.is-page-loading {
    cursor: progress;
}

body.is-page-loading::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), #38bdf8);
    transform-origin: left center;
    animation: page-load-bar 0.9s ease-in-out infinite;
    box-shadow: 0 0 16px rgba(88, 101, 242, 0.35);
}

main {
    flex: 1;
}

@keyframes page-load-bar {
    0% {
        transform: scaleX(0.12);
        opacity: 0.8;
    }

    50% {
        transform: scaleX(0.72);
        opacity: 1;
    }

    100% {
        transform: scaleX(1);
        opacity: 0.65;
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    letter-spacing: 0;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 999px;
}

h2[style*="text-align: center"]::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.25rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #475569;
    font-weight: 500;
}

a {
    color: var(--primary-color);
}

.icon {
    display: inline-flex;
    width: 1.15em;
    margin-right: 0.45rem;
    align-items: center;
    justify-content: center;
    font-size: 0.95em;
    line-height: 1;
    vertical-align: -0.08em;
}

.quick-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
    line-height: 1;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.94);
    color: var(--dark-color);
    padding: 0.7rem 2rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(219, 228, 239, 0.9);
    backdrop-filter: blur(12px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--dark-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 92px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #334155;
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--border-radius);
}

.nav-links a:hover {
    color: var(--primary-dark);
    background-color: var(--primary-soft);
}

.language-switcher-item {
    margin-left: 0.5rem;
}

.language-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0.7rem 2.2rem 0.7rem 0.95rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--surface-color);
    color: #334155;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--box-shadow-soft);
    background-image:
        linear-gradient(45deg, transparent 50%, #64748b 50%),
        linear-gradient(135deg, #64748b 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% + 2px),
        calc(100% - 12px) calc(50% + 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.language-select:hover {
    border-color: var(--primary-color);
}

.language-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(88, 101, 242, 0.16);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    margin-bottom: 3rem;
}

/* Hero Section */
.hero {
    background:
        linear-gradient(135deg, rgba(88, 101, 242, 0.94), rgba(124, 58, 237, 0.9)),
        linear-gradient(180deg, #eef0ff, #f8fafc);
    color: white;
    padding: 6rem 2rem 5.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 90px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0), #f8fafc);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    margin-bottom: 1rem;
    font-weight: 900;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    max-width: 720px;
}

.search-form {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    max-width: 680px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.32);
    padding: 0.7rem;
    border-radius: var(--border-radius);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(10px);
}

.search-form input {
    padding: 1rem 1.2rem;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    flex: 1 1 320px;
    min-width: 0;
    font-size: 1rem;
    font-family: var(--site-font);
    font-weight: 500;
    background: white;
    color: var(--dark-color);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-form input::placeholder {
    color: #94a3b8;
}

.search-form input:focus {
    outline: none;
    border-color: #c7d2fe;
    box-shadow: 0 0 0 4px rgba(238, 240, 255, 0.78);
}

.search-form button {
    padding: 1rem 2rem;
    background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.34), rgba(56, 189, 248, 0.14) 42%, transparent 43%),
        var(--button-black);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 750;
    font-family: var(--site-font);
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    font-size: 1rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 8px 18px rgba(15, 23, 42, 0.2),
        0 0 0 1px rgba(139, 92, 246, 0.16);
}

.search-form button:hover {
    background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.44), rgba(56, 189, 248, 0.2) 42%, transparent 43%),
        var(--button-black-hover);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 12px 24px rgba(15, 23, 42, 0.25),
        0 0 0 2px rgba(139, 92, 246, 0.18);
}

/* Cards */
.card {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-soft);
    padding: 2rem;
    margin: 1rem 0;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.card:hover {
    transform: translateY(-3px);
    border-color: #c7d2fe;
    box-shadow: var(--box-shadow);
}

.card h3 {
    color: var(--dark-color);
    margin-bottom: 0.85rem;
    font-size: 1.2rem;
}

.card strong {
    color: #1e293b;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius);
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--site-font);
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    text-align: center;
    font-size: 0.95rem;
    background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.32), rgba(56, 189, 248, 0.14) 42%, transparent 43%),
        var(--button-black);
    color: white;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 8px 18px rgba(15, 23, 42, 0.2),
        0 0 0 1px rgba(139, 92, 246, 0.14);
}

.btn:hover {
    background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.42), rgba(56, 189, 248, 0.2) 42%, transparent 43%),
        var(--button-black-hover);
    color: white;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 12px 26px rgba(15, 23, 42, 0.26),
        0 0 0 2px rgba(139, 92, 246, 0.18);
}

.btn.is-loading,
.btn:disabled,
button.is-loading,
button:disabled {
    cursor: wait;
    opacity: 0.82;
    transform: none;
}

.btn.is-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.btn.is-loading::before {
    content: '';
    width: 1em;
    height: 1em;
    border: 2px solid rgba(255, 255, 255, 0.42);
    border-top-color: #ffffff;
    border-radius: 999px;
    animation: loading-spin 0.8s linear infinite;
}

@keyframes loading-spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger {
    background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.32), rgba(56, 189, 248, 0.14) 42%, transparent 43%),
        var(--button-black);
    color: white;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-success:hover,
.btn-danger:hover {
    background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.42), rgba(56, 189, 248, 0.2) 42%, transparent 43%),
        var(--button-black-hover);
    color: white;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 700;
    color: #334155;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    background: white;
    color: var(--dark-color);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(88, 101, 242, 0.16);
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid .card {
    height: 100%;
}

/* Skeleton Loading */
.skeleton {
    position: relative;
    overflow: hidden;
    background: #e5eaf3;
    border-radius: var(--border-radius);
    color: transparent;
}

.skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    animation: skeleton-shimmer 1.35s ease-in-out infinite;
}

.skeleton-title {
    width: min(72%, 320px);
    height: 1.6rem;
    margin-bottom: 1rem;
}

.skeleton-text {
    width: 100%;
    height: 0.9rem;
    margin-bottom: 0.7rem;
}

.skeleton-text.short {
    width: 56%;
}

.skeleton-business-card,
.skeleton-category-card,
.skeleton-profile-header,
.skeleton-list-row {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-soft);
}

.skeleton-business-card {
    min-height: 285px;
    padding: 2rem;
}

.skeleton-category-card {
    min-height: 112px;
    padding: 1.35rem;
    display: flex;
    gap: 1rem;
}

.skeleton-category-card .skeleton-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: var(--border-radius);
}

.skeleton-profile-header {
    min-height: 190px;
    padding: 2rem;
}

.skeleton-list-row {
    height: 58px;
    margin-bottom: 0.75rem;
}

@keyframes skeleton-shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.category-grid-large {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.category-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-height: 112px;
    padding: 1.35rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-soft);
    text-decoration: none;
    color: var(--dark-color);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: #c7d2fe;
    box-shadow: var(--box-shadow);
}

.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: var(--border-radius);
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 1.35rem;
}

.category-card strong,
.category-card small,
.category-card em {
    display: block;
    position: relative;
    z-index: 1;
}

.category-card strong {
    color: var(--dark-color);
    line-height: 1.35;
    margin-bottom: 0.25rem;
}

.category-card small {
    color: var(--muted-color);
    font-weight: 700;
}

.category-card em {
    margin-top: 0.65rem;
    color: #64748b;
    font-size: 0.92rem;
    font-style: normal;
    line-height: 1.55;
}

@media (max-width: 1024px) {
    .category-grid,
    .category-grid-large {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

/* Business Profile */
.business-header {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-soft);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
}

.business-info {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.business-info h1 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    flex: 1;
}

.contact-info {
    flex: 1;
    text-align: right;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-section,
.ask-section {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-soft);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.faq-section {
    border-left: 4px solid var(--primary-color);
}

.ask-section {
    border-left: 4px solid var(--accent-color);
}

.faq-section h3,
.ask-section h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-weight: 700;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
    padding: 0.5rem 0;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-toggle-icon {
    flex: 0 0 auto;
    margin-left: 1rem;
    font-size: 0.95rem;
    line-height: 1;
}

.faq-answer {
    margin-top: 0.8rem;
    color: #475569;
    display: none;
    line-height: 1.7;
}

.faq-answer.show {
    display: block;
}

/* Dashboard */
.dashboard-container {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.5rem;
    min-height: 100vh;
    margin-top: 2rem;
}

.sidebar,
.main-content {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-soft);
    border: 1px solid var(--border-color);
}

.sidebar {
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 0.25rem;
}

.sidebar a {
    display: block;
    padding: 0.8rem 1rem;
    color: #475569;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: background-color 0.2s, color 0.2s;
    font-weight: 650;
}

.sidebar a:hover {
    background-color: var(--primary-soft);
    color: var(--primary-dark);
}

.sidebar a.active {
    background: var(--primary-color);
    color: white;
    font-weight: 700;
}

.main-content {
    padding: 2rem;
}

/* Table */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    overflow: hidden;
    background: white;
}

.table thead {
    background: var(--primary-soft);
    border-bottom: 1px solid #c7d2fe;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
    color: #334155;
}

.table thead th {
    font-weight: 750;
    color: #1e293b;
}

.table tbody tr {
    transition: background-color 0.2s;
}

.table tbody tr:hover {
    background-color: #fafaff;
}

/* Footer */
footer {
    background-color: #0f172a;
    color: #cbd5e1;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

footer p {
    margin: 0.5rem 0;
    font-weight: 500;
    color: #cbd5e1;
}

/* Alert Messages */
.alert {
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid;
    border-left-width: 4px;
}

.alert-success {
    background-color: #ecfdf5;
    color: #166534;
    border-color: #bbf7d0;
    border-left-color: var(--success-color);
}

.alert-danger {
    background-color: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
    border-left-color: var(--danger-color);
}

.alert-info {
    background-color: var(--primary-soft);
    color: #3730a3;
    border-color: #c7d2fe;
    border-left-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 0.75rem 1rem;
    }

    .navbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .nav-links {
        gap: 0.35rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .language-switcher-item {
        margin-left: 0;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.55rem 0.65rem;
    }

    .language-select {
        width: 100%;
    }

    .logo {
        justify-content: center;
    }

    .logo img {
        height: 76px;
    }

    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 3.25rem 1rem 3.75rem;
    }

    .hero p {
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
    }

    .search-form {
        flex-direction: column;
        gap: 0.55rem;
        max-width: 100%;
        padding: 0.5rem;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
    }

    .search-form input,
    .search-form button {
        width: 100%;
        flex: 0 0 auto;
        min-height: 46px;
        padding: 0.78rem 0.95rem;
        font-size: 0.95rem;
    }

    .search-form button {
        padding: 0.8rem 1rem;
    }

    body.is-page-loading::before {
        height: 2px;
    }

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

    .sidebar {
        display: flex;
        flex-wrap: wrap;
        height: auto;
        gap: 1rem;
        position: static;
    }

    .sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .business-info {
        flex-direction: column;
    }

    .contact-info {
        text-align: left;
        margin-top: 1rem;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-grid,
    .category-grid-large {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .category-card {
        min-height: 0;
        padding: 1rem 1rem 1rem 1.1rem;
        gap: 0.75rem;
        background: #ffffff;
        border: 1px solid #dbe4ef;
        box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    }

    .category-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 1.12rem;
    }

    .category-card strong {
        font-size: 0.95rem;
        line-height: 1.25;
    }

    .category-card small {
        font-size: 0.8rem;
    }

    .category-card em {
        margin-top: 0.45rem;
        font-size: 0.84rem;
        line-height: 1.45;
    }

    .skeleton-business-card,
    .skeleton-profile-header {
        padding: 1.5rem;
    }

    .skeleton-category-card {
        min-height: 78px;
        padding: 1rem;
    }

    .card,
    .business-header,
    .faq-section,
    .ask-section,
    .main-content {
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 520px) {
    section {
        margin-bottom: 2.25rem;
    }

    .hero {
        padding: 2.5rem 0.75rem 3rem;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.12;
    }

    .hero p {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .category-grid,
    .category-grid-large {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .category-card {
        align-items: center;
        min-height: 78px;
        padding: 0.95rem 1rem 0.95rem 1.1rem;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.09);
    }

    .category-card em {
        display: none;
    }

    .skeleton-category-card .skeleton-text.short {
        width: 68%;
    }
}

@media (max-width: 380px) {
    .search-form input,
    .search-form button {
        min-height: 42px;
        padding: 0.68rem 0.8rem;
        font-size: 0.9rem;
    }

    .category-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.is-page-loading::before,
    .btn.is-loading::before,
    .skeleton::after {
        animation: none;
    }
}
