:root {
    --bg: #e8e8ec;
    --bg-alt: #ffffff;
    --accent: #ff7a5c;
    --accent-soft: rgba(255, 122, 92, 0.16);
    --accent-glow: rgba(255, 122, 92, 0.3);
    --text: #0a0a12;
    --text-secondary: #1a1a2e;
    --muted: #3a3a4a;
    --border-color: rgba(0, 0, 0, 0.12);
    --border-subtle: rgba(0, 0, 0, 0.08);
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px var(--accent-glow);
}

/* Dark theme for clubs */
body.theme-dark {
    --bg: #0a0c15;
    --bg-alt: #121826;
    --text: #e8eaf2;
    --text-secondary: #c8cad2;
    --muted: #a0a4b8;
    --border-color: rgba(255, 255, 255, 0.03);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.85);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

body.theme-dark {
    background: radial-gradient(circle at top, #1a2342 0, #0a0c15 55%, #050608 100%);
}

.page {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 32px 20px 60px;
}

/* Header & Navigation */
header {
    margin-bottom: 40px;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-subtle);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 150px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--text);
}

.nav-link.active {
    color: var(--accent);
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body.theme-dark .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.theme-dark .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    background: linear-gradient(to right, var(--text), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

body.theme-dark .hero h1 {
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.6;
}

/* -- Index.html specific styles -- */

.page {
    max-width: 1400px; /* Overrides 1200px from other files */
}

.user-location-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(34, 139, 34, 0.15);
    font-size: 0.75rem;
    color: #1a7a1a;
    margin-bottom: 10px;
    border: 1px solid rgba(34, 139, 34, 0.4);
}

body.theme-dark .user-location-badge {
    background: rgba(50, 205, 50, 0.1);
    color: #90EE90;
    border: 1px solid rgba(50, 205, 50, 0.3);
}

.user-location-badge i {
    font-size: 0.7rem;
}

.user-location-badge.error {
    background: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.4);
    color: #c41c1c;
}

body.theme-dark .user-location-badge.error {
    background: rgba(255, 99, 71, 0.1);
    border-color: rgba(255, 99, 71, 0.3);
    color: #ff6347;
}

.retry-location-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 999px;
    padding: 4px 10px;
    color: inherit;
    font-size: 0.65rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
    transition: background 0.2s ease;
}

.retry-location-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.city-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
    margin-bottom: 12px;
    border: 1px solid var(--border-subtle);
}

.city-badge span.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero h1 {
    margin-bottom: 12px;
}

.hero p {
    margin: 0 auto 20px;
}

/* City Stats */
.city-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Selection Controls */
.selection-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.city-selector {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* City Dropdown for Mobile */
.city-dropdown-wrapper {
    display: none;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    position: relative;
}

.dropdown-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}

.city-dropdown {
    width: 100%;
    padding: 14px 20px 14px 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent);
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ff7a5c'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    box-shadow: var(--shadow-glow);
}

.city-dropdown:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-glow);
}

.city-dropdown option {
    background: #121826;
    color: var(--text);
    padding: 12px;
}

