:root {
    --color-primary: #1a56db;
    --color-primary-dark: #1442a8;
    --color-accent: #059669;
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-border: #e2e8f0;
    --color-success: #059669;
    --color-warning: #d97706;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -2px rgba(0,0,0,.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.04);
    --max-width: 1200px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== HEADER ===== */
.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 1.5rem;
}
.site-logo a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -.02em;
}
.site-logo img { height: 36px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a {
    font-size: .875rem;
    font-weight: 500;
    color: var(--color-text-light);
    transition: color .2s;
}
.site-nav a:hover { color: var(--color-text); }
.lang-switcher {
    display: flex;
    gap: .25rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}
.lang-switcher a, .lang-switcher span {
    padding: .25rem .5rem;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-text-light);
    transition: all .2s;
}
.lang-switcher .current-lang, .lang-switcher a:hover {
    background: var(--color-primary);
    color: #fff;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
}
.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    margin: 5px 0;
    transition: .3s;
}

@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--color-surface);
        border-bottom: 1px solid var(--color-border);
        flex-direction: column;
        padding: 1rem;
        gap: .75rem;
        box-shadow: var(--shadow-md);
    }
    .site-nav.open { display: flex; }
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #1a56db 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}
.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: .75rem;
    letter-spacing: -.03em;
}
.hero p {
    font-size: 1.125rem;
    opacity: .9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

@media (max-width: 768px) {
    .hero { padding: 2.5rem 0; }
    .hero h1 { font-size: 1.75rem; }
}

/* ===== SEARCH BAR ===== */
.search-bar {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    gap: .5rem;
    background: rgba(255,255,255,.15);
    padding: .5rem;
    border-radius: var(--radius-lg);
}
.search-bar input {
    flex: 1;
    padding: .75rem 1rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    outline: none;
}
.search-bar button {
    padding: .75rem 1.5rem;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.search-bar button:hover { background: #047857; }

/* ===== SECTIONS ===== */
.section {
    padding: 3rem 0;
}
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -.02em;
}
.section-subtitle {
    color: var(--color-text-light);
    margin-top: -.75rem;
    margin-bottom: 1.5rem;
}

/* ===== GRIDS ===== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 960px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
}

/* ===== CARDS ===== */
.card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow .2s, transform .2s;
}
.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.card-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    background: var(--color-border);
}
.card-body {
    padding: 1rem 1.25rem 1.25rem;
}
.card-body h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .25rem;
}
.card-body h3 a { color: var(--color-text); }
.card-body h3 a:hover { color: var(--color-primary); }
.card-body p {
    font-size: .875rem;
    color: var(--color-text-light);
    line-height: 1.5;
}
.card-meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .75rem;
    font-size: .75rem;
    color: var(--color-text-light);
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: .2rem .6rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.badge-category {
    background: #eff6ff;
    color: var(--color-primary);
}
.badge-verified {
    background: #ecfdf5;
    color: var(--color-accent);
}
.badge-featured {
    background: #fffbeb;
    color: var(--color-warning);
}

/* ===== CATEGORY CARD ===== */
.cat-card {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem;
    background: var(--color-surface);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: all .2s;
}
.cat-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow);
}
.cat-card-icon {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.cat-card-text { font-weight: 500; font-size: .9rem; }

/* ===== BREADCRUMBS ===== */
.nmdhub-breadcrumbs {
    padding: .75rem 0;
    font-size: .8rem;
}
.nmdhub-breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
}
.nmdhub-breadcrumbs li::after {
    content: '/';
    margin-left: .25rem;
    color: var(--color-text-light);
}
.nmdhub-breadcrumbs li:last-child::after { display: none; }
.nmdhub-breadcrumbs a { color: var(--color-text-light); }
.nmdhub-breadcrumbs a:hover { color: var(--color-primary); }
.nmdhub-breadcrumbs .current { color: var(--color-text); font-weight: 500; }

/* ===== LISTING DETAIL ===== */
.listing-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: 1.5rem;
}
.listing-header h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -.02em;
}
.listing-badges { display: flex; gap: .5rem; flex-wrap: wrap; }

.listing-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 860px) {
    .listing-grid { grid-template-columns: 1fr; }
}