.city-btn {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    color: var(--muted);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.city-btn:hover {
    background: var(--bg-alt);
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.theme-dark .city-btn {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

body.theme-dark .city-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.city-btn.active {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.category-selector {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    color: var(--muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.category-btn:hover {
    background: var(--bg-alt);
    color: var(--text);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.theme-dark .category-btn {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

body.theme-dark .category-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.category-btn.active {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    position: relative;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2), var(--shadow-glow);
    filter: brightness(1.02);
}

body.theme-dark .card:hover {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 
                0 0 40px rgba(255, 122, 92, 0.4),
                0 0 80px rgba(255, 122, 92, 0.2);
    filter: brightness(1.12);
}

.card[role="button"] { outline: none; }

.card-image-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 2s ease, transform 0.5s ease;
    z-index: 0;
    filter: brightness(1.1);
}

.card:hover img { transform: scale(1.08); }

.card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.6) 30%,
            rgba(0, 0, 0, 0.1) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.card-maps-link {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    z-index: 5;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-maps-link:hover {
    background: var(--accent);
    color: #000;
    transform: scale(1.1);
}

/* Distance-based map icon colors */
.card-maps-link.distance-near {
    color: #32CD32;
    border-color: rgba(50, 205, 50, 0.4);
}

.card-maps-link.distance-mid {
    color: #FFA500;
    border-color: rgba(255, 165, 0, 0.4);
}

.card-maps-link.distance-far {
    color: #FF6347;
    border-color: rgba(255, 99, 71, 0.4);
}

.card-maps-link.distance-near:hover,
.card-maps-link.distance-mid:hover,
.card-maps-link.distance-far:hover {
    color: #000;
}

/* Status badge for open/closed */
.card-status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 3;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.card-status-badge.open {
    color: rgba(255, 255, 255, 0.9);
}

.card-status-badge.open-soon {
    color: #FFD700;
}

.card-status-badge.close-soon {
    color: #FFA500;
}

.card-status-badge.closed {
    color: #FF6B6B;
}

/* Corner Ribbon - Bottom Right */
.card-ribbon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 85px;
    height: 85px;
    overflow: hidden;
    z-index: 4;
    pointer-events: none;
}

.card-ribbon-btn {
    position: absolute;
    bottom: 18px;
    right: -30px;
    width: 120px;
    padding: 6px 0;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    transform: rotate(-45deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    pointer-events: auto;
    border: none;
    transition: background 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    display: block;
}

.card-ribbon-btn:hover {
    filter: brightness(1.15);
    transform: rotate(-45deg) scale(1.05);
}

/* Top Pick - Gold/Orange */
.card-ribbon-btn.ribbon-toppick {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.card-ribbon-btn.ribbon-new {
    background: linear-gradient(135deg, #00C853, #00E676);
    color: #fff;
}

.card-ribbon-btn.ribbon-popular {
    background: linear-gradient(135deg, #E91E63, #FF5722);
    color: #fff;
}

.card-ribbon-btn.ribbon-recommended {
    background: linear-gradient(135deg, #2196F3, #00BCD4);
    color: #fff;
}

.card-content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 28px 18px 18px;
    z-index: 2;
    color: #ffffff;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: #ffffff;
}

.card-address {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    color: #ffffff;
}

.rating-pill .star { color: #ffb800; font-size: 0.85rem; }
.rating-pill .reviews { color: rgba(255, 255, 255, 0.7); font-size: 0.7rem; }

.card-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    flex-shrink: 1;
    min-width: 0;
}

.tag {
    font-size: 0.65rem;
    padding: 3px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
}

.btn-website {
    font-size: 0.65rem;
    padding: 6px 12px;
    border-radius: 999px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 600;
    flex-shrink: 0;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    line-height: 1;
}

/* Distance-based button colors */
.btn-nearby {
    background: linear-gradient(90deg, rgba(144, 238, 144, 0.9), rgba(50, 205, 50, 0.95));
}

.btn-midrange {
    background: linear-gradient(90deg, rgba(255, 122, 92, 0.9), rgba(255, 195, 113, 0.95));
}

.btn-faraway {
    background: linear-gradient(90deg, rgba(255, 99, 71, 0.9), rgba(220, 20, 60, 0.95));
}

.status {
    margin-top: 24px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--muted);
    opacity: 0.8;
}

.status.error {
    color: #ff9a9a;
    opacity: 1;
}

.status.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent);
    animation: spin 1s ease-in-out infinite;
}

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

/* MODAL / LIGHTBOX */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.theme-dark .modal-backdrop {
    background: rgba(0, 0, 0, 0.85);
}

.modal-backdrop.visible {
    display: flex;
    opacity: 1;
}

.modal-dialog {
    background: var(--bg-alt);
    border-radius: 24px;
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
    color: var(--text);
}

body.theme-dark .modal-dialog {
    background: #0c0f17;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-backdrop.visible .modal-dialog {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

body.theme-dark .modal-close {
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    z-index: 10;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

/* Left side: photo slider + map */

.modal-left {
    display: flex;
    flex-direction: column;
    background: #000;
}

.modal-photo-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.modal-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-photo-nav {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.modal-arrow {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    margin: 0 10px;
    transition: all 0.2s ease;
    font-size: 1.2rem;
}

.modal-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

.modal-photo-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.65);
    color: var(--muted);
}

.modal-map-wrap {
    height: 240px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-maps-btn-mobile {
    display: none;
}

.modal-back-btn-mobile {
    display: none;
}

.modal-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Right side: details */

.modal-right {
    padding: 24px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
    line-height: 1.2;
}

.modal-address {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.modal-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.modal-rating .rating-pill {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text);
}

.modal-rating .rating-pill .reviews {
    color: var(--muted);
}

body.theme-dark .modal-rating .rating-pill {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
}

body.theme-dark .modal-rating .rating-pill .reviews {
    color: rgba(255, 255, 255, 0.7);
}

.modal-types {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.modal-description {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.modal-description-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
}

.modal-description-logo {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: contain;
}

.modal-actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.modal-actions-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--muted);
}

.modal-actions-right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Website button - same style as back button */
#modal-website-btn {
    display: flex;
    padding: 14px 20px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.05);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

#modal-website-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

body.theme-dark #modal-website-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
}

body.theme-dark #modal-website-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Back button */
.modal-back-btn {
    display: flex;
    width: 100%;
    padding: 14px 20px;
    margin-top: 20px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.05);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-back-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

body.theme-dark .modal-back-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
}

body.theme-dark .modal-back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

body.theme-dark .btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.theme-dark .btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline.disabled {
    opacity: 0.5;
    cursor: default;
}

.btn-outline.disabled:hover {
    background: transparent;
}

/* Modal distance button - match size of other modal buttons */
#modal-distance-btn {
    font-size: 0.8rem;
    padding: 6px 14px;
    letter-spacing: 0.14em;
}


/* -- Contact.html specific styles -- */
.contact-layout {
    margin-bottom: 60px;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-card {
    background: var(--bg-alt);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.3rem;
}

.info-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
}

.info-content {
    color: var(--muted);
    line-height: 1.6;
}

.info-list {
    list-style: none;
    margin-top: 10px;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--muted);
}

.info-list i {
    color: var(--accent);
    width: 20px;
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-alt);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text);
}

.form-subtitle {
    color: var(--muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 500;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ff7a5c'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(90deg, var(--accent), #ff9a76);
    color: #000;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
    margin-bottom: 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

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

.faq-item {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.faq-toggle {
    color: var(--accent);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--muted);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* Map Section */
.map-section {
    margin-bottom: 60px;
}

.map-container {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
    height: 400px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2342, #0a0c15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}

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

/* -- About.html specific styles -- */

/* Content Sections */
.content-section {
    margin-bottom: 60px;
}

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

.about-card {
    background: var(--bg-alt);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

.about-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
    font-size: 1.8rem;
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text);
}

.about-card p {
    color: var(--muted);
    line-height: 1.6;
}

/* Story Section */
.story-content {
    background: var(--bg-alt);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    margin-bottom: 40px;
}

.story-content p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

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

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    background: var(--bg-alt);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 3px solid var(--accent-soft);
}

.member-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.member-role {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.member-bio {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.value-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.value-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text);
}

.value-content p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 50px 30px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    margin-top: 40px;
}

.cta-title {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text);
}

.cta-description {
    color: var(--muted);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 12px 24px;
    background: linear-gradient(90deg, var(--accent), #ff9a76);
    color: #000;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* -- Privacy.html specific styles -- */

.privacy-content {
    background: var(--bg-alt);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    margin-bottom: 40px;
    max-width: 1000px; /* Specific page width */
    margin-left: auto;
    margin-right: auto;
}

.privacy-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.last-updated {
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.privacy-intro {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: var(--accent);
    width: 24px;
}

.section-content {
    color: var(--muted);
    line-height: 1.7;
}

.section-content p {
    margin-bottom: 16px;
}

.section-content ul {
    margin: 16px 0;
    padding-left: 24px;
    list-style: none; /* Removed default bullet points */
}

.section-content li {
    margin-bottom: 8px;
}

.highlight-box {
    background: rgba(255, 122, 92, 0.08);
    border: 1px solid rgba(255, 122, 92, 0.2);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 20px 0;
}

.highlight-box p {
    margin: 0;
    color: var(--text);
    font-weight: 500;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.data-table th {
    background: rgba(255, 122, 92, 0.1);
    color: var(--accent);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--muted);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.no-data-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 999px;
    font-size: 0.8rem;
    color: #4caf50;
    font-weight: 500;
}

/* Simple Steps */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.step-description {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Contact Card */
.contact-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    margin-top: 40px;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text);
}

.contact-card p {
    color: var(--muted);
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--accent-soft);
    color: var(--accent);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.2s ease;
}

.contact-email:hover {
    background: rgba(255, 122, 92, 0.2);
    transform: translateY(-2px);
}

/* -- Cities.html specific styles -- */

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.city-card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.city-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), var(--shadow-glow);
}

.city-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.city-content {
    padding: 24px;
}

.city-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.city-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}