.listing-content { line-height: 1.7; }
.listing-content h2 { font-size: 1.25rem; margin: 1.5rem 0 .75rem; }

.listing-sidebar {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 80px;
}
.listing-sidebar .contact-list { list-style: none; }
.listing-sidebar .contact-list li {
    padding: .5rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: .875rem;
    display: flex;
    gap: .5rem;
}
.listing-sidebar .contact-list li:last-child { border-bottom: none; }
.contact-label {
    font-weight: 600;
    min-width: 70px;
    color: var(--color-text-light);
    font-size: .75rem;
    text-transform: uppercase;
}

/* ===== BUTTONS ===== */
.nmdhub-btn, .btn-primary {
    display: inline-block;
    padding: .75rem 1.5rem;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    transition: background .2s;
    text-align: center;
}
.nmdhub-btn:hover, .btn-primary:hover {
    background: var(--color-primary-dark);
    color: #fff;
}
.btn-outline {
    display: inline-block;
    padding: .75rem 1.5rem;
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    transition: all .2s;
    text-align: center;
}
.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}
.btn-accent {
    background: var(--color-accent);
}
.btn-accent:hover { background: #047857; }
.btn-block { width: 100%; display: block; }

/* ===== FORMS ===== */
.nmdhub-form { max-width: 640px; }
.nmdhub-field {
    margin-bottom: 1.25rem;
}
.nmdhub-field label {
    display: block;
    font-size: .875rem;
    font-weight: 500;
    margin-bottom: .35rem;
}
.nmdhub-field input,
.nmdhub-field textarea,
.nmdhub-field select {
    width: 100%;
    padding: .65rem .85rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: .9rem;
    font-family: inherit;
    transition: border-color .2s;
}
.nmdhub-field input:focus,
.nmdhub-field textarea:focus,
.nmdhub-field select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26,86,219,.1);
}
.nmdhub-form-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius);
    padding: 1.5rem;
    color: #065f46;
    font-weight: 500;
}

/* ===== HOW IT WORKS ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .75rem;
}
.step h3 { margin-bottom: .35rem; }
.step p { font-size: .875rem; color: var(--color-text-light); }

@media (max-width: 768px) {
    .steps { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #1a56db 100%);
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}
.cta-section h2 {
    font-size: 1.75rem;
    margin-bottom: .5rem;
}
.cta-section p {
    opacity: .9;
    margin-bottom: 1.5rem;
}
.cta-section .nmdhub-btn {
    background: #fff;
    color: var(--color-primary);
}
.cta-section .nmdhub-btn:hover {
    background: #e0e7ff;
    color: var(--color-primary-dark);
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: .5rem;
    padding: 2rem 0;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 .5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: .875rem;
    transition: all .2s;
}
.pagination .current {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* ===== MAP ===== */
.map-placeholder {
    width: 100%;
    height: 300px;
    background: var(--color-border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: .9rem;
}
.nmdhub-map-wrap {
    margin-top: 0.5rem;
}
.nmdhub-map {
    width: 100%;
    height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}
.nmdhub-map-address {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { font-size: .9rem; line-height: 1.6; }
.footer-brand strong { color: #fff; font-size: 1.1rem; display: block; margin-bottom: .5rem; }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: .4rem; }
.site-footer ul a { color: #94a3b8; font-size: .85rem; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ===== FILTER BAR ===== */
.filter-bar {
    background: var(--color-surface);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
}
.filter-bar select, .filter-bar input[type="search"] {
    padding: .5rem .75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: .85rem;
    font-family: inherit;
}
.filter-bar .filter-label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--color-text-light);
}

/* ===== OPENING HOURS ===== */
.opening-hours {
    list-style: none;
    font-size: .875rem;
}
.opening-hours li {
    display: flex;
    justify-content: space-between;
    padding: .3rem 0;
    border-bottom: 1px solid var(--color-border);
}
.opening-hours li:last-child { border-bottom: none; }

/* ===== PAGE CONTENT ===== */
.page-content {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 2rem auto;
}
.page-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.page-content h2 {
    font-size: 1.35rem;
    margin: 1.5rem 0 .75rem;
}
.page-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.gap-1 { gap: .5rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.no-thumb {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: .8rem;
}