.city-country {
    font-size: 0.9rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.city-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

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

.city-stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.city-stat-label {
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.city-description {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.city-highlights {
    margin-bottom: 20px;
}

.city-highlights h4 {
    color: var(--text);
    margin-bottom: 12px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.highlights-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.highlight-tag {
    padding: 6px 12px;
    background: rgba(255, 122, 92, 0.1);
    border: 1px solid rgba(255, 122, 92, 0.3);
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--accent);
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(90deg, var(--accent), #ff9a76);
    color: #000;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: transform 0.2s ease;
}

.explore-btn:hover {
    transform: translateY(-2px);
}

/* Footer (Common) */
footer {
    margin-top: 60px;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-subtle);
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-link {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--text);
}

/* Responsive (Common) */
@media (max-width: 1000px) {
    .modal-backdrop {
        padding: 10px;
        align-items: flex-start;
        overflow-y: auto;
    }

    .modal-dialog {
        display: flex;
        flex-direction: column;
        max-height: none;
        overflow: visible;
        margin: 20px 0;
    }

    .modal-left {
        display: contents;
    }

    .modal-photo-wrap {
        order: 1;
        aspect-ratio: 16 / 9;
        border-radius: 24px 24px 0 0;
    }

    .modal-right {
        order: 2;
        overflow-y: visible;
        padding-bottom: 20px;
    }

    .modal-map-wrap { 
        order: 3;
        height: 180px; 
    }

    .modal-maps-btn-mobile {
        display: block;
        margin-top: 16px;
    }

    .modal-maps-btn-mobile .btn-outline {
        display: flex;
        width: 100%;
        padding: 14px 20px;
        border-radius: 999px;
        border: 1px solid var(--border-color);
        background: rgba(0, 0, 0, 0.05);
        color: var(--text);
        font-size: 0.9rem;
        font-weight: 500;
        cursor: pointer;
        transition: background 0.2s ease;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
    }

    .modal-maps-btn-mobile .btn-outline:hover {
        background: rgba(0, 0, 0, 0.1);
    }

    body.theme-dark .modal-maps-btn-mobile .btn-outline {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        border: none;
    }

    body.theme-dark .modal-maps-btn-mobile .btn-outline:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    #modal-open-maps {
        display: none;
    }

    .modal-right .modal-back-btn {
        display: none;
    }

    .modal-back-btn-mobile {
        order: 4;
        padding: 16px;
        display: flex;
        justify-content: center;
        border-radius: 0 0 24px 24px;
        background: var(--bg-alt);
    }

    .modal-back-btn-mobile .modal-back-btn {
        width: 100%;
    }

    .modal-actions {
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 968px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

@media (max-width: 768px) {
    .page { padding-inline: 16px; }

    .nav-bar {
        flex-direction: column;
        gap: 15px;
        position: relative;
    }

    .theme-toggle {
        position: absolute;
        top: 0;
        right: 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .contact-form-container {
        padding: 25px;
    }

    .about-grid,
    .team-grid,
    .stats-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .city-stats {
        gap: 15px;
        margin-top: 20px;
    }

    .stat {
        min-width: 60px;
    }

    .stat-value {
        font-size: 1.2rem;
        margin-bottom: 2px;
    }

    .stat-label {
        font-size: 0.65rem;
        letter-spacing: 0.05em;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .card-content {
        padding: 24px 12px 12px;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .card-address {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }

    .card-meta {
        gap: 4px;
    }

    .rating-pill {
        padding: 2px 6px;
        gap: 2px;
    }

    .rating-pill .star { font-size: 0.75rem; }
    .rating-pill .reviews { font-size: 0.6rem; }

    .tag {
        font-size: 0.6rem;
        padding: 2px 5px;
        max-width: 70px;
    }

    .btn-website {
        font-size: 0.6rem;
        padding: 2px 6px;
    }

    .modal-right {
        padding-inline: 18px;
    }

    .city-selector {
        display: none;
    }

    .city-dropdown-wrapper {
        display: block;
    }

    .category-selector {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .category-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .privacy-content {
        padding: 25px;
    }

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

    .data-table {
        display: block;
        overflow-x: auto;
    }

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

    .city-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 0.95rem; }
    .gallery { grid-template-columns: 1fr; }

    .card-status-badge {
        display: block;
        top: 10px;
        left: 10px;
        padding: 3px 8px;
        font-size: 0.6rem;
    }

    .city-stats {
        gap: 10px;
        margin-top: 15px;
    }

    .stat {
        min-width: 50px;
    }

    .stat-value {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.55rem;
    }
    .modal-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .modal-actions-left {
        font-size: 0.75rem;
    }

    .modal-actions-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .modal-actions-right .btn-website,
    .modal-actions-right .btn-outline {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    .modal-photo-wrap {
        aspect-ratio: 16 / 10;
    }

    .modal-map-wrap {
        height: 150px;
    }

    .modal-title {
        font-size: 1.2rem;
    }

    .modal-address {
        font-size: 0.85rem;
    }

    .modal-description {
        font-size: 0.85rem;
    }

    .card-content {
        padding: 22px 10px 10px;
    }

    .card-title {
        font-size: 1.15rem;
        margin-bottom: 6px;
    }

    .card-address {
        font-size: 0.7rem;
        margin-bottom: 4px;
    }

    .card-meta {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .card-actions {
        gap: 3px;
    }

    .tag {
        max-width: 65px;
        font-size: 0.55rem;
        padding: 2px 4px;
        letter-spacing: 0.04em;
    }

    .btn-website {
        font-size: 0.55rem;
        padding: 2px 5px;
        letter-spacing: 0.04em;
    }

    .rating-pill {
        padding: 2px 5px;
    }

    .rating-pill .star { font-size: 0.7rem; }
    .rating-pill .reviews { font-size: 0.55rem; }
}